@decocms/runtime 0.24.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.
Files changed (61) hide show
  1. package/dist/admin.d.ts +5 -0
  2. package/dist/admin.js +21 -0
  3. package/dist/admin.js.map +1 -0
  4. package/dist/bindings/deconfig/index.d.ts +10 -0
  5. package/dist/bindings/deconfig/index.js +10 -0
  6. package/dist/bindings/deconfig/index.js.map +1 -0
  7. package/dist/bindings/index.d.ts +1054 -0
  8. package/dist/bindings/index.js +133 -0
  9. package/dist/bindings/index.js.map +1 -0
  10. package/dist/chunk-377XXI4J.js +764 -0
  11. package/dist/chunk-377XXI4J.js.map +1 -0
  12. package/dist/chunk-4UQ5U73Y.js +129 -0
  13. package/dist/chunk-4UQ5U73Y.js.map +1 -0
  14. package/dist/chunk-4XSQKJLU.js +105 -0
  15. package/dist/chunk-4XSQKJLU.js.map +1 -0
  16. package/dist/chunk-73FIKR3X.js +128 -0
  17. package/dist/chunk-73FIKR3X.js.map +1 -0
  18. package/dist/chunk-AOFOWQXY.js +27 -0
  19. package/dist/chunk-AOFOWQXY.js.map +1 -0
  20. package/dist/chunk-G3NWZG2F.js +155 -0
  21. package/dist/chunk-G3NWZG2F.js.map +1 -0
  22. package/dist/chunk-I7BWSAN6.js +49 -0
  23. package/dist/chunk-I7BWSAN6.js.map +1 -0
  24. package/dist/chunk-UHR3BLMF.js +92 -0
  25. package/dist/chunk-UHR3BLMF.js.map +1 -0
  26. package/dist/chunk-ZPUT6RN6.js +32 -0
  27. package/dist/chunk-ZPUT6RN6.js.map +1 -0
  28. package/dist/chunk-ZRJ5SGAO.js +494 -0
  29. package/dist/chunk-ZRJ5SGAO.js.map +1 -0
  30. package/dist/client.d.ts +28 -0
  31. package/dist/client.js +5 -0
  32. package/dist/client.js.map +1 -0
  33. package/dist/connection-DDtQYrea.d.ts +30 -0
  34. package/dist/d1-store.d.ts +9 -0
  35. package/dist/d1-store.js +4 -0
  36. package/dist/d1-store.js.map +1 -0
  37. package/dist/drizzle.d.ts +48 -0
  38. package/dist/drizzle.js +121 -0
  39. package/dist/drizzle.js.map +1 -0
  40. package/dist/index-BBAR4TQu.d.ts +530 -0
  41. package/dist/index-D_J_044C.d.ts +461 -0
  42. package/dist/index.d.ts +9 -0
  43. package/dist/index.js +634 -0
  44. package/dist/index.js.map +1 -0
  45. package/dist/mastra.d.ts +9 -0
  46. package/dist/mastra.js +6 -0
  47. package/dist/mastra.js.map +1 -0
  48. package/dist/mcp-Bv7IAgWX.d.ts +109 -0
  49. package/dist/mcp-client.d.ts +236 -0
  50. package/dist/mcp-client.js +4 -0
  51. package/dist/mcp-client.js.map +1 -0
  52. package/dist/proxy.d.ts +10 -0
  53. package/dist/proxy.js +5 -0
  54. package/dist/proxy.js.map +1 -0
  55. package/dist/resources.d.ts +393 -0
  56. package/dist/resources.js +4 -0
  57. package/dist/resources.js.map +1 -0
  58. package/dist/views.d.ts +72 -0
  59. package/dist/views.js +4 -0
  60. package/dist/views.js.map +1 -0
  61. package/package.json +91 -0
