@glidevvr/storage-payload-types-pkg 1.0.352 → 1.0.354
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/package.json +1 -1
- package/payload-types.ts +73 -0
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -938,6 +938,36 @@ export interface Facility {
|
|
|
938
938
|
vacancyThreshold?: number | null;
|
|
939
939
|
showAppliedPromoPrice: boolean;
|
|
940
940
|
unavailableUnits: boolean;
|
|
941
|
+
/**
|
|
942
|
+
* Highlight up to 2 unit-group rows with a visual treatment.
|
|
943
|
+
*/
|
|
944
|
+
featuredUnits?: {
|
|
945
|
+
/**
|
|
946
|
+
* When enabled, featured units appear at the top of the table (keeping the table’s sort order among themselves).
|
|
947
|
+
*/
|
|
948
|
+
pinToTop?: boolean | null;
|
|
949
|
+
/**
|
|
950
|
+
* Feature up to 2 unit groups. The same group cannot be selected twice.
|
|
951
|
+
*/
|
|
952
|
+
slots?:
|
|
953
|
+
| {
|
|
954
|
+
unitGroup: string[];
|
|
955
|
+
/**
|
|
956
|
+
* Visual treatment applied to the featured row.
|
|
957
|
+
*/
|
|
958
|
+
treatment?: 'tab' | null;
|
|
959
|
+
/**
|
|
960
|
+
* Text shown in the tab. Max 12 characters to prevent overflow/wrapping.
|
|
961
|
+
*/
|
|
962
|
+
tabLabel?: string | null;
|
|
963
|
+
/**
|
|
964
|
+
* Pick a brand color or choose a custom color. Used for the outline, background, tab, and text fill.
|
|
965
|
+
*/
|
|
966
|
+
color?: string | null;
|
|
967
|
+
id?: string | null;
|
|
968
|
+
}[]
|
|
969
|
+
| null;
|
|
970
|
+
};
|
|
941
971
|
disableRental: boolean;
|
|
942
972
|
disableReservation: boolean;
|
|
943
973
|
/**
|
|
@@ -3929,6 +3959,20 @@ export interface FacilitiesSelect<T extends boolean = true> {
|
|
|
3929
3959
|
vacancyThreshold?: T;
|
|
3930
3960
|
showAppliedPromoPrice?: T;
|
|
3931
3961
|
unavailableUnits?: T;
|
|
3962
|
+
featuredUnits?:
|
|
3963
|
+
| T
|
|
3964
|
+
| {
|
|
3965
|
+
pinToTop?: T;
|
|
3966
|
+
slots?:
|
|
3967
|
+
| T
|
|
3968
|
+
| {
|
|
3969
|
+
unitGroup?: T;
|
|
3970
|
+
treatment?: T;
|
|
3971
|
+
tabLabel?: T;
|
|
3972
|
+
color?: T;
|
|
3973
|
+
id?: T;
|
|
3974
|
+
};
|
|
3975
|
+
};
|
|
3932
3976
|
disableRental?: T;
|
|
3933
3977
|
disableReservation?: T;
|
|
3934
3978
|
disableSoftReservation?: T;
|
|
@@ -5063,6 +5107,35 @@ export interface UnitsTableBlock {
|
|
|
5063
5107
|
vacancyThreshold?: number | null;
|
|
5064
5108
|
showAppliedPromoPrice: boolean;
|
|
5065
5109
|
unavailableUnits: boolean;
|
|
5110
|
+
/**
|
|
5111
|
+
* Highlight up to 2 unit-group rows with a visual treatment.
|
|
5112
|
+
*/
|
|
5113
|
+
featuredUnits?: {
|
|
5114
|
+
/**
|
|
5115
|
+
* When enabled, featured units appear at the top of the table (keeping the table’s sort order among themselves).
|
|
5116
|
+
*/
|
|
5117
|
+
pinToTop?: boolean | null;
|
|
5118
|
+
/**
|
|
5119
|
+
* Feature up to 2 unit groups. The same group cannot be selected twice.
|
|
5120
|
+
*/
|
|
5121
|
+
slots?:
|
|
5122
|
+
| {
|
|
5123
|
+
unitGroup: string[];
|
|
5124
|
+
/**
|
|
5125
|
+
* Visual treatment applied to the featured row.
|
|
5126
|
+
*/
|
|
5127
|
+
treatment?: 'tab' | null;
|
|
5128
|
+
/**
|
|
5129
|
+
* Text shown in the tab. Max 12 characters to prevent overflow/wrapping.
|
|
5130
|
+
*/
|
|
5131
|
+
tabLabel?: string | null;
|
|
5132
|
+
/**
|
|
5133
|
+
* Pick a brand color or choose a custom color. Used for the outline, background, tab, and text fill.
|
|
5134
|
+
*/
|
|
5135
|
+
color?: string | null;
|
|
5136
|
+
}[]
|
|
5137
|
+
| null;
|
|
5138
|
+
};
|
|
5066
5139
|
disableRental: boolean;
|
|
5067
5140
|
disableReservation: boolean;
|
|
5068
5141
|
/**
|