package com.vayunmathur.parentalcontrols import com.vayunmathur.library.util.NavKey import com.vayunmathur.parentalcontrols.domain.PinGateTarget import kotlinx.serialization.Serializable @Serializable /** Navigation destinations for Parental Controls. */ sealed interface Route : NavKey { @Serializable /** The top-level parental-controls page from Settings. Read-only without the PIN. */ data object Dashboard : Route @Serializable /** The device-wide daily screen-time budget. Parent-gated. */ data object DailyLimit : Route @Serializable /** Per-app daily caps. Parent-gated. */ data object AppLimits : Route @Serializable /** Budget picker dialog over [DailyLimit]. */ data object DailyLimitPickerDialog : Route @Serializable /** The nightly bedtime window. Parent-gated. */ data object Bedtime : Route @Serializable /** The daytime downtime window. Parent-gated. */ data object Downtime : Route @Serializable /** The school-hours window. Parent-gated. */ data object SchoolTime : Route @Serializable /** Web content filters. Parent-gated. */ data object WebFilters : Route @Serializable /** First-run PIN creation, and PIN change after the gate passes. */ data object PinSetup : Route @Serializable /** * The parent-PIN challenge for [target]. The gated destination itself is * never on the stack below this route: verification replaces the gate * with the destination, and cancel pops it (finishing the host when the * gate is the only entry), so back can never expose gated content. */ data class PinGate(val target: PinGateTarget) : Route }