@@ -0,0 +1,393 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const ResourceSchema: z.ZodObject<{
4
+ name: z.ZodString;
5
+ title: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ uri: z.ZodString;
8
+ mimeType: z.ZodOptional<z.ZodString>;
9
+ thumbnail: z.ZodOptional<z.ZodString>;
10
+ timestamp: z.ZodOptional<z.ZodString>;
11
+ size: z.ZodOptional<z.ZodNumber>;
12
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ name: string;
15
+ uri: string;
16
+ description?: string | undefined;
17
+ mimeType?: string | undefined;
18
+ title?: string | undefined;
19
+ annotations?: Record<string, string> | undefined;
20
+ thumbnail?: string | undefined;
21
+ timestamp?: string | undefined;
22
+ size?: number | undefined;
23
+ }, {
24
+ name: string;
25
+ uri: string;
26
+ description?: string | undefined;
27
+ mimeType?: string | undefined;
28
+ title?: string | undefined;
29
+ annotations?: Record<string, string> | undefined;
30
+ thumbnail?: string | undefined;
31
+ timestamp?: string | undefined;
32
+ size?: number | undefined;
33
+ }>;
34
+ declare const ResourcesReadInputSchema: z.ZodObject<{
35
+ name: z.ZodString;
36
+ uri: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ name: string;
39
+ uri: string;
40
+ }, {
41
+ name: string;
42
+ uri: string;
43
+ }>;
44
+ declare const ResourcesReadOutputSchema: z.ZodObject<{
45
+ name: z.ZodString;
46
+ title: z.ZodOptional<z.ZodString>;
47
+ description: z.ZodOptional<z.ZodString>;
48
+ uri: z.ZodString;
49
+ mimeType: z.ZodOptional<z.ZodString>;
50
+ thumbnail: z.ZodOptional<z.ZodString>;
51
+ timestamp: z.ZodOptional<z.ZodString>;
52
+ size: z.ZodOptional<z.ZodNumber>;
53
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
54
+ } & {
55
+ data: z.ZodString;
56
+ type: z.ZodEnum<["text", "blob"]>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ type: "text" | "blob";
59
+ name: string;
60
+ data: string;
61
+ uri: string;
62
+ description?: string | undefined;
63
+ mimeType?: string | undefined;
64
+ title?: string | undefined;
65
+ annotations?: Record<string, string> | undefined;
66
+ thumbnail?: string | undefined;
67
+ timestamp?: string | undefined;
68
+ size?: number | undefined;
69
+ }, {
70
+ type: "text" | "blob";
71
+ name: string;
72
+ data: string;
73
+ uri: string;
74
+ description?: string | undefined;
75
+ mimeType?: string | undefined;
76
+ title?: string | undefined;
77
+ annotations?: Record<string, string> | undefined;
78
+ thumbnail?: string | undefined;
79
+ timestamp?: string | undefined;
80
+ size?: number | undefined;
81
+ }>;
82
+ declare const ResourceSearchInputSchema: z.ZodObject<{
83
+ name: z.ZodString;
84
+ term: z.ZodString;
85
+ cursor: z.ZodOptional<z.ZodString>;
86
+ limit: z.ZodOptional<z.ZodNumber>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ name: string;
89
+ term: string;
90
+ cursor?: string | undefined;
91
+ limit?: number | undefined;
92
+ }, {
93
+ name: string;
94
+ term: string;
95
+ cursor?: string | undefined;
96
+ limit?: number | undefined;
97
+ }>;
98
+ declare const ResourceSearchOutputSchema: z.ZodObject<{
99
+ items: z.ZodArray<z.ZodObject<{
100
+ name: z.ZodString;
101
+ title: z.ZodOptional<z.ZodString>;
102
+ description: z.ZodOptional<z.ZodString>;
103
+ uri: z.ZodString;
104
+ mimeType: z.ZodOptional<z.ZodString>;
105
+ thumbnail: z.ZodOptional<z.ZodString>;
106
+ timestamp: z.ZodOptional<z.ZodString>;
107
+ size: z.ZodOptional<z.ZodNumber>;
108
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ name: string;
111
+ uri: string;
112
+ description?: string | undefined;
113
+ mimeType?: string | undefined;
114
+ title?: string | undefined;
115
+ annotations?: Record<string, string> | undefined;
116
+ thumbnail?: string | undefined;
117
+ timestamp?: string | undefined;
118
+ size?: number | undefined;
119
+ }, {
120
+ name: string;
121
+ uri: string;
122
+ description?: string | undefined;
123
+ mimeType?: string | undefined;
124
+ title?: string | undefined;
125
+ annotations?: Record<string, string> | undefined;
126
+ thumbnail?: string | undefined;
127
+ timestamp?: string | undefined;
128
+ size?: number | undefined;
129
+ }>, "many">;
130
+ hasMore: z.ZodBoolean;
131
+ nextCursor: z.ZodOptional<z.ZodString>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ items: {
134
+ name: string;
135
+ uri: string;
136
+ description?: string | undefined;
137
+ mimeType?: string | undefined;
138
+ title?: string | undefined;
139
+ annotations?: Record<string, string> | undefined;
140
+ thumbnail?: string | undefined;
141
+ timestamp?: string | undefined;
142
+ size?: number | undefined;
143
+ }[];
144
+ hasMore: boolean;
145
+ nextCursor?: string | undefined;
146
+ }, {
147
+ items: {
148
+ name: string;
149
+ uri: string;
150
+ description?: string | undefined;
151
+ mimeType?: string | undefined;
152
+ title?: string | undefined;
153
+ annotations?: Record<string, string> | undefined;
154
+ thumbnail?: string | undefined;
155
+ timestamp?: string | undefined;
156
+ size?: number | undefined;
157
+ }[];
158
+ hasMore: boolean;
159
+ nextCursor?: string | undefined;
160
+ }>;
161
+ declare const ResourceCreateInputSchema: z.ZodObject<{
162
+ name: z.ZodString;
163
+ resourceName: z.ZodString;
164
+ title: z.ZodOptional<z.ZodString>;
165
+ description: z.ZodOptional<z.ZodString>;
166
+ content: z.ZodObject<{
167
+ data: z.ZodString;
168
+ type: z.ZodEnum<["text", "blob"]>;
169
+ mimeType: z.ZodOptional<z.ZodString>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ type: "text" | "blob";
172
+ data: string;
173
+ mimeType?: string | undefined;
174
+ }, {
175
+ type: "text" | "blob";
176
+ data: string;
177
+ mimeType?: string | undefined;
178
+ }>;
179
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ name: string;
182
+ resourceName: string;
183
+ content: {
184
+ type: "text" | "blob";
185
+ data: string;
186
+ mimeType?: string | undefined;
187
+ };
188
+ description?: string | undefined;
189
+ metadata?: Record<string, any> | undefined;
190
+ title?: string | undefined;
191
+ }, {
192
+ name: string;
193
+ resourceName: string;
194
+ content: {
195
+ type: "text" | "blob";
196
+ data: string;
197
+ mimeType?: string | undefined;
198
+ };
199
+ description?: string | undefined;
200
+ metadata?: Record<string, any> | undefined;
201
+ title?: string | undefined;
202
+ }>;
203
+ declare const ResourceCreateOutputSchema: z.ZodObject<{
204
+ name: z.ZodString;
205
+ title: z.ZodOptional<z.ZodString>;
206
+ description: z.ZodOptional<z.ZodString>;
207
+ uri: z.ZodString;
208
+ mimeType: z.ZodOptional<z.ZodString>;
209
+ thumbnail: z.ZodOptional<z.ZodString>;
210
+ timestamp: z.ZodOptional<z.ZodString>;
211
+ size: z.ZodOptional<z.ZodNumber>;
212
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ name: string;
215
+ uri: string;
216
+ description?: string | undefined;
217
+ mimeType?: string | undefined;
218
+ title?: string | undefined;
219
+ annotations?: Record<string, string> | undefined;
220
+ thumbnail?: string | undefined;
221
+ timestamp?: string | undefined;
222
+ size?: number | undefined;
223
+ }, {
224
+ name: string;
225
+ uri: string;
226
+ description?: string | undefined;
227
+ mimeType?: string | undefined;
228
+ title?: string | undefined;
229
+ annotations?: Record<string, string> | undefined;
230
+ thumbnail?: string | undefined;
231
+ timestamp?: string | undefined;
232
+ size?: number | undefined;
233
+ }>;
234
+ declare const ResourceUpdateInputSchema: z.ZodObject<{
235
+ name: z.ZodString;
236
+ uri: z.ZodString;
237
+ resourceName: z.ZodOptional<z.ZodString>;
238
+ title: z.ZodOptional<z.ZodString>;
239
+ description: z.ZodOptional<z.ZodString>;
240
+ content: z.ZodOptional<z.ZodObject<{
241
+ data: z.ZodString;
242
+ type: z.ZodEnum<["text", "blob"]>;
243
+ mimeType: z.ZodOptional<z.ZodString>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ type: "text" | "blob";
246
+ data: string;
247
+ mimeType?: string | undefined;
248
+ }, {
249
+ type: "text" | "blob";
250
+ data: string;
251
+ mimeType?: string | undefined;
252
+ }>>;
253
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ name: string;
256
+ uri: string;
257
+ description?: string | undefined;
258
+ resourceName?: string | undefined;
259
+ metadata?: Record<string, any> | undefined;
260
+ content?: {
261
+ type: "text" | "blob";
262
+ data: string;
263
+ mimeType?: string | undefined;
264
+ } | undefined;
265
+ title?: string | undefined;
266
+ }, {
267
+ name: string;
268
+ uri: string;
269
+ description?: string | undefined;
270
+ resourceName?: string | undefined;
271
+ metadata?: Record<string, any> | undefined;
272
+ content?: {
273
+ type: "text" | "blob";
274
+ data: string;
275
+ mimeType?: string | undefined;
276
+ } | undefined;
277
+ title?: string | undefined;
278
+ }>;
279
+ declare const ResourceUpdateOutputSchema: z.ZodObject<{
280
+ name: z.ZodString;
281
+ title: z.ZodOptional<z.ZodString>;
282
+ description: z.ZodOptional<z.ZodString>;
283
+ uri: z.ZodString;
284
+ mimeType: z.ZodOptional<z.ZodString>;
285
+ thumbnail: z.ZodOptional<z.ZodString>;
286
+ timestamp: z.ZodOptional<z.ZodString>;
287
+ size: z.ZodOptional<z.ZodNumber>;
288
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ name: string;
291
+ uri: string;
292
+ description?: string | undefined;
293
+ mimeType?: string | undefined;
294
+ title?: string | undefined;
295
+ annotations?: Record<string, string> | undefined;
296
+ thumbnail?: string | undefined;
297
+ timestamp?: string | undefined;
298
+ size?: number | undefined;
299
+ }, {
300
+ name: string;
301
+ uri: string;
302
+ description?: string | undefined;
303
+ mimeType?: string | undefined;
304
+ title?: string | undefined;
305
+ annotations?: Record<string, string> | undefined;
306
+ thumbnail?: string | undefined;
307
+ timestamp?: string | undefined;
308
+ size?: number | undefined;
309
+ }>;
310
+ declare const ResourceDeleteInputSchema: z.ZodObject<{
311
+ name: z.ZodString;
312
+ uri: z.ZodString;
313
+ force: z.ZodOptional<z.ZodBoolean>;
314
+ }, "strip", z.ZodTypeAny, {
315
+ name: string;
316
+ uri: string;
317
+ force?: boolean | undefined;
318
+ }, {
319
+ name: string;
320
+ uri: string;
321
+ force?: boolean | undefined;
322
+ }>;
323
+ declare const ResourceDeleteOutputSchema: z.ZodObject<{
324
+ deletedUri: z.ZodString;
325
+ }, "strip", z.ZodTypeAny, {
326
+ deletedUri: string;
327
+ }, {
328
+ deletedUri: string;
329
+ }>;
330
+ declare const ResourcesListInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
331
+ declare const ResourcesListOutputSchema: z.ZodObject<{
332
+ resources: z.ZodArray<z.ZodObject<{
333
+ name: z.ZodString;
334
+ icon: z.ZodString;
335
+ title: z.ZodString;
336
+ description: z.ZodString;
337
+ hasCreate: z.ZodOptional<z.ZodBoolean>;
338
+ hasUpdate: z.ZodOptional<z.ZodBoolean>;
339
+ hasDelete: z.ZodOptional<z.ZodBoolean>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ name: string;
342
+ description: string;
343
+ title: string;
344
+ icon: string;
345
+ hasCreate?: boolean | undefined;
346
+ hasUpdate?: boolean | undefined;
347
+ hasDelete?: boolean | undefined;
348
+ }, {
349
+ name: string;
350
+ description: string;
351
+ title: string;
352
+ icon: string;
353
+ hasCreate?: boolean | undefined;
354
+ hasUpdate?: boolean | undefined;
355
+ hasDelete?: boolean | undefined;
356
+ }>, "many">;
357
+ }, "strip", z.ZodTypeAny, {
358
+ resources: {
359
+ name: string;
360
+ description: string;
361
+ title: string;
362
+ icon: string;
363
+ hasCreate?: boolean | undefined;
364
+ hasUpdate?: boolean | undefined;
365
+ hasDelete?: boolean | undefined;
366
+ }[];
367
+ }, {
368
+ resources: {
369
+ name: string;
370
+ description: string;
371
+ title: string;
372
+ icon: string;
373
+ hasCreate?: boolean | undefined;
374
+ hasUpdate?: boolean | undefined;
375
+ hasDelete?: boolean | undefined;
376
+ }[];
377
+ }>;
378
+ type Resource = z.infer<typeof ResourceSchema>;
379
+ type ResourcesReadInput = z.infer<typeof ResourcesReadInputSchema>;
380
+ type ResourcesReadOutput = z.infer<typeof ResourcesReadOutputSchema>;
381
+ type ResourcesSearchInput = z.infer<typeof ResourceSearchInputSchema>;
382
+ type ResourcesSearchOutput = z.infer<typeof ResourceSearchOutputSchema>;
383
+ type ResourceCreateInput = z.infer<typeof ResourceCreateInputSchema>;
384
+ type ResourceCreateOutput = z.infer<typeof ResourceCreateOutputSchema>;
385
+ type ResourceUpdateInput = z.infer<typeof ResourceUpdateInputSchema>;
386
+ type ResourceUpdateOutput = z.infer<typeof ResourceUpdateOutputSchema>;
387
+ type ResourceDeleteInput = z.infer<typeof ResourceDeleteInputSchema>;
388
+ type ResourceDeleteOutput = z.infer<typeof ResourceDeleteOutputSchema>;
389
+ type ResourcesListInput = z.infer<typeof ResourcesListInputSchema>;
390
+ type ResourcesListOutput = z.infer<typeof ResourcesListOutputSchema>;
391
+ declare const mimeType: (filePathOrExtension: string) => string;
392
+
393
+ export { type Resource, type ResourceCreateInput, ResourceCreateInputSchema, type ResourceCreateOutput, ResourceCreateOutputSchema, type ResourceDeleteInput, ResourceDeleteInputSchema, type ResourceDeleteOutput, ResourceDeleteOutputSchema, ResourceSchema, ResourceSearchInputSchema, ResourceSearchOutputSchema, type ResourceUpdateInput, ResourceUpdateInputSchema, type ResourceUpdateOutput, ResourceUpdateOutputSchema, type ResourcesListInput, ResourcesListInputSchema, type ResourcesListOutput, ResourcesListOutputSchema, type ResourcesReadInput, ResourcesReadInputSchema, type ResourcesReadOutput, ResourcesReadOutputSchema, type ResourcesSearchInput, type ResourcesSearchOutput, mimeType };
@@ -0,0 +1,4 @@
1
+ export { ResourceCreateInputSchema, ResourceCreateOutputSchema, ResourceDeleteInputSchema, ResourceDeleteOutputSchema, ResourceSchema, ResourceSearchInputSchema, ResourceSearchOutputSchema, ResourceUpdateInputSchema, ResourceUpdateOutputSchema, ResourcesListInputSchema, ResourcesListOutputSchema, ResourcesReadInputSchema, ResourcesReadOutputSchema, mimeType } from './chunk-73FIKR3X.js';
2
+ import './chunk-I7BWSAN6.js';
3
+ //# sourceMappingURL=resources.js.map
4
+ //# sourceMappingURL=resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"resources.js"}
@@ -0,0 +1,72 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const ViewsListOutputSchema: z.ZodObject<{
4
+ views: z.ZodArray<z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ title: z.ZodString;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ icon: z.ZodString;
10
+ url: z.ZodOptional<z.ZodString>;
11
+ mimeTypePattern: z.ZodOptional<z.ZodString>;
12
+ resourceName: z.ZodOptional<z.ZodString>;
13
+ tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14
+ prompt: z.ZodOptional<z.ZodString>;
15
+ installBehavior: z.ZodOptional<z.ZodEnum<["none", "open", "autoPin"]>>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ tools: string[];
18
+ title: string;
19
+ icon: string;
20
+ id?: string | undefined;
21
+ name?: string | undefined;
22
+ url?: string | undefined;
23
+ description?: string | undefined;
24
+ resourceName?: string | undefined;
25
+ mimeTypePattern?: string | undefined;
26
+ prompt?: string | undefined;
27
+ installBehavior?: "open" | "none" | "autoPin" | undefined;
28
+ }, {
29
+ title: string;
30
+ icon: string;
31
+ id?: string | undefined;
32
+ name?: string | undefined;
33
+ url?: string | undefined;
34
+ description?: string | undefined;
35
+ resourceName?: string | undefined;
36
+ tools?: string[] | undefined;
37
+ mimeTypePattern?: string | undefined;
38
+ prompt?: string | undefined;
39
+ installBehavior?: "open" | "none" | "autoPin" | undefined;
40
+ }>, "many">;
41
+ }, "strip", z.ZodTypeAny, {
42
+ views: {
43
+ tools: string[];
44
+ title: string;
45
+ icon: string;
46
+ id?: string | undefined;
47
+ name?: string | undefined;
48
+ url?: string | undefined;
49
+ description?: string | undefined;
50
+ resourceName?: string | undefined;
51
+ mimeTypePattern?: string | undefined;
52
+ prompt?: string | undefined;
53
+ installBehavior?: "open" | "none" | "autoPin" | undefined;
54
+ }[];
55
+ }, {
56
+ views: {
57
+ title: string;
58
+ icon: string;
59
+ id?: string | undefined;
60
+ name?: string | undefined;
61
+ url?: string | undefined;
62
+ description?: string | undefined;
63
+ resourceName?: string | undefined;
64
+ tools?: string[] | undefined;
65
+ mimeTypePattern?: string | undefined;
66
+ prompt?: string | undefined;
67
+ installBehavior?: "open" | "none" | "autoPin" | undefined;
68
+ }[];
69
+ }>;
70
+ type ViewsListOutput = z.infer<typeof ViewsListOutputSchema>;
71
+
72
+ export { type ViewsListOutput, ViewsListOutputSchema };
package/dist/views.js ADDED
@@ -0,0 +1,4 @@
1
+ export { ViewsListOutputSchema } from './chunk-AOFOWQXY.js';
2
+ import './chunk-I7BWSAN6.js';
3
+ //# sourceMappingURL=views.js.map
4
+ //# sourceMappingURL=views.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"views.js"}
package/package.json ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "@decocms/runtime",
3
+ "version": "0.24.0",
4
+ "type": "module",
5
+ "scripts": {
6
+ "build": "tsup",
7
+ "prepublishOnly": "npm run build"
8
+ },
9
+ "dependencies": {
10
+ "@cloudflare/workers-types": "^4.20250617.0",
11
+ "@deco/mcp": "npm:@jsr/deco__mcp@0.5.5",
12
+ "@mastra/cloudflare-d1": "^0.13.4",
13
+ "@mastra/core": "^0.20.2",
14
+ "@modelcontextprotocol/sdk": "^1.19.1",
15
+ "bidc": "0.0.3",
16
+ "drizzle-orm": "^0.44.5",
17
+ "jose": "^6.0.11",
18
+ "mime-db": "1.52.0",
19
+ "zod": "^3.25.76",
20
+ "zod-from-json-schema": "^0.0.5",
21
+ "zod-to-json-schema": "^3.24.4"
22
+ },
23
+ "main": "./dist/index.js",
24
+ "types": "./dist/index.d.ts",
25
+ "files": [
26
+ "dist/**/*",
27
+ "config-schema.json"
28
+ ],
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "./proxy": {
35
+ "types": "./dist/proxy.d.ts",
36
+ "default": "./dist/proxy.js"
37
+ },
38
+ "./admin": {
39
+ "types": "./dist/admin.d.ts",
40
+ "default": "./dist/admin.js"
41
+ },
42
+ "./client": {
43
+ "types": "./dist/client.d.ts",
44
+ "default": "./dist/client.js"
45
+ },
46
+ "./mastra": {
47
+ "types": "./dist/mastra.d.ts",
48
+ "default": "./dist/mastra.js"
49
+ },
50
+ "./drizzle": {
51
+ "types": "./dist/drizzle.d.ts",
52
+ "default": "./dist/drizzle.js"
53
+ },
54
+ "./d1": {
55
+ "types": "./dist/d1-store.d.ts",
56
+ "default": "./dist/d1-store.js"
57
+ },
58
+ "./resources": {
59
+ "types": "./dist/resources.d.ts",
60
+ "default": "./dist/resources.js"
61
+ },
62
+ "./views": {
63
+ "types": "./dist/views.d.ts",
64
+ "default": "./dist/views.js"
65
+ },
66
+ "./mcp-client": {
67
+ "types": "./dist/mcp-client.d.ts",
68
+ "default": "./dist/mcp-client.js"
69
+ },
70
+ "./bindings": {
71
+ "types": "./dist/bindings/index.d.ts",
72
+ "default": "./dist/bindings/index.js"
73
+ },
74
+ "./deconfig": {
75
+ "types": "./dist/bindings/deconfig/index.d.ts",
76
+ "default": "./dist/bindings/deconfig/index.js"
77
+ }
78
+ },
79
+ "devDependencies": {
80
+ "@types/mime-db": "^1.43.6",
81
+ "ts-json-schema-generator": "^2.4.0",
82
+ "tsup": "^8.5.0",
83
+ "typescript": "^5.9.3"
84
+ },
85
+ "engines": {
86
+ "node": ">=24.0.0"
87
+ },
88
+ "publishConfig": {
89
+ "access": "public"
90
+ }
91
+ }