ping-identity
    Preparing search index...

    Type Alias JourneyCallback

    JourneyCallback: Omit<JourneyInstance, "type"> & {
        message?: string;
        prompt?: string;
        type: JourneyCallbackType;
        value?: unknown;
        [key: string]: unknown;
    }

    Native callback payload surfaced to JavaScript.

    Type Declaration

    • [key: string]: unknown

      Optional callback metadata emitted by native.

    • Optionalmessage?: string

      Optional user-facing message emitted by native.

    • Optionalprompt?: string

      Optional user-facing prompt string emitted by native.

    • type: JourneyCallbackType

      Native callback type (for example, NameCallback).

    • Optionalvalue?: unknown

      Optional callback value emitted by native.

    Extends shared callback shape while widening type so native-extension callbacks are represented without type assertions.