/* * Copyright 2026 Oleg Borodin * * This work is published and licensed under a Creative Commons * Attribution-NonCommercial-NoDerivatives 4.0 International License. * * Distribution of this work is permitted, but commercial use and * modifications are strictly prohibited. */ package descr type Manifest struct { ID uint64 `db:"id" json:"id"` Name string `db:"name" json:"name"` Reference string `db:"reference" json:"reference"` ContentType string `db:"contentType" json:"contentType"` Payload string `db:"payload" json:"-"` Digest string `db:"digest" json:"digest"` CreatedAt string `db:"created_at" json:"createdAt"` UpdatedAt string `db:"updated_at" json:"updatedAt"` CreatedBy uint64 `db:"created_by" json:"createdBy,omitempty"` UpdatedBy uint64 `db:"updated_by" json:"updatedBy,omitempty"` } type Tags struct { Name string `json:"name" yaml:"name"` Tags []string `json:"tags" yaml:"tags"` }