Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct {
ID string `json:"id"`
Type string `json:"type"`
Slug string `json:"slug"`
Locale string `json:"locale"`
Status string `json:"status"`
Data map[string]any `json:"data"`
}
Content represents a generic CMS delivery object.
type ContentType ¶
type ContentType struct {
ID string `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
Description string `json:"description"`
Schema map[string]any `json:"schema"`
Capabilities map[string]any `json:"capabilities"`
Icon string `json:"icon"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
ContentType represents a CMS content type definition.
type Menu ¶
type Menu struct {
ID string `json:"id"`
Code string `json:"code"`
Location string `json:"location"`
Items []MenuItem `json:"items"`
}
Menu represents a navigation tree for delivery APIs.
Click to show internal directories.
Click to hide internal directories.