This commit is contained in:
dap
2025-08-18 09:40:54 +08:00
49 changed files with 230 additions and 87 deletions

View File

@@ -1,3 +1,4 @@
import { eventHandler } from 'h3';
import { verifyAccessToken } from '~/utils/jwt-utils';
import {
sleep,
@@ -13,6 +14,3 @@ export default eventHandler(async (event) => {
await sleep(600);
return useResponseSuccess(null);
});
function eventHandler(_: (event: any) => Promise<any>) {
throw new Error('Function not implemented.');
}

View File

@@ -1,14 +1,3 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@vben/tsconfig/node.json",
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"baseUrl": ".",
"paths": {
"~/utils/*": ["utils/*"]
},
"noEmit": false
},
"include": ["**/*.ts", "**/*.*.ts"]
"extends": "./.nitro/types/tsconfig.json"
}