MCPcopy Create free account
hub / github.com/6174/comflowyspace / getDocs

Method getDocs

packages/common/storage/document-database.ts:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 async getDocs(): Promise<PersistedFullWorkflow[]> {
17 const ret = await this.documents.getDocuments();
18 if (ret.success) {
19 return ret.data
20 } else {
21 throw new Error("Get docs failed" + ret.error);
22 }
23 }
24
25 async getDoc(id: string): Promise<PersistedFullWorkflow> {
26 const ret = await this.documents.getDocument(id);

Callers 3

WorkflowListFunction · 0.45
SubflowNodeListFunction · 0.45
serveFunction · 0.45

Calls 1

getDocumentsMethod · 0.80

Tested by

no test coverage detected