@glidevvr/storage-payload-types-pkg 1.0.249 → 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 +83 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.249",
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
@@ -1021,7 +1021,7 @@ export interface ContentTabs {
1021
1021
  */
1022
1022
  label?: string | null;
1023
1023
  /**
1024
- * 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)
1025
1025
  */
1026
1026
  content?: {
1027
1027
  root: {
@@ -1077,7 +1077,7 @@ export interface ContentTabs {
1077
1077
  */
1078
1078
  label?: string | null;
1079
1079
  /**
1080
- * Custom content for this tab.
1080
+ * Custom content for this tab. (Max 1 Units Table block allowed)
1081
1081
  */
1082
1082
  content?: {
1083
1083
  root: {
@@ -1105,7 +1105,7 @@ export interface ContentTabs {
1105
1105
  */
1106
1106
  label?: string | null;
1107
1107
  /**
1108
- * Custom content for this tab.
1108
+ * Custom content for this tab. (Max 1 Units Table block allowed)
1109
1109
  */
1110
1110
  content?: {
1111
1111
  root: {
@@ -3852,6 +3852,86 @@ export interface RowGroupBlock {
3852
3852
  blockName?: string | null;
3853
3853
  blockType: 'rowGroup';
3854
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
+ }
3855
3935
  /**
3856
3936
  * This interface was referenced by `Config`'s JSON-Schema
3857
3937
  * via the `definition` "auth".