Optimize Playground. Add create tool page.

This commit is contained in:
2024-01-15 18:30:27 +08:00
parent 4240db5a0d
commit ec3f552ec5
18 changed files with 332 additions and 345 deletions

View File

@@ -14,6 +14,17 @@ export interface IFiles {
[key: string]: IFile
}
export interface ITemplate {
name: string
tsconfig: ITsconfig
importMap: IImportMap
files: IFiles
}
export interface ITemplates {
[key: string]: ITemplate
}
export interface IImportMap {
imports: Record<string, string>
}