@umbraco-cms/backoffice
    Preparing search index...

    Type Alias DocumentType<TDocAttributes, TContentType>

    DocumentType: Omit<
        NodeType<"doc", TDocAttributes, never, TContentType>,
        "marks" | "content",
    > & { content: TContentType }

    A node type is either a JSON representation of a doc node or a Prosemirror doc node instance

    Type Parameters

    • TDocAttributes extends Record<string, any> | undefined = Record<string, any>
    • TContentType extends NodeType[] = NodeType[]