DeclaredVersionDto

data class DeclaredVersionDto(val schemaName: String, val contentHash: String, val entityTypeNames: List<String>, val relationshipNames: List<String>, val stamped: Boolean, val sweptVersionHash: String?)

What the application declares right now, and where that sits against what governance has recorded.

stamped and sweptVersionHash are the two questions an operator asks before deciding to sweep: has this exact declaration ever been recorded, and which declaration did the last completed sweep reconcile against. A sweptVersionHash differing from contentHash says there is a declared change nobody has acted on.

Constructors

Link copied to clipboard
constructor(schemaName: String, contentHash: String, entityTypeNames: List<String>, relationshipNames: List<String>, stamped: Boolean, sweptVersionHash: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The declaration's content hash — its identity.

Link copied to clipboard

The governed entity type names, sorted.

Link copied to clipboard

Rendered From-[name]->To descriptors the governed types declare.

Link copied to clipboard

The declared schema's name.

Link copied to clipboard

Whether the version store already holds this exact hash.

Link copied to clipboard

The hash the last completed sweep reconciled against. null when no sweep has completed, and also when the version store tracks no baseline at all.