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

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 +188 -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.42",
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,7 @@ export interface Page {
272
272
  | SearchCalloutBlock
273
273
  | StoragResourcesBlock
274
274
  | GalleryBlock
275
+ | StorageDefenderBlock
275
276
  )[];
276
277
  meta?: {
277
278
  title?: string | null;
@@ -340,6 +341,10 @@ export interface Tenant {
340
341
  */
341
342
  websiteNotIndexable?: boolean | null;
342
343
  socialMedia?: SocialMedia;
344
+ /**
345
+ * Enable Storage Defender for this tenant. This will create a Storage Defender page in the Pages collection.
346
+ */
347
+ storageDefender?: boolean | null;
343
348
  createdBy?: string | null;
344
349
  updatedBy?: string | null;
345
350
  updatedAt: string;
@@ -535,6 +540,7 @@ export interface Market {
535
540
  | SearchCalloutBlock
536
541
  | StoragResourcesBlock
537
542
  | GalleryBlock
543
+ | StorageDefenderBlock
538
544
  )[]
539
545
  | null;
540
546
  meta?: {
@@ -1633,6 +1639,117 @@ export interface GalleryBlock {
1633
1639
  blockName?: string | null;
1634
1640
  blockType: 'galleryBlock';
1635
1641
  }
1642
+ /**
1643
+ * This interface was referenced by `Config`'s JSON-Schema
1644
+ * via the `definition` "StorageDefenderBlock".
1645
+ */
1646
+ export interface StorageDefenderBlock {
1647
+ heroSection?: {
1648
+ mainTitle?: string | null;
1649
+ heroTagline?: string | null;
1650
+ heroBackgroundImage?: (string | null) | Media;
1651
+ };
1652
+ introSection?: {
1653
+ sectionTitle?: string | null;
1654
+ content?: {
1655
+ root: {
1656
+ type: string;
1657
+ children: {
1658
+ type: string;
1659
+ version: number;
1660
+ [k: string]: unknown;
1661
+ }[];
1662
+ direction: ('ltr' | 'rtl') | null;
1663
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1664
+ indent: number;
1665
+ version: number;
1666
+ };
1667
+ [k: string]: unknown;
1668
+ } | null;
1669
+ primaryCTA?: {
1670
+ type?: ('reference' | 'custom') | null;
1671
+ newTab?: boolean | null;
1672
+ reference?:
1673
+ | ({
1674
+ relationTo: 'pages';
1675
+ value: string | Page;
1676
+ } | null)
1677
+ | ({
1678
+ relationTo: 'posts';
1679
+ value: string | Post;
1680
+ } | null)
1681
+ | ({
1682
+ relationTo: 'facilities';
1683
+ value: string | Facility;
1684
+ } | null)
1685
+ | ({
1686
+ relationTo: 'markets';
1687
+ value: string | Market;
1688
+ } | null)
1689
+ | ({
1690
+ relationTo: 'categories';
1691
+ value: string | Category;
1692
+ } | null);
1693
+ url?: string | null;
1694
+ label?: string | null;
1695
+ };
1696
+ disclaimer?: string | null;
1697
+ disclaimerImage?: (string | null) | Media;
1698
+ };
1699
+ featuresSection?: {
1700
+ sectionTitle?: string | null;
1701
+ features?:
1702
+ | {
1703
+ title: string;
1704
+ description: string;
1705
+ icon?: string | null;
1706
+ id?: string | null;
1707
+ }[]
1708
+ | null;
1709
+ };
1710
+ benefitsSection?: {
1711
+ sectionTitle?: string | null;
1712
+ introText?: string | null;
1713
+ benefits?:
1714
+ | {
1715
+ title: string;
1716
+ description?: string | null;
1717
+ image?: (string | null) | Media;
1718
+ id?: string | null;
1719
+ }[]
1720
+ | null;
1721
+ secondaryCTA?: {
1722
+ type?: ('reference' | 'custom') | null;
1723
+ newTab?: boolean | null;
1724
+ reference?:
1725
+ | ({
1726
+ relationTo: 'pages';
1727
+ value: string | Page;
1728
+ } | null)
1729
+ | ({
1730
+ relationTo: 'posts';
1731
+ value: string | Post;
1732
+ } | null)
1733
+ | ({
1734
+ relationTo: 'facilities';
1735
+ value: string | Facility;
1736
+ } | null)
1737
+ | ({
1738
+ relationTo: 'markets';
1739
+ value: string | Market;
1740
+ } | null)
1741
+ | ({
1742
+ relationTo: 'categories';
1743
+ value: string | Category;
1744
+ } | null);
1745
+ url?: string | null;
1746
+ label?: string | null;
1747
+ };
1748
+ };
1749
+ id?: string | null;
1750
+ blockName?: string | null;
1751
+ blockType: 'storage-defender';
1752
+ }
1636
1753
  /**
1637
1754
  * This interface was referenced by `Config`'s JSON-Schema
1638
1755
  * via the `definition` "menus".
@@ -1938,6 +2055,7 @@ export interface PagesSelect<T extends boolean = true> {
1938
2055
  'search-callout'?: T | SearchCalloutBlockSelect<T>;
1939
2056
  'storage-resources'?: T | StoragResourcesBlockSelect<T>;
1940
2057
  galleryBlock?: T | GalleryBlockSelect<T>;
2058
+ 'storage-defender'?: T | StorageDefenderBlockSelect<T>;
1941
2059
  };
1942
2060
  meta?:
1943
2061
  | T
@@ -2222,6 +2340,74 @@ export interface GalleryBlockSelect<T extends boolean = true> {
2222
2340
  id?: T;
2223
2341
  blockName?: T;
2224
2342
  }
2343
+ /**
2344
+ * This interface was referenced by `Config`'s JSON-Schema
2345
+ * via the `definition` "StorageDefenderBlock_select".
2346
+ */
2347
+ export interface StorageDefenderBlockSelect<T extends boolean = true> {
2348
+ heroSection?:
2349
+ | T
2350
+ | {
2351
+ mainTitle?: T;
2352
+ heroTagline?: T;
2353
+ heroBackgroundImage?: T;
2354
+ };
2355
+ introSection?:
2356
+ | T
2357
+ | {
2358
+ sectionTitle?: T;
2359
+ content?: T;
2360
+ primaryCTA?:
2361
+ | T
2362
+ | {
2363
+ type?: T;
2364
+ newTab?: T;
2365
+ reference?: T;
2366
+ url?: T;
2367
+ label?: T;
2368
+ };
2369
+ disclaimer?: T;
2370
+ disclaimerImage?: T;
2371
+ };
2372
+ featuresSection?:
2373
+ | T
2374
+ | {
2375
+ sectionTitle?: T;
2376
+ features?:
2377
+ | T
2378
+ | {
2379
+ title?: T;
2380
+ description?: T;
2381
+ icon?: T;
2382
+ id?: T;
2383
+ };
2384
+ };
2385
+ benefitsSection?:
2386
+ | T
2387
+ | {
2388
+ sectionTitle?: T;
2389
+ introText?: T;
2390
+ benefits?:
2391
+ | T
2392
+ | {
2393
+ title?: T;
2394
+ description?: T;
2395
+ image?: T;
2396
+ id?: T;
2397
+ };
2398
+ secondaryCTA?:
2399
+ | T
2400
+ | {
2401
+ type?: T;
2402
+ newTab?: T;
2403
+ reference?: T;
2404
+ url?: T;
2405
+ label?: T;
2406
+ };
2407
+ };
2408
+ id?: T;
2409
+ blockName?: T;
2410
+ }
2225
2411
  /**
2226
2412
  * This interface was referenced by `Config`'s JSON-Schema
2227
2413
  * via the `definition` "media_select".
@@ -2326,6 +2512,7 @@ export interface TenantsSelect<T extends boolean = true> {
2326
2512
  gtmId?: T;
2327
2513
  websiteNotIndexable?: T;
2328
2514
  socialMedia?: T | SocialMediaSelect<T>;
2515
+ storageDefender?: T;
2329
2516
  createdBy?: T;
2330
2517
  updatedBy?: T;
2331
2518
  updatedAt?: T;
@@ -2622,6 +2809,7 @@ export interface MarketsSelect<T extends boolean = true> {
2622
2809
  'search-callout'?: T | SearchCalloutBlockSelect<T>;
2623
2810
  'storage-resources'?: T | StoragResourcesBlockSelect<T>;
2624
2811
  galleryBlock?: T | GalleryBlockSelect<T>;
2812
+ 'storage-defender'?: T | StorageDefenderBlockSelect<T>;
2625
2813
  };
2626
2814
  meta?:
2627
2815
  | T