From 0e95b5f6320a590fb3c34c7e76754b0fcc3427d3 Mon Sep 17 00:00:00 2001 From: Ross Phillips <12723297+rphillips-cc@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:06:42 +1200 Subject: [PATCH 1/2] Add view to object input options --- src/configuration.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/configuration.d.ts b/src/configuration.d.ts index c0d2c2b..f7239b2 100644 --- a/src/configuration.d.ts +++ b/src/configuration.d.ts @@ -904,6 +904,10 @@ export interface ObjectInputOptions extends BaseInputOptions, P * Controls whether or not labels on mutable object entries are formatted. */ allow_label_formatting?: boolean; + /** + * Controls how object previews are rendered. + */ + view?: 'card' | 'gallery' | 'gallery-left'; } export interface ObjectInput extends BaseInput { From 3ae26c1f539924c7f5a54dec880f419b68e81743 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:45:25 +1300 Subject: [PATCH 2/2] Add structure object config options --- src/configuration.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/configuration.d.ts b/src/configuration.d.ts index f7239b2..8d47681 100644 --- a/src/configuration.d.ts +++ b/src/configuration.d.ts @@ -1407,6 +1407,14 @@ export interface StructureValue extends Previewable, PickerPreviewable, Schemali * Allows you to group the inputs inside this object together without changing the data structure. */ groups?: ObjectInputGroup[]; + /** + * Controls which order input groups and ungrouped inputs appear in. + */ + place_groups_below?: boolean; + /** + * Show nested objects as tabs. Requires all top-level keys to be objects. + */ + tabbed?: boolean; /** * The actual value used when items are added after selection. */