Sanity App SDK
    Preparing search index...

    Interface CreateReleaseActionBeta

    Creates a new release. The releaseId must be unique within the current retention period.

    interface CreateReleaseAction {
        dataset?: string;
        metadata: {};
        perspective?: ReleasePerspective | ClientPerspective;
        projectId?: string;
        releaseId: string;
        resource?: DocumentResource;
        source?: DocumentResource;
        type: "release.create";
    }

    Hierarchy (View Summary)

    Index

    Properties

    dataset?: string
    metadata: {}
    perspective?: ReleasePerspective | ClientPerspective
    projectId?: string
    releaseId: string
    resource?: DocumentResource

    Explicit resource object to use for this operation.

    Use resource instead.

    type: "release.create"