// Domain enums stored by **name** (never by index) via Drift `textEnum`, so // the stored keys are stable across migrations. Per data-model §5.2, values // may only be appended, never renumbered or reused; when sync arrives, readers // must tolerate unknown values (map to a safe default). No sync yet in Block 1. /// Per-lot visibility (data-model §2.3). Used by the future sharing layer. enum OfferStatus { private, shared, exchange, sell } /// Append-only event kinds on a Lot (data-model §2.4). enum MovementType { received, given, sown, harvested, germinationTest, split, discarded, } /// A counterparty is a person or a collective (data-model §2.5). enum PartyKind { person, collective } /// Attachment media kind (data-model §2.1). enum AttachmentKind { photo, doc } /// Polymorphic parent of an Attachment / ExternalLink. enum ParentType { variety, lot, movement }