@glidevvr/storage-payload-types-pkg 1.0.305 → 1.0.306

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 +343 -48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.305",
3
+ "version": "1.0.306",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -268,6 +268,96 @@ export interface Page {
268
268
  id: string;
269
269
  tenant?: (string | null) | Tenant;
270
270
  title: string;
271
+ /**
272
+ * Displays a full-width image or video overlay hero above the breadcrumbs. The default page title will be suppressed — use the heading in the Page Hero rich text as your page title instead.
273
+ */
274
+ enablePageHero?: boolean | null;
275
+ pageHero?:
276
+ | {
277
+ backgroundType?: ('image' | 'video') | null;
278
+ /**
279
+ * Required. When video is selected, the image displays while the video loads and on slow connections. Landscape orientation, minimum 1920x600px recommended.
280
+ */
281
+ backgroundImage: string | Media;
282
+ /**
283
+ * Upload a video from the media collection. Only fully processed videos (Vimeo status: completed) are available for selection.
284
+ */
285
+ backgroundVideo?: (string | null) | Media;
286
+ /**
287
+ * Minimum height on desktop. Auto sizes to fit content.
288
+ */
289
+ minHeight?: ('auto' | 'small' | 'medium' | 'large' | 'extraLarge') | null;
290
+ /**
291
+ * Minimum height on mobile. Auto sizes to fit content.
292
+ */
293
+ mobileMinHeight?: ('auto' | 'small' | 'medium' | 'large' | 'extraLarge') | null;
294
+ /**
295
+ * Horizontal position (0% = left, 50% = center, 100% = right).
296
+ */
297
+ focalPointX?: number | null;
298
+ /**
299
+ * Vertical position (0% = top, 50% = center, 100% = bottom).
300
+ */
301
+ focalPointY?: number | null;
302
+ /**
303
+ * Color of the overlay on top of the background image.
304
+ */
305
+ overlayColor: 'primary' | 'secondary' | 'tertiary' | 'black' | 'white';
306
+ /**
307
+ * Opacity of the overlay (0 = fully transparent, 100 = fully opaque). Default: 80%.
308
+ */
309
+ overlayOpacity: number;
310
+ /**
311
+ * Add a colored background behind the text content for improved readability.
312
+ */
313
+ enableBackdrop?: boolean | null;
314
+ /**
315
+ * Background color of the content backdrop.
316
+ */
317
+ backdropColor?: ('primary' | 'secondary' | 'tertiary' | 'black' | 'white') | null;
318
+ /**
319
+ * Opacity of the backdrop (0 = transparent, 100 = fully opaque).
320
+ */
321
+ backdropOpacity?: number | null;
322
+ /**
323
+ * Position of the content backdrop within the block. On mobile, always centers.
324
+ */
325
+ backdropPosition?:
326
+ | (
327
+ | 'top-left'
328
+ | 'top-center'
329
+ | 'top-right'
330
+ | 'center-left'
331
+ | 'center'
332
+ | 'center-right'
333
+ | 'bottom-left'
334
+ | 'bottom-center'
335
+ | 'bottom-right'
336
+ )
337
+ | null;
338
+ /**
339
+ * Rich text content displayed over the image. Text color adjusts automatically for accessibility.
340
+ */
341
+ content?: {
342
+ root: {
343
+ type: string;
344
+ children: {
345
+ type: any;
346
+ version: number;
347
+ [k: string]: unknown;
348
+ }[];
349
+ direction: ('ltr' | 'rtl') | null;
350
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
351
+ indent: number;
352
+ version: number;
353
+ };
354
+ [k: string]: unknown;
355
+ } | null;
356
+ id?: string | null;
357
+ blockName?: string | null;
358
+ blockType: 'mediaOverlay';
359
+ }[]
360
+ | null;
271
361
  blocks: (
272
362
  | {
273
363
  introContent?: {
@@ -662,6 +752,90 @@ export interface Page {
662
752
  blockName?: string | null;
663
753
  blockType: 'homeHero';
664
754
  }
755
+ | {
756
+ backgroundType?: ('image' | 'video') | null;
757
+ /**
758
+ * Required. When video is selected, the image displays while the video loads and on slow connections. Landscape orientation, minimum 1920x600px recommended.
759
+ */
760
+ backgroundImage: string | Media;
761
+ /**
762
+ * Upload a video from the media collection. Only fully processed videos (Vimeo status: completed) are available for selection.
763
+ */
764
+ backgroundVideo?: (string | null) | Media;
765
+ /**
766
+ * Minimum height on desktop. Auto sizes to fit content.
767
+ */
768
+ minHeight?: ('auto' | 'small' | 'medium' | 'large' | 'extraLarge') | null;
769
+ /**
770
+ * Minimum height on mobile. Auto sizes to fit content.
771
+ */
772
+ mobileMinHeight?: ('auto' | 'small' | 'medium' | 'large' | 'extraLarge') | null;
773
+ /**
774
+ * Horizontal position (0% = left, 50% = center, 100% = right).
775
+ */
776
+ focalPointX?: number | null;
777
+ /**
778
+ * Vertical position (0% = top, 50% = center, 100% = bottom).
779
+ */
780
+ focalPointY?: number | null;
781
+ /**
782
+ * Color of the overlay on top of the background image.
783
+ */
784
+ overlayColor: 'primary' | 'secondary' | 'tertiary' | 'black' | 'white';
785
+ /**
786
+ * Opacity of the overlay (0 = fully transparent, 100 = fully opaque). Default: 80%.
787
+ */
788
+ overlayOpacity: number;
789
+ /**
790
+ * Add a colored background behind the text content for improved readability.
791
+ */
792
+ enableBackdrop?: boolean | null;
793
+ /**
794
+ * Background color of the content backdrop.
795
+ */
796
+ backdropColor?: ('primary' | 'secondary' | 'tertiary' | 'black' | 'white') | null;
797
+ /**
798
+ * Opacity of the backdrop (0 = transparent, 100 = fully opaque).
799
+ */
800
+ backdropOpacity?: number | null;
801
+ /**
802
+ * Position of the content backdrop within the block. On mobile, always centers.
803
+ */
804
+ backdropPosition?:
805
+ | (
806
+ | 'top-left'
807
+ | 'top-center'
808
+ | 'top-right'
809
+ | 'center-left'
810
+ | 'center'
811
+ | 'center-right'
812
+ | 'bottom-left'
813
+ | 'bottom-center'
814
+ | 'bottom-right'
815
+ )
816
+ | null;
817
+ /**
818
+ * Rich text content displayed over the image. Text color adjusts automatically for accessibility.
819
+ */
820
+ content?: {
821
+ root: {
822
+ type: string;
823
+ children: {
824
+ type: any;
825
+ version: number;
826
+ [k: string]: unknown;
827
+ }[];
828
+ direction: ('ltr' | 'rtl') | null;
829
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
830
+ indent: number;
831
+ version: number;
832
+ };
833
+ [k: string]: unknown;
834
+ } | null;
835
+ id?: string | null;
836
+ blockName?: string | null;
837
+ blockType: 'mediaOverlay';
838
+ }
665
839
  | {
666
840
  id?: string | null;
667
841
  blockName?: string | null;
@@ -1504,6 +1678,7 @@ export interface Market {
1504
1678
  blockType: 'galleryBlock';
1505
1679
  }
1506
1680
  | HomeHero
1681
+ | MediaOverlayBlock
1507
1682
  | HorizontalRuleBlock
1508
1683
  | SingleTestimonialBlock
1509
1684
  | {
@@ -1839,6 +2014,7 @@ export interface Brand {
1839
2014
  footerLogo?: (string | null) | Media;
1840
2015
  primaryColor: string;
1841
2016
  secondaryColor: string;
2017
+ tertiaryColor?: string | null;
1842
2018
  /**
1843
2019
  * 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
1844
2020
  */
@@ -2907,6 +3083,94 @@ export interface HomeHero {
2907
3083
  blockName?: string | null;
2908
3084
  blockType: 'homeHero';
2909
3085
  }
3086
+ /**
3087
+ * This interface was referenced by `Config`'s JSON-Schema
3088
+ * via the `definition` "MediaOverlayBlock".
3089
+ */
3090
+ export interface MediaOverlayBlock {
3091
+ backgroundType?: ('image' | 'video') | null;
3092
+ /**
3093
+ * Required. When video is selected, the image displays while the video loads and on slow connections. Landscape orientation, minimum 1920x600px recommended.
3094
+ */
3095
+ backgroundImage: string | Media;
3096
+ /**
3097
+ * Upload a video from the media collection. Only fully processed videos (Vimeo status: completed) are available for selection.
3098
+ */
3099
+ backgroundVideo?: (string | null) | Media;
3100
+ /**
3101
+ * Minimum height on desktop. Auto sizes to fit content.
3102
+ */
3103
+ minHeight?: ('auto' | 'small' | 'medium' | 'large' | 'extraLarge') | null;
3104
+ /**
3105
+ * Minimum height on mobile. Auto sizes to fit content.
3106
+ */
3107
+ mobileMinHeight?: ('auto' | 'small' | 'medium' | 'large' | 'extraLarge') | null;
3108
+ /**
3109
+ * Horizontal position (0% = left, 50% = center, 100% = right).
3110
+ */
3111
+ focalPointX?: number | null;
3112
+ /**
3113
+ * Vertical position (0% = top, 50% = center, 100% = bottom).
3114
+ */
3115
+ focalPointY?: number | null;
3116
+ /**
3117
+ * Color of the overlay on top of the background image.
3118
+ */
3119
+ overlayColor: 'primary' | 'secondary' | 'tertiary' | 'black' | 'white';
3120
+ /**
3121
+ * Opacity of the overlay (0 = fully transparent, 100 = fully opaque). Default: 80%.
3122
+ */
3123
+ overlayOpacity: number;
3124
+ /**
3125
+ * Add a colored background behind the text content for improved readability.
3126
+ */
3127
+ enableBackdrop?: boolean | null;
3128
+ /**
3129
+ * Background color of the content backdrop.
3130
+ */
3131
+ backdropColor?: ('primary' | 'secondary' | 'tertiary' | 'black' | 'white') | null;
3132
+ /**
3133
+ * Opacity of the backdrop (0 = transparent, 100 = fully opaque).
3134
+ */
3135
+ backdropOpacity?: number | null;
3136
+ /**
3137
+ * Position of the content backdrop within the block. On mobile, always centers.
3138
+ */
3139
+ backdropPosition?:
3140
+ | (
3141
+ | 'top-left'
3142
+ | 'top-center'
3143
+ | 'top-right'
3144
+ | 'center-left'
3145
+ | 'center'
3146
+ | 'center-right'
3147
+ | 'bottom-left'
3148
+ | 'bottom-center'
3149
+ | 'bottom-right'
3150
+ )
3151
+ | null;
3152
+ /**
3153
+ * Rich text content displayed over the image. Text color adjusts automatically for accessibility.
3154
+ */
3155
+ content?: {
3156
+ root: {
3157
+ type: string;
3158
+ children: {
3159
+ type: any;
3160
+ version: number;
3161
+ [k: string]: unknown;
3162
+ }[];
3163
+ direction: ('ltr' | 'rtl') | null;
3164
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
3165
+ indent: number;
3166
+ version: number;
3167
+ };
3168
+ [k: string]: unknown;
3169
+ } | null;
3170
+ id?: string | null;
3171
+ blockName?: string | null;
3172
+ blockType: 'mediaOverlay';
3173
+ }
2910
3174
  /**
2911
3175
  * This interface was referenced by `Config`'s JSON-Schema
2912
3176
  * via the `definition` "HorizontalRuleBlock".
@@ -3782,6 +4046,12 @@ export interface PayloadMigration {
3782
4046
  export interface PagesSelect<T extends boolean = true> {
3783
4047
  tenant?: T;
3784
4048
  title?: T;
4049
+ enablePageHero?: T;
4050
+ pageHero?:
4051
+ | T
4052
+ | {
4053
+ mediaOverlay?: T | MediaOverlayBlockSelect<T>;
4054
+ };
3785
4055
  blocks?:
3786
4056
  | T
3787
4057
  | {
@@ -3795,6 +4065,7 @@ export interface PagesSelect<T extends boolean = true> {
3795
4065
  formBlock?: T | FormBlockSelect<T>;
3796
4066
  galleryBlock?: T | GalleryBlockSelect<T>;
3797
4067
  homeHero?: T | HomeHeroSelect<T>;
4068
+ mediaOverlay?: T | MediaOverlayBlockSelect<T>;
3798
4069
  horizontalRule?: T | HorizontalRuleBlockSelect<T>;
3799
4070
  singleTestimonial?: T | SingleTestimonialBlockSelect<T>;
3800
4071
  mediaBlock?: T | MediaBlockSelect<T>;
@@ -3831,6 +4102,28 @@ export interface PagesSelect<T extends boolean = true> {
3831
4102
  createdAt?: T;
3832
4103
  _status?: T;
3833
4104
  }
4105
+ /**
4106
+ * This interface was referenced by `Config`'s JSON-Schema
4107
+ * via the `definition` "MediaOverlayBlock_select".
4108
+ */
4109
+ export interface MediaOverlayBlockSelect<T extends boolean = true> {
4110
+ backgroundType?: T;
4111
+ backgroundImage?: T;
4112
+ backgroundVideo?: T;
4113
+ minHeight?: T;
4114
+ mobileMinHeight?: T;
4115
+ focalPointX?: T;
4116
+ focalPointY?: T;
4117
+ overlayColor?: T;
4118
+ overlayOpacity?: T;
4119
+ enableBackdrop?: T;
4120
+ backdropColor?: T;
4121
+ backdropOpacity?: T;
4122
+ backdropPosition?: T;
4123
+ content?: T;
4124
+ id?: T;
4125
+ blockName?: T;
4126
+ }
3834
4127
  /**
3835
4128
  * This interface was referenced by `Config`'s JSON-Schema
3836
4129
  * via the `definition` "ArchiveBlock_select".
@@ -4461,6 +4754,7 @@ export interface MarketsSelect<T extends boolean = true> {
4461
4754
  formBlock?: T | FormBlockSelect<T>;
4462
4755
  galleryBlock?: T | GalleryBlockSelect<T>;
4463
4756
  homeHero?: T | HomeHeroSelect<T>;
4757
+ mediaOverlay?: T | MediaOverlayBlockSelect<T>;
4464
4758
  horizontalRule?: T | HorizontalRuleBlockSelect<T>;
4465
4759
  singleTestimonial?: T | SingleTestimonialBlockSelect<T>;
4466
4760
  mediaBlock?: T | MediaBlockSelect<T>;
@@ -4718,6 +5012,7 @@ export interface BrandsSelect<T extends boolean = true> {
4718
5012
  footerLogo?: T;
4719
5013
  primaryColor?: T;
4720
5014
  secondaryColor?: T;
5015
+ tertiaryColor?: T;
4721
5016
  useSecondaryColor?: T;
4722
5017
  createdBy?: T;
4723
5018
  updatedBy?: T;
@@ -5258,33 +5553,6 @@ export interface ButtonBlock {
5258
5553
  blockName?: string | null;
5259
5554
  blockType: 'button';
5260
5555
  }
5261
- /**
5262
- * This interface was referenced by `Config`'s JSON-Schema
5263
- * via the `definition` "FaqBlock".
5264
- */
5265
- export interface FaqBlock {
5266
- /**
5267
- * Only one block per page should have the include FAQ schema option checked.
5268
- */
5269
- includeFaqSchema?: boolean | null;
5270
- faq?: Faqs;
5271
- id?: string | null;
5272
- blockName?: string | null;
5273
- blockType: 'faq';
5274
- }
5275
- /**
5276
- * This interface was referenced by `Config`'s JSON-Schema
5277
- * via the `definition` "GalleryBlock".
5278
- */
5279
- export interface GalleryBlock {
5280
- /**
5281
- * Add 2-4 images or videos to the gallery. Videos must be fully processed (Vimeo status: completed) to appear in the selection. If you only want one item, use the Media Block instead.
5282
- */
5283
- media: (string | Media)[];
5284
- id?: string | null;
5285
- blockName?: string | null;
5286
- blockType: 'galleryBlock';
5287
- }
5288
5556
  /**
5289
5557
  * This interface was referenced by `Config`'s JSON-Schema
5290
5558
  * via the `definition` "MediaBlock".
@@ -5317,27 +5585,6 @@ export interface MediaBlock {
5317
5585
  blockName?: string | null;
5318
5586
  blockType: 'mediaBlock';
5319
5587
  }
5320
- /**
5321
- * This interface was referenced by `Config`'s JSON-Schema
5322
- * via the `definition` "SizeGuidePreviewBlock".
5323
- */
5324
- export interface SizeGuidePreviewBlock {
5325
- /**
5326
- * Optional heading for the size guide preview
5327
- */
5328
- heading?: string | null;
5329
- /**
5330
- * Optional subheading for the size guide preview
5331
- */
5332
- subheading?: string | null;
5333
- /**
5334
- * The text for the button that links to the size guide.
5335
- */
5336
- buttonText?: string | null;
5337
- id?: string | null;
5338
- blockName?: string | null;
5339
- blockType: 'sizeGuidePreview';
5340
- }
5341
5588
  /**
5342
5589
  * This interface was referenced by `Config`'s JSON-Schema
5343
5590
  * via the `definition` "RowGroupBlock".
@@ -5375,6 +5622,54 @@ export interface RowGroupBlock {
5375
5622
  blockName?: string | null;
5376
5623
  blockType: 'rowGroup';
5377
5624
  }
5625
+ /**
5626
+ * This interface was referenced by `Config`'s JSON-Schema
5627
+ * via the `definition` "FaqBlock".
5628
+ */
5629
+ export interface FaqBlock {
5630
+ /**
5631
+ * Only one block per page should have the include FAQ schema option checked.
5632
+ */
5633
+ includeFaqSchema?: boolean | null;
5634
+ faq?: Faqs;
5635
+ id?: string | null;
5636
+ blockName?: string | null;
5637
+ blockType: 'faq';
5638
+ }
5639
+ /**
5640
+ * This interface was referenced by `Config`'s JSON-Schema
5641
+ * via the `definition` "GalleryBlock".
5642
+ */
5643
+ export interface GalleryBlock {
5644
+ /**
5645
+ * Add 2-4 images or videos to the gallery. Videos must be fully processed (Vimeo status: completed) to appear in the selection. If you only want one item, use the Media Block instead.
5646
+ */
5647
+ media: (string | Media)[];
5648
+ id?: string | null;
5649
+ blockName?: string | null;
5650
+ blockType: 'galleryBlock';
5651
+ }
5652
+ /**
5653
+ * This interface was referenced by `Config`'s JSON-Schema
5654
+ * via the `definition` "SizeGuidePreviewBlock".
5655
+ */
5656
+ export interface SizeGuidePreviewBlock {
5657
+ /**
5658
+ * Optional heading for the size guide preview
5659
+ */
5660
+ heading?: string | null;
5661
+ /**
5662
+ * Optional subheading for the size guide preview
5663
+ */
5664
+ subheading?: string | null;
5665
+ /**
5666
+ * The text for the button that links to the size guide.
5667
+ */
5668
+ buttonText?: string | null;
5669
+ id?: string | null;
5670
+ blockName?: string | null;
5671
+ blockType: 'sizeGuidePreview';
5672
+ }
5378
5673
  /**
5379
5674
  * This interface was referenced by `Config`'s JSON-Schema
5380
5675
  * via the `definition` "UnitsTableBlock".