Package-level declarations

Types

Link copied to clipboard
@Serializable
data class GraphResponse(val entries: SerializableImmutableList<GraphResponse.Entry>, val startEntryId: String, val ttl: String? = null, val defaultTransition: ContentTransitionSchema? = null, val defaultPopTransition: ContentTransitionSchema? = null, val defaultPredictivePopTransition: ContentTransitionSchema? = null)

The raw wire shape of a Graph/navigation-graph fetch response, decoded directly from the backend's JSON — what mosaic-server's Graph { } builder produces. Converted to a dev.catbit.mosaic.core.data.models.graph.GraphModel via GraphModel.fromGraphResponse before the client uses it further; that conversion is also where ttl is consumed (by the repository layer, to decide cache freshness) and dropped — dev.catbit.mosaic.core.data.models.graph.GraphModel itself carries no ttl field.