@glidevvr/storage-payload-types-pkg 1.0.357 → 1.0.359

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/payload-types.ts +45 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.357",
3
+ "version": "1.0.359",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
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 Unit Table Coming Soon
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[];
@@ -1132,6 +1132,10 @@ export interface Brand {
1132
1132
  primaryColor: string;
1133
1133
  secondaryColor: string;
1134
1134
  tertiaryColor?: string | null;
1135
+ /**
1136
+ * Promo accent color used by unit tables (e.g. promo labels and sale ribbons). Defaults to the theme's promo yellow when unset.
1137
+ */
1138
+ promoColor?: string | null;
1135
1139
  /**
1136
1140
  * 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
1141
  */
@@ -4519,6 +4523,7 @@ export interface BrandsSelect<T extends boolean = true> {
4519
4523
  primaryColor?: T;
4520
4524
  secondaryColor?: T;
4521
4525
  tertiaryColor?: T;
4526
+ promoColor?: T;
4522
4527
  useSecondaryColor?: T;
4523
4528
  createdBy?: T;
4524
4529
  updatedBy?: T;
@@ -5181,6 +5186,45 @@ export interface SearchFormBlock {
5181
5186
  blockName?: string | null;
5182
5187
  blockType: 'searchForm';
5183
5188
  }
5189
+ /**
5190
+ * This interface was referenced by `Config`'s JSON-Schema
5191
+ * via the `definition` "TableBlock".
5192
+ */
5193
+ export interface TableBlock {
5194
+ table:
5195
+ | {
5196
+ [k: string]: unknown;
5197
+ }
5198
+ | unknown[]
5199
+ | string
5200
+ | number
5201
+ | boolean
5202
+ | null;
5203
+ /**
5204
+ * Renders the top row as column headers (<th scope="col">).
5205
+ */
5206
+ firstRowIsHeader?: boolean | null;
5207
+ /**
5208
+ * Renders the left column as row headers (<th scope="row">).
5209
+ */
5210
+ firstColumnIsHeader?: boolean | null;
5211
+ /**
5212
+ * Table shading color. None = no shading. The header renders as a solid bar in this color.
5213
+ */
5214
+ rowShading?: ('' | 'primary-light' | 'secondary-light' | 'tertiary-light' | 'neutral-light') | null;
5215
+ /**
5216
+ * How the shading color fills the body: striped alternating rows, or a single solid fill. Only takes effect when a shading color is selected.
5217
+ */
5218
+ shadingFill?: ('striped' | 'solid') | null;
5219
+ /**
5220
+ * Header row style (when "First row is a header"): a solid brand-color bar, or the same light color as the rows. Requires a shading color.
5221
+ */
5222
+ headerStyle?: ('bar' | 'match') | null;
5223
+ borders: 'all' | 'outer' | 'inner' | 'rows' | 'columns' | 'none';
5224
+ id?: string | null;
5225
+ blockName?: string | null;
5226
+ blockType: 'table';
5227
+ }
5184
5228
  /**
5185
5229
  * This interface was referenced by `Config`'s JSON-Schema
5186
5230
  * via the `definition` "UnitsTableBlock".