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

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 +34 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -447,7 +447,7 @@ export interface Media {
447
447
  updatedBy?: string | null;
448
448
  updatedAt: string;
449
449
  createdAt: string;
450
- url: string;
450
+ url?: string | null;
451
451
  thumbnailURL?: string | null;
452
452
  filename: string;
453
453
  mimeType: string;
@@ -554,9 +554,15 @@ export interface Market {
554
554
  export interface Facility {
555
555
  id: string;
556
556
  tenant?: (string | null) | Tenant;
557
+ /**
558
+ * This is the facility name displayed on the front-end of the website.
559
+ */
557
560
  title: string;
558
561
  seFacilityId?: number | null;
559
562
  comingSoon?: boolean | null;
563
+ /**
564
+ * Please enter the Google Place ID for the valid business listing.
565
+ */
560
566
  googlePlaceId?: string | null;
561
567
  /**
562
568
  * If unset, the branding will default to the company's default brand.
@@ -605,18 +611,36 @@ export interface Facility {
605
611
  tableLayout?: 'row' | null;
606
612
  buttonLayout?: ('separate' | 'combined') | null;
607
613
  vacancyNotice?: boolean | null;
614
+ /**
615
+ * At how many units left to show the urgency notice.
616
+ */
608
617
  vacancyThreshold?: number | null;
609
618
  showAppliedPromoPrice?: boolean | null;
610
619
  unavailableUnits?: boolean | null;
620
+ /**
621
+ * If a unit is unavailable, show nearby options.
622
+ */
611
623
  showNearbyUnits?: boolean | null;
612
624
  disableRental?: boolean | null;
613
625
  disableReservation?: boolean | null;
626
+ /**
627
+ * A soft reservation does not remove a unit from inventory.
628
+ */
614
629
  disableSoftReservation?: boolean | null;
615
- rentalAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
630
+ rentalAppLocation?: ('drawer' | 'dialog' | 'accordion' | 'external') | null;
631
+ /**
632
+ * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
633
+ */
616
634
  rentalAppExternalUrl?: string | null;
617
- reservationAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
635
+ reservationAppLocation?: ('drawer' | 'dialog' | 'accordion' | 'external') | null;
636
+ /**
637
+ * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
638
+ */
618
639
  reservationAppExternalUrl?: string | null;
619
- softReservationAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
640
+ softReservationAppLocation?: ('drawer' | 'dialog' | 'accordion' | 'external') | null;
641
+ /**
642
+ * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
643
+ */
620
644
  softReservationAppExternalUrl?: string | null;
621
645
  /**
622
646
  * Category names should be comma separated.
@@ -626,6 +650,9 @@ export interface Facility {
626
650
  * Feature names should be comma separated.
627
651
  */
628
652
  allowedFeatures?: string | null;
653
+ /**
654
+ * Drag to prioritize - the first listed will have the highest priority. The default sorting is Available (desc), Area (asc), Width (asc), Display Rate (asc).
655
+ */
629
656
  sort?:
630
657
  | (
631
658
  | 'area'
@@ -642,6 +669,9 @@ export interface Facility {
642
669
  | 'display_rate:desc'
643
670
  )[]
644
671
  | null;
672
+ /**
673
+ * Drag to prioritize - the first listed will have the highest priority. The default grouping is Width, Length, Unit Type ID, Display Rate.
674
+ */
645
675
  groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
646
676
  };
647
677
  faq?: