ui-next: move to a seperate tsconfig

This commit is contained in:
undefined committed 2025-03-18 01:07:34 +08:00
1 parent 80d2137cbb
commit 74a3ee90c7
13 files changed
+93 -34

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
"@aws-sdk/lib-storage": "3.726.1",
"@aws-sdk/s3-presigned-post": "3.726.1",
"@aws-sdk/s3-request-presigner": "3.726.1",
"@cordisjs/core": "4.0.0-alpha.5",
"@cordisjs/core": "4.0.0-alpha.6",
"@cordisjs/logger": "1.0.0-alpha.3",
"@cordisjs/plugin-timer": "1.0.0-alpha.0",
"@graphql-tools/schema": "^10.0.23",
+1 -2
View File
@@ -13,7 +13,7 @@ const descriptions: Record<string, Record<string, string>> = Object.create(null)
const handlers: Record<string, Record<string, any>> = {
Query: Object.create(null),
};
let root: Record<string, any> = Object.create(null);
const root: Record<string, any> = handlers.Query;
interface ApiContext extends ApiHandler {
[key: string]: any;
@@ -31,7 +31,6 @@ function setDescription(desc: string) {
let schema: GraphQLSchema;
let schemaStr = '';
root = handlers.Query;
const applyAuthDirective = (s) => mapSchema(s, {
// eslint-disable-next-line consistent-return