38 lines
443 B
Go
38 lines
443 B
Go
package db
|
|
|
|
type JournalPage struct {
|
|
ID string
|
|
|
|
Name string
|
|
Type string
|
|
Src string
|
|
Sort int
|
|
Text PageText
|
|
Title PageTitle
|
|
Video PageVideo
|
|
Stats Stats
|
|
Ownership []OwnershipString
|
|
}
|
|
|
|
type PageText struct {
|
|
ID uint
|
|
|
|
Content string
|
|
Markdown string
|
|
Format int
|
|
}
|
|
|
|
type PageTitle struct {
|
|
ID uint
|
|
|
|
Show bool
|
|
Level int
|
|
}
|
|
|
|
type PageVideo struct {
|
|
ID uint
|
|
|
|
Controls bool
|
|
Volume float64
|
|
}
|