Interface IStepContext<S>

interface IStepContext<S> {
    $groupId?: number;
    api: API;
    payload: object;
    scene: SceneContext<S> & {
        step: StepSceneContext<S>;
    };
    state: ContextDefaultState;
    subTypes: string[];
    type: string;
    upload: Upload;
    get [toStringTag](): string;
    [kSerializeData](): object;
    is(rawTypes): boolean;
    toJSON(): object;
}

Type Parameters

  • S extends Record<string, unknown>

Hierarchy (view full)

Properties

$groupId?: number
api: API
payload: object
scene: SceneContext<S> & {
    step: StepSceneContext<S>;
}

Scene control context

Type declaration

state: ContextDefaultState
subTypes: string[]
type: string
upload: Upload

Accessors

  • get [toStringTag](): string
  • Returns custom tag

    Returns string

Methods

  • Returns the custom data

    Returns object

  • Checks whether the context of some of these types

    Parameters

    • rawTypes: string[]

    Returns boolean

  • Returns data for JSON

    Returns object

Generated using TypeDoc