MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / getDocumentById

Method getDocumentById

packages/shell/src/api/project.ts:133–135  ·  view source on GitHub ↗

* 根据 id 获取 document * @param id * @returns

(id: string)

Source from the content-addressed store, hash-verified

131 * @returns
132 */
133 getDocumentById(id: string): IPublicModelDocumentModel | null {
134 return ShellDocumentModel.create(this[projectSymbol].getDocument(id));
135 }
136
137 /**
138 * 导出 project

Callers

nothing calls this directly

Calls 2

getDocumentMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected