@glidevvr/storage-payload-types-pkg 1.0.248 → 1.0.250

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 +88 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.248",
3
+ "version": "1.0.250",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -722,6 +722,10 @@ export interface Facility {
722
722
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
723
723
  */
724
724
  softReservationAppExternalUrl?: string | null;
725
+ /**
726
+ * Additional unit parameters not provided by default from the unitGroup API. Please use comma to separate each new field.
727
+ */
728
+ additionalUnitSourceInfo?: string | null;
725
729
  allowedCategories: string[];
726
730
  allowedFeatures: string[];
727
731
  /**
@@ -1017,7 +1021,7 @@ export interface ContentTabs {
1017
1021
  */
1018
1022
  label?: string | null;
1019
1023
  /**
1020
- * This is the main content for the about section.
1024
+ * This is the main content for the about section. (Max 1 Units Table block allowed)
1021
1025
  */
1022
1026
  content?: {
1023
1027
  root: {
@@ -1073,7 +1077,7 @@ export interface ContentTabs {
1073
1077
  */
1074
1078
  label?: string | null;
1075
1079
  /**
1076
- * Custom content for this tab.
1080
+ * Custom content for this tab. (Max 1 Units Table block allowed)
1077
1081
  */
1078
1082
  content?: {
1079
1083
  root: {
@@ -1101,7 +1105,7 @@ export interface ContentTabs {
1101
1105
  */
1102
1106
  label?: string | null;
1103
1107
  /**
1104
- * Custom content for this tab.
1108
+ * Custom content for this tab. (Max 1 Units Table block allowed)
1105
1109
  */
1106
1110
  content?: {
1107
1111
  root: {
@@ -2953,6 +2957,7 @@ export interface FacilitiesSelect<T extends boolean = true> {
2953
2957
  reservationAppExternalUrl?: T;
2954
2958
  softReservationAppLocation?: T;
2955
2959
  softReservationAppExternalUrl?: T;
2960
+ additionalUnitSourceInfo?: T;
2956
2961
  allowedCategories?: T;
2957
2962
  allowedFeatures?: T;
2958
2963
  sort?: T;
@@ -3847,6 +3852,86 @@ export interface RowGroupBlock {
3847
3852
  blockName?: string | null;
3848
3853
  blockType: 'rowGroup';
3849
3854
  }
3855
+ /**
3856
+ * This interface was referenced by `Config`'s JSON-Schema
3857
+ * via the `definition` "UnitsTableBlock".
3858
+ */
3859
+ export interface UnitsTableBlock {
3860
+ /**
3861
+ * When enabled, use Cubby for unit table display instead of the standard settings.
3862
+ */
3863
+ useCubbyUnitTable?: boolean | null;
3864
+ /**
3865
+ * Enter the facility slug for Cubby integration.
3866
+ */
3867
+ cubbyFacilitySlug?: string | null;
3868
+ /**
3869
+ * Select the layout style for displaying units.
3870
+ */
3871
+ cubbyUnitLayout?: ('list' | 'grid' | 'carousel') | null;
3872
+ selectedFacilities?: string[];
3873
+ tableLayout: 'row' | 'grid';
3874
+ buttonLayout: 'separate' | 'combined';
3875
+ vacancyNotice: boolean;
3876
+ /**
3877
+ * At how many units left to show the urgency notice.
3878
+ */
3879
+ vacancyThreshold?: number | null;
3880
+ showAppliedPromoPrice: boolean;
3881
+ unavailableUnits: boolean;
3882
+ disableRental: boolean;
3883
+ disableReservation: boolean;
3884
+ /**
3885
+ * A soft reservation does not remove a unit from inventory.
3886
+ */
3887
+ disableSoftReservation: boolean;
3888
+ rentalAppLocation: 'external';
3889
+ /**
3890
+ * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
3891
+ */
3892
+ rentalAppExternalUrl?: string | null;
3893
+ /**
3894
+ * If the buttons are combined, the reservation app location will default to the location of the rental app.
3895
+ */
3896
+ reservationAppLocation?: 'external' | null;
3897
+ /**
3898
+ * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
3899
+ */
3900
+ reservationAppExternalUrl?: string | null;
3901
+ softReservationAppLocation: 'external';
3902
+ /**
3903
+ * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
3904
+ */
3905
+ softReservationAppExternalUrl?: string | null;
3906
+ allowedCategories: string[];
3907
+ allowedFeatures: string[];
3908
+ /**
3909
+ * Drag to prioritize - the first listed will have the highest priority. The default sorting is Available (desc), Area (asc), Width (asc), Display Rate (asc).
3910
+ */
3911
+ sort?:
3912
+ | (
3913
+ | 'area'
3914
+ | 'area:desc'
3915
+ | 'available'
3916
+ | 'available:desc'
3917
+ | 'length'
3918
+ | 'length:desc'
3919
+ | 'unit_type_id'
3920
+ | 'unit_type_id:desc'
3921
+ | 'width'
3922
+ | 'width:desc'
3923
+ | 'display_rate'
3924
+ | 'display_rate:desc'
3925
+ )[]
3926
+ | null;
3927
+ /**
3928
+ * Drag to prioritize - the first listed will have the highest priority. The default grouping is Width, Length, Unit Type ID, Display Rate.
3929
+ */
3930
+ groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
3931
+ id?: string | null;
3932
+ blockName?: string | null;
3933
+ blockType: 'unitsTable';
3934
+ }
3850
3935
  /**
3851
3936
  * This interface was referenced by `Config`'s JSON-Schema
3852
3937
  * via the `definition` "auth".