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

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 +251 -182
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.19",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -298,7 +298,7 @@ export interface Tenant {
298
298
  /**
299
299
  * The page for the All Locations page content. Routing will use this page's slug.
300
300
  */
301
- facilitySlug?: (string | null) | Page;
301
+ allFacilitiesPage?: (string | null) | Market;
302
302
  seApiKey?: string | null;
303
303
  seApiPrivateKey?: string | null;
304
304
  /**
@@ -483,6 +483,230 @@ export interface Media {
483
483
  };
484
484
  };
485
485
  }
486
+ /**
487
+ * This collection represents different markets.
488
+ *
489
+ * This interface was referenced by `Config`'s JSON-Schema
490
+ * via the `definition` "markets".
491
+ */
492
+ export interface Market {
493
+ id: string;
494
+ tenant?: (string | null) | Tenant;
495
+ title: string;
496
+ marketType: 'state' | 'city' | 'amenity' | 'allFacilities';
497
+ country: 'USA' | 'Canada';
498
+ state?: string | null;
499
+ city?: string | null;
500
+ sort: 'facility_title' | 'state' | 'city' | 'starting_price';
501
+ customOrGeo: 'geo' | 'custom';
502
+ customFacilities?: (string | Facility)[] | null;
503
+ layout?:
504
+ | (
505
+ | ArchiveBlock
506
+ | BreadcrumbsBlock
507
+ | CallToActionBlock
508
+ | ContentBlock
509
+ | FaqBlock
510
+ | FeaturedLocationsBlock
511
+ | FeaturesGridBlock
512
+ | FormBlock
513
+ | HomeHero
514
+ | HorizontalRuleBlock
515
+ | SingleTestimonialBlock
516
+ | MediaBlock
517
+ | RentalStepsBlock
518
+ | SearchCalloutBlock
519
+ | StoragResourcesBlock
520
+ | GalleryBlock
521
+ )[]
522
+ | null;
523
+ meta?: {
524
+ title?: string | null;
525
+ description?: string | null;
526
+ /**
527
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
528
+ */
529
+ indexable?: boolean | null;
530
+ };
531
+ slug: string;
532
+ slugLock?: boolean | null;
533
+ parent?: (string | null) | Market;
534
+ createdBy?: string | null;
535
+ updatedBy?: string | null;
536
+ breadcrumbs?:
537
+ | {
538
+ doc?: (string | null) | Market;
539
+ url?: string | null;
540
+ label?: string | null;
541
+ id?: string | null;
542
+ }[]
543
+ | null;
544
+ updatedAt: string;
545
+ createdAt: string;
546
+ _status?: ('draft' | 'published') | null;
547
+ }
548
+ /**
549
+ * This collection represents different facilities.
550
+ *
551
+ * This interface was referenced by `Config`'s JSON-Schema
552
+ * via the `definition` "facilities".
553
+ */
554
+ export interface Facility {
555
+ id: string;
556
+ tenant?: (string | null) | Tenant;
557
+ title: string;
558
+ seFacilityId?: number | null;
559
+ comingSoon?: boolean | null;
560
+ googlePlaceId?: string | null;
561
+ /**
562
+ * If unset, the branding will default to the company's default brand.
563
+ */
564
+ brandSelection?: (string | null) | Brand;
565
+ /**
566
+ * Select multiple features related to this facility.
567
+ */
568
+ facilityFeatures?: (string | FacilityFeature)[] | null;
569
+ facilityPaymentSystem?: ('default' | 'none' | 'provider' | 'storage_essentials') | null;
570
+ /**
571
+ * Notify customers about a promotion or holiday hours. Displays in a banner at the top of the page.
572
+ */
573
+ facilityNotice?: string | null;
574
+ /**
575
+ * Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
576
+ */
577
+ facilityPromotion?: string | null;
578
+ /**
579
+ * The first image selected is displayed on market pages.
580
+ */
581
+ gallery?: (string | Media)[] | null;
582
+ contentTabs?:
583
+ | {
584
+ tabName: string;
585
+ tabContent?: {
586
+ root: {
587
+ type: string;
588
+ children: {
589
+ type: string;
590
+ version: number;
591
+ [k: string]: unknown;
592
+ }[];
593
+ direction: ('ltr' | 'rtl') | null;
594
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
595
+ indent: number;
596
+ version: number;
597
+ };
598
+ [k: string]: unknown;
599
+ } | null;
600
+ id?: string | null;
601
+ }[]
602
+ | null;
603
+ unitTableSettings?: {
604
+ selectedFacilities?: (string | Facility)[] | null;
605
+ tableLayout?: 'row' | null;
606
+ buttonLayout?: ('separate' | 'combined') | null;
607
+ vacancyNotice?: boolean | null;
608
+ vacancyThreshold?: number | null;
609
+ showAppliedPromoPrice?: boolean | null;
610
+ unavailableUnits?: boolean | null;
611
+ showNearbyUnits?: boolean | null;
612
+ disableRental?: boolean | null;
613
+ disableReservation?: boolean | null;
614
+ disableSoftReservation?: boolean | null;
615
+ rentalAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
616
+ rentalAppExternalUrl?: string | null;
617
+ reservationAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
618
+ reservationAppExternalUrl?: string | null;
619
+ softReservationAppLocation?: ('drawer' | 'external' | 'dialog' | 'Accordion') | null;
620
+ softReservationAppExternalUrl?: string | null;
621
+ /**
622
+ * Category names should be comma separated.
623
+ */
624
+ allowedCategories?: string | null;
625
+ /**
626
+ * Feature names should be comma separated.
627
+ */
628
+ allowedFeatures?: string | null;
629
+ sort?:
630
+ | (
631
+ | 'area'
632
+ | 'area:desc'
633
+ | 'available'
634
+ | 'available:desc'
635
+ | 'length'
636
+ | 'length:desc'
637
+ | 'unit_type_id'
638
+ | 'unit_type_id:desc'
639
+ | 'width'
640
+ | 'width:desc'
641
+ | 'display_rate'
642
+ | 'display_rate:desc'
643
+ )[]
644
+ | null;
645
+ groupBy?: ('width' | 'length' | 'unit_type_id' | 'display_Rate' | 'floor')[] | null;
646
+ };
647
+ faq?:
648
+ | {
649
+ question: string;
650
+ answer: {
651
+ root: {
652
+ type: string;
653
+ children: {
654
+ type: string;
655
+ version: number;
656
+ [k: string]: unknown;
657
+ }[];
658
+ direction: ('ltr' | 'rtl') | null;
659
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
660
+ indent: number;
661
+ version: number;
662
+ };
663
+ [k: string]: unknown;
664
+ };
665
+ id?: string | null;
666
+ }[]
667
+ | null;
668
+ meta?: {
669
+ title?: string | null;
670
+ description?: string | null;
671
+ /**
672
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
673
+ */
674
+ indexable?: boolean | null;
675
+ };
676
+ slug: string;
677
+ slugLock?: boolean | null;
678
+ parent?: (string | null) | Market;
679
+ createdBy?: string | null;
680
+ updatedBy?: string | null;
681
+ breadcrumbs?:
682
+ | {
683
+ doc?: (string | null) | Facility;
684
+ url?: string | null;
685
+ label?: string | null;
686
+ id?: string | null;
687
+ }[]
688
+ | null;
689
+ updatedAt: string;
690
+ createdAt: string;
691
+ _status?: ('draft' | 'published') | null;
692
+ }
693
+ /**
694
+ * This interface was referenced by `Config`'s JSON-Schema
695
+ * via the `definition` "facility-features".
696
+ */
697
+ export interface FacilityFeature {
698
+ id: string;
699
+ tenant?: (string | null) | Tenant;
700
+ featureName: string;
701
+ description?: string | null;
702
+ icon?: string | null;
703
+ slug: string;
704
+ slugLock?: boolean | null;
705
+ createdBy?: string | null;
706
+ updatedBy?: string | null;
707
+ updatedAt: string;
708
+ createdAt: string;
709
+ }
486
710
  /**
487
711
  * This interface was referenced by `Config`'s JSON-Schema
488
712
  * via the `definition` "ArchiveBlock".
@@ -685,186 +909,6 @@ export interface CallToActionBlock {
685
909
  blockName?: string | null;
686
910
  blockType: 'cta';
687
911
  }
688
- /**
689
- * This collection represents different facilities.
690
- *
691
- * This interface was referenced by `Config`'s JSON-Schema
692
- * via the `definition` "facilities".
693
- */
694
- export interface Facility {
695
- id: string;
696
- tenant?: (string | null) | Tenant;
697
- title: string;
698
- seFacilityId?: number | null;
699
- comingSoon?: boolean | null;
700
- googlePlaceId?: string | null;
701
- /**
702
- * If unset, the branding will default to the company's default brand.
703
- */
704
- brandSelection?: (string | null) | Brand;
705
- /**
706
- * Select multiple features related to this facility.
707
- */
708
- facilityFeatures?: (string | FacilityFeature)[] | null;
709
- facilityPaymentSystem?: ('default' | 'none' | 'provider' | 'storage_essentials') | null;
710
- /**
711
- * Notify customers about a promotion or holiday hours. Displays in a banner at the top of the page.
712
- */
713
- facilityNotice?: string | null;
714
- /**
715
- * Short callout about a promotion (i.e 50% OFF First Months Rent!). This displays on market pages.
716
- */
717
- facilityPromotion?: string | null;
718
- /**
719
- * The first image selected is displayed on market pages.
720
- */
721
- gallery?: (string | Media)[] | null;
722
- contentTabs?:
723
- | {
724
- tabName: string;
725
- tabContent?: {
726
- root: {
727
- type: string;
728
- children: {
729
- type: string;
730
- version: number;
731
- [k: string]: unknown;
732
- }[];
733
- direction: ('ltr' | 'rtl') | null;
734
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
735
- indent: number;
736
- version: number;
737
- };
738
- [k: string]: unknown;
739
- } | null;
740
- id?: string | null;
741
- }[]
742
- | null;
743
- faq?:
744
- | {
745
- question: string;
746
- answer: {
747
- root: {
748
- type: string;
749
- children: {
750
- type: string;
751
- version: number;
752
- [k: string]: unknown;
753
- }[];
754
- direction: ('ltr' | 'rtl') | null;
755
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
756
- indent: number;
757
- version: number;
758
- };
759
- [k: string]: unknown;
760
- };
761
- id?: string | null;
762
- }[]
763
- | null;
764
- meta?: {
765
- title?: string | null;
766
- description?: string | null;
767
- /**
768
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
769
- */
770
- indexable?: boolean | null;
771
- };
772
- slug: string;
773
- slugLock?: boolean | null;
774
- parent?: (string | null) | Market;
775
- createdBy?: string | null;
776
- updatedBy?: string | null;
777
- breadcrumbs?:
778
- | {
779
- doc?: (string | null) | Facility;
780
- url?: string | null;
781
- label?: string | null;
782
- id?: string | null;
783
- }[]
784
- | null;
785
- updatedAt: string;
786
- createdAt: string;
787
- _status?: ('draft' | 'published') | null;
788
- }
789
- /**
790
- * This interface was referenced by `Config`'s JSON-Schema
791
- * via the `definition` "facility-features".
792
- */
793
- export interface FacilityFeature {
794
- id: string;
795
- tenant?: (string | null) | Tenant;
796
- featureName: string;
797
- description?: string | null;
798
- icon?: string | null;
799
- slug: string;
800
- slugLock?: boolean | null;
801
- createdBy?: string | null;
802
- updatedBy?: string | null;
803
- updatedAt: string;
804
- createdAt: string;
805
- }
806
- /**
807
- * This collection represents different markets.
808
- *
809
- * This interface was referenced by `Config`'s JSON-Schema
810
- * via the `definition` "markets".
811
- */
812
- export interface Market {
813
- id: string;
814
- tenant?: (string | null) | Tenant;
815
- title: string;
816
- marketType: 'state' | 'city' | 'amenity';
817
- country: 'USA' | 'Canada';
818
- state: string;
819
- city?: string | null;
820
- sort: 'facility_title' | 'state' | 'city' | 'starting_price';
821
- customOrGeo: 'geo' | 'custom';
822
- customFacilities?: (string | Facility)[] | null;
823
- layout?:
824
- | (
825
- | ArchiveBlock
826
- | BreadcrumbsBlock
827
- | CallToActionBlock
828
- | ContentBlock
829
- | FaqBlock
830
- | FeaturedLocationsBlock
831
- | FeaturesGridBlock
832
- | FormBlock
833
- | HomeHero
834
- | HorizontalRuleBlock
835
- | SingleTestimonialBlock
836
- | MediaBlock
837
- | RentalStepsBlock
838
- | SearchCalloutBlock
839
- | StoragResourcesBlock
840
- | GalleryBlock
841
- )[]
842
- | null;
843
- meta?: {
844
- title?: string | null;
845
- description?: string | null;
846
- /**
847
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
848
- */
849
- indexable?: boolean | null;
850
- };
851
- slug: string;
852
- slugLock?: boolean | null;
853
- parent?: (string | null) | Market;
854
- createdBy?: string | null;
855
- updatedBy?: string | null;
856
- breadcrumbs?:
857
- | {
858
- doc?: (string | null) | Market;
859
- url?: string | null;
860
- label?: string | null;
861
- id?: string | null;
862
- }[]
863
- | null;
864
- updatedAt: string;
865
- createdAt: string;
866
- _status?: ('draft' | 'published') | null;
867
- }
868
912
  /**
869
913
  * This interface was referenced by `Config`'s JSON-Schema
870
914
  * via the `definition` "ContentBlock".
@@ -2058,7 +2102,7 @@ export interface TenantsSelect<T extends boolean = true> {
2058
2102
  name?: T;
2059
2103
  users?: T;
2060
2104
  defaultBrand?: T;
2061
- facilitySlug?: T;
2105
+ allFacilitiesPage?: T;
2062
2106
  seApiKey?: T;
2063
2107
  seApiPrivateKey?: T;
2064
2108
  googleApiBrowserKey?: T;
@@ -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
  | {