@glidevvr/storage-payload-types-pkg 1.0.63 → 1.0.65

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 +9 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.63",
3
+ "version": "1.0.65",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -754,7 +754,7 @@ export interface Facility {
754
754
  gallery?: (string | Media)[] | null;
755
755
  contentTabs?: ContentTabs;
756
756
  unitTableSettings: {
757
- selectedFacilities?: (string | Facility)[] | null;
757
+ selectedFacilities: string[];
758
758
  tableLayout: 'row';
759
759
  buttonLayout: 'separate' | 'combined';
760
760
  vacancyNotice: boolean;
@@ -774,29 +774,26 @@ export interface Facility {
774
774
  * A soft reservation does not remove a unit from inventory.
775
775
  */
776
776
  disableSoftReservation: boolean;
777
- rentalAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
777
+ rentalAppLocation: 'drawer' | 'dialog';
778
778
  /**
779
779
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
780
780
  */
781
781
  rentalAppExternalUrl?: string | null;
782
- reservationAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
782
+ /**
783
+ * If the buttons are combined, the reservation app location will default to the location of the rental app.
784
+ */
785
+ reservationAppLocation?: ('drawer' | 'dialog') | null;
783
786
  /**
784
787
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
785
788
  */
786
789
  reservationAppExternalUrl?: string | null;
787
- softReservationAppLocation: 'drawer' | 'dialog' | 'accordion' | 'external';
790
+ softReservationAppLocation: 'drawer' | 'dialog';
788
791
  /**
789
792
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
790
793
  */
791
794
  softReservationAppExternalUrl?: string | null;
792
- /**
793
- * Category names should be comma separated.
794
- */
795
- allowedCategories?: string | null;
796
- /**
797
- * Feature names should be comma separated.
798
- */
799
- allowedFeatures?: string | null;
795
+ allowedCategories: string[];
796
+ allowedFeatures: string[];
800
797
  /**
801
798
  * Drag to prioritize - the first listed will have the highest priority. The default sorting is Available (desc), Area (asc), Width (asc), Display Rate (asc).
802
799
  */