Sporades SDK API
    Preparing search index...

    Type Alias MutationResult<Result>

    Standard mutation result envelope used by runtime hooks.

    type MutationResult<Result = unknown> = {
        data?: Result | null;
        error?: { hint?: string; message: string } | null;
        ok: boolean;
    }

    Type Parameters

    • Result = unknown
    Index
    data?: Result | null
    error?: { hint?: string; message: string } | null
    ok: boolean