@btst/stack 5.0.0 → 5.1.0
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/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/context/index.d.cts +1 -1
- package/dist/context/index.d.mts +1 -1
- package/dist/context/index.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/packages/stack/src/plugins/cms/api/getters.cjs +142 -6
- package/dist/packages/stack/src/plugins/cms/api/getters.mjs +139 -8
- package/dist/packages/stack/src/plugins/cms/api/operations.cjs +67 -61
- package/dist/packages/stack/src/plugins/cms/api/operations.mjs +69 -63
- package/dist/packages/stack/src/plugins/cms/api/plugin.cjs +26 -8
- package/dist/packages/stack/src/plugins/cms/api/plugin.mjs +27 -9
- package/dist/packages/stack/src/plugins/cms/api/query-key-defs.cjs +15 -1
- package/dist/packages/stack/src/plugins/cms/api/query-key-defs.mjs +14 -2
- package/dist/packages/stack/src/plugins/cms/client/hooks/cms-hooks.cjs +45 -24
- package/dist/packages/stack/src/plugins/cms/client/hooks/cms-hooks.mjs +45 -24
- package/dist/packages/stack/src/plugins/cms/schemas.cjs +22 -0
- package/dist/packages/stack/src/plugins/cms/schemas.mjs +20 -1
- package/dist/plugins/api/index.d.cts +2 -2
- package/dist/plugins/api/index.d.mts +2 -2
- package/dist/plugins/api/index.d.ts +2 -2
- package/dist/plugins/blog/api/index.d.cts +2 -2
- package/dist/plugins/blog/api/index.d.mts +2 -2
- package/dist/plugins/blog/api/index.d.ts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
- package/dist/plugins/blog/client/index.d.cts +2 -2
- package/dist/plugins/blog/client/index.d.mts +2 -2
- package/dist/plugins/blog/client/index.d.ts +2 -2
- package/dist/plugins/blog/query-keys.d.cts +2 -2
- package/dist/plugins/blog/query-keys.d.mts +2 -2
- package/dist/plugins/blog/query-keys.d.ts +2 -2
- package/dist/plugins/client/index.d.cts +2 -2
- package/dist/plugins/client/index.d.mts +2 -2
- package/dist/plugins/client/index.d.ts +2 -2
- package/dist/plugins/cms/api/index.cjs +1 -0
- package/dist/plugins/cms/api/index.d.cts +43 -11
- package/dist/plugins/cms/api/index.d.mts +43 -11
- package/dist/plugins/cms/api/index.d.ts +43 -11
- package/dist/plugins/cms/api/index.mjs +1 -1
- package/dist/plugins/cms/client/hooks/index.d.cts +90 -45
- package/dist/plugins/cms/client/hooks/index.d.mts +90 -45
- package/dist/plugins/cms/client/hooks/index.d.ts +90 -45
- package/dist/plugins/cms/client/index.d.cts +2 -1
- package/dist/plugins/cms/client/index.d.mts +2 -1
- package/dist/plugins/cms/client/index.d.ts +2 -1
- package/dist/plugins/cms/query-keys.cjs +69 -13
- package/dist/plugins/cms/query-keys.d.cts +89 -212
- package/dist/plugins/cms/query-keys.d.mts +89 -212
- package/dist/plugins/cms/query-keys.d.ts +89 -212
- package/dist/plugins/cms/query-keys.mjs +70 -14
- package/dist/plugins/kanban/client/index.d.cts +1 -1
- package/dist/plugins/kanban/client/index.d.mts +1 -1
- package/dist/plugins/kanban/client/index.d.ts +1 -1
- package/dist/plugins/route-docs/client/index.d.cts +1 -1
- package/dist/plugins/route-docs/client/index.d.mts +1 -1
- package/dist/plugins/route-docs/client/index.d.ts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.cts +3 -3
- package/dist/plugins/ui-builder/client/hooks/index.d.mts +3 -3
- package/dist/plugins/ui-builder/client/hooks/index.d.ts +3 -3
- package/dist/plugins/ui-builder/client/index.d.cts +3 -3
- package/dist/plugins/ui-builder/client/index.d.mts +3 -3
- package/dist/plugins/ui-builder/client/index.d.ts +3 -3
- package/dist/plugins/ui-builder/query-keys.d.cts +4 -3
- package/dist/plugins/ui-builder/query-keys.d.mts +4 -3
- package/dist/plugins/ui-builder/query-keys.d.ts +4 -3
- package/dist/shared/{stack.DMj68qY0.d.mts → stack.B2jlVVhD.d.mts} +5 -5
- package/dist/shared/{stack.Cvnj99cs.d.ts → stack.BB9tubJJ.d.ts} +9 -3
- package/dist/shared/{stack.Bt3WG2yb.d.cts → stack.BWduIMKG.d.cts} +35 -35
- package/dist/shared/stack.Bw09Lg2z.d.ts +1420 -0
- package/dist/shared/{stack.CkEz7vSt.d.mts → stack.C2Pvl-RS.d.mts} +9 -3
- package/dist/shared/{stack.C2l2wd_X.d.ts → stack.Ch9-ppmQ.d.ts} +35 -35
- package/dist/shared/{stack.Ht8mhDj5.d.cts → stack.D17yFglU.d.cts} +5 -5
- package/dist/shared/{stack.CiD115Ov.d.mts → stack.D6fPBfYe.d.mts} +35 -35
- package/dist/shared/stack.DFGj0gb7.d.mts +1420 -0
- package/dist/shared/{stack.pi0FxoEa.d.ts → stack.Dcfg4GNN.d.ts} +5 -5
- package/dist/shared/{stack.3rxARhgS.d.cts → stack.DrB3L7Ih.d.cts} +52 -3
- package/dist/shared/{stack.3rxARhgS.d.mts → stack.DrB3L7Ih.d.mts} +52 -3
- package/dist/shared/{stack.3rxARhgS.d.ts → stack.DrB3L7Ih.d.ts} +52 -3
- package/dist/shared/stack.NNrBKBkM.d.cts +1420 -0
- package/dist/shared/{stack.mRRyZBUg.d.cts → stack.Rb87lHqK.d.cts} +9 -3
- package/package.json +1 -1
- package/src/__tests__/cms-query-keys.test.ts +57 -0
- package/src/plugins/api/index.ts +1 -0
- package/src/plugins/api/operation.ts +16 -3
- package/src/plugins/cms/__tests__/authorization.test.ts +652 -187
- package/src/plugins/cms/__tests__/client-runtime.browser.test.tsx +655 -0
- package/src/plugins/cms/__tests__/content-read.typecheck.ts +351 -0
- package/src/plugins/cms/__tests__/getters.test.ts +286 -0
- package/src/plugins/cms/api/getters.ts +270 -12
- package/src/plugins/cms/api/index.ts +10 -0
- package/src/plugins/cms/api/operations.ts +163 -75
- package/src/plugins/cms/api/plugin.ts +50 -12
- package/src/plugins/cms/api/query-key-defs.ts +29 -2
- package/src/plugins/cms/client/hooks/cms-hooks.tsx +400 -91
- package/src/plugins/cms/client/index.ts +9 -0
- package/src/plugins/cms/query-keys.ts +171 -16
- package/src/plugins/cms/schemas.ts +30 -0
- package/src/plugins/cms/types.ts +49 -2
- package/src/plugins/media/__tests__/identity-partition.test.tsx +26 -16
- package/dist/shared/stack.CAmVUwjV.d.cts +0 -764
- package/dist/shared/stack.CQK02ujt.d.ts +0 -764
- package/dist/shared/stack.D9x1fR5a.d.mts +0 -764
- package/dist/shared/{stack.CKc_Bais.d.cts → stack.Csi-4Mgz.d.cts} +7 -7
- package/dist/shared/{stack.CKc_Bais.d.mts → stack.Csi-4Mgz.d.mts} +7 -7
- package/dist/shared/{stack.CKc_Bais.d.ts → stack.Csi-4Mgz.d.ts} +7 -7
|
@@ -1,764 +0,0 @@
|
|
|
1
|
-
import * as _btst_stack_plugins_api from '@btst/stack/plugins/api';
|
|
2
|
-
import { PermissionDescriptor } from '../authorization/index.js';
|
|
3
|
-
import * as better_call from 'better-call';
|
|
4
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
5
|
-
import { z } from 'zod';
|
|
6
|
-
import { C as CMSBackendConfig } from './stack.3rxARhgS.js';
|
|
7
|
-
|
|
8
|
-
/** Route keys returned by the CMS client plugin. */
|
|
9
|
-
type CMSRouteKey = "dashboard" | "contentList" | "newContent" | "editContent";
|
|
10
|
-
interface CMSPrefetchForRoute {
|
|
11
|
-
(key: "dashboard" | "newContent", qc: QueryClient): Promise<void>;
|
|
12
|
-
(key: "contentList", qc: QueryClient, params: {
|
|
13
|
-
typeSlug: string;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
(key: "editContent", qc: QueryClient, params: {
|
|
16
|
-
typeSlug: string;
|
|
17
|
-
id: string;
|
|
18
|
-
}): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
/** CMS backend plugin backed by one operation inventory for every transport. */
|
|
21
|
-
declare const cmsBackendPlugin: (config: CMSBackendConfig) => _btst_stack_plugins_api.BackendPlugin<{
|
|
22
|
-
readonly listContentTypes: better_call.StrictEndpoint<"/content-types", {
|
|
23
|
-
requireRequest: true;
|
|
24
|
-
} & {
|
|
25
|
-
method: "GET";
|
|
26
|
-
}, readonly {
|
|
27
|
-
readonly itemCount: number;
|
|
28
|
-
readonly createdAt: string;
|
|
29
|
-
readonly updatedAt: string;
|
|
30
|
-
readonly id: string;
|
|
31
|
-
readonly name: string;
|
|
32
|
-
readonly slug: string;
|
|
33
|
-
readonly description?: string | undefined;
|
|
34
|
-
readonly jsonSchema: string;
|
|
35
|
-
readonly fieldConfig?: string | undefined;
|
|
36
|
-
readonly autoFormVersion?: number | undefined;
|
|
37
|
-
}[]>;
|
|
38
|
-
readonly getContentTypeBySlug: better_call.StrictEndpoint<"/content-types/:slug", {
|
|
39
|
-
params: z.ZodObject<{
|
|
40
|
-
slug: z.ZodString;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
requireRequest: true;
|
|
43
|
-
} & {
|
|
44
|
-
method: "GET";
|
|
45
|
-
}, {
|
|
46
|
-
readonly createdAt: string;
|
|
47
|
-
readonly updatedAt: string;
|
|
48
|
-
readonly id: string;
|
|
49
|
-
readonly name: string;
|
|
50
|
-
readonly slug: string;
|
|
51
|
-
readonly description?: string | undefined;
|
|
52
|
-
readonly jsonSchema: string;
|
|
53
|
-
readonly fieldConfig?: string | undefined;
|
|
54
|
-
readonly autoFormVersion?: number | undefined;
|
|
55
|
-
}>;
|
|
56
|
-
readonly listContentItems: better_call.StrictEndpoint<"/content/:typeSlug", {
|
|
57
|
-
params: z.ZodObject<{
|
|
58
|
-
typeSlug: z.ZodString;
|
|
59
|
-
}, z.core.$strip>;
|
|
60
|
-
requireRequest: true;
|
|
61
|
-
} & {
|
|
62
|
-
method: "GET";
|
|
63
|
-
} & {
|
|
64
|
-
query: better_call.StandardSchemaV1<{
|
|
65
|
-
slug?: string | undefined;
|
|
66
|
-
search?: string | undefined;
|
|
67
|
-
limit?: unknown;
|
|
68
|
-
offset?: unknown;
|
|
69
|
-
}, {
|
|
70
|
-
slug?: string | undefined;
|
|
71
|
-
search?: string | undefined;
|
|
72
|
-
limit?: unknown;
|
|
73
|
-
offset?: unknown;
|
|
74
|
-
}>;
|
|
75
|
-
}, {
|
|
76
|
-
readonly offset?: number | undefined;
|
|
77
|
-
readonly limit?: number | undefined;
|
|
78
|
-
readonly items: readonly {
|
|
79
|
-
readonly contentType?: {
|
|
80
|
-
readonly createdAt: string;
|
|
81
|
-
readonly updatedAt: string;
|
|
82
|
-
readonly id: string;
|
|
83
|
-
readonly name: string;
|
|
84
|
-
readonly slug: string;
|
|
85
|
-
readonly description?: string | undefined;
|
|
86
|
-
readonly jsonSchema: string;
|
|
87
|
-
readonly fieldConfig?: string | undefined;
|
|
88
|
-
readonly autoFormVersion?: number | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly parsedData: {
|
|
91
|
-
readonly [x: string]: any;
|
|
92
|
-
};
|
|
93
|
-
readonly createdAt: string;
|
|
94
|
-
readonly updatedAt: string;
|
|
95
|
-
readonly id: string;
|
|
96
|
-
readonly slug: string;
|
|
97
|
-
readonly contentTypeId: string;
|
|
98
|
-
readonly data: string;
|
|
99
|
-
readonly authorId?: string | undefined;
|
|
100
|
-
}[];
|
|
101
|
-
readonly total: number;
|
|
102
|
-
}>;
|
|
103
|
-
readonly getContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
|
|
104
|
-
params: z.ZodObject<{
|
|
105
|
-
typeSlug: z.ZodString;
|
|
106
|
-
id: z.ZodString;
|
|
107
|
-
}, z.core.$strip>;
|
|
108
|
-
requireRequest: true;
|
|
109
|
-
} & {
|
|
110
|
-
method: "GET";
|
|
111
|
-
}, {
|
|
112
|
-
readonly contentType?: {
|
|
113
|
-
readonly createdAt: string;
|
|
114
|
-
readonly updatedAt: string;
|
|
115
|
-
readonly id: string;
|
|
116
|
-
readonly name: string;
|
|
117
|
-
readonly slug: string;
|
|
118
|
-
readonly description?: string | undefined;
|
|
119
|
-
readonly jsonSchema: string;
|
|
120
|
-
readonly fieldConfig?: string | undefined;
|
|
121
|
-
readonly autoFormVersion?: number | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
readonly parsedData: {
|
|
124
|
-
readonly [x: string]: any;
|
|
125
|
-
};
|
|
126
|
-
readonly createdAt: string;
|
|
127
|
-
readonly updatedAt: string;
|
|
128
|
-
readonly id: string;
|
|
129
|
-
readonly slug: string;
|
|
130
|
-
readonly contentTypeId: string;
|
|
131
|
-
readonly data: string;
|
|
132
|
-
readonly authorId?: string | undefined;
|
|
133
|
-
}>;
|
|
134
|
-
readonly createContentItem: better_call.StrictEndpoint<"/content/:typeSlug", {
|
|
135
|
-
params: z.ZodObject<{
|
|
136
|
-
typeSlug: z.ZodString;
|
|
137
|
-
}, z.core.$strip>;
|
|
138
|
-
requireRequest: true;
|
|
139
|
-
} & {
|
|
140
|
-
method: "POST";
|
|
141
|
-
body: better_call.StandardSchemaV1<{
|
|
142
|
-
slug: string;
|
|
143
|
-
data: unknown;
|
|
144
|
-
}, {
|
|
145
|
-
slug: string;
|
|
146
|
-
data: unknown;
|
|
147
|
-
}>;
|
|
148
|
-
}, {
|
|
149
|
-
readonly contentType?: {
|
|
150
|
-
readonly createdAt: string;
|
|
151
|
-
readonly updatedAt: string;
|
|
152
|
-
readonly id: string;
|
|
153
|
-
readonly name: string;
|
|
154
|
-
readonly slug: string;
|
|
155
|
-
readonly description?: string | undefined;
|
|
156
|
-
readonly jsonSchema: string;
|
|
157
|
-
readonly fieldConfig?: string | undefined;
|
|
158
|
-
readonly autoFormVersion?: number | undefined;
|
|
159
|
-
} | undefined;
|
|
160
|
-
readonly parsedData: {
|
|
161
|
-
readonly [x: string]: any;
|
|
162
|
-
};
|
|
163
|
-
readonly createdAt: string;
|
|
164
|
-
readonly updatedAt: string;
|
|
165
|
-
readonly id: string;
|
|
166
|
-
readonly slug: string;
|
|
167
|
-
readonly contentTypeId: string;
|
|
168
|
-
readonly data: string;
|
|
169
|
-
readonly authorId?: string | undefined;
|
|
170
|
-
}>;
|
|
171
|
-
readonly updateContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
|
|
172
|
-
params: z.ZodObject<{
|
|
173
|
-
typeSlug: z.ZodString;
|
|
174
|
-
id: z.ZodString;
|
|
175
|
-
}, z.core.$strip>;
|
|
176
|
-
requireRequest: true;
|
|
177
|
-
} & {
|
|
178
|
-
method: "PUT";
|
|
179
|
-
body: better_call.StandardSchemaV1<{
|
|
180
|
-
slug?: string | undefined;
|
|
181
|
-
data?: unknown;
|
|
182
|
-
}, {
|
|
183
|
-
slug?: string | undefined;
|
|
184
|
-
data?: unknown;
|
|
185
|
-
}>;
|
|
186
|
-
}, {
|
|
187
|
-
readonly contentType?: {
|
|
188
|
-
readonly createdAt: string;
|
|
189
|
-
readonly updatedAt: string;
|
|
190
|
-
readonly id: string;
|
|
191
|
-
readonly name: string;
|
|
192
|
-
readonly slug: string;
|
|
193
|
-
readonly description?: string | undefined;
|
|
194
|
-
readonly jsonSchema: string;
|
|
195
|
-
readonly fieldConfig?: string | undefined;
|
|
196
|
-
readonly autoFormVersion?: number | undefined;
|
|
197
|
-
} | undefined;
|
|
198
|
-
readonly parsedData: {
|
|
199
|
-
readonly [x: string]: any;
|
|
200
|
-
};
|
|
201
|
-
readonly createdAt: string;
|
|
202
|
-
readonly updatedAt: string;
|
|
203
|
-
readonly id: string;
|
|
204
|
-
readonly slug: string;
|
|
205
|
-
readonly contentTypeId: string;
|
|
206
|
-
readonly data: string;
|
|
207
|
-
readonly authorId?: string | undefined;
|
|
208
|
-
}>;
|
|
209
|
-
readonly deleteContentItem: better_call.StrictEndpoint<"/content/:typeSlug/:id", {
|
|
210
|
-
params: z.ZodObject<{
|
|
211
|
-
typeSlug: z.ZodString;
|
|
212
|
-
id: z.ZodString;
|
|
213
|
-
}, z.core.$strip>;
|
|
214
|
-
requireRequest: true;
|
|
215
|
-
} & {
|
|
216
|
-
method: "DELETE";
|
|
217
|
-
body: better_call.StandardSchemaV1<unknown, unknown>;
|
|
218
|
-
}, {
|
|
219
|
-
readonly success: true;
|
|
220
|
-
}>;
|
|
221
|
-
readonly getContentItemPopulated: better_call.StrictEndpoint<"/content/:typeSlug/:id/populated", {
|
|
222
|
-
params: z.ZodObject<{
|
|
223
|
-
typeSlug: z.ZodString;
|
|
224
|
-
id: z.ZodString;
|
|
225
|
-
}, z.core.$strip>;
|
|
226
|
-
requireRequest: true;
|
|
227
|
-
} & {
|
|
228
|
-
method: "GET";
|
|
229
|
-
}, {
|
|
230
|
-
readonly _relations: {
|
|
231
|
-
readonly [x: string]: readonly {
|
|
232
|
-
readonly contentType?: {
|
|
233
|
-
readonly createdAt: string;
|
|
234
|
-
readonly updatedAt: string;
|
|
235
|
-
readonly id: string;
|
|
236
|
-
readonly name: string;
|
|
237
|
-
readonly slug: string;
|
|
238
|
-
readonly description?: string | undefined;
|
|
239
|
-
readonly jsonSchema: string;
|
|
240
|
-
readonly fieldConfig?: string | undefined;
|
|
241
|
-
readonly autoFormVersion?: number | undefined;
|
|
242
|
-
} | undefined;
|
|
243
|
-
readonly parsedData: {
|
|
244
|
-
readonly [x: string]: any;
|
|
245
|
-
};
|
|
246
|
-
readonly createdAt: string;
|
|
247
|
-
readonly updatedAt: string;
|
|
248
|
-
readonly id: string;
|
|
249
|
-
readonly slug: string;
|
|
250
|
-
readonly contentTypeId: string;
|
|
251
|
-
readonly data: string;
|
|
252
|
-
readonly authorId?: string | undefined;
|
|
253
|
-
}[];
|
|
254
|
-
};
|
|
255
|
-
readonly contentType?: {
|
|
256
|
-
readonly createdAt: string;
|
|
257
|
-
readonly updatedAt: string;
|
|
258
|
-
readonly id: string;
|
|
259
|
-
readonly name: string;
|
|
260
|
-
readonly slug: string;
|
|
261
|
-
readonly description?: string | undefined;
|
|
262
|
-
readonly jsonSchema: string;
|
|
263
|
-
readonly fieldConfig?: string | undefined;
|
|
264
|
-
readonly autoFormVersion?: number | undefined;
|
|
265
|
-
} | undefined;
|
|
266
|
-
readonly parsedData: {
|
|
267
|
-
readonly [x: string]: any;
|
|
268
|
-
};
|
|
269
|
-
readonly createdAt: string;
|
|
270
|
-
readonly updatedAt: string;
|
|
271
|
-
readonly id: string;
|
|
272
|
-
readonly slug: string;
|
|
273
|
-
readonly contentTypeId: string;
|
|
274
|
-
readonly data: string;
|
|
275
|
-
readonly authorId?: string | undefined;
|
|
276
|
-
}>;
|
|
277
|
-
readonly listContentByRelation: better_call.StrictEndpoint<"/content/:typeSlug/by-relation", {
|
|
278
|
-
params: z.ZodObject<{
|
|
279
|
-
typeSlug: z.ZodString;
|
|
280
|
-
}, z.core.$strip>;
|
|
281
|
-
requireRequest: true;
|
|
282
|
-
} & {
|
|
283
|
-
method: "GET";
|
|
284
|
-
} & {
|
|
285
|
-
query: better_call.StandardSchemaV1<{
|
|
286
|
-
field: string;
|
|
287
|
-
targetId: string;
|
|
288
|
-
limit?: unknown;
|
|
289
|
-
offset?: unknown;
|
|
290
|
-
}, {
|
|
291
|
-
field: string;
|
|
292
|
-
targetId: string;
|
|
293
|
-
limit?: unknown;
|
|
294
|
-
offset?: unknown;
|
|
295
|
-
}>;
|
|
296
|
-
}, {
|
|
297
|
-
readonly items: readonly {
|
|
298
|
-
readonly contentType?: {
|
|
299
|
-
readonly createdAt: string;
|
|
300
|
-
readonly updatedAt: string;
|
|
301
|
-
readonly id: string;
|
|
302
|
-
readonly name: string;
|
|
303
|
-
readonly slug: string;
|
|
304
|
-
readonly description?: string | undefined;
|
|
305
|
-
readonly jsonSchema: string;
|
|
306
|
-
readonly fieldConfig?: string | undefined;
|
|
307
|
-
readonly autoFormVersion?: number | undefined;
|
|
308
|
-
} | undefined;
|
|
309
|
-
readonly parsedData: {
|
|
310
|
-
readonly [x: string]: any;
|
|
311
|
-
};
|
|
312
|
-
readonly createdAt: string;
|
|
313
|
-
readonly updatedAt: string;
|
|
314
|
-
readonly id: string;
|
|
315
|
-
readonly slug: string;
|
|
316
|
-
readonly contentTypeId: string;
|
|
317
|
-
readonly data: string;
|
|
318
|
-
readonly authorId?: string | undefined;
|
|
319
|
-
}[];
|
|
320
|
-
readonly total: number;
|
|
321
|
-
readonly limit: number;
|
|
322
|
-
readonly offset: number;
|
|
323
|
-
}>;
|
|
324
|
-
readonly getInverseRelations: better_call.StrictEndpoint<"/content-types/:slug/inverse-relations", {
|
|
325
|
-
params: z.ZodObject<{
|
|
326
|
-
slug: z.ZodString;
|
|
327
|
-
}, z.core.$strip>;
|
|
328
|
-
requireRequest: true;
|
|
329
|
-
} & {
|
|
330
|
-
method: "GET";
|
|
331
|
-
} & {
|
|
332
|
-
query: better_call.StandardSchemaV1<{
|
|
333
|
-
itemId?: string | undefined;
|
|
334
|
-
}, {
|
|
335
|
-
itemId?: string | undefined;
|
|
336
|
-
}>;
|
|
337
|
-
}, {
|
|
338
|
-
readonly inverseRelations: readonly {
|
|
339
|
-
readonly sourceType: string;
|
|
340
|
-
readonly sourceTypeName: string;
|
|
341
|
-
readonly fieldName: string;
|
|
342
|
-
readonly count: number;
|
|
343
|
-
}[];
|
|
344
|
-
}>;
|
|
345
|
-
readonly listInverseRelationItems: better_call.StrictEndpoint<"/content-types/:slug/inverse-relations/:sourceType", {
|
|
346
|
-
params: z.ZodObject<{
|
|
347
|
-
slug: z.ZodString;
|
|
348
|
-
sourceType: z.ZodString;
|
|
349
|
-
}, z.core.$strip>;
|
|
350
|
-
requireRequest: true;
|
|
351
|
-
} & {
|
|
352
|
-
method: "GET";
|
|
353
|
-
} & {
|
|
354
|
-
query: better_call.StandardSchemaV1<{
|
|
355
|
-
itemId: string;
|
|
356
|
-
fieldName: string;
|
|
357
|
-
limit?: unknown;
|
|
358
|
-
offset?: unknown;
|
|
359
|
-
}, {
|
|
360
|
-
itemId: string;
|
|
361
|
-
fieldName: string;
|
|
362
|
-
limit?: unknown;
|
|
363
|
-
offset?: unknown;
|
|
364
|
-
}>;
|
|
365
|
-
}, {
|
|
366
|
-
readonly items: readonly {
|
|
367
|
-
readonly contentType?: {
|
|
368
|
-
readonly createdAt: string;
|
|
369
|
-
readonly updatedAt: string;
|
|
370
|
-
readonly id: string;
|
|
371
|
-
readonly name: string;
|
|
372
|
-
readonly slug: string;
|
|
373
|
-
readonly description?: string | undefined;
|
|
374
|
-
readonly jsonSchema: string;
|
|
375
|
-
readonly fieldConfig?: string | undefined;
|
|
376
|
-
readonly autoFormVersion?: number | undefined;
|
|
377
|
-
} | undefined;
|
|
378
|
-
readonly parsedData: {
|
|
379
|
-
readonly [x: string]: any;
|
|
380
|
-
};
|
|
381
|
-
readonly createdAt: string;
|
|
382
|
-
readonly updatedAt: string;
|
|
383
|
-
readonly id: string;
|
|
384
|
-
readonly slug: string;
|
|
385
|
-
readonly contentTypeId: string;
|
|
386
|
-
readonly data: string;
|
|
387
|
-
readonly authorId?: string | undefined;
|
|
388
|
-
}[];
|
|
389
|
-
readonly total: number;
|
|
390
|
-
readonly limit: number;
|
|
391
|
-
readonly offset: number;
|
|
392
|
-
}>;
|
|
393
|
-
}, {
|
|
394
|
-
prefetchForRoute: CMSPrefetchForRoute;
|
|
395
|
-
}, {
|
|
396
|
-
readonly listContentTypes: _btst_stack_plugins_api.Operation<z.ZodObject<{}, z.core.$strip>, PermissionDescriptor<"cms:contentType.read", z.ZodObject<{
|
|
397
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
398
|
-
}, z.core.$strip>>, {
|
|
399
|
-
itemCount: number;
|
|
400
|
-
createdAt: string;
|
|
401
|
-
updatedAt: string;
|
|
402
|
-
id: string;
|
|
403
|
-
name: string;
|
|
404
|
-
slug: string;
|
|
405
|
-
description?: string | undefined;
|
|
406
|
-
jsonSchema: string;
|
|
407
|
-
fieldConfig?: string | undefined;
|
|
408
|
-
autoFormVersion?: number | undefined;
|
|
409
|
-
}[], false>;
|
|
410
|
-
readonly getContentTypeBySlug: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
411
|
-
slug: z.ZodString;
|
|
412
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:contentType.read", z.ZodObject<{
|
|
413
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
414
|
-
}, z.core.$strip>>, {
|
|
415
|
-
createdAt: string;
|
|
416
|
-
updatedAt: string;
|
|
417
|
-
id: string;
|
|
418
|
-
name: string;
|
|
419
|
-
slug: string;
|
|
420
|
-
description?: string | undefined;
|
|
421
|
-
jsonSchema: string;
|
|
422
|
-
fieldConfig?: string | undefined;
|
|
423
|
-
autoFormVersion?: number | undefined;
|
|
424
|
-
}, false>;
|
|
425
|
-
readonly listContentItems: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
426
|
-
typeSlug: z.ZodString;
|
|
427
|
-
query: z.ZodObject<{
|
|
428
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
429
|
-
search: z.ZodOptional<z.ZodString>;
|
|
430
|
-
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
431
|
-
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
432
|
-
}, z.core.$strip>;
|
|
433
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.read", z.ZodObject<{
|
|
434
|
-
contentType: z.ZodString;
|
|
435
|
-
scope: z.ZodEnum<{
|
|
436
|
-
record: "record";
|
|
437
|
-
collection: "collection";
|
|
438
|
-
}>;
|
|
439
|
-
recordId: z.ZodOptional<z.ZodString>;
|
|
440
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
441
|
-
}, z.core.$strip>>, {
|
|
442
|
-
offset?: number | undefined;
|
|
443
|
-
limit?: number | undefined;
|
|
444
|
-
items: {
|
|
445
|
-
contentType?: {
|
|
446
|
-
createdAt: string;
|
|
447
|
-
updatedAt: string;
|
|
448
|
-
id: string;
|
|
449
|
-
name: string;
|
|
450
|
-
slug: string;
|
|
451
|
-
description?: string | undefined;
|
|
452
|
-
jsonSchema: string;
|
|
453
|
-
fieldConfig?: string | undefined;
|
|
454
|
-
autoFormVersion?: number | undefined;
|
|
455
|
-
} | undefined;
|
|
456
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
457
|
-
createdAt: string;
|
|
458
|
-
updatedAt: string;
|
|
459
|
-
id: string;
|
|
460
|
-
slug: string;
|
|
461
|
-
contentTypeId: string;
|
|
462
|
-
data: string;
|
|
463
|
-
authorId?: string | undefined;
|
|
464
|
-
}[];
|
|
465
|
-
total: number;
|
|
466
|
-
}, false>;
|
|
467
|
-
readonly getContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
468
|
-
typeSlug: z.ZodString;
|
|
469
|
-
id: z.ZodString;
|
|
470
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.read", z.ZodObject<{
|
|
471
|
-
contentType: z.ZodString;
|
|
472
|
-
scope: z.ZodEnum<{
|
|
473
|
-
record: "record";
|
|
474
|
-
collection: "collection";
|
|
475
|
-
}>;
|
|
476
|
-
recordId: z.ZodOptional<z.ZodString>;
|
|
477
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
478
|
-
}, z.core.$strip>>, {
|
|
479
|
-
contentType?: {
|
|
480
|
-
createdAt: string;
|
|
481
|
-
updatedAt: string;
|
|
482
|
-
id: string;
|
|
483
|
-
name: string;
|
|
484
|
-
slug: string;
|
|
485
|
-
description?: string | undefined;
|
|
486
|
-
jsonSchema: string;
|
|
487
|
-
fieldConfig?: string | undefined;
|
|
488
|
-
autoFormVersion?: number | undefined;
|
|
489
|
-
} | undefined;
|
|
490
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
491
|
-
createdAt: string;
|
|
492
|
-
updatedAt: string;
|
|
493
|
-
id: string;
|
|
494
|
-
slug: string;
|
|
495
|
-
contentTypeId: string;
|
|
496
|
-
data: string;
|
|
497
|
-
authorId?: string | undefined;
|
|
498
|
-
}, false>;
|
|
499
|
-
readonly createContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
500
|
-
typeSlug: z.ZodString;
|
|
501
|
-
body: z.ZodObject<{
|
|
502
|
-
slug: z.ZodString;
|
|
503
|
-
data: z.ZodType<Record<string, any>, unknown, z.core.$ZodTypeInternals<Record<string, any>, unknown>>;
|
|
504
|
-
}, z.core.$strip>;
|
|
505
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.create", z.ZodObject<{
|
|
506
|
-
contentType: z.ZodString;
|
|
507
|
-
}, z.core.$strip>>, {
|
|
508
|
-
contentType?: {
|
|
509
|
-
createdAt: string;
|
|
510
|
-
updatedAt: string;
|
|
511
|
-
id: string;
|
|
512
|
-
name: string;
|
|
513
|
-
slug: string;
|
|
514
|
-
description?: string | undefined;
|
|
515
|
-
jsonSchema: string;
|
|
516
|
-
fieldConfig?: string | undefined;
|
|
517
|
-
autoFormVersion?: number | undefined;
|
|
518
|
-
} | undefined;
|
|
519
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
520
|
-
createdAt: string;
|
|
521
|
-
updatedAt: string;
|
|
522
|
-
id: string;
|
|
523
|
-
slug: string;
|
|
524
|
-
contentTypeId: string;
|
|
525
|
-
data: string;
|
|
526
|
-
authorId?: string | undefined;
|
|
527
|
-
}, false>;
|
|
528
|
-
readonly updateContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
529
|
-
typeSlug: z.ZodString;
|
|
530
|
-
id: z.ZodString;
|
|
531
|
-
body: z.ZodObject<{
|
|
532
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
533
|
-
data: z.ZodOptional<z.ZodType<Record<string, any>, unknown, z.core.$ZodTypeInternals<Record<string, any>, unknown>>>;
|
|
534
|
-
}, z.core.$strip>;
|
|
535
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.update", z.ZodObject<{
|
|
536
|
-
contentType: z.ZodString;
|
|
537
|
-
recordId: z.ZodString;
|
|
538
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
539
|
-
}, z.core.$strip>>, {
|
|
540
|
-
contentType?: {
|
|
541
|
-
createdAt: string;
|
|
542
|
-
updatedAt: string;
|
|
543
|
-
id: string;
|
|
544
|
-
name: string;
|
|
545
|
-
slug: string;
|
|
546
|
-
description?: string | undefined;
|
|
547
|
-
jsonSchema: string;
|
|
548
|
-
fieldConfig?: string | undefined;
|
|
549
|
-
autoFormVersion?: number | undefined;
|
|
550
|
-
} | undefined;
|
|
551
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
552
|
-
createdAt: string;
|
|
553
|
-
updatedAt: string;
|
|
554
|
-
id: string;
|
|
555
|
-
slug: string;
|
|
556
|
-
contentTypeId: string;
|
|
557
|
-
data: string;
|
|
558
|
-
authorId?: string | undefined;
|
|
559
|
-
}, false>;
|
|
560
|
-
readonly deleteContentItem: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
561
|
-
typeSlug: z.ZodString;
|
|
562
|
-
id: z.ZodString;
|
|
563
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.delete", z.ZodObject<{
|
|
564
|
-
contentType: z.ZodString;
|
|
565
|
-
recordId: z.ZodString;
|
|
566
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
567
|
-
}, z.core.$strip>>, {
|
|
568
|
-
readonly success: true;
|
|
569
|
-
}, false>;
|
|
570
|
-
readonly getContentItemPopulated: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
571
|
-
typeSlug: z.ZodString;
|
|
572
|
-
id: z.ZodString;
|
|
573
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.read", z.ZodObject<{
|
|
574
|
-
contentType: z.ZodString;
|
|
575
|
-
scope: z.ZodEnum<{
|
|
576
|
-
record: "record";
|
|
577
|
-
collection: "collection";
|
|
578
|
-
}>;
|
|
579
|
-
recordId: z.ZodOptional<z.ZodString>;
|
|
580
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
581
|
-
}, z.core.$strip>>, {
|
|
582
|
-
_relations: {
|
|
583
|
-
[k: string]: {
|
|
584
|
-
contentType?: {
|
|
585
|
-
createdAt: string;
|
|
586
|
-
updatedAt: string;
|
|
587
|
-
id: string;
|
|
588
|
-
name: string;
|
|
589
|
-
slug: string;
|
|
590
|
-
description?: string | undefined;
|
|
591
|
-
jsonSchema: string;
|
|
592
|
-
fieldConfig?: string | undefined;
|
|
593
|
-
autoFormVersion?: number | undefined;
|
|
594
|
-
} | undefined;
|
|
595
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
596
|
-
createdAt: string;
|
|
597
|
-
updatedAt: string;
|
|
598
|
-
id: string;
|
|
599
|
-
slug: string;
|
|
600
|
-
contentTypeId: string;
|
|
601
|
-
data: string;
|
|
602
|
-
authorId?: string | undefined;
|
|
603
|
-
}[];
|
|
604
|
-
};
|
|
605
|
-
contentType?: {
|
|
606
|
-
createdAt: string;
|
|
607
|
-
updatedAt: string;
|
|
608
|
-
id: string;
|
|
609
|
-
name: string;
|
|
610
|
-
slug: string;
|
|
611
|
-
description?: string | undefined;
|
|
612
|
-
jsonSchema: string;
|
|
613
|
-
fieldConfig?: string | undefined;
|
|
614
|
-
autoFormVersion?: number | undefined;
|
|
615
|
-
} | undefined;
|
|
616
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
617
|
-
createdAt: string;
|
|
618
|
-
updatedAt: string;
|
|
619
|
-
id: string;
|
|
620
|
-
slug: string;
|
|
621
|
-
contentTypeId: string;
|
|
622
|
-
data: string;
|
|
623
|
-
authorId?: string | undefined;
|
|
624
|
-
}, false>;
|
|
625
|
-
readonly listContentByRelation: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
626
|
-
typeSlug: z.ZodString;
|
|
627
|
-
query: z.ZodObject<{
|
|
628
|
-
field: z.ZodString;
|
|
629
|
-
targetId: z.ZodString;
|
|
630
|
-
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
631
|
-
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
632
|
-
}, z.core.$strip>;
|
|
633
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.read", z.ZodObject<{
|
|
634
|
-
contentType: z.ZodString;
|
|
635
|
-
scope: z.ZodEnum<{
|
|
636
|
-
record: "record";
|
|
637
|
-
collection: "collection";
|
|
638
|
-
}>;
|
|
639
|
-
recordId: z.ZodOptional<z.ZodString>;
|
|
640
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
641
|
-
}, z.core.$strip>>, {
|
|
642
|
-
items: {
|
|
643
|
-
contentType?: {
|
|
644
|
-
createdAt: string;
|
|
645
|
-
updatedAt: string;
|
|
646
|
-
id: string;
|
|
647
|
-
name: string;
|
|
648
|
-
slug: string;
|
|
649
|
-
description?: string | undefined;
|
|
650
|
-
jsonSchema: string;
|
|
651
|
-
fieldConfig?: string | undefined;
|
|
652
|
-
autoFormVersion?: number | undefined;
|
|
653
|
-
} | undefined;
|
|
654
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
655
|
-
createdAt: string;
|
|
656
|
-
updatedAt: string;
|
|
657
|
-
id: string;
|
|
658
|
-
slug: string;
|
|
659
|
-
contentTypeId: string;
|
|
660
|
-
data: string;
|
|
661
|
-
authorId?: string | undefined;
|
|
662
|
-
}[];
|
|
663
|
-
total: number;
|
|
664
|
-
limit: number;
|
|
665
|
-
offset: number;
|
|
666
|
-
}, false>;
|
|
667
|
-
readonly getInverseRelations: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
668
|
-
slug: z.ZodString;
|
|
669
|
-
query: z.ZodObject<{
|
|
670
|
-
itemId: z.ZodOptional<z.ZodString>;
|
|
671
|
-
}, z.core.$strip>;
|
|
672
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:contentType.read", z.ZodObject<{
|
|
673
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
674
|
-
}, z.core.$strip>>, {
|
|
675
|
-
inverseRelations: {
|
|
676
|
-
sourceType: string;
|
|
677
|
-
sourceTypeName: string;
|
|
678
|
-
fieldName: string;
|
|
679
|
-
count: number;
|
|
680
|
-
}[];
|
|
681
|
-
}, false>;
|
|
682
|
-
readonly listInverseRelationItems: _btst_stack_plugins_api.Operation<z.ZodObject<{
|
|
683
|
-
slug: z.ZodString;
|
|
684
|
-
sourceType: z.ZodString;
|
|
685
|
-
query: z.ZodObject<{
|
|
686
|
-
itemId: z.ZodString;
|
|
687
|
-
fieldName: z.ZodString;
|
|
688
|
-
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
689
|
-
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
690
|
-
}, z.core.$strip>;
|
|
691
|
-
}, z.core.$strip>, PermissionDescriptor<"cms:record.read", z.ZodObject<{
|
|
692
|
-
contentType: z.ZodString;
|
|
693
|
-
scope: z.ZodEnum<{
|
|
694
|
-
record: "record";
|
|
695
|
-
collection: "collection";
|
|
696
|
-
}>;
|
|
697
|
-
recordId: z.ZodOptional<z.ZodString>;
|
|
698
|
-
authorId: z.ZodOptional<z.ZodString>;
|
|
699
|
-
}, z.core.$strip>>, {
|
|
700
|
-
items: {
|
|
701
|
-
contentType?: {
|
|
702
|
-
createdAt: string;
|
|
703
|
-
updatedAt: string;
|
|
704
|
-
id: string;
|
|
705
|
-
name: string;
|
|
706
|
-
slug: string;
|
|
707
|
-
description?: string | undefined;
|
|
708
|
-
jsonSchema: string;
|
|
709
|
-
fieldConfig?: string | undefined;
|
|
710
|
-
autoFormVersion?: number | undefined;
|
|
711
|
-
} | undefined;
|
|
712
|
-
parsedData: Record<string, _btst_stack_plugins_api.OperationData>;
|
|
713
|
-
createdAt: string;
|
|
714
|
-
updatedAt: string;
|
|
715
|
-
id: string;
|
|
716
|
-
slug: string;
|
|
717
|
-
contentTypeId: string;
|
|
718
|
-
data: string;
|
|
719
|
-
authorId?: string | undefined;
|
|
720
|
-
}[];
|
|
721
|
-
total: number;
|
|
722
|
-
limit: number;
|
|
723
|
-
offset: number;
|
|
724
|
-
}, false>;
|
|
725
|
-
}, "cms">;
|
|
726
|
-
type CMSApiRouter = ReturnType<ReturnType<typeof cmsBackendPlugin>["routes"]>;
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* Internal query key constants for the CMS plugin.
|
|
730
|
-
* Shared between query-keys.ts (HTTP path) and prefetchForRoute (DB path)
|
|
731
|
-
* to prevent key drift between SSR loaders and SSG prefetching.
|
|
732
|
-
*/
|
|
733
|
-
interface ContentListDiscriminator {
|
|
734
|
-
typeSlug: string;
|
|
735
|
-
limit: number;
|
|
736
|
-
offset: number;
|
|
737
|
-
search: string | undefined;
|
|
738
|
-
}
|
|
739
|
-
/** Full query key builders — use these with queryClient.setQueryData() */
|
|
740
|
-
declare const CMS_QUERY_KEYS: {
|
|
741
|
-
/**
|
|
742
|
-
* Key for the cmsTypes.list() query.
|
|
743
|
-
* Full key: ["cmsTypes", "list", "list"]
|
|
744
|
-
*/
|
|
745
|
-
typesList: () => readonly ["cmsTypes", "list", "list"];
|
|
746
|
-
/**
|
|
747
|
-
* Key for the cmsContent.list({ typeSlug, limit, offset }) query.
|
|
748
|
-
* Full key: ["cmsContent", "list", { typeSlug, limit, offset, search }]
|
|
749
|
-
*/
|
|
750
|
-
contentList: (params: {
|
|
751
|
-
typeSlug: string;
|
|
752
|
-
limit?: number;
|
|
753
|
-
offset?: number;
|
|
754
|
-
search?: string;
|
|
755
|
-
}) => readonly ["cmsContent", "list", ContentListDiscriminator];
|
|
756
|
-
/**
|
|
757
|
-
* Key for the cmsContent.detail(typeSlug, id) query.
|
|
758
|
-
* Full key: ["cmsContent", "detail", typeSlug, id]
|
|
759
|
-
*/
|
|
760
|
-
contentDetail: (typeSlug: string, id: string) => readonly ["cmsContent", "detail", string, string];
|
|
761
|
-
};
|
|
762
|
-
|
|
763
|
-
export { CMS_QUERY_KEYS as c, cmsBackendPlugin as d };
|
|
764
|
-
export type { CMSApiRouter as C, ContentListDiscriminator as a, CMSRouteKey as b };
|