(pageSchema: any)
| 10 | } |
| 11 | |
| 12 | const generateProjectSchema = (pageSchema: any): ProjectSchema => { |
| 13 | return { |
| 14 | componentsTree: [pageSchema], |
| 15 | // componentsMap: material.componentsMap as any, |
| 16 | version: '1.0.0', |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | export const getProjectSchemaFromLocalStorage = (): ProjectSchema => { |
| 21 | const projectSchema = localStorage.getItem(PROJECT_SCHEMA) |
no outgoing calls
no test coverage detected