Browse Source

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

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
213c6f3ca5
  1. 5
      packages/nc-gui/utils/parsers/JSONTemplateAdapter.ts

5
packages/nc-gui/utils/parsers/JSONTemplateAdapter.ts

@ -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()

Loading…
Cancel
Save