update backend to the new templates

This commit is contained in:
Hazelnoot 2025-10-07 00:40:02 -04:00
parent 4e30986cda
commit 05be2596ea
44 changed files with 156 additions and 111 deletions

View file

@ -153,13 +153,14 @@ async function assertDirectError(response: Response, status: number, error: stri
}
describe('OAuth', () => {
test('fake pass', () => {
assert.ok(true, 'fake pass');
});
test('fake pass', () => {
assert.ok(true, 'fake pass');
});
});
// these tests won't pass until we integrate Misskey's OAuth code with ours
if (false) describe('OAuth', () => {
/*
describe('OAuth', () => {
let fastify: FastifyInstance;
let alice: misskey.entities.SignupResponse;
@ -1025,3 +1026,4 @@ if (false) describe('OAuth', () => {
});
});
});
*/

View file

@ -1,18 +1,19 @@
{
"extends": "../../shared/tsconfig.node.json",
"extends": "../../shared/tsconfig.node.jsonc",
"compilerOptions": {
// Checking
"types": ["jest", "node"],
"outDir": "./built",
"sourceMap": true,
"verbatimModuleSyntax": false,
"removeComments": false,
"noImplicitOverride": false,
"noImplicitAny": false,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"paths": {
"@/*": ["../src/*"]
},
"typeRoots": [
"../node_modules/@types",
"../src/@types"
]
// Output
"outDir": "./built"
},
"include": [
"./**/*.ts",