@glidevvr/storage-payload-types-pkg 1.0.55 → 1.0.57

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 +43 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -177,6 +177,7 @@ export interface Config {
177
177
  'facility-features': FacilityFeature;
178
178
  'deletion-logs': DeletionLog;
179
179
  redirects: Redirect;
180
+ builds: Build;
180
181
  forms: Form;
181
182
  'form-submissions': FormSubmission;
182
183
  'payload-jobs': PayloadJob;
@@ -203,6 +204,7 @@ export interface Config {
203
204
  'facility-features': FacilityFeaturesSelect<false> | FacilityFeaturesSelect<true>;
204
205
  'deletion-logs': DeletionLogsSelect<false> | DeletionLogsSelect<true>;
205
206
  redirects: RedirectsSelect<false> | RedirectsSelect<true>;
207
+ builds: BuildsSelect<false> | BuildsSelect<true>;
206
208
  forms: FormsSelect<false> | FormsSelect<true>;
207
209
  'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
208
210
  'payload-jobs': PayloadJobsSelect<false> | PayloadJobsSelect<true>;
@@ -488,38 +490,38 @@ export interface Facility {
488
490
  */
489
491
  gallery?: (string | Media)[] | null;
490
492
  contentTabs?: ContentTabs;
491
- unitTableSettings?: {
493
+ unitTableSettings: {
492
494
  selectedFacilities?: (string | Facility)[] | null;
493
- tableLayout?: 'row' | null;
494
- buttonLayout?: ('separate' | 'combined') | null;
495
- vacancyNotice?: boolean | null;
495
+ tableLayout: 'row';
496
+ buttonLayout: 'separate' | 'combined';
497
+ vacancyNotice: boolean;
496
498
  /**
497
499
  * At how many units left to show the urgency notice.
498
500
  */
499
501
  vacancyThreshold?: number | null;
500
- showAppliedPromoPrice?: boolean | null;
501
- unavailableUnits?: boolean | null;
502
+ showAppliedPromoPrice: boolean;
503
+ unavailableUnits: boolean;
502
504
  /**
503
505
  * If a unit is unavailable, show nearby options.
504
506
  */
505
507
  showNearbyUnits?: boolean | null;
506
- disableRental?: boolean | null;
507
- disableReservation?: boolean | null;
508
+ disableRental: boolean;
509
+ disableReservation: boolean;
508
510
  /**
509
511
  * A soft reservation does not remove a unit from inventory.
510
512
  */
511
- disableSoftReservation?: boolean | null;
512
- rentalAppLocation?: ('drawer' | 'dialog' | 'accordion' | 'external') | null;
513
+ disableSoftReservation: boolean;
514
+ rentalAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
513
515
  /**
514
516
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
515
517
  */
516
518
  rentalAppExternalUrl?: string | null;
517
- reservationAppLocation?: ('drawer' | 'dialog' | 'accordion' | 'external') | null;
519
+ reservationAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
518
520
  /**
519
521
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
520
522
  */
521
523
  reservationAppExternalUrl?: string | null;
522
- softReservationAppLocation?: ('drawer' | 'dialog' | 'accordion' | 'external') | null;
524
+ softReservationAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
523
525
  /**
524
526
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
525
527
  */
@@ -1771,6 +1773,19 @@ export interface Redirect {
1771
1773
  updatedAt: string;
1772
1774
  createdAt: string;
1773
1775
  }
1776
+ /**
1777
+ * This interface was referenced by `Config`'s JSON-Schema
1778
+ * via the `definition` "builds".
1779
+ */
1780
+ export interface Build {
1781
+ id: string;
1782
+ tenant?: (string | null) | Tenant;
1783
+ buildId: number;
1784
+ status: 'pending' | 'in_progress' | 'completed' | 'failed';
1785
+ createdBy?: string | null;
1786
+ updatedAt: string;
1787
+ createdAt: string;
1788
+ }
1774
1789
  /**
1775
1790
  * This interface was referenced by `Config`'s JSON-Schema
1776
1791
  * via the `definition` "form-submissions".
@@ -1940,6 +1955,10 @@ export interface PayloadLockedDocument {
1940
1955
  relationTo: 'redirects';
1941
1956
  value: string | Redirect;
1942
1957
  } | null)
1958
+ | ({
1959
+ relationTo: 'builds';
1960
+ value: string | Build;
1961
+ } | null)
1943
1962
  | ({
1944
1963
  relationTo: 'forms';
1945
1964
  value: string | Form;
@@ -2832,6 +2851,18 @@ export interface RedirectsSelect<T extends boolean = true> {
2832
2851
  updatedAt?: T;
2833
2852
  createdAt?: T;
2834
2853
  }
2854
+ /**
2855
+ * This interface was referenced by `Config`'s JSON-Schema
2856
+ * via the `definition` "builds_select".
2857
+ */
2858
+ export interface BuildsSelect<T extends boolean = true> {
2859
+ tenant?: T;
2860
+ buildId?: T;
2861
+ status?: T;
2862
+ createdBy?: T;
2863
+ updatedAt?: T;
2864
+ createdAt?: T;
2865
+ }
2835
2866
  /**
2836
2867
  * This interface was referenced by `Config`'s JSON-Schema
2837
2868
  * via the `definition` "forms_select".