@glidevvr/storage-payload-types-pkg 1.0.18 → 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 +206 -206
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.18",
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
  /**
@@ -484,91 +484,42 @@ export interface Media {
484
484
  };
485
485
  }
486
486
  /**
487
- * This interface was referenced by `Config`'s JSON-Schema
488
- * via the `definition` "ArchiveBlock".
489
- */
490
- export interface ArchiveBlock {
491
- introContent?: {
492
- root: {
493
- type: string;
494
- children: {
495
- type: string;
496
- version: number;
497
- [k: string]: unknown;
498
- }[];
499
- direction: ('ltr' | 'rtl') | null;
500
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
501
- indent: number;
502
- version: number;
503
- };
504
- [k: string]: unknown;
505
- } | null;
506
- populateBy?: ('collection' | 'selection') | null;
507
- relationTo?: 'posts' | null;
508
- categories?: (string | Category)[] | null;
509
- limit?: number | null;
510
- selectedDocs?:
511
- | {
512
- relationTo: 'posts';
513
- value: string | Post;
514
- }[]
515
- | null;
516
- id?: string | null;
517
- blockName?: string | null;
518
- blockType: 'archive';
519
- }
520
- /**
521
- * This interface was referenced by `Config`'s JSON-Schema
522
- * via the `definition` "categories".
523
- */
524
- export interface Category {
525
- id: string;
526
- tenant?: (string | null) | Tenant;
527
- title: string;
528
- description?: string | null;
529
- meta?: {
530
- title?: string | null;
531
- description?: string | null;
532
- /**
533
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
534
- */
535
- indexable?: boolean | null;
536
- };
537
- slug: string;
538
- slugLock?: boolean | null;
539
- featuredImage?: (string | null) | Media;
540
- createdBy?: string | null;
541
- updatedBy?: string | null;
542
- updatedAt: string;
543
- createdAt: string;
544
- }
545
- /**
546
- * This collection is for static blog articles.
487
+ * This collection represents different markets.
547
488
  *
548
489
  * This interface was referenced by `Config`'s JSON-Schema
549
- * via the `definition` "posts".
490
+ * via the `definition` "markets".
550
491
  */
