XYO Platform SDK - v3.10.6
    Preparing search index...

    Type Alias Payload<T, S>

    Payload: (
        T extends WithSchema
            ? S extends Schema
                ? WithPayload<Omit<T, "schema"> & { schema: S }>
                : WithPayload<T>
            : T extends object
                ? S extends Schema
                    ? WithPayload<T & { schema: S }>
                    : WithPayload<T & PayloadFields>
                : WithPayload<{ schema: S extends Schema ? S : Schema }>
    ) & Partial<PayloadMetaFields>

    Base Type for Payloads

    Type Parameters