• Create a document.

    Parameters

    • doc: Pick<Doc, "content" | "repo" | "path">
    • baseDoc: Doc

    Returns Promise<Doc>

  • Parameters

    • doc: Optional<Pick<Doc, "content" | "repo" | "path">, "path">
    • OptionalbaseDoc: Doc

    Returns Promise<Doc>