@shopify/cli-kit
    Preparing search index...
    • Classifies the outcome of a cancellation request into a renderable payload.

      The engine intentionally stays command-agnostic: for an in-progress cancellation it returns just the headline and render type, leaving each command to append its own "check status" hint (which references that command's own bulk status invocation).

      Parameters

      • operation: {
            completedAt?: unknown;
            createdAt: unknown;
            errorCode?: BulkOperationErrorCode | null;
            id: string;
            objectCount: unknown;
            partialDataUrl?: string | null;
            status: BulkOperationStatus;
            type: BulkOperationType;
            url?: string | null;
        }

        The bulk operation after the cancel request.

      Returns BulkOperationCancellationResult

      The headline, body, sections, and render type to use.