@squiz/dxp-page-content-types 1.6.1 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Nodes/Nodes.d.ts +5 -0
- package/package.json +1 -1
package/lib/Nodes/Nodes.d.ts
CHANGED
|
@@ -172,6 +172,7 @@ export interface LayoutPropertyBase {
|
|
|
172
172
|
}
|
|
173
173
|
export interface LayoutPropertyBoolean extends LayoutPropertyBase {
|
|
174
174
|
type: 'boolean';
|
|
175
|
+
default?: boolean;
|
|
175
176
|
selectedValue?: boolean;
|
|
176
177
|
}
|
|
177
178
|
export interface LayoutPropertyString extends LayoutPropertyBase {
|
|
@@ -181,7 +182,11 @@ export interface LayoutPropertyString extends LayoutPropertyBase {
|
|
|
181
182
|
const: string;
|
|
182
183
|
title: string;
|
|
183
184
|
}>;
|
|
185
|
+
default?: string;
|
|
184
186
|
selectedValue?: string;
|
|
187
|
+
'ui:metadata'?: {
|
|
188
|
+
enumWidget?: 'radio' | 'dropdown';
|
|
189
|
+
};
|
|
185
190
|
}
|
|
186
191
|
export type LayoutProperty = LayoutPropertyBoolean | LayoutPropertyString;
|
|
187
192
|
export type LayoutProperties = Record<string, LayoutProperty>;
|