@glidevvr/storage-payload-types-pkg 1.0.21 → 1.0.23

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 +18 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -299,6 +299,7 @@ export interface Tenant {
299
299
  * The page for the All Locations page content. Routing will use this page's slug.
300
300
  */
301
301
  allFacilitiesPage?: (string | null) | Market;
302
+ seCompanyId?: number | null;
302
303
  seApiKey?: string | null;
303
304
  seApiPrivateKey?: string | null;
304
305
  /**
@@ -757,16 +758,29 @@ export interface ArchiveBlock {
757
758
  };
758
759
  [k: string]: unknown;
759
760
  } | null;
760
- populateBy?: ('collection' | 'selection') | null;
761
+ populateBy: 'collection' | 'selection';
761
762
  relationTo?: 'posts' | null;
763
+ /**
764
+ * If no categories are selected, the 4 most recent posts will be shown.
765
+ */
762
766
  categories?: (string | Category)[] | null;
763
- limit?: number | null;
767
+ /**
768
+ * Select the number of posts to display (limit of 4 max.).
769
+ */
770
+ limit?: ('1' | '2' | '3' | '4') | null;
771
+ /**
772
+ * Select up to 4 posts
773
+ */
764
774
  selectedDocs?:
765
775
  | {
766
776
  relationTo: 'posts';
767
777
  value: string | Post;
768
778
  }[]
769
779
  | null;
780
+ /**
781
+ * The text for the button that links to the blog index page.
782
+ */
783
+ buttonText?: string | null;
770
784
  id?: string | null;
771
785
  blockName?: string | null;
772
786
  blockType: 'archive';
@@ -1796,6 +1810,7 @@ export interface ArchiveBlockSelect<T extends boolean = true> {
1796
1810
  categories?: T;
1797
1811
  limit?: T;
1798
1812
  selectedDocs?: T;
1813
+ buttonText?: T;
1799
1814
  id?: T;
1800
1815
  blockName?: T;
1801
1816
  }
@@ -2133,6 +2148,7 @@ export interface TenantsSelect<T extends boolean = true> {
2133
2148
  users?: T;
2134
2149
  defaultBrand?: T;
2135
2150
  allFacilitiesPage?: T;
2151
+ seCompanyId?: T;
2136
2152
  seApiKey?: T;
2137
2153
  seApiPrivateKey?: T;
2138
2154
  googleApiBrowserKey?: T;