services/firebase_setup_orchestrator
library
Enums
-
FailureAction
-
User-facing decision after a step fails.
-
SetupStepStatus
-
Status of an individual sub-step.
-
WizardSubStep
-
Identifier for a single sub-step in the Firebase setup flow. The wizard
translates these into "Step 5.x · …" indicators; CLI callers use them
for structured logging.
Typedefs
-
StepConfirm
= Future<bool> Function(WizardSubStep step)
-
Callback fired before each step starts. Returns
true to run the step,
false to skip it. The default implementation runs every step.
-
StepFailureHandler
= Future<FailureAction> Function(SetupStepResult result, {required int attempt})
-
Callback invoked when a step fails AND fail-fast is enabled. The wizard
implementation pretty-prints the failure (with
result.message and
result.fixHint) and prompts the user. CLI callers running with
interactive: false can supply a fixed-policy implementation
(e.g. always FailureAction.abort).
-
StepListener
= Future<void> Function(SetupStepResult result)
-
Callback fired after each step completes (success / skipped / failed).