Expand description
Pylon Studio runtime configuration.
This is the Rust mirror of packages/sdk/src/studio.ts. Authored by
the user as studio.config.ts, compiled to JSON by the CLI, read at
runtime, and injected into the Studio HTML as
window.__PYLON_STUDIO_CONFIG__.
Every field is optional — an empty config is valid, and the web shell falls back to a sensible default (manifest entities → resources, emerald accent, Used Space footer card).
Wire format is camelCase JSON to match the TS authoring surface.
serde(default) everywhere so partial configs round-trip cleanly.
Structs§
- Brand
Config - Bulk
Action - Column
Config - Column
Filter Spec - Default
Sort - Filter
Option - Filter option value is preserved as a
serde_json::Valueso any JSON shape (string, number, bool, null, object) round-trips intact. - Footer
Action - OrgSwitcher
Config - OrgSwitcher
Item - Page
Config - Renderer
Avatar - Renderer
Badge - Renderer
Boolean - Renderer
Custom - Renderer
Date - Renderer
Json - Renderer
Link - Renderer
Number - Renderer
Text - Resource
Config - Resource
List Config - RowAction
- Sidebar
Config - Sidebar
Footer Card - Sidebar
Footer Custom - Sidebar
Heading Item - Sidebar
Link Item - Sidebar
Page Item - Sidebar
Resource Item - Sidebar
Section - Studio
Config - Theme
Config
Enums§
- Badge
Variant - Bulk
Action Kind - Column
Align - Column
Filterable - Column
Renderer - Date
Format - Number
Style - RowAction
Kind - Sidebar
Footer - Sidebar
Item - Discriminated union via
typefield. Matches the TS shape exactly. - Sort
Order - Theme
Accent - Theme
Appearance