@ -56,6 +56,8 @@ type (
PublicOwner bool ` datastore:"public_owner" json:"-" `
PublicOwner bool ` datastore:"public_owner" json:"-" `
URL string ` json:"url,omitempty" `
URL string ` json:"url,omitempty" `
Monetization string ` json:"monetization_pointer,omitempty" `
db * datastore
db * datastore
hostName string
hostName string
}
}
@ -87,14 +89,15 @@ type (
Handle string ` schema:"handle" json:"handle" `
Handle string ` schema:"handle" json:"handle" `
// Actual collection values updated in the DB
// Actual collection values updated in the DB
Alias * string ` schema:"alias" json:"alias" `
Alias * string ` schema:"alias" json:"alias" `
Title * string ` schema:"title" json:"title" `
Title * string ` schema:"title" json:"title" `
Description * string ` schema:"description" json:"description" `
Description * string ` schema:"description" json:"description" `
StyleSheet * sql . NullString ` schema:"style_sheet" json:"style_sheet" `
StyleSheet * sql . NullString ` schema:"style_sheet" json:"style_sheet" `
Script * sql . NullString ` schema:"script" json:"script" `
Script * sql . NullString ` schema:"script" json:"script" `
Signature * sql . NullString ` schema:"signature" json:"signature" `
Signature * sql . NullString ` schema:"signature" json:"signature" `
Visibility * int ` schema:"visibility" json:"public" `
Monetization * string ` schema:"monetization_pointer" json:"monetization_pointer" `
Format * sql . NullString ` schema:"format" json:"format" `
Visibility * int ` schema:"visibility" json:"public" `
Format * sql . NullString ` schema:"format" json:"format" `
}
}
CollectionFormat struct {
CollectionFormat struct {
Format string
Format string