|
1
|
{"slug":"/references/settings/interfaces/settings.CreateLayoutConfigurationDTO","title":"CreateLayoutConfigurationDTO","frontmatter":{"displayed_sidebar":"settingsReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The layout configuration to be created."},{"kind":"typeList","sectionTitle":"CreateLayoutConfigurationDTO","types":[{"name":"zone","type":"`string`","description":"The zone (page) this configuration is for, e.g. \"product.details\".","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"user_id","type":"`null` \\| `string`","description":"The user ID this configuration belongs to. Null for the system default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_system_default","type":"`boolean`","description":"Whether this is the system default configuration for the zone.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"configuration","type":"[LayoutConfigurationData](/references/settings/interfaces/settings.LayoutConfigurationData)","description":"The layout configuration data.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"widgets","type":"`Record<string, [LayoutWidgetPreference](/references/settings/interfaces/settings.LayoutWidgetPreference)>`","description":"Per-widget placement and visibility preferences, keyed by widget ID.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"hidden","type":"`boolean`","description":"Whether the widget is hidden.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"section","type":"`string`","description":"Override which section this widget appears in.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`number`","description":"Override the sort order of the widget within its section.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} |