@glidevvr/storage-payload-types-pkg 1.0.41 → 1.0.43

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 +209 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -272,6 +272,8 @@ export interface Page {
272
272
  | SearchCalloutBlock
273
273
  | StoragResourcesBlock
274
274
  | GalleryBlock
275
+ | SizeGuideBlock
276
+ | StorageDefenderBlock
275
277
  )[];
276
278
  meta?: {
277
279
  title?: string | null;
@@ -340,6 +342,10 @@ export interface Tenant {
340
342
  */
341
343
  websiteNotIndexable?: boolean | null;
342
344
  socialMedia?: SocialMedia;
345
+ /**
346
+ * Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
347
+ */
348
+ storageDefender?: boolean | null;
343
349
  createdBy?: string | null;
344
350
  updatedBy?: string | null;
345
351
  updatedAt: string;
@@ -535,6 +541,8 @@ export interface Market {
535
541
  | SearchCalloutBlock
536
542
  | StoragResourcesBlock
537
543
  | GalleryBlock
544
+ | SizeGuideBlock
545
+ | StorageDefenderBlock
538
546
  )[]
539
547
  | null;
540
548
  meta?: {
@@ -1633,6 +1641,126 @@ export interface GalleryBlock {
1633
1641
  blockName?: string | null;
1634
1642
  blockType: 'galleryBlock';
1635
1643
  }
1644
+ /**
1645
+ * This interface was referenced by `Config`'s JSON-Schema
1646
+ * via the `definition` "SizeGuideBlock".
1647
+ */
1648
+ export interface SizeGuideBlock {
1649
+ id?: string | null;
1650
+ blockName?: string | null;
1651
+ blockType: 'size-guide';
1652
+ }
1653
+ /**
1654
+ * This interface was referenced by `Config`'s JSON-Schema
1655
+ * via the `definition` "StorageDefenderBlock".
1656
+ */
1657
+ export interface StorageDefenderBlock {
1658
+ heroSection?: {
1659
+ mainTitle?: string | null;
1660
+ heroTagline?: string | null;
1661
+ heroBackgroundImage?: (string | null) | Media;
1662
+ };
1663
+ introSection?: {
1664
+ sectionTitle?: string | null;
1665
+ content?: {
1666
+ root: {
1667
+ type: string;
1668
+ children: {
1669
+ type: string;
1670
+ version: number;
1671
+ [k: string]: unknown;
1672
+ }[];
1673
+ direction: ('ltr' | 'rtl') | null;
1674
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1675
+ indent: number;
1676
+ version: number;
1677
+ };
1678
+ [k: string]: unknown;
1679
+ } | null;
1680
+ primaryCTA?: {
1681
+ type?: ('reference' | 'custom') | null;
1682
+ newTab?: boolean | null;
1683
+ reference?:
1684
+ | ({
1685
+ relationTo: 'pages';
1686
+ value: string | Page;
1687
+ } | null)
1688
+ | ({
1689
+ relationTo: 'posts';
1690
+ value: string | Post;
1691
+ } | null)
1692
+ | ({
1693
+ relationTo: 'facilities';
1694
+ value: string | Facility;
1695
+ } | null)
1696
+ | ({
1697
+ relationTo: 'markets';
1698
+ value: string | Market;
1699
+ } | null)
1700
+ | ({
1701
+ relationTo: 'categories';
1702
+ value: string | Category;
1703
+ } | null);
1704
+ url?: string | null;
1705
+ label?: string | null;
1706
+ };
1707
+ disclaimer?: string | null;
1708
+ disclaimerImage?: (string | null) | Media;
1709
+ };
1710
+ featuresSection?: {
1711
+ sectionTitle?: string | null;
1712
+ features?:
1713
+ | {
1714
+ title: string;
1715
+ description: string;
1716
+ icon?: string | null;
1717
+ id?: string | null;
1718
+ }[]
1719
+ | null;
1720
+ };
1721
+ benefitsSection?: {
1722
+ sectionTitle?: string | null;
1723
+ introText?: string | null;
1724
+ benefits?:
1725
+ | {
1726
+ title: string;
1727
+ description?: string | null;
1728
+ image?: (string | null) | Media;
1729
+ id?: string | null;
1730
+ }[]
1731
+ | null;
1732
+ secondaryCTA?: {
1733
+ type?: ('reference' | 'custom') | null;
1734
+ newTab?: boolean | null;
1735
+ reference?:
1736
+ | ({
1737
+ relationTo: 'pages';
1738
+ value: string | Page;
1739
+ } | null)
1740
+ | ({
1741
+ relationTo: 'posts';
1742
+ value: string | Post;
1743
+ } | null)
1744
+ | ({
1745
+ relationTo: 'facilities';
1746
+ value: string | Facility;
1747
+ } | null)
1748
+ | ({
1749
+ relationTo: 'markets';
1750
+ value: string | Market;
1751
+ } | null)
1752
+ | ({
1753
+ relationTo: 'categories';
1754
+ value: string | Category;
1755
+ } | null);
1756
+ url?: string | null;
1757
+ label?: string | null;
1758
+ };
1759
+ };
1760
+ id?: string | null;
1761
+ blockName?: string | null;
1762
+ blockType: 'storage-defender';
1763
+ }
1636
1764
  /**
1637
1765
  * This interface was referenced by `Config`'s JSON-Schema
1638
1766
  * via the `definition` "menus".
@@ -1938,6 +2066,8 @@ export interface PagesSelect<T extends boolean = true> {
1938
2066
  'search-callout'?: T | SearchCalloutBlockSelect<T>;
1939
2067
  'storage-resources'?: T | StoragResourcesBlockSelect<T>;
1940
2068
  galleryBlock?: T | GalleryBlockSelect<T>;
2069
+ 'size-guide'?: T | SizeGuideBlockSelect<T>;
2070
+ 'storage-defender'?: T | StorageDefenderBlockSelect<T>;
1941
2071
  };
1942
2072
  meta?:
1943
2073
  | T
@@ -2222,6 +2352,82 @@ export interface GalleryBlockSelect<T extends boolean = true> {
2222
2352
  id?: T;
2223
2353
  blockName?: T;
2224
2354
  }
2355
+ /**
2356
+ * This interface was referenced by `Config`'s JSON-Schema
2357
+ * via the `definition` "SizeGuideBlock_select".
2358
+ */
2359
+ export interface SizeGuideBlockSelect<T extends boolean = true> {
2360
+ id?: T;
2361
+ blockName?: T;
2362
+ }
2363
+ /**
2364
+ * This interface was referenced by `Config`'s JSON-Schema
2365
+ * via the `definition` "StorageDefenderBlock_select".
2366
+ */
2367
+ export interface StorageDefenderBlockSelect<T extends boolean = true> {
2368
+ heroSection?:
2369
+ | T
2370
+ | {
2371
+ mainTitle?: T;
2372
+ heroTagline?: T;
2373
+ heroBackgroundImage?: T;
2374
+ };
2375
+ introSection?:
2376
+ | T
2377
+ | {
2378
+ sectionTitle?: T;
2379
+ content?: T;
2380
+ primaryCTA?:
2381
+ | T
2382
+ | {
2383
+ type?: T;
2384
+ newTab?: T;
2385
+ reference?: T;
2386
+ url?: T;
2387
+ label?: T;
2388
+ };
2389
+ disclaimer?: T;
2390
+ disclaimerImage?: T;
2391
+ };
2392
+ featuresSection?:
2393
+ | T
2394
+ | {
2395
+ sectionTitle?: T;
2396
+ features?:
2397
+ | T
2398
+ | {
2399
+ title?: T;
2400
+ description?: T;
2401
+ icon?: T;
2402
+ id?: T;
2403
+ };
2404
+ };
2405
+ benefitsSection?:
2406
+ | T
2407
+ | {
2408
+ sectionTitle?: T;
2409
+ introText?: T;
2410
+ benefits?:
2411
+ | T
2412
+ | {
2413
+ title?: T;
2414
+ description?: T;
2415
+ image?: T;
2416
+ id?: T;
2417
+ };
2418
+ secondaryCTA?:
2419
+ | T
2420
+ | {
2421
+ type?: T;
2422
+ newTab?: T;
2423
+ reference?: T;
2424
+ url?: T;
2425
+ label?: T;
2426
+ };
2427
+ };
2428
+ id?: T;
2429
+ blockName?: T;
2430
+ }
2225
2431
  /**
2226
2432
  * This interface was referenced by `Config`'s JSON-Schema
2227
2433
  * via the `definition` "media_select".
@@ -2326,6 +2532,7 @@ export interface TenantsSelect<T extends boolean = true> {
2326
2532
  gtmId?: T;
2327
2533
  websiteNotIndexable?: T;
2328
2534
  socialMedia?: T | SocialMediaSelect<T>;
2535
+ storageDefender?: T;
2329
2536
  createdBy?: T;
2330
2537
  updatedBy?: T;
2331
2538
  updatedAt?: T;
@@ -2622,6 +2829,8 @@ export interface MarketsSelect<T extends boolean = true> {
2622
2829
  'search-callout'?: T | SearchCalloutBlockSelect<T>;
2623
2830
  'storage-resources'?: T | StoragResourcesBlockSelect<T>;
2624
2831
  galleryBlock?: T | GalleryBlockSelect<T>;
2832
+ 'size-guide'?: T | SizeGuideBlockSelect<T>;
2833
+ 'storage-defender'?: T | StorageDefenderBlockSelect<T>;
2625
2834
  };
2626
2835
  meta?:
2627
2836
  | T