refactor(nc-gui): change project type in JSONTemplateAdapter

This commit is contained in:
Wing-Kam Wong
2022-10-17 19:21:36 +08:00
parent 15024005d0
commit 213c6f3ca5

View File

@@ -18,7 +18,10 @@ export default class JSONTemplateAdapter extends TemplateGenerator {
data: Record<string, any>
_jsonData: string | Record<string, any>
jsonData: Record<string, any>
project: Record<string, any>
project: {
title: string
tables: Record<string, any>[]
}
columns: object
constructor(name = 'test', data: object, parserConfig = {}) {
super()