@glidevvr/storage-payload-types-pkg 1.0.224 → 1.0.226
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.
- package/package.json +1 -1
- package/payload-types.ts +369 -362
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -333,6 +333,10 @@ export interface Tenant {
|
|
|
333
333
|
* Search radius in miles from the geographic center of the entered zip code or city/state. Facilities within the searched city or zip code will always be returned, even if outside this radius.
|
|
334
334
|
*/
|
|
335
335
|
searchRadius: '10' | '15' | '20' | '25' | '30';
|
|
336
|
+
/**
|
|
337
|
+
* Show the company name and address in the footer
|
|
338
|
+
*/
|
|
339
|
+
showCompanyInfoInFooter?: boolean | null;
|
|
336
340
|
/**
|
|
337
341
|
* The environment of the VaporTable, TenantPay, Rental Funnel, and Storage Essentials API (facilities, hours, categories, etc.)
|
|
338
342
|
*/
|
|
@@ -559,7 +563,7 @@ export interface Market {
|
|
|
559
563
|
id: string;
|
|
560
564
|
tenant?: (string | null) | Tenant;
|
|
561
565
|
title: string;
|
|
562
|
-
marketType: 'state' | 'city' | 'amenity' | 'allFacilities';
|
|
566
|
+
marketType: 'state' | 'city' | 'amenity' | 'selectFacilities' | 'allFacilities';
|
|
563
567
|
/**
|
|
564
568
|
* Advanced Unit Table Coming Soon
|
|
565
569
|
*/
|
|
@@ -567,10 +571,11 @@ export interface Market {
|
|
|
567
571
|
unitCategories?: string[];
|
|
568
572
|
unitFeatures?: string[];
|
|
569
573
|
facilityFeatures?: (string | FacilityFeature)[] | null;
|
|
570
|
-
|
|
574
|
+
facilitySelect?: (string | Facility)[] | null;
|
|
575
|
+
country?: ('USA' | 'Canada') | null;
|
|
571
576
|
state?: string | null;
|
|
572
577
|
city?: string | null;
|
|
573
|
-
sort
|
|
578
|
+
sort?: 'facility_title' | null;
|
|
574
579
|
/**
|
|
575
580
|
* This is the H1 heading located at the top of the market page.
|
|
576
581
|
*/
|
|
@@ -639,10 +644,116 @@ export interface FacilityFeature {
|
|
|
639
644
|
}
|
|
640
645
|
/**
|
|
641
646
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
642
|
-
* via the `definition` "
|
|
647
|
+
* via the `definition` "facilities".
|
|
643
648
|
*/
|
|
644
|
-
export interface
|
|
645
|
-
|
|
649
|
+
export interface Facility {
|
|
650
|
+
id: string;
|
|
651
|
+
tenant?: (string | null) | Tenant;
|
|
652
|
+
/**
|
|
653
|
+
* This is the facility name displayed on the front-end of the website.
|
|
654
|
+
*/
|
|
655
|
+
title: string;
|
|
656
|
+
seFacilityId?: number | null;
|
|
657
|
+
comingSoon?: boolean | null;
|
|
658
|
+
/**
|
|
659
|
+
* Please enter the Google Place ID for the valid business listing.
|
|
660
|
+
*/
|
|
661
|
+
googlePlaceId?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
* If unset, the branding will default to the company's default brand.
|
|
664
|
+
*/
|
|
665
|
+
brandSelection?: (string | null) | Brand;
|
|
666
|
+
/**
|
|
667
|
+
* Select multiple features related to this facility.
|
|
668
|
+
*/
|
|
669
|
+
facilityFeatures?: (string | FacilityFeature)[] | null;
|
|
670
|
+
facilityPaymentSystem?: ('default' | 'none' | 'storage_essentials') | null;
|
|
671
|
+
/**
|
|
672
|
+
* The first image selected is displayed on market pages. For best results, use images with a 16:9 aspect ratio that are at least 1477x831 pixels wide.
|
|
673
|
+
*/
|
|
674
|
+
gallery?: (string | Media)[] | null;
|
|
675
|
+
contentTabs?: ContentTabs;
|
|
676
|
+
unitTableSettings: {
|
|
677
|
+
/**
|
|
678
|
+
* When enabled, use Cubby for unit table display instead of the standard settings.
|
|
679
|
+
*/
|
|
680
|
+
useCubbyUnitTable?: boolean | null;
|
|
681
|
+
/**
|
|
682
|
+
* Enter the facility slug for Cubby integration.
|
|
683
|
+
*/
|
|
684
|
+
cubbyFacilitySlug?: string | null;
|
|
685
|
+
/**
|
|
686
|
+
* Select the layout style for displaying units.
|
|
687
|
+
*/
|
|
688
|
+
cubbyUnitLayout?: ('list' | 'grid' | 'carousel') | null;
|
|
689
|
+
selectedFacilities?: string[];
|
|
690
|
+
tableLayout: 'row' | 'grid';
|
|
691
|
+
buttonLayout: 'separate' | 'combined';
|
|
692
|
+
vacancyNotice: boolean;
|
|
693
|
+
/**
|
|
694
|
+
* At how many units left to show the urgency notice.
|
|
695
|
+
*/
|
|
696
|
+
vacancyThreshold?: number | null;
|
|
697
|
+
showAppliedPromoPrice: boolean;
|
|
698
|
+
unavailableUnits: boolean;
|
|
699
|
+
disableRental: boolean;
|
|
700
|
+
disableReservation: boolean;
|
|
701
|
+
/**
|
|
702
|
+
* A soft reservation does not remove a unit from inventory.
|
|
703
|
+
*/
|
|
704
|
+
disableSoftReservation: boolean;
|
|
705
|
+
rentalAppLocation: 'external';
|
|
706
|
+
/**
|
|
707
|
+
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
708
|
+
*/
|
|
709
|
+
rentalAppExternalUrl?: string | null;
|
|
710
|
+
/**
|
|
711
|
+
* If the buttons are combined, the reservation app location will default to the location of the rental app.
|
|
712
|
+
*/
|
|
713
|
+
reservationAppLocation?: 'external' | null;
|
|
714
|
+
/**
|
|
715
|
+
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
716
|
+
*/
|
|
717
|
+
reservationAppExternalUrl?: string | null;
|
|
718
|
+
softReservationAppLocation: 'external';
|
|
719
|
+
/**
|
|
720
|
+
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
721
|
+
*/
|
|
722
|
+
softReservationAppExternalUrl?: string | null;
|
|
723
|
+
allowedCategories: string[];
|
|
724
|
+
allowedFeatures: string[];
|
|
725
|
+
/**
|
|
726
|
+
* Drag to prioritize - the first listed will have the highest priority. The default sorting is Available (desc), Area (asc), Width (asc), Display Rate (asc).
|
|
727
|
+
*/
|
|
728
|
+
sort?:
|
|
729
|
+
| (
|
|
730
|
+
| 'area'
|
|
731
|
+
| 'area:desc'
|
|
732
|
+
| 'available'
|
|
733
|
+
| 'available:desc'
|
|
734
|
+
| 'length'
|
|
735
|
+
| 'length:desc'
|
|
736
|
+
| 'unit_type_id'
|
|
737
|
+
| 'unit_type_id:desc'
|
|
738
|
+
| 'width'
|
|
739
|
+
| 'width:desc'
|
|
740
|
+
| 'display_rate'
|
|
741
|
+
| 'display_rate:desc'
|
|
742
|
+
)[]
|
|
743
|
+
| null;
|
|
744
|
+
/**
|
|
745
|
+
* Drag to prioritize - the first listed will have the highest priority. The default grouping is Width, Length, Unit Type ID, Display Rate.
|
|
746
|
+
*/
|
|
747
|
+
groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* Notify customers about a promotion or announcement. Displays above the facility tabs.
|
|
751
|
+
*/
|
|
752
|
+
facilityBanner?: FacilityBannerBlock[] | null;
|
|
753
|
+
/**
|
|
754
|
+
* Notify customers about a promotion or announcement. Displays in a square block at the top of the page.
|
|
755
|
+
*/
|
|
756
|
+
facilityNotice?: {
|
|
646
757
|
root: {
|
|
647
758
|
type: string;
|
|
648
759
|
children: {
|
|
@@ -657,42 +768,16 @@ export interface ArchiveBlock {
|
|
|
657
768
|
};
|
|
658
769
|
[k: string]: unknown;
|
|
659
770
|
} | null;
|
|
660
|
-
populateBy: 'collection' | 'selection';
|
|
661
|
-
relationTo?: 'posts' | null;
|
|
662
|
-
/**
|
|
663
|
-
* If no categories are selected, the 4 most recent posts will be shown.
|
|
664
|
-
*/
|
|
665
|
-
categories?: (string | Category)[] | null;
|
|
666
771
|
/**
|
|
667
|
-
*
|
|
772
|
+
* Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
|
|
668
773
|
*/
|
|
669
|
-
|
|
774
|
+
marketNotice?: string | null;
|
|
670
775
|
/**
|
|
671
|
-
*
|
|
776
|
+
* Background color for the notice box. Text color will be automatically selected for optimal contrast.
|
|
672
777
|
*/
|
|
673
|
-
|
|
674
|
-
|
|
|
675
|
-
relationTo: 'posts';
|
|
676
|
-
value: string | Post;
|
|
677
|
-
}[]
|
|
778
|
+
backgroundColor?:
|
|
779
|
+
| ('primary' | 'primary-light' | 'secondary' | 'secondary-light' | 'neutral-light' | 'neutral-dark')
|
|
678
780
|
| null;
|
|
679
|
-
/**
|
|
680
|
-
* The text for the button that links to the blog index page.
|
|
681
|
-
*/
|
|
682
|
-
buttonText?: string | null;
|
|
683
|
-
id?: string | null;
|
|
684
|
-
blockName?: string | null;
|
|
685
|
-
blockType: 'archive';
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
689
|
-
* via the `definition` "categories".
|
|
690
|
-
*/
|
|
691
|
-
export interface Category {
|
|
692
|
-
id: string;
|
|
693
|
-
tenant?: (string | null) | Tenant;
|
|
694
|
-
title: string;
|
|
695
|
-
description?: string | null;
|
|
696
781
|
meta?: {
|
|
697
782
|
title?: string | null;
|
|
698
783
|
description?: string | null;
|
|
@@ -702,60 +787,47 @@ export interface Category {
|
|
|
702
787
|
indexable?: boolean | null;
|
|
703
788
|
};
|
|
704
789
|
slug: string;
|
|
790
|
+
parent?: (string | null) | Market;
|
|
705
791
|
createdBy?: string | null;
|
|
706
792
|
updatedBy?: string | null;
|
|
793
|
+
breadcrumbs?:
|
|
794
|
+
| {
|
|
795
|
+
doc?: (string | null) | Facility;
|
|
796
|
+
url?: string | null;
|
|
797
|
+
label?: string | null;
|
|
798
|
+
id?: string | null;
|
|
799
|
+
}[]
|
|
800
|
+
| null;
|
|
707
801
|
updatedAt: string;
|
|
708
802
|
createdAt: string;
|
|
709
803
|
_status?: ('draft' | 'published') | null;
|
|
710
804
|
}
|
|
711
805
|
/**
|
|
712
806
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
713
|
-
* via the `definition` "
|
|
807
|
+
* via the `definition` "brands".
|
|
714
808
|
*/
|
|
715
|
-
export interface
|
|
809
|
+
export interface Brand {
|
|
716
810
|
id: string;
|
|
717
811
|
tenant?: (string | null) | Tenant;
|
|
718
|
-
|
|
719
|
-
content: {
|
|
720
|
-
root: {
|
|
721
|
-
type: string;
|
|
722
|
-
children: {
|
|
723
|
-
type: string;
|
|
724
|
-
version: number;
|
|
725
|
-
[k: string]: unknown;
|
|
726
|
-
}[];
|
|
727
|
-
direction: ('ltr' | 'rtl') | null;
|
|
728
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
729
|
-
indent: number;
|
|
730
|
-
version: number;
|
|
731
|
-
};
|
|
732
|
-
[k: string]: unknown;
|
|
733
|
-
};
|
|
734
|
-
meta?: {
|
|
735
|
-
title?: string | null;
|
|
736
|
-
description?: string | null;
|
|
737
|
-
/**
|
|
738
|
-
* Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
|
|
739
|
-
*/
|
|
740
|
-
indexable?: boolean | null;
|
|
741
|
-
};
|
|
742
|
-
slug: string;
|
|
743
|
-
author?: string | null;
|
|
744
|
-
publishedAt?: string | null;
|
|
812
|
+
name: string;
|
|
745
813
|
/**
|
|
746
|
-
*
|
|
814
|
+
* For best results, choose an image with a horizontal aspect ratio that's at least 200x52 pixels.
|
|
747
815
|
*/
|
|
748
|
-
|
|
816
|
+
logo: string | Media;
|
|
749
817
|
/**
|
|
750
|
-
* Defaults to the
|
|
818
|
+
* Defaults to the header logo if not provided. For best results, choose an image with a horizontal aspect ratio that's at least 200x53 pixels.
|
|
751
819
|
*/
|
|
752
|
-
|
|
753
|
-
|
|
820
|
+
footerLogo?: (string | null) | Media;
|
|
821
|
+
primaryColor: string;
|
|
822
|
+
secondaryColor: string;
|
|
823
|
+
/**
|
|
824
|
+
* If checked, the secondary color will be used instead of the primary color for buttons and links. If selecting a neutral color, it is suggested to use the theme's mediumd gray #6F6F6F or dark gray #212529
|
|
825
|
+
*/
|
|
826
|
+
useSecondaryColor?: boolean | null;
|
|
754
827
|
createdBy?: string | null;
|
|
755
828
|
updatedBy?: string | null;
|
|
756
829
|
updatedAt: string;
|
|
757
830
|
createdAt: string;
|
|
758
|
-
_status?: ('draft' | 'published') | null;
|
|
759
831
|
}
|
|
760
832
|
/**
|
|
761
833
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -861,298 +933,36 @@ export interface Media {
|
|
|
861
933
|
}
|
|
862
934
|
/**
|
|
863
935
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
864
|
-
* via the `definition` "
|
|
936
|
+
* via the `definition` "ContentTabs".
|
|
865
937
|
*/
|
|
866
|
-
export interface
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
938
|
+
export interface ContentTabs {
|
|
939
|
+
/**
|
|
940
|
+
* Select which tab should be open when users first land on the facility page. Only enabled tabs can be selected.
|
|
941
|
+
*/
|
|
942
|
+
defaultTab?: ('findUnit' | 'features' | 'about' | 'map' | 'customTab1' | 'customTab2') | null;
|
|
943
|
+
findUnit?: {
|
|
944
|
+
/**
|
|
945
|
+
* Show or hide the "Find a unit" tab on the facility page.
|
|
946
|
+
*/
|
|
947
|
+
enabled?: boolean | null;
|
|
948
|
+
/**
|
|
949
|
+
* Customize the tab name (20 character limit).
|
|
950
|
+
*/
|
|
951
|
+
label?: string | null;
|
|
952
|
+
/**
|
|
953
|
+
* This content is displayed below the unit grid, or before the coming soon form if the facility is coming soon.
|
|
954
|
+
*/
|
|
955
|
+
content?: {
|
|
956
|
+
root: {
|
|
871
957
|
type: string;
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
[k: string]: unknown;
|
|
881
|
-
} | null;
|
|
882
|
-
links?:
|
|
883
|
-
| {
|
|
884
|
-
link: {
|
|
885
|
-
type?: ('reference' | 'custom') | null;
|
|
886
|
-
newTab?: boolean | null;
|
|
887
|
-
reference?:
|
|
888
|
-
| ({
|
|
889
|
-
relationTo: 'pages';
|
|
890
|
-
value: string | Page;
|
|
891
|
-
} | null)
|
|
892
|
-
| ({
|
|
893
|
-
relationTo: 'posts';
|
|
894
|
-
value: string | Post;
|
|
895
|
-
} | null)
|
|
896
|
-
| ({
|
|
897
|
-
relationTo: 'facilities';
|
|
898
|
-
value: string | Facility;
|
|
899
|
-
} | null)
|
|
900
|
-
| ({
|
|
901
|
-
relationTo: 'markets';
|
|
902
|
-
value: string | Market;
|
|
903
|
-
} | null)
|
|
904
|
-
| ({
|
|
905
|
-
relationTo: 'categories';
|
|
906
|
-
value: string | Category;
|
|
907
|
-
} | null);
|
|
908
|
-
url?: string | null;
|
|
909
|
-
label: string;
|
|
910
|
-
/**
|
|
911
|
-
* Choose how the link should be rendered.
|
|
912
|
-
*/
|
|
913
|
-
appearance?:
|
|
914
|
-
| (
|
|
915
|
-
| 'default'
|
|
916
|
-
| 'primary'
|
|
917
|
-
| 'primary-light'
|
|
918
|
-
| 'outline-primary'
|
|
919
|
-
| 'secondary'
|
|
920
|
-
| 'secondary-light'
|
|
921
|
-
| 'outline-secondary'
|
|
922
|
-
| 'destructive'
|
|
923
|
-
| 'link'
|
|
924
|
-
| 'white'
|
|
925
|
-
| 'ghost'
|
|
926
|
-
| 'gray'
|
|
927
|
-
)
|
|
928
|
-
| null;
|
|
929
|
-
};
|
|
930
|
-
id?: string | null;
|
|
931
|
-
}[]
|
|
932
|
-
| null;
|
|
933
|
-
id?: string | null;
|
|
934
|
-
blockName?: string | null;
|
|
935
|
-
blockType: 'cta';
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
939
|
-
* via the `definition` "facilities".
|
|
940
|
-
*/
|
|
941
|
-
export interface Facility {
|
|
942
|
-
id: string;
|
|
943
|
-
tenant?: (string | null) | Tenant;
|
|
944
|
-
/**
|
|
945
|
-
* This is the facility name displayed on the front-end of the website.
|
|
946
|
-
*/
|
|
947
|
-
title: string;
|
|
948
|
-
seFacilityId?: number | null;
|
|
949
|
-
comingSoon?: boolean | null;
|
|
950
|
-
/**
|
|
951
|
-
* Please enter the Google Place ID for the valid business listing.
|
|
952
|
-
*/
|
|
953
|
-
googlePlaceId?: string | null;
|
|
954
|
-
/**
|
|
955
|
-
* If unset, the branding will default to the company's default brand.
|
|
956
|
-
*/
|
|
957
|
-
brandSelection?: (string | null) | Brand;
|
|
958
|
-
/**
|
|
959
|
-
* Select multiple features related to this facility.
|
|
960
|
-
*/
|
|
961
|
-
facilityFeatures?: (string | FacilityFeature)[] | null;
|
|
962
|
-
facilityPaymentSystem?: ('default' | 'none' | 'storage_essentials') | null;
|
|
963
|
-
/**
|
|
964
|
-
* The first image selected is displayed on market pages. For best results, use images with a 16:9 aspect ratio that are at least 1477x831 pixels wide.
|
|
965
|
-
*/
|
|
966
|
-
gallery?: (string | Media)[] | null;
|
|
967
|
-
contentTabs?: ContentTabs;
|
|
968
|
-
unitTableSettings: {
|
|
969
|
-
/**
|
|
970
|
-
* When enabled, use Cubby for unit table display instead of the standard settings.
|
|
971
|
-
*/
|
|
972
|
-
useCubbyUnitTable?: boolean | null;
|
|
973
|
-
/**
|
|
974
|
-
* Enter the facility slug for Cubby integration.
|
|
975
|
-
*/
|
|
976
|
-
cubbyFacilitySlug?: string | null;
|
|
977
|
-
/**
|
|
978
|
-
* Select the layout style for displaying units.
|
|
979
|
-
*/
|
|
980
|
-
cubbyUnitLayout?: ('list' | 'grid' | 'carousel') | null;
|
|
981
|
-
selectedFacilities?: string[];
|
|
982
|
-
tableLayout: 'row' | 'grid';
|
|
983
|
-
buttonLayout: 'separate' | 'combined';
|
|
984
|
-
vacancyNotice: boolean;
|
|
985
|
-
/**
|
|
986
|
-
* At how many units left to show the urgency notice.
|
|
987
|
-
*/
|
|
988
|
-
vacancyThreshold?: number | null;
|
|
989
|
-
showAppliedPromoPrice: boolean;
|
|
990
|
-
unavailableUnits: boolean;
|
|
991
|
-
disableRental: boolean;
|
|
992
|
-
disableReservation: boolean;
|
|
993
|
-
/**
|
|
994
|
-
* A soft reservation does not remove a unit from inventory.
|
|
995
|
-
*/
|
|
996
|
-
disableSoftReservation: boolean;
|
|
997
|
-
rentalAppLocation: 'external';
|
|
998
|
-
/**
|
|
999
|
-
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
1000
|
-
*/
|
|
1001
|
-
rentalAppExternalUrl?: string | null;
|
|
1002
|
-
/**
|
|
1003
|
-
* If the buttons are combined, the reservation app location will default to the location of the rental app.
|
|
1004
|
-
*/
|
|
1005
|
-
reservationAppLocation?: 'external' | null;
|
|
1006
|
-
/**
|
|
1007
|
-
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
1008
|
-
*/
|
|
1009
|
-
reservationAppExternalUrl?: string | null;
|
|
1010
|
-
softReservationAppLocation: 'external';
|
|
1011
|
-
/**
|
|
1012
|
-
* If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
|
|
1013
|
-
*/
|
|
1014
|
-
softReservationAppExternalUrl?: string | null;
|
|
1015
|
-
allowedCategories: string[];
|
|
1016
|
-
allowedFeatures: string[];
|
|
1017
|
-
/**
|
|
1018
|
-
* Drag to prioritize - the first listed will have the highest priority. The default sorting is Available (desc), Area (asc), Width (asc), Display Rate (asc).
|
|
1019
|
-
*/
|
|
1020
|
-
sort?:
|
|
1021
|
-
| (
|
|
1022
|
-
| 'area'
|
|
1023
|
-
| 'area:desc'
|
|
1024
|
-
| 'available'
|
|
1025
|
-
| 'available:desc'
|
|
1026
|
-
| 'length'
|
|
1027
|
-
| 'length:desc'
|
|
1028
|
-
| 'unit_type_id'
|
|
1029
|
-
| 'unit_type_id:desc'
|
|
1030
|
-
| 'width'
|
|
1031
|
-
| 'width:desc'
|
|
1032
|
-
| 'display_rate'
|
|
1033
|
-
| 'display_rate:desc'
|
|
1034
|
-
)[]
|
|
1035
|
-
| null;
|
|
1036
|
-
/**
|
|
1037
|
-
* Drag to prioritize - the first listed will have the highest priority. The default grouping is Width, Length, Unit Type ID, Display Rate.
|
|
1038
|
-
*/
|
|
1039
|
-
groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
|
|
1040
|
-
};
|
|
1041
|
-
/**
|
|
1042
|
-
* Notify customers about a promotion or announcement. Displays above the facility tabs.
|
|
1043
|
-
*/
|
|
1044
|
-
facilityBanner?: FacilityBannerBlock[] | null;
|
|
1045
|
-
/**
|
|
1046
|
-
* Notify customers about a promotion or announcement. Displays in a square block at the top of the page.
|
|
1047
|
-
*/
|
|
1048
|
-
facilityNotice?: {
|
|
1049
|
-
root: {
|
|
1050
|
-
type: string;
|
|
1051
|
-
children: {
|
|
1052
|
-
type: string;
|
|
1053
|
-
version: number;
|
|
1054
|
-
[k: string]: unknown;
|
|
1055
|
-
}[];
|
|
1056
|
-
direction: ('ltr' | 'rtl') | null;
|
|
1057
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1058
|
-
indent: number;
|
|
1059
|
-
version: number;
|
|
1060
|
-
};
|
|
1061
|
-
[k: string]: unknown;
|
|
1062
|
-
} | null;
|
|
1063
|
-
/**
|
|
1064
|
-
* Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
|
|
1065
|
-
*/
|
|
1066
|
-
marketNotice?: string | null;
|
|
1067
|
-
/**
|
|
1068
|
-
* Background color for the notice box. Text color will be automatically selected for optimal contrast.
|
|
1069
|
-
*/
|
|
1070
|
-
backgroundColor?:
|
|
1071
|
-
| ('primary' | 'primary-light' | 'secondary' | 'secondary-light' | 'neutral-light' | 'neutral-dark')
|
|
1072
|
-
| null;
|
|
1073
|
-
meta?: {
|
|
1074
|
-
title?: string | null;
|
|
1075
|
-
description?: string | null;
|
|
1076
|
-
/**
|
|
1077
|
-
* Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
|
|
1078
|
-
*/
|
|
1079
|
-
indexable?: boolean | null;
|
|
1080
|
-
};
|
|
1081
|
-
slug: string;
|
|
1082
|
-
parent?: (string | null) | Market;
|
|
1083
|
-
createdBy?: string | null;
|
|
1084
|
-
updatedBy?: string | null;
|
|
1085
|
-
breadcrumbs?:
|
|
1086
|
-
| {
|
|
1087
|
-
doc?: (string | null) | Facility;
|
|
1088
|
-
url?: string | null;
|
|
1089
|
-
label?: string | null;
|
|
1090
|
-
id?: string | null;
|
|
1091
|
-
}[]
|
|
1092
|
-
| null;
|
|
1093
|
-
updatedAt: string;
|
|
1094
|
-
createdAt: string;
|
|
1095
|
-
_status?: ('draft' | 'published') | null;
|
|
1096
|
-
}
|
|
1097
|
-
/**
|
|
1098
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1099
|
-
* via the `definition` "brands".
|
|
1100
|
-
*/
|
|
1101
|
-
export interface Brand {
|
|
1102
|
-
id: string;
|
|
1103
|
-
tenant?: (string | null) | Tenant;
|
|
1104
|
-
name: string;
|
|
1105
|
-
/**
|
|
1106
|
-
* For best results, choose an image with a horizontal aspect ratio that's at least 200x52 pixels.
|
|
1107
|
-
*/
|
|
1108
|
-
logo: string | Media;
|
|
1109
|
-
/**
|
|
1110
|
-
* Defaults to the header logo if not provided. For best results, choose an image with a horizontal aspect ratio that's at least 200x53 pixels.
|
|
1111
|
-
*/
|
|
1112
|
-
footerLogo?: (string | null) | Media;
|
|
1113
|
-
primaryColor: string;
|
|
1114
|
-
secondaryColor: string;
|
|
1115
|
-
/**
|
|
1116
|
-
* If checked, the secondary color will be used instead of the primary color for buttons and links. If selecting a neutral color, it is suggested to use the theme's mediumd gray #6F6F6F or dark gray #212529
|
|
1117
|
-
*/
|
|
1118
|
-
useSecondaryColor?: boolean | null;
|
|
1119
|
-
createdBy?: string | null;
|
|
1120
|
-
updatedBy?: string | null;
|
|
1121
|
-
updatedAt: string;
|
|
1122
|
-
createdAt: string;
|
|
1123
|
-
}
|
|
1124
|
-
/**
|
|
1125
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1126
|
-
* via the `definition` "ContentTabs".
|
|
1127
|
-
*/
|
|
1128
|
-
export interface ContentTabs {
|
|
1129
|
-
/**
|
|
1130
|
-
* Select which tab should be open when users first land on the facility page. Only enabled tabs can be selected.
|
|
1131
|
-
*/
|
|
1132
|
-
defaultTab?: ('findUnit' | 'features' | 'about' | 'map' | 'customTab1' | 'customTab2') | null;
|
|
1133
|
-
findUnit?: {
|
|
1134
|
-
/**
|
|
1135
|
-
* Show or hide the "Find a unit" tab on the facility page.
|
|
1136
|
-
*/
|
|
1137
|
-
enabled?: boolean | null;
|
|
1138
|
-
/**
|
|
1139
|
-
* Customize the tab name (20 character limit).
|
|
1140
|
-
*/
|
|
1141
|
-
label?: string | null;
|
|
1142
|
-
/**
|
|
1143
|
-
* This content is displayed below the unit grid, or before the coming soon form if the facility is coming soon.
|
|
1144
|
-
*/
|
|
1145
|
-
content?: {
|
|
1146
|
-
root: {
|
|
1147
|
-
type: string;
|
|
1148
|
-
children: {
|
|
1149
|
-
type: string;
|
|
1150
|
-
version: number;
|
|
1151
|
-
[k: string]: unknown;
|
|
1152
|
-
}[];
|
|
1153
|
-
direction: ('ltr' | 'rtl') | null;
|
|
1154
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1155
|
-
indent: number;
|
|
958
|
+
children: {
|
|
959
|
+
type: string;
|
|
960
|
+
version: number;
|
|
961
|
+
[k: string]: unknown;
|
|
962
|
+
}[];
|
|
963
|
+
direction: ('ltr' | 'rtl') | null;
|
|
964
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
965
|
+
indent: number;
|
|
1156
966
|
version: number;
|
|
1157
967
|
};
|
|
1158
968
|
[k: string]: unknown;
|
|
@@ -1329,6 +1139,201 @@ export interface FacilityBannerBlock {
|
|
|
1329
1139
|
blockName?: string | null;
|
|
1330
1140
|
blockType: 'facilityBanner';
|
|
1331
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1144
|
+
* via the `definition` "ArchiveBlock".
|
|
1145
|
+
*/
|
|
1146
|
+
export interface ArchiveBlock {
|
|
1147
|
+
introContent?: {
|
|
1148
|
+
root: {
|
|
1149
|
+
type: string;
|
|
1150
|
+
children: {
|
|
1151
|
+
type: string;
|
|
1152
|
+
version: number;
|
|
1153
|
+
[k: string]: unknown;
|
|
1154
|
+
}[];
|
|
1155
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1156
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1157
|
+
indent: number;
|
|
1158
|
+
version: number;
|
|
1159
|
+
};
|
|
1160
|
+
[k: string]: unknown;
|
|
1161
|
+
} | null;
|
|
1162
|
+
populateBy: 'collection' | 'selection';
|
|
1163
|
+
relationTo?: 'posts' | null;
|
|
1164
|
+
/**
|
|
1165
|
+
* If no categories are selected, the 4 most recent posts will be shown.
|
|
1166
|
+
*/
|
|
1167
|
+
categories?: (string | Category)[] | null;
|
|
1168
|
+
/**
|
|
1169
|
+
* Select the number of published posts to display (limit of 4 max.).
|
|
1170
|
+
*/
|
|
1171
|
+
limit?: ('1' | '2' | '3' | '4') | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Select up to 4 posts
|
|
1174
|
+
*/
|
|
1175
|
+
selectedDocs?:
|
|
1176
|
+
| {
|
|
1177
|
+
relationTo: 'posts';
|
|
1178
|
+
value: string | Post;
|
|
1179
|
+
}[]
|
|
1180
|
+
| null;
|
|
1181
|
+
/**
|
|
1182
|
+
* The text for the button that links to the blog index page.
|
|
1183
|
+
*/
|
|
1184
|
+
buttonText?: string | null;
|
|
1185
|
+
id?: string | null;
|
|
1186
|
+
blockName?: string | null;
|
|
1187
|
+
blockType: 'archive';
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1191
|
+
* via the `definition` "categories".
|
|
1192
|
+
*/
|
|
1193
|
+
export interface Category {
|
|
1194
|
+
id: string;
|
|
1195
|
+
tenant?: (string | null) | Tenant;
|
|
1196
|
+
title: string;
|
|
1197
|
+
description?: string | null;
|
|
1198
|
+
meta?: {
|
|
1199
|
+
title?: string | null;
|
|
1200
|
+
description?: string | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
|
|
1203
|
+
*/
|
|
1204
|
+
indexable?: boolean | null;
|
|
1205
|
+
};
|
|
1206
|
+
slug: string;
|
|
1207
|
+
createdBy?: string | null;
|
|
1208
|
+
updatedBy?: string | null;
|
|
1209
|
+
updatedAt: string;
|
|
1210
|
+
createdAt: string;
|
|
1211
|
+
_status?: ('draft' | 'published') | null;
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1215
|
+
* via the `definition` "posts".
|
|
1216
|
+
*/
|
|
1217
|
+
export interface Post {
|
|
1218
|
+
id: string;
|
|
1219
|
+
tenant?: (string | null) | Tenant;
|
|
1220
|
+
title: string;
|
|
1221
|
+
content: {
|
|
1222
|
+
root: {
|
|
1223
|
+
type: string;
|
|
1224
|
+
children: {
|
|
1225
|
+
type: string;
|
|
1226
|
+
version: number;
|
|
1227
|
+
[k: string]: unknown;
|
|
1228
|
+
}[];
|
|
1229
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1230
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1231
|
+
indent: number;
|
|
1232
|
+
version: number;
|
|
1233
|
+
};
|
|
1234
|
+
[k: string]: unknown;
|
|
1235
|
+
};
|
|
1236
|
+
meta?: {
|
|
1237
|
+
title?: string | null;
|
|
1238
|
+
description?: string | null;
|
|
1239
|
+
/**
|
|
1240
|
+
* Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
|
|
1241
|
+
*/
|
|
1242
|
+
indexable?: boolean | null;
|
|
1243
|
+
};
|
|
1244
|
+
slug: string;
|
|
1245
|
+
author?: string | null;
|
|
1246
|
+
publishedAt?: string | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* Images should have a horizontal aspect ratio and be at least 1280px wide.
|
|
1249
|
+
*/
|
|
1250
|
+
featuredImage?: (string | null) | Media;
|
|
1251
|
+
/**
|
|
1252
|
+
* Defaults to the beginning of your post content if not entered.
|
|
1253
|
+
*/
|
|
1254
|
+
excerpt?: string | null;
|
|
1255
|
+
categories?: (string | Category)[] | null;
|
|
1256
|
+
createdBy?: string | null;
|
|
1257
|
+
updatedBy?: string | null;
|
|
1258
|
+
updatedAt: string;
|
|
1259
|
+
createdAt: string;
|
|
1260
|
+
_status?: ('draft' | 'published') | null;
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1264
|
+
* via the `definition` "CallToActionBlock".
|
|
1265
|
+
*/
|
|
1266
|
+
export interface CallToActionBlock {
|
|
1267
|
+
richText?: {
|
|
1268
|
+
root: {
|
|
1269
|
+
type: string;
|
|
1270
|
+
children: {
|
|
1271
|
+
type: string;
|
|
1272
|
+
version: number;
|
|
1273
|
+
[k: string]: unknown;
|
|
1274
|
+
}[];
|
|
1275
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1276
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1277
|
+
indent: number;
|
|
1278
|
+
version: number;
|
|
1279
|
+
};
|
|
1280
|
+
[k: string]: unknown;
|
|
1281
|
+
} | null;
|
|
1282
|
+
links?:
|
|
1283
|
+
| {
|
|
1284
|
+
link: {
|
|
1285
|
+
type?: ('reference' | 'custom') | null;
|
|
1286
|
+
newTab?: boolean | null;
|
|
1287
|
+
reference?:
|
|
1288
|
+
| ({
|
|
1289
|
+
relationTo: 'pages';
|
|
1290
|
+
value: string | Page;
|
|
1291
|
+
} | null)
|
|
1292
|
+
| ({
|
|
1293
|
+
relationTo: 'posts';
|
|
1294
|
+
value: string | Post;
|
|
1295
|
+
} | null)
|
|
1296
|
+
| ({
|
|
1297
|
+
relationTo: 'facilities';
|
|
1298
|
+
value: string | Facility;
|
|
1299
|
+
} | null)
|
|
1300
|
+
| ({
|
|
1301
|
+
relationTo: 'markets';
|
|
1302
|
+
value: string | Market;
|
|
1303
|
+
} | null)
|
|
1304
|
+
| ({
|
|
1305
|
+
relationTo: 'categories';
|
|
1306
|
+
value: string | Category;
|
|
1307
|
+
} | null);
|
|
1308
|
+
url?: string | null;
|
|
1309
|
+
label: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Choose how the link should be rendered.
|
|
1312
|
+
*/
|
|
1313
|
+
appearance?:
|
|
1314
|
+
| (
|
|
1315
|
+
| 'default'
|
|
1316
|
+
| 'primary'
|
|
1317
|
+
| 'primary-light'
|
|
1318
|
+
| 'outline-primary'
|
|
1319
|
+
| 'secondary'
|
|
1320
|
+
| 'secondary-light'
|
|
1321
|
+
| 'outline-secondary'
|
|
1322
|
+
| 'destructive'
|
|
1323
|
+
| 'link'
|
|
1324
|
+
| 'white'
|
|
1325
|
+
| 'ghost'
|
|
1326
|
+
| 'gray'
|
|
1327
|
+
)
|
|
1328
|
+
| null;
|
|
1329
|
+
};
|
|
1330
|
+
id?: string | null;
|
|
1331
|
+
}[]
|
|
1332
|
+
| null;
|
|
1333
|
+
id?: string | null;
|
|
1334
|
+
blockName?: string | null;
|
|
1335
|
+
blockType: 'cta';
|
|
1336
|
+
}
|
|
1332
1337
|
/**
|
|
1333
1338
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1334
1339
|
* via the `definition` "ContentBlock".
|
|
@@ -3002,6 +3007,7 @@ export interface MarketsSelect<T extends boolean = true> {
|
|
|
3002
3007
|
unitCategories?: T;
|
|
3003
3008
|
unitFeatures?: T;
|
|
3004
3009
|
facilityFeatures?: T;
|
|
3010
|
+
facilitySelect?: T;
|
|
3005
3011
|
country?: T;
|
|
3006
3012
|
state?: T;
|
|
3007
3013
|
city?: T;
|
|
@@ -3427,6 +3433,7 @@ export interface TenantsSelect<T extends boolean = true> {
|
|
|
3427
3433
|
paymentSystem?: T;
|
|
3428
3434
|
siteWideNotice?: T;
|
|
3429
3435
|
searchRadius?: T;
|
|
3436
|
+
showCompanyInfoInFooter?: T;
|
|
3430
3437
|
environment?: T;
|
|
3431
3438
|
seCompanyId?: T;
|
|
3432
3439
|
seApiKey?: T;
|