Service Layer medium complexity mobile
2
Dependencies
1
Dependents
3
Entities
0
Integrations

Description

Expense Step Controller

Feature: Travel Expense Registration

expense-step-controller

Responsibilities

  • Manage multi-step form state with Riverpod providers and coordinate step navigation
  • Validate per-step inputs before allowing progression to next step
  • Enforce expense type mutual-exclusion constraints at the client level before submission
  • Delegate offline submission to the Drift mutation outbox for retry on reconnect

Interfaces

nextStep(): void
previousStep(): void
validateCurrentStep(): ValidationResult
submitToOutbox(claim: ExpenseClaimInput): Future<void>

Relationships

Dependencies (2)

Components this component depends on

Dependents (1)

Components that depend on this component

Related Data Entities (3)

Data entities managed by this component