@glidevvr/storage-payload-types-pkg 1.0.29 → 1.0.31

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 +116 -30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -641,27 +641,7 @@ export interface Facility {
641
641
  * The first image selected is displayed on market pages.
642
642
  */
643
643
  gallery?: (string | Media)[] | null;
644
- contentTabs?:
645
- | {
646
- tabName: string;
647
- tabContent?: {
648
- root: {
649
- type: string;
650
- children: {
651
- type: string;
652
- version: number;
653
- [k: string]: unknown;
654
- }[];
655
- direction: ('ltr' | 'rtl') | null;
656
- format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
657
- indent: number;
658
- version: number;
659
- };
660
- [k: string]: unknown;
661
- } | null;
662
- id?: string | null;
663
- }[]
664
- | null;
644
+ contentTabs?: ContentTabs;
665
645
  unitTableSettings?: {
666
646
  selectedFacilities?: (string | Facility)[] | null;
667
647
  tableLayout?: 'row' | null;
@@ -763,7 +743,7 @@ export interface Facility {
763
743
  export interface FacilityFeature {
764
744
  id: string;
765
745
  tenant?: (string | null) | Tenant;
766
- featureName: string;
746
+ name: string;
767
747
  description?: string | null;
768
748
  icon?: string | null;
769
749
  slug: string;
@@ -773,6 +753,92 @@ export interface FacilityFeature {
773
753
  updatedAt: string;
774
754
  createdAt: string;
775
755
  }
756
+ /**
757
+ * This interface was referenced by `Config`'s JSON-Schema
758
+ * via the `definition` "ContentTabs".
759
+ */
760
+ export interface ContentTabs {
761
+ findUnit?: {
762
+ /**
763
+ * This content is displayed below the unit grid.
764
+ */
765
+ content?: {
766
+ root: {
767
+ type: string;
768
+ children: {
769
+ type: string;
770
+ version: number;
771
+ [k: string]: unknown;
772
+ }[];
773
+ direction: ('ltr' | 'rtl') | null;
774
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
775
+ indent: number;
776
+ version: number;
777
+ };
778
+ [k: string]: unknown;
779
+ } | null;
780
+ };
781
+ features?: {
782
+ /**
783
+ * This content is displayed above the unit features.
784
+ */
785
+ content?: {
786
+ root: {
787
+ type: string;
788
+ children: {
789
+ type: string;
790
+ version: number;
791
+ [k: string]: unknown;
792
+ }[];
793
+ direction: ('ltr' | 'rtl') | null;
794
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
795
+ indent: number;
796
+ version: number;
797
+ };
798
+ [k: string]: unknown;
799
+ } | null;
800
+ };
801
+ about?: {
802
+ /**
803
+ * This is the main content for the about section.
804
+ */
805
+ content?: {
806
+ root: {
807
+ type: string;
808
+ children: {
809
+ type: string;
810
+ version: number;
811
+ [k: string]: unknown;
812
+ }[];
813
+ direction: ('ltr' | 'rtl') | null;
814
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
815
+ indent: number;
816
+ version: number;
817
+ };
818
+ [k: string]: unknown;
819
+ } | null;
820
+ };
821
+ map?: {
822
+ /**
823
+ * This content, like directions, is displayed below the map.
824
+ */
825
+ content?: {
826
+ root: {
827
+ type: string;
828
+ children: {
829
+ type: string;
830
+ version: number;
831
+ [k: string]: unknown;
832
+ }[];
833
+ direction: ('ltr' | 'rtl') | null;
834
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
835
+ indent: number;
836
+ version: number;
837
+ };
838
+ [k: string]: unknown;
839
+ } | null;
840
+ };
841
+ }
776
842
  /**
777
843
  * This interface was referenced by `Config`'s JSON-Schema
778
844
  * via the `definition` "ArchiveBlock".
@@ -2361,13 +2427,7 @@ export interface FacilitiesSelect<T extends boolean = true> {
2361
2427
  facilityNotice?: T;
2362
2428
  facilityPromotion?: T;
2363
2429
  gallery?: T;
2364
- contentTabs?:
2365
- | T
2366
- | {
2367
- tabName?: T;
2368
- tabContent?: T;
2369
- id?: T;
2370
- };
2430
+ contentTabs?: T | ContentTabsSelect<T>;
2371
2431
  unitTableSettings?:
2372
2432
  | T
2373
2433
  | {
@@ -2418,6 +2478,32 @@ export interface FacilitiesSelect<T extends boolean = true> {
2418
2478
  createdAt?: T;
2419
2479
  _status?: T;
2420
2480
  }
2481
+ /**
2482
+ * This interface was referenced by `Config`'s JSON-Schema
2483
+ * via the `definition` "ContentTabs_select".
2484
+ */
2485
+ export interface ContentTabsSelect<T extends boolean = true> {
2486
+ findUnit?:
2487
+ | T
2488
+ | {
2489
+ content?: T;
2490
+ };
2491
+ features?:
2492
+ | T
2493
+ | {
2494
+ content?: T;
2495
+ };
2496
+ about?:
2497
+ | T
2498
+ | {
2499
+ content?: T;
2500
+ };
2501
+ map?:
2502
+ | T
2503
+ | {
2504
+ content?: T;
2505
+ };
2506
+ }
2421
2507
  /**
2422
2508
  * This interface was referenced by `Config`'s JSON-Schema
2423
2509
  * via the `definition` "markets_select".
@@ -2482,7 +2568,7 @@ export interface MarketsSelect<T extends boolean = true> {
2482
2568
  */
2483
2569
  export interface FacilityFeaturesSelect<T extends boolean = true> {
2484
2570
  tenant?: T;
2485
- featureName?: T;
2571
+ name?: T;
2486
2572
  description?: T;
2487
2573
  icon?: T;
2488
2574
  slug?: T;