type
AdminPreparedRuntimeV1
AdminPreparedRuntimeV1 is the complete safe global admin bootstrap. It never contains credentials, access predicates, executable hooks, or lock state.
Properties
| Property | Type | Description |
|---|---|---|
AdminPreparedNavigationV1 | AdminPreparedNavigationV1 | The AdminPreparedNavigationV1 value. |
Session | *AuthSession[json.RawMessage] | The Session value. |
AuthBootstrap | bool | The AuthBootstrap value. |
Theme | string | The Theme value. |
AdminLanguage | string | The AdminLanguage value. |
AdminTimeZone | string | The AdminTimeZone value. |
Preferences | map[string]json.RawMessage | The Preferences value. |
Manifest | schema.Snapshot | The Manifest value. |
EncodedManifest | json.RawMessage | EncodedManifest optionally carries the canonical encoding of Manifest. A server presenting an immutable manifest encodes it once and reuses the bytes for every response; it is never decoded and must encode Manifest. |
Full signature
type AdminPreparedRuntimeV1 struct {
AdminPreparedNavigationV1
Session *AuthSession[json.RawMessage] `json:"session,omitempty"`
AuthBootstrap bool `json:"authBootstrapAvailable"`
Theme string `json:"theme"`
AdminLanguage string `json:"adminLanguage,omitempty"`
AdminTimeZone string `json:"adminTimeZone,omitempty"`
Preferences map[string]json.RawMessage `json:"preferences"`
Manifest schema.Snapshot `json:"manifest"`
// EncodedManifest optionally carries the canonical encoding of Manifest. A
// server presenting an immutable manifest encodes it once and reuses the
// bytes for every response; it is never decoded and must encode Manifest.
EncodedManifest json.RawMessage `json:"-"`
}Methods
AdminPreparedRuntimeV1.MarshalJSON()MarshalJSON writes EncodedManifest in place of encoding Manifest again.