Rxova
Skip to content

Type Alias: LinearSnapshot<TContext, TStepId, TMeta, TCompletePayload, TTerminatePayload>

@rxova/journey-react


@rxova/journey-react / LinearSnapshot

type LinearSnapshot<TContext, TStepId, TMeta, TCompletePayload, TTerminatePayload> = Omit<JourneySnapshotBase<TContext, TStepId, TMeta, TCompletePayload, TTerminatePayload>, "currentStep"> & object;

Defined in: core/src/core/types.ts:132

Linear snapshots carry declared-order derivations; graph fields don’t exist.

readonly currentStep: CurrentStepBase<TStepId, TMeta> & object | null;
readonly steps: object;
readonly stepOrder: readonly TStepId[];
readonly totalSteps: number;
readonly visitedStepCount: number;
readonly type: "linear";
Type ParameterDefault type
TContext-
TStepId extends string-
TMeta-
TCompletePayloadunknown
TTerminatePayloadunknown