(docMeta: PersistedFullWorkflow)
| 32 | } |
| 33 | |
| 34 | async createDoc(docMeta: PersistedFullWorkflow) { |
| 35 | const ret = await this.documents.createDocument(docMeta.id, docMeta); |
| 36 | if (!ret.success) { |
| 37 | throw new Error("Create Doc failed: " + ret.error); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | async updateDoc(docMeta: PersistedFullWorkflow) { |
| 42 | const ret = await this.documents.updateDocument(docMeta.id, docMeta); |
no test coverage detected