@vibesdotdev/integrations-miro 0.0.0-stage → 1.0.0-rc.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/LICENSE +126 -0
- package/README.md +52 -2
- package/dist/client/helper.d.ts +5 -0
- package/dist/client/helper.d.ts.map +1 -0
- package/dist/client/helper.js +6 -0
- package/dist/client/helper.js.map +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +3 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/runtime-client.d.ts +36 -0
- package/dist/client/runtime-client.d.ts.map +1 -0
- package/dist/client/runtime-client.js +108 -0
- package/dist/client/runtime-client.js.map +1 -0
- package/dist/docs/integrations-miro.docs.descriptor.d.ts +19 -0
- package/dist/docs/integrations-miro.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/integrations-miro.docs.descriptor.js +47 -0
- package/dist/docs/integrations-miro.docs.descriptor.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations-miro.plugin.d.ts +4 -0
- package/dist/integrations-miro.plugin.d.ts.map +1 -0
- package/dist/integrations-miro.plugin.js +22 -0
- package/dist/integrations-miro.plugin.js.map +1 -0
- package/dist/miro/errors.d.ts +10 -0
- package/dist/miro/errors.d.ts.map +1 -0
- package/dist/miro/errors.js +23 -0
- package/dist/miro/errors.js.map +1 -0
- package/dist/miro/index.d.ts +7 -0
- package/dist/miro/index.d.ts.map +1 -0
- package/dist/miro/index.js +5 -0
- package/dist/miro/index.js.map +1 -0
- package/dist/miro/miro-client.d.ts +22 -0
- package/dist/miro/miro-client.d.ts.map +1 -0
- package/dist/miro/miro-client.js +225 -0
- package/dist/miro/miro-client.js.map +1 -0
- package/dist/miro/miro-implementation.d.ts +17 -0
- package/dist/miro/miro-implementation.d.ts.map +1 -0
- package/dist/miro/miro-implementation.js +108 -0
- package/dist/miro/miro-implementation.js.map +1 -0
- package/dist/miro/miro-schemas.d.ts +2 -0
- package/dist/miro/miro-schemas.d.ts.map +1 -0
- package/dist/miro/miro-schemas.js +2 -0
- package/dist/miro/miro-schemas.js.map +1 -0
- package/dist/miro/system.integration.miro.descriptor.d.ts +69 -0
- package/dist/miro/system.integration.miro.descriptor.d.ts.map +1 -0
- package/dist/miro/system.integration.miro.descriptor.js +109 -0
- package/dist/miro/system.integration.miro.descriptor.js.map +1 -0
- package/dist/miro.catalog.plugin.d.ts +78 -0
- package/dist/miro.catalog.plugin.d.ts.map +1 -0
- package/dist/miro.catalog.plugin.js +21 -0
- package/dist/miro.catalog.plugin.js.map +1 -0
- package/dist/miro.client.plugin.d.ts +9 -0
- package/dist/miro.client.plugin.d.ts.map +1 -0
- package/dist/miro.client.plugin.js +38 -0
- package/dist/miro.client.plugin.js.map +1 -0
- package/dist/schemas/http.d.ts +42 -0
- package/dist/schemas/http.d.ts.map +1 -0
- package/dist/schemas/http.js +33 -0
- package/dist/schemas/http.js.map +1 -0
- package/dist/schemas/miro.d.ts +445 -0
- package/dist/schemas/miro.d.ts.map +1 -0
- package/dist/schemas/miro.js +171 -0
- package/dist/schemas/miro.js.map +1 -0
- package/dist/schemas/oauth.d.ts +136 -0
- package/dist/schemas/oauth.d.ts.map +1 -0
- package/dist/schemas/oauth.js +42 -0
- package/dist/schemas/oauth.js.map +1 -0
- package/dist/schemas/operations.d.ts +540 -0
- package/dist/schemas/operations.d.ts.map +1 -0
- package/dist/schemas/operations.js +58 -0
- package/dist/schemas/operations.js.map +1 -0
- package/dist/schemas/sync.d.ts +340 -0
- package/dist/schemas/sync.d.ts.map +1 -0
- package/dist/schemas/sync.js +40 -0
- package/dist/schemas/sync.js.map +1 -0
- package/dist/schemas/tools.d.ts +533 -0
- package/dist/schemas/tools.d.ts.map +1 -0
- package/dist/schemas/tools.js +58 -0
- package/dist/schemas/tools.js.map +1 -0
- package/dist/server/oauth.d.ts +17 -0
- package/dist/server/oauth.d.ts.map +1 -0
- package/dist/server/oauth.js +74 -0
- package/dist/server/oauth.js.map +1 -0
- package/dist/sync/miro.sync-endpoint.descriptor.d.ts +14 -0
- package/dist/sync/miro.sync-endpoint.descriptor.d.ts.map +1 -0
- package/dist/sync/miro.sync-endpoint.descriptor.js +10 -0
- package/dist/sync/miro.sync-endpoint.descriptor.js.map +1 -0
- package/dist/sync/miro.sync-endpoint.impl.d.ts +31 -0
- package/dist/sync/miro.sync-endpoint.impl.d.ts.map +1 -0
- package/dist/sync/miro.sync-endpoint.impl.js +353 -0
- package/dist/sync/miro.sync-endpoint.impl.js.map +1 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.d.ts +15 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.d.ts.map +1 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.js +15 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.js.map +1 -0
- package/dist/sync/miro.title.sync-mapping.impl.d.ts +17 -0
- package/dist/sync/miro.title.sync-mapping.impl.d.ts.map +1 -0
- package/dist/sync/miro.title.sync-mapping.impl.js +20 -0
- package/dist/sync/miro.title.sync-mapping.impl.js.map +1 -0
- package/dist/tools/descriptors.d.ts +1049 -0
- package/dist/tools/descriptors.d.ts.map +1 -0
- package/dist/tools/descriptors.js +152 -0
- package/dist/tools/descriptors.js.map +1 -0
- package/dist/tools/impl.d.ts +13 -0
- package/dist/tools/impl.d.ts.map +1 -0
- package/dist/tools/impl.js +60 -0
- package/dist/tools/impl.js.map +1 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +3 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/schemas.d.ts +2 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +2 -0
- package/dist/tools/schemas.js.map +1 -0
- package/package.json +104 -4
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
export declare const MiroInvokeIdentitySchema: z.ZodObject<{
|
|
3
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type MiroInvokeIdentity = z.infer<typeof MiroInvokeIdentitySchema>;
|
|
7
|
+
export declare const MiroUserIdSchema: z.ZodString;
|
|
8
|
+
export declare const MiroOrgIdSchema: z.ZodOptional<z.ZodString>;
|
|
9
|
+
export declare const MiroToolIdentitySchema: z.ZodPipe<z.ZodObject<{
|
|
10
|
+
userId: z.ZodString;
|
|
11
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
14
|
+
userId: string;
|
|
15
|
+
orgId: string | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
userId: string;
|
|
18
|
+
orgId?: string | undefined;
|
|
19
|
+
organizationId?: string | undefined;
|
|
20
|
+
}>>;
|
|
21
|
+
export declare const MiroOperationIdSchema: z.ZodEnum<{
|
|
22
|
+
listBoards: "listBoards";
|
|
23
|
+
getBoard: "getBoard";
|
|
24
|
+
createBoard: "createBoard";
|
|
25
|
+
updateBoard: "updateBoard";
|
|
26
|
+
listItems: "listItems";
|
|
27
|
+
getItem: "getItem";
|
|
28
|
+
createItem: "createItem";
|
|
29
|
+
updateItem: "updateItem";
|
|
30
|
+
deleteItem: "deleteItem";
|
|
31
|
+
"pull-board-items": "pull-board-items";
|
|
32
|
+
}>;
|
|
33
|
+
export type MiroOperationId = z.infer<typeof MiroOperationIdSchema>;
|
|
34
|
+
export declare const miroOperationInputs: {
|
|
35
|
+
listBoards: z.ZodObject<{
|
|
36
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
query: z.ZodOptional<z.ZodString>;
|
|
39
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
40
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
41
|
+
default: "default";
|
|
42
|
+
alphabetically: "alphabetically";
|
|
43
|
+
last_modified: "last_modified";
|
|
44
|
+
}>>;
|
|
45
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
46
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
getBoard: z.ZodObject<{
|
|
49
|
+
boardId: z.ZodString;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
createBoard: z.ZodObject<{
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
description: z.ZodOptional<z.ZodString>;
|
|
54
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
55
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
updateBoard: z.ZodObject<{
|
|
58
|
+
boardId: z.ZodString;
|
|
59
|
+
name: z.ZodOptional<z.ZodString>;
|
|
60
|
+
description: z.ZodOptional<z.ZodString>;
|
|
61
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
listItems: z.ZodObject<{
|
|
65
|
+
boardId: z.ZodString;
|
|
66
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
67
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
68
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
app_card: "app_card";
|
|
70
|
+
card: "card";
|
|
71
|
+
document: "document";
|
|
72
|
+
embed: "embed";
|
|
73
|
+
frame: "frame";
|
|
74
|
+
image: "image";
|
|
75
|
+
shape: "shape";
|
|
76
|
+
sticky_note: "sticky_note";
|
|
77
|
+
text: "text";
|
|
78
|
+
}>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
getItem: z.ZodObject<{
|
|
81
|
+
boardId: z.ZodString;
|
|
82
|
+
itemId: z.ZodString;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
createItem: z.ZodObject<{
|
|
85
|
+
boardId: z.ZodString;
|
|
86
|
+
type: z.ZodEnum<{
|
|
87
|
+
card: "card";
|
|
88
|
+
shape: "shape";
|
|
89
|
+
sticky_note: "sticky_note";
|
|
90
|
+
text: "text";
|
|
91
|
+
}>;
|
|
92
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
|
|
93
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
94
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
x: z.ZodNumber;
|
|
96
|
+
y: z.ZodNumber;
|
|
97
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
98
|
+
center: "center";
|
|
99
|
+
top_left: "top_left";
|
|
100
|
+
}>>;
|
|
101
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
102
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
107
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
id: z.ZodNullable<z.ZodString>;
|
|
109
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
110
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
updateItem: z.ZodObject<{
|
|
113
|
+
boardId: z.ZodString;
|
|
114
|
+
itemId: z.ZodString;
|
|
115
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
116
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
117
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
x: z.ZodNumber;
|
|
119
|
+
y: z.ZodNumber;
|
|
120
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
121
|
+
center: "center";
|
|
122
|
+
top_left: "top_left";
|
|
123
|
+
}>>;
|
|
124
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
125
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
128
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
130
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
id: z.ZodNullable<z.ZodString>;
|
|
132
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
133
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
134
|
+
type: z.ZodEnum<{
|
|
135
|
+
card: "card";
|
|
136
|
+
shape: "shape";
|
|
137
|
+
sticky_note: "sticky_note";
|
|
138
|
+
text: "text";
|
|
139
|
+
}>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
deleteItem: z.ZodObject<{
|
|
142
|
+
boardId: z.ZodString;
|
|
143
|
+
itemId: z.ZodString;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
'pull-board-items': z.ZodObject<{
|
|
146
|
+
boardId: z.ZodString;
|
|
147
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
148
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
149
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
150
|
+
app_card: "app_card";
|
|
151
|
+
card: "card";
|
|
152
|
+
document: "document";
|
|
153
|
+
embed: "embed";
|
|
154
|
+
frame: "frame";
|
|
155
|
+
image: "image";
|
|
156
|
+
shape: "shape";
|
|
157
|
+
sticky_note: "sticky_note";
|
|
158
|
+
text: "text";
|
|
159
|
+
}>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
};
|
|
162
|
+
export declare const miroOperationResults: {
|
|
163
|
+
listBoards: z.ZodObject<{
|
|
164
|
+
boards: z.ZodArray<z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
type: z.ZodOptional<z.ZodLiteral<"board">>;
|
|
167
|
+
name: z.ZodString;
|
|
168
|
+
description: z.ZodOptional<z.ZodString>;
|
|
169
|
+
viewLink: z.ZodOptional<z.ZodString>;
|
|
170
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
171
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
172
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
id: z.ZodString;
|
|
174
|
+
type: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
176
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
type: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
180
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
181
|
+
id: z.ZodString;
|
|
182
|
+
type: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
184
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
type: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
188
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
id: z.ZodString;
|
|
190
|
+
type: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
192
|
+
policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
193
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
194
|
+
size: z.ZodNumber;
|
|
195
|
+
limit: z.ZodNumber;
|
|
196
|
+
offset: z.ZodNumber;
|
|
197
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
getBoard: z.ZodNullable<z.ZodObject<{
|
|
200
|
+
id: z.ZodString;
|
|
201
|
+
type: z.ZodOptional<z.ZodLiteral<"board">>;
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
description: z.ZodOptional<z.ZodString>;
|
|
204
|
+
viewLink: z.ZodOptional<z.ZodString>;
|
|
205
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
206
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
207
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
id: z.ZodString;
|
|
209
|
+
type: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
211
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
type: z.ZodOptional<z.ZodString>;
|
|
214
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
215
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
id: z.ZodString;
|
|
217
|
+
type: z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
219
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
type: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
223
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
id: z.ZodString;
|
|
225
|
+
type: z.ZodOptional<z.ZodString>;
|
|
226
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
227
|
+
policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
228
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
229
|
+
createBoard: z.ZodObject<{
|
|
230
|
+
id: z.ZodString;
|
|
231
|
+
type: z.ZodOptional<z.ZodLiteral<"board">>;
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
description: z.ZodOptional<z.ZodString>;
|
|
234
|
+
viewLink: z.ZodOptional<z.ZodString>;
|
|
235
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
236
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
237
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
type: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
241
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
id: z.ZodString;
|
|
243
|
+
type: z.ZodOptional<z.ZodString>;
|
|
244
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
245
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
id: z.ZodString;
|
|
247
|
+
type: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
249
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
id: z.ZodString;
|
|
251
|
+
type: z.ZodOptional<z.ZodString>;
|
|
252
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
253
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
id: z.ZodString;
|
|
255
|
+
type: z.ZodOptional<z.ZodString>;
|
|
256
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
257
|
+
policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
258
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
259
|
+
updateBoard: z.ZodObject<{
|
|
260
|
+
boardId: z.ZodString;
|
|
261
|
+
state: z.ZodEnum<{
|
|
262
|
+
completed: "completed";
|
|
263
|
+
accepted: "accepted";
|
|
264
|
+
}>;
|
|
265
|
+
board: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
id: z.ZodString;
|
|
267
|
+
type: z.ZodOptional<z.ZodLiteral<"board">>;
|
|
268
|
+
name: z.ZodString;
|
|
269
|
+
description: z.ZodOptional<z.ZodString>;
|
|
270
|
+
viewLink: z.ZodOptional<z.ZodString>;
|
|
271
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
272
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
273
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
id: z.ZodString;
|
|
275
|
+
type: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
277
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
type: z.ZodOptional<z.ZodString>;
|
|
280
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
281
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
id: z.ZodString;
|
|
283
|
+
type: z.ZodOptional<z.ZodString>;
|
|
284
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
285
|
+
team: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
id: z.ZodString;
|
|
287
|
+
type: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
289
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
id: z.ZodString;
|
|
291
|
+
type: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
293
|
+
policy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
294
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
295
|
+
pendingFields: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
296
|
+
name: "name";
|
|
297
|
+
description: "description";
|
|
298
|
+
teamId: "teamId";
|
|
299
|
+
projectId: "projectId";
|
|
300
|
+
}>>>;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
listItems: z.ZodObject<{
|
|
303
|
+
items: z.ZodArray<z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
type: z.ZodEnum<{
|
|
306
|
+
app_card: "app_card";
|
|
307
|
+
card: "card";
|
|
308
|
+
document: "document";
|
|
309
|
+
embed: "embed";
|
|
310
|
+
frame: "frame";
|
|
311
|
+
image: "image";
|
|
312
|
+
shape: "shape";
|
|
313
|
+
sticky_note: "sticky_note";
|
|
314
|
+
text: "text";
|
|
315
|
+
}>;
|
|
316
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
317
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
318
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
x: z.ZodNumber;
|
|
320
|
+
y: z.ZodNumber;
|
|
321
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
322
|
+
center: "center";
|
|
323
|
+
top_left: "top_left";
|
|
324
|
+
}>>;
|
|
325
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
326
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
331
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
id: z.ZodNullable<z.ZodString>;
|
|
333
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
334
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
335
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
336
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
337
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
id: z.ZodString;
|
|
339
|
+
type: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
341
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
342
|
+
id: z.ZodString;
|
|
343
|
+
type: z.ZodOptional<z.ZodString>;
|
|
344
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
345
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
346
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
347
|
+
hasMore: z.ZodBoolean;
|
|
348
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>;
|
|
350
|
+
getItem: z.ZodNullable<z.ZodObject<{
|
|
351
|
+
id: z.ZodString;
|
|
352
|
+
type: z.ZodEnum<{
|
|
353
|
+
app_card: "app_card";
|
|
354
|
+
card: "card";
|
|
355
|
+
document: "document";
|
|
356
|
+
embed: "embed";
|
|
357
|
+
frame: "frame";
|
|
358
|
+
image: "image";
|
|
359
|
+
shape: "shape";
|
|
360
|
+
sticky_note: "sticky_note";
|
|
361
|
+
text: "text";
|
|
362
|
+
}>;
|
|
363
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
364
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
365
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
x: z.ZodNumber;
|
|
367
|
+
y: z.ZodNumber;
|
|
368
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
369
|
+
center: "center";
|
|
370
|
+
top_left: "top_left";
|
|
371
|
+
}>>;
|
|
372
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
373
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
378
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
379
|
+
id: z.ZodNullable<z.ZodString>;
|
|
380
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
381
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
382
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
383
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
384
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
id: z.ZodString;
|
|
386
|
+
type: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
388
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
389
|
+
id: z.ZodString;
|
|
390
|
+
type: z.ZodOptional<z.ZodString>;
|
|
391
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
392
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
393
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
394
|
+
createItem: z.ZodObject<{
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
type: z.ZodEnum<{
|
|
397
|
+
app_card: "app_card";
|
|
398
|
+
card: "card";
|
|
399
|
+
document: "document";
|
|
400
|
+
embed: "embed";
|
|
401
|
+
frame: "frame";
|
|
402
|
+
image: "image";
|
|
403
|
+
shape: "shape";
|
|
404
|
+
sticky_note: "sticky_note";
|
|
405
|
+
text: "text";
|
|
406
|
+
}>;
|
|
407
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
408
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
409
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
x: z.ZodNumber;
|
|
411
|
+
y: z.ZodNumber;
|
|
412
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
413
|
+
center: "center";
|
|
414
|
+
top_left: "top_left";
|
|
415
|
+
}>>;
|
|
416
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
417
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
422
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
423
|
+
id: z.ZodNullable<z.ZodString>;
|
|
424
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
425
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
426
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
427
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
428
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
id: z.ZodString;
|
|
430
|
+
type: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
432
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
433
|
+
id: z.ZodString;
|
|
434
|
+
type: z.ZodOptional<z.ZodString>;
|
|
435
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
436
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
437
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
438
|
+
updateItem: z.ZodObject<{
|
|
439
|
+
id: z.ZodString;
|
|
440
|
+
type: z.ZodEnum<{
|
|
441
|
+
app_card: "app_card";
|
|
442
|
+
card: "card";
|
|
443
|
+
document: "document";
|
|
444
|
+
embed: "embed";
|
|
445
|
+
frame: "frame";
|
|
446
|
+
image: "image";
|
|
447
|
+
shape: "shape";
|
|
448
|
+
sticky_note: "sticky_note";
|
|
449
|
+
text: "text";
|
|
450
|
+
}>;
|
|
451
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
452
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
453
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
x: z.ZodNumber;
|
|
455
|
+
y: z.ZodNumber;
|
|
456
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
457
|
+
center: "center";
|
|
458
|
+
top_left: "top_left";
|
|
459
|
+
}>>;
|
|
460
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
461
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
463
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
464
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
465
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
466
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
467
|
+
id: z.ZodNullable<z.ZodString>;
|
|
468
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
469
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
470
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
471
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
472
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
id: z.ZodString;
|
|
474
|
+
type: z.ZodOptional<z.ZodString>;
|
|
475
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
476
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
477
|
+
id: z.ZodString;
|
|
478
|
+
type: z.ZodOptional<z.ZodString>;
|
|
479
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
480
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
481
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
482
|
+
deleteItem: z.ZodObject<{
|
|
483
|
+
deleted: z.ZodLiteral<true>;
|
|
484
|
+
itemId: z.ZodString;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
'pull-board-items': z.ZodObject<{
|
|
487
|
+
items: z.ZodArray<z.ZodObject<{
|
|
488
|
+
id: z.ZodString;
|
|
489
|
+
type: z.ZodEnum<{
|
|
490
|
+
app_card: "app_card";
|
|
491
|
+
card: "card";
|
|
492
|
+
document: "document";
|
|
493
|
+
embed: "embed";
|
|
494
|
+
frame: "frame";
|
|
495
|
+
image: "image";
|
|
496
|
+
shape: "shape";
|
|
497
|
+
sticky_note: "sticky_note";
|
|
498
|
+
text: "text";
|
|
499
|
+
}>;
|
|
500
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
501
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
502
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
503
|
+
x: z.ZodNumber;
|
|
504
|
+
y: z.ZodNumber;
|
|
505
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
506
|
+
center: "center";
|
|
507
|
+
top_left: "top_left";
|
|
508
|
+
}>>;
|
|
509
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
510
|
+
geometry: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
513
|
+
rotation: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
515
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
516
|
+
id: z.ZodNullable<z.ZodString>;
|
|
517
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
518
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
519
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
520
|
+
modifiedAt: z.ZodOptional<z.ZodString>;
|
|
521
|
+
createdBy: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
id: z.ZodString;
|
|
523
|
+
type: z.ZodOptional<z.ZodString>;
|
|
524
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
525
|
+
modifiedBy: z.ZodOptional<z.ZodObject<{
|
|
526
|
+
id: z.ZodString;
|
|
527
|
+
type: z.ZodOptional<z.ZodString>;
|
|
528
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
529
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
530
|
+
}, z.core.$catchall<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>>;
|
|
531
|
+
hasMore: z.ZodBoolean;
|
|
532
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
533
|
+
scanned: z.ZodNumber;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
};
|
|
536
|
+
export type MiroOperationInput = z.input<(typeof miroOperationInputs)[MiroOperationId]>;
|
|
537
|
+
export type MiroOperationResult = z.output<(typeof miroOperationResults)[MiroOperationId]>;
|
|
538
|
+
export declare function parseMiroBoundary<T>(schema: z.ZodType<T>, value: unknown, upstream?: boolean): T;
|
|
539
|
+
export declare function parseMiroResponse<T>(schema: z.ZodType<T>, value: unknown): T;
|
|
540
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/schemas/operations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAI5B,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,eAAO,MAAM,gBAAgB,aAA2B,CAAC;AACzD,eAAO,MAAM,eAAe,4BAA8B,CAAC;AAC3D,eAAO,MAAM,sBAAsB;;;;;;;;;;;GAI0D,CAAC;AAE9F,eAAO,MAAM,qBAAqB;;;;;;;;;;;EAGhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW/B,CAAC;AACF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWhC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,mBAAmB,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;AACxF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,oBAAoB,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;AAE3F,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,UAAQ,GAAG,CAAC,CAQ9F;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,CAAC,CAI5E"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
3
|
+
import * as miro from "./miro.js";
|
|
4
|
+
export const MiroInvokeIdentitySchema = z.object({
|
|
5
|
+
userId: z.string().trim().min(1).optional(),
|
|
6
|
+
orgId: z.string().trim().min(1).optional()
|
|
7
|
+
});
|
|
8
|
+
export const MiroUserIdSchema = z.string().trim().min(1);
|
|
9
|
+
export const MiroOrgIdSchema = MiroUserIdSchema.optional();
|
|
10
|
+
export const MiroToolIdentitySchema = z.object({
|
|
11
|
+
userId: MiroUserIdSchema,
|
|
12
|
+
orgId: MiroUserIdSchema.optional(),
|
|
13
|
+
organizationId: MiroUserIdSchema.optional()
|
|
14
|
+
}).transform(value => ({ userId: value.userId, orgId: value.orgId ?? value.organizationId }));
|
|
15
|
+
export const MiroOperationIdSchema = z.enum([
|
|
16
|
+
'listBoards', 'getBoard', 'createBoard', 'updateBoard', 'listItems',
|
|
17
|
+
'getItem', 'createItem', 'updateItem', 'deleteItem', 'pull-board-items'
|
|
18
|
+
]);
|
|
19
|
+
export const miroOperationInputs = {
|
|
20
|
+
listBoards: miro.MiroBoardListOptionsSchema,
|
|
21
|
+
getBoard: miro.MiroBoardIdInputSchema,
|
|
22
|
+
createBoard: miro.CreateMiroBoardInputSchema,
|
|
23
|
+
updateBoard: miro.UpdateMiroBoardInputSchema,
|
|
24
|
+
listItems: miro.MiroItemListOptionsSchema,
|
|
25
|
+
getItem: miro.MiroItemIdInputSchema,
|
|
26
|
+
createItem: miro.CreateMiroItemInputSchema,
|
|
27
|
+
updateItem: miro.UpdateMiroItemInputSchema,
|
|
28
|
+
deleteItem: miro.MiroItemIdInputSchema,
|
|
29
|
+
'pull-board-items': miro.MiroPullOptionsSchema
|
|
30
|
+
};
|
|
31
|
+
export const miroOperationResults = {
|
|
32
|
+
listBoards: miro.MiroBoardListResultSchema,
|
|
33
|
+
getBoard: miro.MiroBoardSchema.nullable(),
|
|
34
|
+
createBoard: miro.MiroBoardSchema,
|
|
35
|
+
updateBoard: miro.MiroBoardUpdateResultSchema,
|
|
36
|
+
listItems: miro.MiroItemListResultSchema,
|
|
37
|
+
getItem: miro.MiroItemSchema.nullable(),
|
|
38
|
+
createItem: miro.MiroItemSchema,
|
|
39
|
+
updateItem: miro.MiroItemSchema,
|
|
40
|
+
deleteItem: miro.DeleteMiroItemResultSchema,
|
|
41
|
+
'pull-board-items': miro.MiroPullResultSchema
|
|
42
|
+
};
|
|
43
|
+
export function parseMiroBoundary(schema, value, upstream = false) {
|
|
44
|
+
const parsed = schema.safeParse(value);
|
|
45
|
+
if (!parsed.success) {
|
|
46
|
+
throw new CapabilityError('Miro boundary validation failed.', upstream ? 'INTERNAL' : 'INVALID_INPUT', {
|
|
47
|
+
reason: upstream ? 'miro-result-invalid' : 'miro-input-invalid'
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
return parsed.data;
|
|
51
|
+
}
|
|
52
|
+
export function parseMiroResponse(schema, value) {
|
|
53
|
+
const parsed = schema.safeParse(value);
|
|
54
|
+
if (!parsed.success)
|
|
55
|
+
throw new CapabilityError('Miro result is invalid.', 'INTERNAL', { reason: 'miro-result-invalid' });
|
|
56
|
+
return parsed.data;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/schemas/operations.ts"],"names":[],"mappings":"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"}
|