Inline keybindings schema source for scripts
- Import keybindings types directly from contracts source - Narrow TS includes to the schema generation inputs
This commit is contained in:
1 parent
56f56f5506
commit
c13fc4f6f8
4 files changed
+14
-8
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { KeybindingsConfig } from "@t3tools/contracts/keybindings";
|
||||
import { KeybindingsConfig } from "../../packages/contracts/src/keybindings.ts";
|
||||
import { buildJsonSchemaDocument, writeJsonSchemaArtifacts } from "./json-schema";
|
||||
|
||||
export const KEYBINDINGS_SCHEMA_RELATIVE_PATH = "apps/marketing/public/schemas/keybindings.json";
|
||||
|
||||
@@ -12,5 +12,9 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"include": ["**/*.ts"]
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"../packages/contracts/src/baseSchemas.ts",
|
||||
"../packages/contracts/src/keybindings.ts"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user