@shopify/cli-kit
    Preparing search index...

    Function renderCommandEventAsJson

    • Renders a command side event as compact JSON to stderr.

      Parameters

      • event:
            | {
                code?: string;
                level: "info"
                | "error"
                | "debug"
                | "warning";
                message: string;
                timestamp: string;
                type: "diagnostic";
            }
            | {
                current?: number;
                message?: string;
                operation: string;
                status: "started"
                | "updated"
                | "completed";
                timestamp: string;
                total?: number;
                type: "progress";
            }

        The event to render.

      Returns void