551
- export interface Post {
492
+ export interface Market {
552
493
  id: string;
553
494
  tenant?: (string | null) | Tenant;
554
495
  title: string;
555
- content: {
556
- root: {
557
- type: string;
558
- children: {
559
- type: string;
560
- version: number;
561
- [k: string]: unknown;
562
- }[];
563
- direction: ('ltr' | 'rtl') | null;
564
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
565
- indent: number;
566
- version: number;
567
- };
568
- [k: string]: unknown;
569
- };
570
- relatedPosts?: (string | Post)[] | null;
571
- categories?: (string | Category)[] | null;
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;
572
523
  meta?: {
573
524
  title?: string | null;
574
525
  description?: string | null;
@@ -579,112 +530,21 @@ export interface Post {
579
530
  };
580
531
  slug: string;
581
532
  slugLock?: boolean | null;
582
- author?: (string | null) | User;
583
- publishedAt?: string | null;
584
- featuredImage?: (string | null) | Media;
585
- /**
586
- * Defaults to the beginning of your post content if not entered.
587
- */
588
- excerpt?: string | null;
533
+ parent?: (string | null) | Market;
589
534
  createdBy?: string | null;
590
535
  updatedBy?: string | null;
591
536
  breadcrumbs?:
592
537
  | {
593
- doc?: (string | null) | Post;
538
+ doc?: (string | null) | Market;
594
539
  url?: string | null;
595
540
  label?: string | null;
596
541
  id?: string | null;
597
542
  }[]
598
543
  | null;
599
- parent?: (string | null) | Post;
600
544
  updatedAt: string;
601
545
  createdAt: string;
602
546
  _status?: ('draft' | 'published') | null;
603
547
  }
604
- /**
605
- * This interface was referenced by `Config`'s JSON-Schema
606
- * via the `definition` "BreadcrumbsBlock".
607
- */
608
- export interface BreadcrumbsBlock {
609
- id?: string | null;
610
- blockName?: string | null;
611
- blockType: 'breadcrumbs';
612
- }
613
- /**
614
- * This interface was referenced by `Config`'s JSON-Schema
615
- * via the `definition` "CallToActionBlock".
616
- */
617
- export interface CallToActionBlock {
618
- richText?: {
619
- root: {
620
- type: string;
621
- children: {
622
- type: string;
623
- version: number;
624
- [k: string]: unknown;
625
- }[];
626
- direction: ('ltr' | 'rtl') | null;
627
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
628
- indent: number;
629
- version: number;
630
- };
631
- [k: string]: unknown;
632
- } | null;
633
- links?:
634
- | {
635
- link: {
636
- type?: ('reference' | 'custom') | null;
637
- newTab?: boolean | null;
638
- reference?:
639
- | ({
640
- relationTo: 'pages';
641
- value: string | Page;
642
- } | null)
643
- | ({
644
- relationTo: 'posts';
645
- value: string | Post;
646
- } | null)
647
- | ({
648
- relationTo: 'facilities';
649
- value: string | Facility;
650
- } | null)
651
- | ({
652
- relationTo: 'markets';
653
- value: string | Market;
654
- } | null)
655
- | ({
656
- relationTo: 'categories';
657
- value: string | Category;
658
- } | null);
659
- url?: string | null;
660
- label: string;
661
- /**
662
- * Choose how the link should be rendered.
663
- */
664
- appearance?:
665
- | (
666
- | 'default'
667
- | 'primary'
668
- | 'primary-light'
669
- | 'outline-primary'
670
- | 'secondary'
671
- | 'secondary-light'
672
- | 'outline-secondary'
673
- | 'destructive'
674
- | 'link'
675
- | 'white'
676
- | 'ghost'
677
- | 'gray'
678
- )
679
- | null;
680
- };
681
- id?: string | null;
682
- }[]
683
- | null;
684
- id?: string | null;
685
- blockName?: string | null;
686
- blockType: 'cta';
687
- }
688
548
  /**
689
549
  * This collection represents different facilities.
690
550
  *
@@ -848,42 +708,91 @@ export interface FacilityFeature {
848
708
  createdAt: string;
849
709
  }
850
710
  /**
851
- * This collection represents different markets.
711
+ * This interface was referenced by `Config`'s JSON-Schema
712
+ * via the `definition` "ArchiveBlock".
713
+ */
714
+ export interface ArchiveBlock {
715
+ introContent?: {
716
+ root: {
717
+ type: string;
718
+ children: {
719
+ type: string;
720
+ version: number;
721
+ [k: string]: unknown;
722
+ }[];
723
+ direction: ('ltr' | 'rtl') | null;
724
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
725
+ indent: number;
726
+ version: number;
727
+ };
728
+ [k: string]: unknown;
729
+ } | null;
730
+ populateBy?: ('collection' | 'selection') | null;
731
+ relationTo?: 'posts' | null;
732
+ categories?: (string | Category)[] | null;
733
+ limit?: number | null;
734
+ selectedDocs?:
735
+ | {
736
+ relationTo: 'posts';
737
+ value: string | Post;
738
+ }[]
739
+ | null;
740
+ id?: string | null;
741
+ blockName?: string | null;
742
+ blockType: 'archive';
743
+ }
744
+ /**
745
+ * This interface was referenced by `Config`'s JSON-Schema
746
+ * via the `definition` "categories".
747
+ */
748
+ export interface Category {
749
+ id: string;
750
+ tenant?: (string | null) | Tenant;
751
+ title: string;
752
+ description?: string | null;
753
+ meta?: {
754
+ title?: string | null;
755
+ description?: string | null;
756
+ /**
757
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
758
+ */
759
+ indexable?: boolean | null;
760
+ };
761
+ slug: string;
762
+ slugLock?: boolean | null;
763
+ featuredImage?: (string | null) | Media;
764
+ createdBy?: string | null;
765
+ updatedBy?: string | null;
766
+ updatedAt: string;
767
+ createdAt: string;
768
+ }
769
+ /**
770
+ * This collection is for static blog articles.
852
771
  *
853
772
  * This interface was referenced by `Config`'s JSON-Schema
854
- * via the `definition` "markets".
773
+ * via the `definition` "posts".
855
774
  */
856
- export interface Market {
775
+ export interface Post {
857
776
  id: string;
858
777
  tenant?: (string | null) | Tenant;
859
778
  title: string;
860
- marketType: 'state' | 'city' | 'amenity';
861
- country: 'USA' | 'Canada';
862
- state: string;
863
- city?: string | null;
864
- sort: 'facility_title' | 'state' | 'city' | 'starting_price';
865
- customOrGeo: 'geo' | 'custom';
866
- customFacilities?: (string | Facility)[] | null;
867
- layout?:
868
- | (
869
- | ArchiveBlock
870
- | BreadcrumbsBlock
871
- | CallToActionBlock
872
- | ContentBlock
873
- | FaqBlock
874
- | FeaturedLocationsBlock
875
- | FeaturesGridBlock
876
- | FormBlock
877
- | HomeHero
878
- | HorizontalRuleBlock
879
- | SingleTestimonialBlock
880
- | MediaBlock
881
- | RentalStepsBlock
882
- | SearchCalloutBlock
883
- | StoragResourcesBlock
884
- | GalleryBlock
885
- )[]
886
- | null;
779
+ content: {
780
+ root: {
781
+ type: string;
782
+ children: {
783
+ type: string;
784
+ version: number;
785
+ [k: string]: unknown;
786
+ }[];
787
+ direction: ('ltr' | 'rtl') | null;
788
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
789
+ indent: number;
790
+ version: number;
791
+ };
792
+ [k: string]: unknown;
793
+ };
794
+ relatedPosts?: (string | Post)[] | null;
795
+ categories?: (string | Category)[] | null;
887
796
  meta?: {
888
797
  title?: string | null;
889
798
  description?: string | null;
@@ -894,21 +803,112 @@ export interface Market {
894
803
  };
895
804
  slug: string;
896
805
  slugLock?: boolean | null;
897
- parent?: (string | null) | Market;
806
+ author?: (string | null) | User;
807
+ publishedAt?: string | null;
808
+ featuredImage?: (string | null) | Media;
809
+ /**
810
+ * Defaults to the beginning of your post content if not entered.
811
+ */
812
+ excerpt?: string | null;
898
813
  createdBy?: string | null;
899
814
  updatedBy?: string | null;
900
815
  breadcrumbs?:
901
816
  | {
902
- doc?: (string | null) | Market;
817
+ doc?: (string | null) | Post;
903
818
  url?: string | null;
904
819
  label?: string | null;
905
820
  id?: string | null;
906
821
  }[]
907
822
  | null;
823
+ parent?: (string | null) | Post;
908
824
  updatedAt: string;
909
825
  createdAt: string;
910
826
  _status?: ('draft' | 'published') | null;
911
827
  }
828
+ /**
829
+ * This interface was referenced by `Config`'s JSON-Schema
830
+ * via the `definition` "BreadcrumbsBlock".
831
+ */
832
+ export interface BreadcrumbsBlock {
833
+ id?: string | null;
834
+ blockName?: string | null;
835
+ blockType: 'breadcrumbs';
836
+ }
837
+ /**
838
+ * This interface was referenced by `Config`'s JSON-Schema
839
+ * via the `definition` "CallToActionBlock".
840
+ */
841
+ export interface CallToActionBlock {
842
+ richText?: {
843
+ root: {
844
+ type: string;
845
+ children: {
846
+ type: string;
847
+ version: number;
848
+ [k: string]: unknown;
849
+ }[];
850
+ direction: ('ltr' | 'rtl') | null;
851
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
852
+ indent: number;
853
+ version: number;
854
+ };
855
+ [k: string]: unknown;
856
+ } | null;
857
+ links?:
858
+ | {
859
+ link: {
860
+ type?: ('reference' | 'custom') | null;
861
+ newTab?: boolean | null;
862
+ reference?:
863
+ | ({
864
+ relationTo: 'pages';
865
+ value: string | Page;
866
+ } | null)
867
+ | ({
868
+ relationTo: 'posts';
869
+ value: string | Post;
870
+ } | null)
871
+ | ({
872
+ relationTo: 'facilities';
873
+ value: string | Facility;
874
+ } | null)
875
+ | ({
876
+ relationTo: 'markets';
877
+ value: string | Market;
878
+ } | null)
879
+ | ({
880
+ relationTo: 'categories';
881
+ value: string | Category;
882
+ } | null);
883
+ url?: string | null;
884
+ label: string;
885
+ /**
886
+ * Choose how the link should be rendered.
887
+ */
888
+ appearance?:
889
+ | (
890
+ | 'default'
891
+ | 'primary'
892
+ | 'primary-light'
893
+ | 'outline-primary'
894
+ | 'secondary'
895
+ | 'secondary-light'
896
+ | 'outline-secondary'
897
+ | 'destructive'
898
+ | 'link'
899
+ | 'white'
900
+ | 'ghost'
901
+ | 'gray'
902
+ )
903
+ | null;
904
+ };
905
+ id?: string | null;
906
+ }[]
907
+ | null;
908
+ id?: string | null;
909
+ blockName?: string | null;
910
+ blockType: 'cta';
911
+ }
912
912
  /**
913
913
  * This interface was referenced by `Config`'s JSON-Schema
914
914
  * via the `definition` "ContentBlock".
@@ -2102,7 +2102,7 @@ export interface TenantsSelect<T extends boolean = true> {
2102
2102
  name?: T;
2103
2103
  users?: T;
2104
2104
  defaultBrand?: T;
2105
- facilitySlug?: T;
2105
+ allFacilitiesPage?: T;
2106
2106
  seApiKey?: T;
2107
2107
  seApiPrivateKey?: T;
2108
2108
  googleApiBrowserKey?: T;