@glidevvr/storage-payload-types-pkg 1.0.295 → 1.0.297

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 +19 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.295",
3
+ "version": "1.0.297",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -636,7 +636,7 @@ export interface Page {
636
636
  }
637
637
  | {
638
638
  /**
639
- * Add a minimum of 2 and up to 4 images to the gallery. If you only want one, use the Media Block.
639
+ * 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.
640
640
  */
641
641
  media: (string | Media)[];
642
642
  id?: string | null;
@@ -716,7 +716,7 @@ export interface Page {
716
716
  blockType: 'singleTestimonial';
717
717
  }
718
718
  | {
719
- mediaType?: ('image' | 'video') | null;
719
+ mediaType?: ('image' | 'video' | 'videoUpload') | null;
720
720
  imageAlignment?: ('left' | 'center' | 'right') | null;
721
721
  /**
722
722
  * The caption is set in the media upload collection document.
@@ -731,6 +731,10 @@ export interface Page {
731
731
  * Paste any YouTube or Vimeo video URL (watch, embed, shorts, or share links)
732
732
  */
733
733
  video?: string | null;
734
+ /**
735
+ * Upload a video from the media collection. Only fully processed videos (Vimeo status: completed) are available for selection.
736
+ */
737
+ videoUpload?: (string | null) | Media;
734
738
  id?: string | null;
735
739
  blockName?: string | null;
736
740
  blockType: 'mediaBlock';
@@ -1455,7 +1459,7 @@ export interface Market {
1455
1459
  | FormBlock
1456
1460
  | {
1457
1461
  /**
1458
- * Add a minimum of 2 and up to 4 images to the gallery. If you only want one, use the Media Block.
1462
+ * 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.
1459
1463
  */
1460
1464
  media: (string | Media)[];
1461
1465
  id?: string | null;
@@ -1466,7 +1470,7 @@ export interface Market {
1466
1470
  | HorizontalRuleBlock
1467
1471
  | SingleTestimonialBlock
1468
1472
  | {
1469
- mediaType?: ('image' | 'video') | null;
1473
+ mediaType?: ('image' | 'video' | 'videoUpload') | null;
1470
1474
  imageAlignment?: ('left' | 'center' | 'right') | null;
1471
1475
  /**
1472
1476
  * The caption is set in the media upload collection document.
@@ -1481,6 +1485,10 @@ export interface Market {
1481
1485
  * Paste any YouTube or Vimeo video URL (watch, embed, shorts, or share links)
1482
1486
  */
1483
1487
  video?: string | null;
1488
+ /**
1489
+ * Upload a video from the media collection. Only fully processed videos (Vimeo status: completed) are available for selection.
1490
+ */
1491
+ videoUpload?: (string | null) | Media;
1484
1492
  id?: string | null;
1485
1493
  blockName?: string | null;
1486
1494
  blockType: 'mediaBlock';
@@ -3996,6 +4004,7 @@ export interface MediaBlockSelect<T extends boolean = true> {
3996
4004
  captionAlignment?: T;
3997
4005
  image?: T;
3998
4006
  video?: T;
4007
+ videoUpload?: T;
3999
4008
  id?: T;
4000
4009
  blockName?: T;
4001
4010
  }
@@ -5211,7 +5220,7 @@ export interface FaqBlock {
5211
5220
  */
5212
5221
  export interface GalleryBlock {
5213
5222
  /**
5214
- * Add a minimum of 2 and up to 4 images to the gallery. If you only want one, use the Media Block.
5223
+ * 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.
5215
5224
  */
5216
5225
  media: (string | Media)[];
5217
5226
  id?: string | null;
@@ -5223,7 +5232,7 @@ export interface GalleryBlock {
5223
5232
  * via the `definition` "MediaBlock".
5224
5233
  */
5225
5234
  export interface MediaBlock {
5226
- mediaType?: ('image' | 'video') | null;
5235
+ mediaType?: ('image' | 'video' | 'videoUpload') | null;
5227
5236
  imageAlignment?: ('left' | 'center' | 'right') | null;
5228
5237
  /**
5229
5238
  * The caption is set in the media upload collection document.
@@ -5238,6 +5247,10 @@ export interface MediaBlock {
5238
5247
  * Paste any YouTube or Vimeo video URL (watch, embed, shorts, or share links)
5239
5248
  */
5240
5249
  video?: string | null;
5250
+ /**
5251
+ * Upload a video from the media collection. Only fully processed videos (Vimeo status: completed) are available for selection.
5252
+ */
5253
+ videoUpload?: (string | null) | Media;
5241
5254
  id?: string | null;
5242
5255
  blockName?: string | null;
5243
5256
  blockType: 'mediaBlock';