package versions // The registry seats' events the builder hears on its durable consumer of each `.events` (design 51 *How a // publish ends*, DLV-B4). const ( HeardPublished = "published" HeardRefused = "refused" HeardRemoved = "removed" HeardKept = "kept" ) // Outcome is the body of a registry seat's published, refused and removed (mesh-contracts parts/registry Outcome), the // fields the builder reads. type Outcome struct { Name string `json:"name"` Version string `json:"version,omitempty"` Digest string `json:"digest"` Kind string `json:"kind"` Holder string `json:"holder"` Reason string `json:"reason,omitempty"` // Tags are, on kept, the other tags still naming its digest. Tags []string `json:"tags,omitempty"` }