Skip to main content

Module studio

Module studio 

Source
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§

BrandConfig
BulkAction
ColumnConfig
ColumnFilterSpec
DefaultSort
FilterOption
Filter option value is preserved as a serde_json::Value so any JSON shape (string, number, bool, null, object) round-trips intact.
FooterAction
OrgSwitcherConfig
OrgSwitcherItem
PageConfig
RendererAvatar
RendererBadge
RendererBoolean
RendererCustom
RendererDate
RendererJson
RendererLink
RendererNumber
RendererText
ResourceConfig
ResourceListConfig
RowAction
SidebarConfig
SidebarFooterCard
SidebarFooterCustom
SidebarHeadingItem
SidebarLinkItem
SidebarPageItem
SidebarResourceItem
SidebarSection
StudioConfig
ThemeConfig

Enums§

BadgeVariant
BulkActionKind
ColumnAlign
ColumnFilterable
ColumnRenderer
DateFormat
NumberStyle
RowActionKind
SidebarFooter
SidebarItem
Discriminated union via type field. Matches the TS shape exactly.
SortOrder
ThemeAccent
ThemeAppearance