adobe-firefly-sdk
    Preparing search index...

    Type Alias PartialSuccessEvent

    PartialSuccessEvent: BaseEvent & {
        data?: { [key: string]: unknown };
        dataURL?: string;
        errors?: {
            error_code?: string;
            message?: string;
            source?: string;
            url?: string;
        }[];
        outputs?: { [key: string]: unknown };
        status?: "partial_success";
    }

    Type Declaration

    • Optionaldata?: { [key: string]: unknown }

      The output response from the current state of the job.

    • OptionaldataURL?: string

      The data returned from the execution of the job. If the data size is between 250 KB and 20 MB, it will be provided as a pre-signed URL. If it is larger than 20 MB, the job will fail.

    • Optionalerrors?: { error_code?: string; message?: string; source?: string; url?: string }[]

      A list of errors that occurred during a partially successful job.

    • Optionaloutputs?: { [key: string]: unknown }

      A list of URLs for all the successfully generated assets.

    • Optionalstatus?: "partial_success"

      The current state of the job.