blob: 2ff374b0fa21f570506a9202dd75b96472dd1304 [file] [log] [blame]
package frontend
// Revision represents repo HEAD info for storage as json.
type Revision struct {
Hash string `json:"hash"`
URL string `json:"url"`
}
// Metadata represents repo metadata and list of demos, for storage as json.
type Metadata struct {
Rev Revision `json:"revision"`
// In the future we may include actual author information etc, but for now we just list the
// available demos.
DemoList []string `json:"demos"`
}