An operation and the target entity that it applies to, e.g. create page.

interface OperationCheckResult {
    operation:
        | "copy"
        | "move"
        | "use"
        | "update"
        | "delete"
        | "read"
        | "create"
        | "restore"
        | "administer"
        | "export"
        | "purge"
        | "purge_version"
        | "archive"
        | "clear_permissions"
        | "create_space"
        | "restrict_content";
    targetType: string;
}

Hierarchy

  • Record<string, unknown>
    • OperationCheckResult

Properties

operation:
    | "copy"
    | "move"
    | "use"
    | "update"
    | "delete"
    | "read"
    | "create"
    | "restore"
    | "administer"
    | "export"
    | "purge"
    | "purge_version"
    | "archive"
    | "clear_permissions"
    | "create_space"
    | "restrict_content"

The operation itself.

targetType: string

The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space