@squiz/dxp-page-content-types 1.6.0 → 1.6.2
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 +7 -0
- package/package.json +1 -1
package/lib/Nodes/Nodes.d.ts
CHANGED
|
@@ -177,7 +177,14 @@ export interface LayoutPropertyBoolean extends LayoutPropertyBase {
|
|
|
177
177
|
export interface LayoutPropertyString extends LayoutPropertyBase {
|
|
178
178
|
type: 'string';
|
|
179
179
|
enum?: Array<string>;
|
|
180
|
+
oneOf?: Array<{
|
|
181
|
+
const: string;
|
|
182
|
+
title: string;
|
|
183
|
+
}>;
|
|
180
184
|
selectedValue?: string;
|
|
185
|
+
'ui:metadata'?: {
|
|
186
|
+
enumWidget?: 'radio' | 'dropdown';
|
|
187
|
+
};
|
|
181
188
|
}
|
|
182
189
|
export type LayoutProperty = LayoutPropertyBoolean | LayoutPropertyString;
|
|
183
190
|
export type LayoutProperties = Record<string, LayoutProperty>;
|