<commit_before>import {User} from './models/user';
import express = require('express');

var router = express.Router();


// Authentication
router.use(require('./auth.js'));

/** User */
let user = require('./routes/user');
router.use('/user', user);

/** Subject */
let subject = require('./routes/subject');
router.use('/subject', subject);

/** Method Not Allowed */
router.get('/*', (req, res, next) => {
  res.status(405);
  res.end();
});


module.exports = router;<commit_msg>saved api.ts<commit_after>import express = require('express');

var router = express.Router();

/** Authentication */
router.use(require('./routes/auth.js'));

/** User */
router.use('/user', require('./routes/user'));

/** Subject */
router.use('/subject', require('./routes/subject'));

/** Method Not Allowed */
router.get('/*', (req, res, next) => {
  res.status(405);
  res.end();
});

module.exports = router;
{'fraction_non_alphanumeric': 0.24164810690423164, 'fraction_numerical': 0.0066815144766146995, 'mean_word_length': 4.226744186046512, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7012281', 'n_tokens_mistral': 284, 'n_tokens_neox': 281, 'n_words': 60}