- createDoc(doc, baseDoc): Promise<Doc>
Parameters
- doc: Pick<Doc, "content" | "repo" | "path">
- baseDoc: Doc
Returns Promise<Doc>
- createDoc(doc, baseDoc?): Promise<Doc>
Parameters
- doc: Optional<Pick<Doc, "content" | "repo" | "path">, "path">
Optional
baseDoc: Doc
Returns Promise<Doc>
Create a document.