Kaizen
Browse modulesFormsforms/sharedSchemas and constants

Variable: SINGLE\_STEP\_KEY

const SINGLE_STEP_KEY: "main" = "main";

Defined in: shared/forms/single-step.ts:15

Canonical FormSteps.key value used by the single-step authoring helpers (FormSchemaService.createSingleStepForm / updateSingleStepSchema).

Centralised so a future single-step → multi-step migration can find and preserve the original step without grepping for string literals, and so the submission-side compatibility surface (e.g. submissionService.finalizeSinglePage({ visitedStepKeys: [SINGLE_STEP_KEY] })) has a single source of truth.

The value ("main") is arbitrary; consumers wiring a multi-step authoring path must pick their own keys and not reuse this constant.