@glidevvr/storage-payload-types-pkg 1.0.358 → 1.0.360
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 +30 -7
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -790,7 +790,7 @@ export interface Market {
|
|
|
790
790
|
title: string;
|
|
791
791
|
marketType: 'state' | 'city' | 'amenity' | 'selectFacilities' | 'allFacilities';
|
|
792
792
|
/**
|
|
793
|
-
* Advanced
|
|
793
|
+
* Basic shows facility cards; Advanced shows the market units table with rent/reserve, promos, and features per facility.
|
|
794
794
|
*/
|
|
795
795
|
unitTableType?: ('basic' | 'advanced') | null;
|
|
796
796
|
unitCategories?: string[];
|
|
@@ -959,15 +959,23 @@ export interface Facility {
|
|
|
959
959
|
| {
|
|
960
960
|
unitGroup: string[];
|
|
961
961
|
/**
|
|
962
|
-
* Visual treatment
|
|
962
|
+
* Visual treatment for the featured row. "Tab" highlights the row with a ribbon; "Badge" overlays a colored badge on the unit image (no row highlight).
|
|
963
963
|
*/
|
|
964
|
-
treatment?: 'tab' | null;
|
|
964
|
+
treatment?: ('tab' | 'badge') | null;
|
|
965
965
|
/**
|
|
966
966
|
* Text shown in the tab. Max 12 characters to prevent overflow/wrapping.
|
|
967
967
|
*/
|
|
968
968
|
tabLabel?: string | null;
|
|
969
969
|
/**
|
|
970
|
-
*
|
|
970
|
+
* Choose a badge shape.
|
|
971
|
+
*/
|
|
972
|
+
badgeDesign?: string | null;
|
|
973
|
+
/**
|
|
974
|
+
* Text shown on the badge (e.g. "Flash Sale"). Max 14 characters.
|
|
975
|
+
*/
|
|
976
|
+
badgeText?: string | null;
|
|
977
|
+
/**
|
|
978
|
+
* Pick a brand color or choose a custom color (defaults to primary). Used for the tab (outline/background/ribbon) or the badge fill, with accessible text contrast.
|
|
971
979
|
*/
|
|
972
980
|
color: string;
|
|
973
981
|
id?: string | null;
|
|
@@ -1132,6 +1140,10 @@ export interface Brand {
|
|
|
1132
1140
|
primaryColor: string;
|
|
1133
1141
|
secondaryColor: string;
|
|
1134
1142
|
tertiaryColor?: string | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* Promo accent color used by unit tables (e.g. promo labels and sale ribbons). Defaults to the theme's promo yellow when unset.
|
|
1145
|
+
*/
|
|
1146
|
+
promoColor?: string | null;
|
|
1135
1147
|
/**
|
|
1136
1148
|
* If checked, the secondary color will be used instead of the primary color for buttons and links. If selecting a neutral color, it is suggested to use the theme's mediumd gray #6F6F6F or dark gray #212529
|
|
1137
1149
|
*/
|
|
@@ -4062,6 +4074,8 @@ export interface FacilitiesSelect<T extends boolean = true> {
|
|
|
4062
4074
|
unitGroup?: T;
|
|
4063
4075
|
treatment?: T;
|
|
4064
4076
|
tabLabel?: T;
|
|
4077
|
+
badgeDesign?: T;
|
|
4078
|
+
badgeText?: T;
|
|
4065
4079
|
color?: T;
|
|
4066
4080
|
id?: T;
|
|
4067
4081
|
};
|
|
@@ -4519,6 +4533,7 @@ export interface BrandsSelect<T extends boolean = true> {
|
|
|
4519
4533
|
primaryColor?: T;
|
|
4520
4534
|
secondaryColor?: T;
|
|
4521
4535
|
tertiaryColor?: T;
|
|
4536
|
+
promoColor?: T;
|
|
4522
4537
|
useSecondaryColor?: T;
|
|
4523
4538
|
createdBy?: T;
|
|
4524
4539
|
updatedBy?: T;
|
|
@@ -5262,15 +5277,23 @@ export interface UnitsTableBlock {
|
|
|
5262
5277
|
| {
|
|
5263
5278
|
unitGroup: string[];
|
|
5264
5279
|
/**
|
|
5265
|
-
* Visual treatment
|
|
5280
|
+
* Visual treatment for the featured row. "Tab" highlights the row with a ribbon; "Badge" overlays a colored badge on the unit image (no row highlight).
|
|
5266
5281
|
*/
|
|
5267
|
-
treatment?: 'tab' | null;
|
|
5282
|
+
treatment?: ('tab' | 'badge') | null;
|
|
5268
5283
|
/**
|
|
5269
5284
|
* Text shown in the tab. Max 12 characters to prevent overflow/wrapping.
|
|
5270
5285
|
*/
|
|
5271
5286
|
tabLabel?: string | null;
|
|
5272
5287
|
/**
|
|
5273
|
-
*
|
|
5288
|
+
* Choose a badge shape.
|
|
5289
|
+
*/
|
|
5290
|
+
badgeDesign?: string | null;
|
|
5291
|
+
/**
|
|
5292
|
+
* Text shown on the badge (e.g. "Flash Sale"). Max 14 characters.
|
|
5293
|
+
*/
|
|
5294
|
+
badgeText?: string | null;
|
|
5295
|
+
/**
|
|
5296
|
+
* Pick a brand color or choose a custom color (defaults to primary). Used for the tab (outline/background/ribbon) or the badge fill, with accessible text contrast.
|
|
5274
5297
|
*/
|
|
5275
5298
|
color: string;
|
|
5276
5299
|
}[]
|