@glidevvr/storage-payload-types-pkg 1.0.23 → 1.0.25
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 +48 -6
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;
|
|
@@ -381,9 +413,7 @@ export interface Brand {
|
|
|
381
413
|
*/
|
|
382
414
|
favicon?: (string | null) | Media;
|
|
383
415
|
primaryColor: string;
|
|
384
|
-
primaryTextColor: string;
|
|
385
416
|
secondaryColor: string;
|
|
386
|
-
secondaryTextColor: string;
|
|
387
417
|
/**
|
|
388
418
|
* These global fields are displayed only for brands assigned as the default brand for a Partner.
|
|
389
419
|
*/
|
|
@@ -2261,7 +2291,7 @@ export interface NavItemSelect<T extends boolean = true> {
|
|
|
2261
2291
|
url?: T;
|
|
2262
2292
|
label?: T;
|
|
2263
2293
|
};
|
|
2264
|
-
|
|
2294
|
+
firstLevelSubmenu?:
|
|
2265
2295
|
| T
|
|
2266
2296
|
| {
|
|
2267
2297
|
link?:
|
|
@@ -2273,6 +2303,20 @@ export interface NavItemSelect<T extends boolean = true> {
|
|
|
2273
2303
|
url?: T;
|
|
2274
2304
|
label?: T;
|
|
2275
2305
|
};
|
|
2306
|
+
secondLevelSubmenu?:
|
|
2307
|
+
| T
|
|
2308
|
+
| {
|
|
2309
|
+
link?:
|
|
2310
|
+
| T
|
|
2311
|
+
| {
|
|
2312
|
+
type?: T;
|
|
2313
|
+
newTab?: T;
|
|
2314
|
+
reference?: T;
|
|
2315
|
+
url?: T;
|
|
2316
|
+
label?: T;
|
|
2317
|
+
};
|
|
2318
|
+
id?: T;
|
|
2319
|
+
};
|
|
2276
2320
|
id?: T;
|
|
2277
2321
|
};
|
|
2278
2322
|
id?: T;
|
|
@@ -2289,9 +2333,7 @@ export interface BrandsSelect<T extends boolean = true> {
|
|
|
2289
2333
|
footerLogo?: T;
|
|
2290
2334
|
favicon?: T;
|
|
2291
2335
|
primaryColor?: T;
|
|
2292
|
-
primaryTextColor?: T;
|
|
2293
2336
|
secondaryColor?: T;
|
|
2294
|
-
secondaryTextColor?: T;
|
|
2295
2337
|
global?:
|
|
2296
2338
|
| T
|
|
2297
2339
|
| {
|