@glidevvr/storage-payload-types-pkg 1.0.17 → 1.0.18

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 +69 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -740,6 +740,50 @@ export interface Facility {
740
740
  id?: string | null;
741
741
  }[]
742
742
  | null;
743
+ unitTableSettings?: {
744
+ selectedFacilities?: (string | Facility)[] | null;
745
+ tableLayout?: 'row' | null;
746
+ buttonLayout?: ('separate' | 'combined') | null;
747
+ vacancyNotice?: boolean | null;
748
+ vacancyThreshold?: number | null;
749
+ showAppliedPromoPrice?: boolean | null;
750
+ unavailableUnits?: boolean | null;
751
+ showNearbyUnits?: boolean | null;
752
+ disableRental?: boolean | null;
753
+ disableReservation?: boolean | null;
754
+ disableSoftReservation?: boolean | null;
755
+ rentalAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
756
+ rentalAppExternalUrl?: string | null;
757
+ reservationAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
758
+ reservationAppExternalUrl?: string | null;
759
+ softReservationAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
760
+ softReservationAppExternalUrl?: string | null;
761
+ /**
762
+ * Category names should be comma separated.
763
+ */
764
+ allowedCategories?: string | null;
765
+ /**
766
+ * Feature names should be comma separated.
767
+ */
768
+ allowedFeatures?: string | null;
769
+ sort?:
770
+ | (
771
+ | 'area'
772
+ | 'area:desc'
773
+ | 'available'
774
+ | 'available:desc'
775
+ | 'length'
776
+ | 'length:desc'
777
+ | 'unit_type_id'
778
+ | 'unit_type_id:desc'
779
+ | 'width'
780
+ | 'width:desc'
781
+ | 'display_rate'
782
+ | 'display_rate:desc'
783
+ )[]
784
+ | null;
785
+ groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
786
+ };
743
787
  faq?:
744
788
  | {
745
789
  question: string;
@@ -2248,6 +2292,31 @@ export interface FacilitiesSelect<T extends boolean = true> {
2248
2292
  tabContent?: T;
2249
2293
  id?: T;
2250
2294
  };
2295
+ unitTableSettings?:
2296
+ | T
2297
+ | {
2298
+ selectedFacilities?: T;
2299
+ tableLayout?: T;
2300
+ buttonLayout?: T;
2301
+ vacancyNotice?: T;
2302
+ vacancyThreshold?: T;
2303
+ showAppliedPromoPrice?: T;
2304
+ unavailableUnits?: T;
2305
+ showNearbyUnits?: T;
2306
+ disableRental?: T;
2307
+ disableReservation?: T;
2308
+ disableSoftReservation?: T;
2309
+ rentalAppLocation?: T;
2310
+ rentalAppExternalUrl?: T;
2311
+ reservationAppLocation?: T;
2312
+ reservationAppExternalUrl?: T;
2313
+ softReservationAppLocation?: T;
2314
+ softReservationAppExternalUrl?: T;
2315
+ allowedCategories?: T;
2316
+ allowedFeatures?: T;
2317
+ sort?: T;
2318
+ groupBy?: T;
2319
+ };
2251
2320
  faq?:
2252
2321
  | T
2253
2322
  | {