Documentation
¶
Index ¶
Constants ¶
View Source
const Schema uint32 = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltRoute ¶
type BuiltView ¶
type BuiltView struct {
ID string `json:"id"`
Source string `json:"source"`
Mode string `json:"mode"`
Client AssetSet `json:"client"`
Server *ServerAssets `json:"server,omitempty"`
}
type DescribeResult ¶
type DescribeResult struct {
Spec Spec `json:"spec"`
SpecHash string `json:"specHash"`
SourceRoot string `json:"sourceRoot"`
Limits RuntimeLimits `json:"limits"`
}
type Document ¶
type Document struct {
Path string `json:"path"`
File FileRef `json:"file"`
Props json.RawMessage `json:"props,omitempty"`
Document DocumentAttributes `json:"document"`
}
type DocumentAttributes ¶
type GenerateResult ¶
type GenerateResult struct {
SpecHash string `json:"specHash"`
Limits RuntimeLimits `json:"limits"`
Pages []GeneratedPage `json:"pages"`
}
type GeneratedPage ¶
type GeneratedPage struct {
Pattern string `json:"pattern"`
Path string `json:"path"`
Props json.RawMessage `json:"props"`
Document DocumentAttributes `json:"document"`
}
type Manifest ¶
type Manifest struct {
Schema uint32 `json:"schema"`
SpecHash string `json:"specHash"`
BuildID string `json:"buildId"`
Toolchain Toolchain `json:"toolchain"`
Runtime *FileRef `json:"runtime,omitempty"`
RuntimeCompression string `json:"runtimeCompression,omitempty"`
Views []BuiltView `json:"views"`
Routes []BuiltRoute `json:"routes"`
ClientFiles []FileRef `json:"clientFiles,omitempty"`
Public []PublicAsset `json:"public,omitempty"`
}
type PublicAsset ¶
type RuntimeLimits ¶
type ServerAssets ¶
Click to show internal directories.
Click to hide internal directories.