@servicenow/sdk - v4.9.0
    Preparing search index...

    Interface PlaybookTriggerType<Inputs, UserInputs>

    Base type for playbook triggers. __type is a brand field for TypeScript type discrimination (not user-facing). __inputs is a phantom field that carries the input column types for type inference. __userInputs is an optional override that replaces the auto-derived flat input type with a custom type (e.g., a discriminated union) for better developer experience. When UserInputs is never (the default), TriggerInputsOf falls back to auto-deriving from __inputs. inputs is the runtime property that actually holds the input definitions.

    interface PlaybookTriggerType<
        Inputs extends Record<string, Column> = Record<string, Column>,
        UserInputs = never,
    > {
        __inputs?: Inputs;
        __type: "PlaybookTriggerType";
        __userInputs?: UserInputs;
        inputs?: Inputs;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    __inputs?: Inputs
    __type: "PlaybookTriggerType"
    __userInputs?: UserInputs
    inputs?: Inputs