Sanity Library Reference Docs
    Preparing search index...

    Interface DocumentFieldActionPropsBeta

    interface DocumentFieldActionProps {
        documentId: string;
        documentType: string;
        path: Path;
        schemaType: SchemaType;
    }
    Index

    Properties

    documentId: string

    The published id of the document being edited. Draft (drafts.) and release (versions.<releaseId>.) prefixes are stripped, so this does not identify the document revision currently shown in the editor.

    documentType: string
    path: Path
    schemaType: SchemaType