MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / constructor

Method constructor

packages/designer/src/project/project.ts:139–142  ·  view source on GitHub ↗
(readonly designer: IDesigner, schema?: IPublicTypeProjectSchema, readonly viewName = 'global')

Source from the content-addressed store, hash-verified

137 private documentsMap = new Map<string, DocumentModel>();
138
139 constructor(readonly designer: IDesigner, schema?: IPublicTypeProjectSchema, readonly viewName = 'global') {
140 makeObservable(this);
141 this.load(schema);
142 }
143
144 private getComponentsMap(): IPublicTypeComponentsMap {
145 return this.documents.reduce<IPublicTypeComponentsMap>((

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected