@glidevvr/storage-payload-types-pkg 1.0.58 → 1.0.60

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 +273 -294
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -287,7 +287,6 @@ export interface Page {
287
287
  };
288
288
  slug: string;
289
289
  parent?: (string | null) | Page;
290
- featuredImage?: (string | null) | Media;
291
290
  createdBy?: string | null;
292
291
  updatedBy?: string | null;
293
292
  breadcrumbs?:
@@ -411,9 +410,11 @@ export interface Market {
411
410
  country: 'USA' | 'Canada';
412
411
  state?: string | null;
413
412
  city?: string | null;
414
- sort: 'facility_title' | 'state' | 'city' | 'starting_price';
415
- customOrGeo: 'geo' | 'custom';
416
- customFacilities?: (string | Facility)[] | null;
413
+ sort: 'facility_title';
414
+ /**
415
+ * This is the H1 heading located at the top of the market page.
416
+ */
417
+ heading: string;
417
418
  blocks?:
418
419
  | (
419
420
  | ArchiveBlock
@@ -459,6 +460,264 @@ export interface Market {
459
460
  createdAt: string;
460
461
  _status?: ('draft' | 'published') | null;
461
462
  }
463
+ /**
464
+ * This interface was referenced by `Config`'s JSON-Schema
465
+ * via the `definition` "ArchiveBlock".
466
+ */
467
+ export interface ArchiveBlock {
468
+ introContent?: {
469
+ root: {
470
+ type: string;
471
+ children: {
472
+ type: string;
473
+ version: number;
474
+ [k: string]: unknown;
475
+ }[];
476
+ direction: ('ltr' | 'rtl') | null;
477
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
478
+ indent: number;
479
+ version: number;
480
+ };
481
+ [k: string]: unknown;
482
+ } | null;
483
+ populateBy: 'collection' | 'selection';
484
+ relationTo?: 'posts' | null;
485
+ /**
486
+ * If no categories are selected, the 4 most recent posts will be shown.
487
+ */
488
+ categories?: (string | Category)[] | null;
489
+ /**
490
+ * Select the number of posts to display (limit of 4 max.).
491
+ */
492
+ limit?: ('1' | '2' | '3' | '4') | null;
493
+ /**
494
+ * Select up to 4 posts
495
+ */
496
+ selectedDocs?:
497
+ | {
498
+ relationTo: 'posts';
499
+ value: string | Post;
500
+ }[]
501
+ | null;
502
+ /**
503
+ * The text for the button that links to the blog index page.
504
+ */
505
+ buttonText?: string | null;
506
+ id?: string | null;
507
+ blockName?: string | null;
508
+ blockType: 'archive';
509
+ }
510
+ /**
511
+ * This interface was referenced by `Config`'s JSON-Schema
512
+ * via the `definition` "categories".
513
+ */
514
+ export interface Category {
515
+ id: string;
516
+ tenant?: (string | null) | Tenant;
517
+ title: string;
518
+ description?: string | null;
519
+ meta?: {
520
+ title?: string | null;
521
+ description?: string | null;
522
+ /**
523
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
524
+ */
525
+ indexable?: boolean | null;
526
+ };
527
+ slug: string;
528
+ createdBy?: string | null;
529
+ updatedBy?: string | null;
530
+ updatedAt: string;
531
+ createdAt: string;
532
+ }
533
+ /**
534
+ * This interface was referenced by `Config`'s JSON-Schema
535
+ * via the `definition` "posts".
536
+ */
537
+ export interface Post {
538
+ id: string;
539
+ tenant?: (string | null) | Tenant;
540
+ title: string;
541
+ content: {
542
+ root: {
543
+ type: string;
544
+ children: {
545
+ type: string;
546
+ version: number;
547
+ [k: string]: unknown;
548
+ }[];
549
+ direction: ('ltr' | 'rtl') | null;
550
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
551
+ indent: number;
552
+ version: number;
553
+ };
554
+ [k: string]: unknown;
555
+ };
556
+ relatedPosts?: (string | Post)[] | null;
557
+ categories?: (string | Category)[] | null;
558
+ meta?: {
559
+ title?: string | null;
560
+ description?: string | null;
561
+ /**
562
+ * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
563
+ */
564
+ indexable?: boolean | null;
565
+ };
566
+ slug: string;
567
+ author?: (string | null) | User;
568
+ publishedAt?: string | null;
569
+ featuredImage?: (string | null) | Media;
570
+ /**
571
+ * Defaults to the beginning of your post content if not entered.
572
+ */
573
+ excerpt?: string | null;
574
+ createdBy?: string | null;
575
+ updatedBy?: string | null;
576
+ updatedAt: string;
577
+ createdAt: string;
578
+ _status?: ('draft' | 'published') | null;
579
+ }
580
+ /**
581
+ * This interface was referenced by `Config`'s JSON-Schema
582
+ * via the `definition` "media".
583
+ */
584
+ export interface Media {
585
+ id: string;
586
+ tenant?: (string | null) | Tenant;
587
+ /**
588
+ * Many screen readers will cut off alt text at 125 characters, so try to limit your alt text to below 100 characters when possible.
589
+ */
590
+ alt: string;
591
+ caption?: {
592
+ root: {
593
+ type: string;
594
+ children: {
595
+ type: string;
596
+ version: number;
597
+ [k: string]: unknown;
598
+ }[];
599
+ direction: ('ltr' | 'rtl') | null;
600
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
601
+ indent: number;
602
+ version: number;
603
+ };
604
+ [k: string]: unknown;
605
+ } | null;
606
+ createdBy?: string | null;
607
+ updatedBy?: string | null;
608
+ updatedAt: string;
609
+ createdAt: string;
610
+ url?: string | null;
611
+ thumbnailURL?: string | null;
612
+ filename: string;
613
+ mimeType: string;
614
+ filesize: number;
615
+ width: number;
616
+ height: number;
617
+ focalX: number;
618
+ focalY: number;
619
+ sizes?: {
620
+ thumbnail?: {
621
+ url?: string | null;
622
+ width?: number | null;
623
+ height?: number | null;
624
+ mimeType?: string | null;
625
+ filesize?: number | null;
626
+ filename?: string | null;
627
+ };
628
+ medium?: {
629
+ url?: string | null;
630
+ width?: number | null;
631
+ height?: number | null;
632
+ mimeType?: string | null;
633
+ filesize?: number | null;
634
+ filename?: string | null;
635
+ };
636
+ hero?: {
637
+ url?: string | null;
638
+ width?: number | null;
639
+ height?: number | null;
640
+ mimeType?: string | null;
641
+ filesize?: number | null;
642
+ filename?: string | null;
643
+ };
644
+ };
645
+ }
646
+ /**
647
+ * This interface was referenced by `Config`'s JSON-Schema
648
+ * via the `definition` "CallToActionBlock".
649
+ */
650
+ export interface CallToActionBlock {
651
+ richText?: {
652
+ root: {
653
+ type: string;
654
+ children: {
655
+ type: string;
656
+ version: number;
657
+ [k: string]: unknown;
658
+ }[];
659
+ direction: ('ltr' | 'rtl') | null;
660
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
661
+ indent: number;
662
+ version: number;
663
+ };
664
+ [k: string]: unknown;
665
+ } | null;
666
+ links?:
667
+ | {
668
+ link: {
669
+ type?: ('reference' | 'custom') | null;
670
+ newTab?: boolean | null;
671
+ reference?:
672
+ | ({
673
+ relationTo: 'pages';
674
+ value: string | Page;
675
+ } | null)
676
+ | ({
677
+ relationTo: 'posts';
678
+ value: string | Post;
679
+ } | null)
680
+ | ({
681
+ relationTo: 'facilities';
682
+ value: string | Facility;
683
+ } | null)
684
+ | ({
685
+ relationTo: 'markets';
686
+ value: string | Market;
687
+ } | null)
688
+ | ({
689
+ relationTo: 'categories';
690
+ value: string | Category;
691
+ } | null);
692
+ url?: string | null;
693
+ label: string;
694
+ /**
695
+ * Choose how the link should be rendered.
696
+ */
697
+ appearance?:
698
+ | (
699
+ | 'default'
700
+ | 'primary'
701
+ | 'primary-light'
702
+ | 'outline-primary'
703
+ | 'secondary'
704
+ | 'secondary-light'
705
+ | 'outline-secondary'
706
+ | 'destructive'
707
+ | 'link'
708
+ | 'white'
709
+ | 'ghost'
710
+ | 'gray'
711
+ )
712
+ | null;
713
+ };
714
+ id?: string | null;
715
+ }[]
716
+ | null;
717
+ id?: string | null;
718
+ blockName?: string | null;
719
+ blockType: 'cta';
720
+ }
462
721
  /**
463
722
  * This interface was referenced by `Config`'s JSON-Schema
464
723
  * via the `definition` "facilities".
@@ -610,85 +869,19 @@ export interface Facility {
610
869
  */
611
870
  export interface Brand {
612
871
  id: string;
613
- tenant?: (string | null) | Tenant;
614
- name: string;
615
- logo: string | Media;
616
- /**
617
- * Defaults to the header logo if not provided.
618
- */
619
- footerLogo?: (string | null) | Media;
620
- primaryColor: string;
621
- secondaryColor: string;
622
- createdBy?: string | null;
623
- updatedBy?: string | null;
624
- updatedAt: string;
625
- createdAt: string;
626
- }
627
- /**
628
- * This interface was referenced by `Config`'s JSON-Schema
629
- * via the `definition` "media".
630
- */
631
- export interface Media {
632
- id: string;
633
- tenant?: (string | null) | Tenant;
634
- /**
635
- * Many screen readers will cut off alt text at 125 characters, so try to limit your alt text to below 100 characters when possible.
636
- */
637
- alt: string;
638
- caption?: {
639
- root: {
640
- type: string;
641
- children: {
642
- type: string;
643
- version: number;
644
- [k: string]: unknown;
645
- }[];
646
- direction: ('ltr' | 'rtl') | null;
647
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
648
- indent: number;
649
- version: number;
650
- };
651
- [k: string]: unknown;
652
- } | null;
872
+ tenant?: (string | null) | Tenant;
873
+ name: string;
874
+ logo: string | Media;
875
+ /**
876
+ * Defaults to the header logo if not provided.
877
+ */
878
+ footerLogo?: (string | null) | Media;
879
+ primaryColor: string;
880
+ secondaryColor: string;
653
881
  createdBy?: string | null;
654
882
  updatedBy?: string | null;
655
883
  updatedAt: string;
656
884
  createdAt: string;
657
- url?: string | null;
658
- thumbnailURL?: string | null;
659
- filename: string;
660
- mimeType: string;
661
- filesize: number;
662
- width: number;
663
- height: number;
664
- focalX: number;
665
- focalY: number;
666
- sizes?: {
667
- thumbnail?: {
668
- url?: string | null;
669
- width?: number | null;
670
- height?: number | null;
671
- mimeType?: string | null;
672
- filesize?: number | null;
673
- filename?: string | null;
674
- };
675
- medium?: {
676
- url?: string | null;
677
- width?: number | null;
678
- height?: number | null;
679
- mimeType?: string | null;
680
- filesize?: number | null;
681
- filename?: string | null;
682
- };
683
- hero?: {
684
- url?: string | null;
685
- width?: number | null;
686
- height?: number | null;
687
- mimeType?: string | null;
688
- filesize?: number | null;
689
- filename?: string | null;
690
- };
691
- };
692
885
  }
693
886
  /**
694
887
  * This interface was referenced by `Config`'s JSON-Schema
@@ -792,208 +985,6 @@ export interface ContentTabs {
792
985
  } | null;
793
986
  };
794
987
  }
795
- /**
796
- * This interface was referenced by `Config`'s JSON-Schema
797
- * via the `definition` "ArchiveBlock".
798
- */
799
- export interface ArchiveBlock {
800
- introContent?: {
801
- root: {
802
- type: string;
803
- children: {
804
- type: string;
805
- version: number;
806
- [k: string]: unknown;
807
- }[];
808
- direction: ('ltr' | 'rtl') | null;
809
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
810
- indent: number;
811
- version: number;
812
- };
813
- [k: string]: unknown;
814
- } | null;
815
- populateBy: 'collection' | 'selection';
816
- relationTo?: 'posts' | null;
817
- /**
818
- * If no categories are selected, the 4 most recent posts will be shown.
819
- */
820
- categories?: (string | Category)[] | null;
821
- /**
822
- * Select the number of posts to display (limit of 4 max.).
823
- */
824
- limit?: ('1' | '2' | '3' | '4') | null;
825
- /**
826
- * Select up to 4 posts
827
- */
828
- selectedDocs?:
829
- | {
830
- relationTo: 'posts';
831
- value: string | Post;
832
- }[]
833
- | null;
834
- /**
835
- * The text for the button that links to the blog index page.
836
- */
837
- buttonText?: string | null;
838
- id?: string | null;
839
- blockName?: string | null;
840
- blockType: 'archive';
841
- }
842
- /**
843
- * This interface was referenced by `Config`'s JSON-Schema
844
- * via the `definition` "categories".
845
- */
846
- export interface Category {
847
- id: string;
848
- tenant?: (string | null) | Tenant;
849
- title: string;
850
- description?: string | null;
851
- meta?: {
852
- title?: string | null;
853
- description?: string | null;
854
- /**
855
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
856
- */
857
- indexable?: boolean | null;
858
- };
859
- slug: string;
860
- featuredImage?: (string | null) | Media;
861
- createdBy?: string | null;
862
- updatedBy?: string | null;
863
- updatedAt: string;
864
- createdAt: string;
865
- }
866
- /**
867
- * This interface was referenced by `Config`'s JSON-Schema
868
- * via the `definition` "posts".
869
- */
870
- export interface Post {
871
- id: string;
872
- tenant?: (string | null) | Tenant;
873
- title: string;
874
- content: {
875
- root: {
876
- type: string;
877
- children: {
878
- type: string;
879
- version: number;
880
- [k: string]: unknown;
881
- }[];
882
- direction: ('ltr' | 'rtl') | null;
883
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
884
- indent: number;
885
- version: number;
886
- };
887
- [k: string]: unknown;
888
- };
889
- relatedPosts?: (string | Post)[] | null;
890
- categories?: (string | Category)[] | null;
891
- meta?: {
892
- title?: string | null;
893
- description?: string | null;
894
- /**
895
- * Determines noindex/index status for this page. If the website setting is set to noindex, it will override this page-specific setting.
896
- */
897
- indexable?: boolean | null;
898
- };
899
- slug: string;
900
- author?: (string | null) | User;
901
- publishedAt?: string | null;
902
- featuredImage?: (string | null) | Media;
903
- /**
904
- * Defaults to the beginning of your post content if not entered.
905
- */
906
- excerpt?: string | null;
907
- createdBy?: string | null;
908
- updatedBy?: string | null;
909
- breadcrumbs?:
910
- | {
911
- doc?: (string | null) | Post;
912
- url?: string | null;
913
- label?: string | null;
914
- id?: string | null;
915
- }[]
916
- | null;
917
- parent?: (string | null) | Post;
918
- updatedAt: string;
919
- createdAt: string;
920
- _status?: ('draft' | 'published') | null;
921
- }
922
- /**
923
- * This interface was referenced by `Config`'s JSON-Schema
924
- * via the `definition` "CallToActionBlock".
925
- */
926
- export interface CallToActionBlock {
927
- richText?: {
928
- root: {
929
- type: string;
930
- children: {
931
- type: string;
932
- version: number;
933
- [k: string]: unknown;
934
- }[];
935
- direction: ('ltr' | 'rtl') | null;
936
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
937
- indent: number;
938
- version: number;
939
- };
940
- [k: string]: unknown;
941
- } | null;
942
- links?:
943
- | {
944
- link: {
945
- type?: ('reference' | 'custom') | null;
946
- newTab?: boolean | null;
947
- reference?:
948
- | ({
949
- relationTo: 'pages';
950
- value: string | Page;
951
- } | null)
952
- | ({
953
- relationTo: 'posts';
954
- value: string | Post;
955
- } | null)
956
- | ({
957
- relationTo: 'facilities';
958
- value: string | Facility;
959
- } | null)
960
- | ({
961
- relationTo: 'markets';
962
- value: string | Market;
963
- } | null)
964
- | ({
965
- relationTo: 'categories';
966
- value: string | Category;
967
- } | null);
968
- url?: string | null;
969
- label: string;
970
- /**
971
- * Choose how the link should be rendered.
972
- */
973
- appearance?:
974
- | (
975
- | 'default'
976
- | 'primary'
977
- | 'primary-light'
978
- | 'outline-primary'
979
- | 'secondary'
980
- | 'secondary-light'
981
- | 'outline-secondary'
982
- | 'destructive'
983
- | 'link'
984
- | 'white'
985
- | 'ghost'
986
- | 'gray'
987
- )
988
- | null;
989
- };
990
- id?: string | null;
991
- }[]
992
- | null;
993
- id?: string | null;
994
- blockName?: string | null;
995
- blockType: 'cta';
996
- }
997
988
  /**
998
989
  * This interface was referenced by `Config`'s JSON-Schema
999
990
  * via the `definition` "ContentBlock".
@@ -2054,7 +2045,6 @@ export interface PagesSelect<T extends boolean = true> {
2054
2045
  };
2055
2046
  slug?: T;
2056
2047
  parent?: T;
2057
- featuredImage?: T;
2058
2048
  createdBy?: T;
2059
2049
  updatedBy?: T;
2060
2050
  breadcrumbs?:
@@ -2552,15 +2542,6 @@ export interface PostsSelect<T extends boolean = true> {
2552
2542
  excerpt?: T;
2553
2543
  createdBy?: T;
2554
2544
  updatedBy?: T;
2555
- breadcrumbs?:
2556
- | T
2557
- | {
2558
- doc?: T;
2559
- url?: T;
2560
- label?: T;
2561
- id?: T;
2562
- };
2563
- parent?: T;
2564
2545
  updatedAt?: T;
2565
2546
  createdAt?: T;
2566
2547
  _status?: T;
@@ -2581,7 +2562,6 @@ export interface CategoriesSelect<T extends boolean = true> {
2581
2562
  indexable?: T;
2582
2563
  };
2583
2564
  slug?: T;
2584
- featuredImage?: T;
2585
2565
  createdBy?: T;
2586
2566
  updatedBy?: T;
2587
2567
  updatedAt?: T;
@@ -2765,8 +2745,7 @@ export interface MarketsSelect<T extends boolean = true> {
2765
2745
  state?: T;
2766
2746
  city?: T;
2767
2747
  sort?: T;
2768
- customOrGeo?: T;
2769
- customFacilities?: T;
2748
+ heading?: T;
2770
2749
  blocks?:
2771
2750
  | T
2772
2751
  | {