package system
type PackageUpdate struct {
Name string `json:"name" cbor:"0,keyasint"`
Current string `json:"current,omitempty" cbor:"1,keyasint,omitempty"`
Available string `json:"available" cbor:"2,keyasint"`
Security bool `json:"security,omitzero" cbor:"3,keyasint,omitempty"`
}
type PackageUpdates struct {
Manager string `json:"manager,omitempty" cbor:"0,keyasint,omitempty"`
CheckedAt int64 `json:"checkedAt,omitzero" cbor:"1,keyasint,omitempty"`
SecurityKnown bool `json:"securityKnown,omitzero" cbor:"2,keyasint,omitempty"`
Packages []PackageUpdate `json:"packages" cbor:"3,keyasint"`
}