(schema: any)
| 93 | } |
| 94 | |
| 95 | async importSchema(schema: any) { |
| 96 | const newSchema = await this.resource.import(schema); |
| 97 | |
| 98 | if (!newSchema) { |
| 99 | return; |
| 100 | } |
| 101 | |
| 102 | Object.keys(newSchema).forEach(key => { |
| 103 | const view = this.editorViews.get(key); |
| 104 | view?.project.importSchema(newSchema[key]); |
| 105 | }); |
| 106 | } |
| 107 | |
| 108 | async save() { |
| 109 | const value: any = {}; |
nothing calls this directly
no test coverage detected