@glidevvr/storage-payload-types-pkg 1.0.334 → 1.0.336

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 +95 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.334",
3
+ "version": "1.0.336",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -1605,6 +1605,9 @@ export interface CallToActionBlock {
1605
1605
  | 'secondary'
1606
1606
  | 'secondary-light'
1607
1607
  | 'outline-secondary'
1608
+ | 'tertiary'
1609
+ | 'tertiary-light'
1610
+ | 'outline-tertiary'
1608
1611
  | 'destructive'
1609
1612
  | 'link'
1610
1613
  | 'white'
@@ -1682,6 +1685,9 @@ export interface ContentBlock {
1682
1685
  | 'secondary'
1683
1686
  | 'secondary-light'
1684
1687
  | 'outline-secondary'
1688
+ | 'tertiary'
1689
+ | 'tertiary-light'
1690
+ | 'outline-tertiary'
1685
1691
  | 'destructive'
1686
1692
  | 'link'
1687
1693
  | 'white'
@@ -2071,8 +2077,8 @@ export interface HomeHero {
2071
2077
  halfImageContentSide?: ('right' | 'left') | null;
2072
2078
  searchLayout?: 'default' | null;
2073
2079
  eyebrow?: string | null;
2074
- imageCount?: ('1' | '2' | '3') | null;
2075
2080
  /**
2081
+ * Add 1-3 images; the layout follows the number of images added.
2076
2082
  * Order:
2077
2083
  * 3 images: Top-left (portrait), top-right, bottom-right
2078
2084
  * 2 images: Top-left, top-right (portrait)
@@ -2082,10 +2088,17 @@ export interface HomeHero {
2082
2088
  | {
2083
2089
  image: string | Media;
2084
2090
  label?: string | null;
2091
+ /**
2092
+ * Desktop label position for this image. "Default" follows the design (varies by image slot). On mobile, labels are always bottom-center.
2093
+ */
2094
+ labelPosition?: ('default' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right') | null;
2085
2095
  id?: string | null;
2086
2096
  }[]
2087
2097
  | null;
2088
- labelPosition?: ('top-left' | 'top-right' | 'bottom-left' | 'bottom-right') | null;
2098
+ /**
2099
+ * Background color for all image labels.
2100
+ */
2101
+ labelBackgroundColor?: ('primary' | 'secondary' | 'tertiary' | 'black' | 'white') | null;
2089
2102
  id?: string | null;
2090
2103
  blockName?: string | null;
2091
2104
  blockType: 'homeHero';
@@ -2301,11 +2314,72 @@ export interface RentalStepsBlock {
2301
2314
  * via the `definition` "SearchCalloutBlock".
2302
2315
  */
2303
2316
  export interface SearchCalloutBlock {
2317
+ /**
2318
+ * Visual layout variant for this Search Callout block.
2319
+ */
2320
+ blockLayout?: ('layout-1' | 'layout-2') | null;
2304
2321
  text: string;
2322
+ /**
2323
+ * Supporting text shown beneath the CTA text. Use <Tenant Name> as a placeholder for the organization name.
2324
+ */
2325
+ descriptiveText?: string | null;
2326
+ /**
2327
+ * Select the background color for the callout card.
2328
+ */
2329
+ backgroundColor?: ('primary' | 'secondary' | 'tertiary') | null;
2305
2330
  /**
2306
2331
  * The button will direct the user to the All Locations page selected for the organization.
2307
2332
  */
2308
- buttonText: string;
2333
+ buttonText?: string | null;
2334
+ buttonLink?: {
2335
+ type?: ('reference' | 'custom') | null;
2336
+ newTab?: boolean | null;
2337
+ reference?:
2338
+ | ({
2339
+ relationTo: 'pages';
2340
+ value: string | Page;
2341
+ } | null)
2342
+ | ({
2343
+ relationTo: 'posts';
2344
+ value: string | Post;
2345
+ } | null)
2346
+ | ({
2347
+ relationTo: 'facilities';
2348
+ value: string | Facility;
2349
+ } | null)
2350
+ | ({
2351
+ relationTo: 'markets';
2352
+ value: string | Market;
2353
+ } | null)
2354
+ | ({
2355
+ relationTo: 'categories';
2356
+ value: string | Category;
2357
+ } | null);
2358
+ url?: string | null;
2359
+ label?: string | null;
2360
+ /**
2361
+ * Choose how the link should be rendered.
2362
+ */
2363
+ appearance?:
2364
+ | (
2365
+ | 'default'
2366
+ | 'primary'
2367
+ | 'primary-light'
2368
+ | 'outline-primary'
2369
+ | 'secondary'
2370
+ | 'secondary-light'
2371
+ | 'outline-secondary'
2372
+ | 'tertiary'
2373
+ | 'tertiary-light'
2374
+ | 'outline-tertiary'
2375
+ | 'destructive'
2376
+ | 'link'
2377
+ | 'white'
2378
+ | 'ghost'
2379
+ | 'gray'
2380
+ )
2381
+ | null;
2382
+ };
2309
2383
  id?: string | null;
2310
2384
  blockName?: string | null;
2311
2385
  blockType: 'searchCallout';
@@ -3419,15 +3493,15 @@ export interface HomeHeroSelect<T extends boolean = true> {
3419
3493
  halfImageContentSide?: T;
3420
3494
  searchLayout?: T;
3421
3495
  eyebrow?: T;
3422
- imageCount?: T;
3423
3496
  images?:
3424
3497
  | T
3425
3498
  | {
3426
3499
  image?: T;
3427
3500
  label?: T;
3501
+ labelPosition?: T;
3428
3502
  id?: T;
3429
3503
  };
3430
- labelPosition?: T;
3504
+ labelBackgroundColor?: T;
3431
3505
  id?: T;
3432
3506
  blockName?: T;
3433
3507
  }
@@ -3501,8 +3575,21 @@ export interface RentalStepsBlockSelect<T extends boolean = true> {
3501
3575
  * via the `definition` "SearchCalloutBlock_select".
3502
3576
  */
3503
3577
  export interface SearchCalloutBlockSelect<T extends boolean = true> {
3578
+ blockLayout?: T;
3504
3579
  text?: T;
3580
+ descriptiveText?: T;
3581
+ backgroundColor?: T;
3505
3582
  buttonText?: T;
3583
+ buttonLink?:
3584
+ | T
3585
+ | {
3586
+ type?: T;
3587
+ newTab?: T;
3588
+ reference?: T;
3589
+ url?: T;
3590
+ label?: T;
3591
+ appearance?: T;
3592
+ };
3506
3593
  id?: T;
3507
3594
  blockName?: T;
3508
3595
  }
@@ -4697,6 +4784,9 @@ export interface ButtonBlock {
4697
4784
  | 'secondary'
4698
4785
  | 'secondary-light'
4699
4786
  | 'outline-secondary'
4787
+ | 'tertiary'
4788
+ | 'tertiary-light'
4789
+ | 'outline-tertiary'
4700
4790
  | 'destructive'
4701
4791
  | 'link'
4702
4792
  | 'white'