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 -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