@glidevvr/storage-payload-types-pkg 1.0.22 → 1.0.24
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 +64 -4
package/package.json
CHANGED
package/payload-types.ts
CHANGED
|
@@ -51,7 +51,7 @@ export type NavItem =
|
|
|
51
51
|
url?: string | null;
|
|
52
52
|
label: string;
|
|
53
53
|
};
|
|
54
|
-
|
|
54
|
+
firstLevelSubmenu?:
|
|
55
55
|
| {
|
|
56
56
|
link: {
|
|
57
57
|
type?: ('reference' | 'custom') | null;
|
|
@@ -80,6 +80,38 @@ export type NavItem =
|
|
|
80
80
|
url?: string | null;
|
|
81
81
|
label: string;
|
|
82
82
|
};
|
|
83
|
+
secondLevelSubmenu?:
|
|
84
|
+
| {
|
|
85
|
+
link: {
|
|
86
|
+
type?: ('reference' | 'custom') | null;
|
|
87
|
+
newTab?: boolean | null;
|
|
88
|
+
reference?:
|
|
89
|
+
| ({
|
|
90
|
+
relationTo: 'pages';
|
|
91
|
+
value: string | Page;
|
|
92
|
+
} | null)
|
|
93
|
+
| ({
|
|
94
|
+
relationTo: 'posts';
|
|
95
|
+
value: string | Post;
|
|
96
|
+
} | null)
|
|
97
|
+
| ({
|
|
98
|
+
relationTo: 'facilities';
|
|
99
|
+
value: string | Facility;
|
|
100
|
+
} | null)
|
|
101
|
+
| ({
|
|
102
|
+
relationTo: 'markets';
|
|
103
|
+
value: string | Market;
|
|
104
|
+
} | null)
|
|
105
|
+
| ({
|
|
106
|
+
relationTo: 'categories';
|
|
107
|
+
value: string | Category;
|
|
108
|
+
} | null);
|
|
109
|
+
url?: string | null;
|
|
110
|
+
label: string;
|
|
111
|
+
};
|
|
112
|
+
id?: string | null;
|
|
113
|
+
}[]
|
|
114
|
+
| null;
|
|
83
115
|
id?: string | null;
|
|
84
116
|
}[]
|
|
85
117
|
| null;
|
|
@@ -758,16 +790,29 @@ export interface ArchiveBlock {
|
|
|
758
790
|
};
|
|
759
791
|
[k: string]: unknown;
|
|
760
792
|
} | null;
|
|
761
|
-
populateBy
|
|
793
|
+
populateBy: 'collection' | 'selection';
|
|
762
794
|
relationTo?: 'posts' | null;
|
|
795
|
+
/**
|
|
796
|
+
* If no categories are selected, the 4 most recent posts will be shown.
|
|
797
|
+
*/
|
|
763
798
|
categories?: (string | Category)[] | null;
|
|
764
|
-
|
|
799
|
+
/**
|
|
800
|
+
* Select the number of posts to display (limit of 4 max.).
|
|
801
|
+
*/
|
|
802
|
+
limit?: ('1' | '2' | '3' | '4') | null;
|
|
803
|
+
/**
|
|
804
|
+
* Select up to 4 posts
|
|
805
|
+
*/
|
|
765
806
|
selectedDocs?:
|
|
766
807
|
| {
|
|
767
808
|
relationTo: 'posts';
|
|
768
809
|
value: string | Post;
|
|
769
810
|
}[]
|
|
770
811
|
| null;
|
|
812
|
+
/**
|
|
813
|
+
* The text for the button that links to the blog index page.
|
|
814
|
+
*/
|
|
815
|
+
buttonText?: string | null;
|
|
771
816
|
id?: string | null;
|
|
772
817
|
blockName?: string | null;
|
|
773
818
|
blockType: 'archive';
|
|
@@ -1797,6 +1842,7 @@ export interface ArchiveBlockSelect<T extends boolean = true> {
|
|
|
1797
1842
|
categories?: T;
|
|
1798
1843
|
limit?: T;
|
|
1799
1844
|
selectedDocs?: T;
|
|
1845
|
+
buttonText?: T;
|
|
1800
1846
|
id?: T;
|
|
1801
1847
|
blockName?: T;
|
|
1802
1848
|
}
|
|
@@ -2247,7 +2293,7 @@ export interface NavItemSelect<T extends boolean = true> {
|
|
|
2247
2293
|
url?: T;
|
|
2248
2294
|
label?: T;
|
|
2249
2295
|
};
|
|
2250
|
-
|
|
2296
|
+
firstLevelSubmenu?:
|
|
2251
2297
|
| T
|
|
2252
2298
|
| {
|
|
2253
2299
|
link?:
|
|
@@ -2259,6 +2305,20 @@ export interface NavItemSelect<T extends boolean = true> {
|
|
|
2259
2305
|
url?: T;
|
|
2260
2306
|
label?: T;
|
|
2261
2307
|
};
|
|
2308
|
+
secondLevelSubmenu?:
|
|
2309
|
+
| T
|
|
2310
|
+
| {
|
|
2311
|
+
link?:
|
|
2312
|
+
| T
|
|
2313
|
+
| {
|
|
2314
|
+
type?: T;
|
|
2315
|
+
newTab?: T;
|
|
2316
|
+
reference?: T;
|
|
2317
|
+
url?: T;
|
|
2318
|
+
label?: T;
|
|
2319
|
+
};
|
|
2320
|
+
id?: T;
|
|
2321
|
+
};
|
|
2262
2322
|
id?: T;
|
|
2263
2323
|
};
|
|
2264
2324
|
id?: T;
|