Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct {
Route RouteBootstrap `json:"route"`
Preferences PreferencesState `json:"preferences"`
I18n I18nState `json:"i18n"`
Theme ThemeState `json:"theme"`
Data map[string]any `json:"data"`
SavedViews []SavedViewPayload `json:"savedViews"`
User *UserSession `json:"user,omitempty"`
Workspace map[string]any `json:"workspace,omitempty"`
CSRF string `json:"csrf,omitempty"`
}
func (Payload) ToSSRBootstrap ¶
func (parseP Payload) ToSSRBootstrap() ui.SSRBootstrap
type PreferencesState ¶
type RouteBootstrap ¶
type RouteBootstrap struct {
Path string `json:"path"`
Query map[string][]string `json:"query,omitempty"`
Params map[string]string `json:"params,omitempty"`
Surface string `json:"surface"`
Screen string `json:"screen"`
Title string `json:"title"`
Description string `json:"description,omitempty"`
Canonical string `json:"canonical,omitempty"`
}
type SavedViewPayload ¶
type ThemeState ¶
Click to show internal directories.
Click to hide internal directories.