@gravity-platform/miro-bridge 0.1.1

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 (45) hide show
  1. package/dist/MiroBridge/node/executor.d.ts +19 -0
  2. package/dist/MiroBridge/node/executor.d.ts.map +1 -0
  3. package/dist/MiroBridge/node/executor.js +143 -0
  4. package/dist/MiroBridge/node/executor.js.map +1 -0
  5. package/dist/MiroBridge/node/index.d.ts +10 -0
  6. package/dist/MiroBridge/node/index.d.ts.map +1 -0
  7. package/dist/MiroBridge/node/index.js +87 -0
  8. package/dist/MiroBridge/node/index.js.map +1 -0
  9. package/dist/MiroBridge/service/boardStore.d.ts +15 -0
  10. package/dist/MiroBridge/service/boardStore.d.ts.map +1 -0
  11. package/dist/MiroBridge/service/boardStore.js +151 -0
  12. package/dist/MiroBridge/service/boardStore.js.map +1 -0
  13. package/dist/MiroBridge/service/diagramLayout.d.ts +13 -0
  14. package/dist/MiroBridge/service/diagramLayout.d.ts.map +1 -0
  15. package/dist/MiroBridge/service/diagramLayout.js +241 -0
  16. package/dist/MiroBridge/service/diagramLayout.js.map +1 -0
  17. package/dist/MiroBridge/service/mcpHandlers.d.ts +18 -0
  18. package/dist/MiroBridge/service/mcpHandlers.d.ts.map +1 -0
  19. package/dist/MiroBridge/service/mcpHandlers.js +307 -0
  20. package/dist/MiroBridge/service/mcpHandlers.js.map +1 -0
  21. package/dist/MiroBridge/service/mcpSchema.d.ts +490 -0
  22. package/dist/MiroBridge/service/mcpSchema.d.ts.map +1 -0
  23. package/dist/MiroBridge/service/mcpSchema.js +262 -0
  24. package/dist/MiroBridge/service/mcpSchema.js.map +1 -0
  25. package/dist/MiroBridge/service/miroApi.d.ts +32 -0
  26. package/dist/MiroBridge/service/miroApi.d.ts.map +1 -0
  27. package/dist/MiroBridge/service/miroApi.js +262 -0
  28. package/dist/MiroBridge/service/miroApi.js.map +1 -0
  29. package/dist/MiroBridge/service/normalise.d.ts +2 -0
  30. package/dist/MiroBridge/service/normalise.d.ts.map +1 -0
  31. package/dist/MiroBridge/service/normalise.js +52 -0
  32. package/dist/MiroBridge/service/normalise.js.map +1 -0
  33. package/dist/MiroBridge/util/types.d.ts +78 -0
  34. package/dist/MiroBridge/util/types.d.ts.map +1 -0
  35. package/dist/MiroBridge/util/types.js +3 -0
  36. package/dist/MiroBridge/util/types.js.map +1 -0
  37. package/dist/credentials/index.d.ts +23 -0
  38. package/dist/credentials/index.d.ts.map +1 -0
  39. package/dist/credentials/index.js +28 -0
  40. package/dist/credentials/index.js.map +1 -0
  41. package/dist/index.d.ts +3 -0
  42. package/dist/index.d.ts.map +1 -0
  43. package/dist/index.js +55 -0
  44. package/dist/index.js.map +1 -0
  45. package/package.json +25 -0
@@ -0,0 +1,490 @@
1
+ export declare const MiroBridgeMCPSchema: {
2
+ name: string;
3
+ version: string;
4
+ description: string;
5
+ methods: {
6
+ get_board_state: {
7
+ description: string;
8
+ input: {
9
+ type: string;
10
+ properties: {};
11
+ };
12
+ output: {
13
+ type: string;
14
+ properties: {
15
+ ok: {
16
+ type: string;
17
+ };
18
+ items: {
19
+ type: string;
20
+ };
21
+ count: {
22
+ type: string;
23
+ };
24
+ };
25
+ };
26
+ };
27
+ get_selection: {
28
+ description: string;
29
+ input: {
30
+ type: string;
31
+ properties: {};
32
+ };
33
+ output: {
34
+ type: string;
35
+ properties: {
36
+ ok: {
37
+ type: string;
38
+ };
39
+ items: {
40
+ type: string;
41
+ };
42
+ };
43
+ };
44
+ };
45
+ create_sticky: {
46
+ description: string;
47
+ input: {
48
+ type: string;
49
+ properties: {
50
+ text: {
51
+ type: string;
52
+ };
53
+ color: {
54
+ type: string;
55
+ enum: string[];
56
+ };
57
+ parentId: {
58
+ type: string;
59
+ description: string;
60
+ };
61
+ };
62
+ required: string[];
63
+ };
64
+ output: {
65
+ type: string;
66
+ properties: {
67
+ ok: {
68
+ type: string;
69
+ };
70
+ id: {
71
+ type: string;
72
+ };
73
+ };
74
+ };
75
+ };
76
+ create_text: {
77
+ description: string;
78
+ input: {
79
+ type: string;
80
+ properties: {
81
+ text: {
82
+ type: string;
83
+ };
84
+ fontSize: {
85
+ type: string;
86
+ description: string;
87
+ };
88
+ parentId: {
89
+ type: string;
90
+ description: string;
91
+ };
92
+ };
93
+ required: string[];
94
+ };
95
+ output: {
96
+ type: string;
97
+ properties: {
98
+ ok: {
99
+ type: string;
100
+ };
101
+ id: {
102
+ type: string;
103
+ };
104
+ };
105
+ };
106
+ };
107
+ create_frame: {
108
+ description: string;
109
+ input: {
110
+ type: string;
111
+ properties: {
112
+ title: {
113
+ type: string;
114
+ };
115
+ width: {
116
+ type: string;
117
+ description: string;
118
+ };
119
+ height: {
120
+ type: string;
121
+ description: string;
122
+ };
123
+ };
124
+ required: string[];
125
+ };
126
+ output: {
127
+ type: string;
128
+ properties: {
129
+ ok: {
130
+ type: string;
131
+ };
132
+ id: {
133
+ type: string;
134
+ };
135
+ };
136
+ };
137
+ };
138
+ create_card: {
139
+ description: string;
140
+ input: {
141
+ type: string;
142
+ properties: {
143
+ title: {
144
+ type: string;
145
+ };
146
+ description: {
147
+ type: string;
148
+ };
149
+ dueDate: {
150
+ type: string;
151
+ description: string;
152
+ };
153
+ parentId: {
154
+ type: string;
155
+ description: string;
156
+ };
157
+ };
158
+ required: string[];
159
+ };
160
+ output: {
161
+ type: string;
162
+ properties: {
163
+ ok: {
164
+ type: string;
165
+ };
166
+ id: {
167
+ type: string;
168
+ };
169
+ };
170
+ };
171
+ };
172
+ create_app_card: {
173
+ description: string;
174
+ input: {
175
+ type: string;
176
+ properties: {
177
+ title: {
178
+ type: string;
179
+ };
180
+ description: {
181
+ type: string;
182
+ };
183
+ status: {
184
+ type: string;
185
+ enum: string[];
186
+ description: string;
187
+ };
188
+ fields: {
189
+ type: string;
190
+ description: string;
191
+ items: {
192
+ type: string;
193
+ properties: {
194
+ value: {
195
+ type: string;
196
+ };
197
+ fillColor: {
198
+ type: string;
199
+ description: string;
200
+ };
201
+ textColor: {
202
+ type: string;
203
+ };
204
+ iconUrl: {
205
+ type: string;
206
+ };
207
+ iconShape: {
208
+ type: string;
209
+ enum: string[];
210
+ };
211
+ tooltip: {
212
+ type: string;
213
+ };
214
+ };
215
+ };
216
+ };
217
+ parentId: {
218
+ type: string;
219
+ description: string;
220
+ };
221
+ };
222
+ required: string[];
223
+ };
224
+ output: {
225
+ type: string;
226
+ properties: {
227
+ ok: {
228
+ type: string;
229
+ };
230
+ id: {
231
+ type: string;
232
+ };
233
+ };
234
+ };
235
+ };
236
+ create_image: {
237
+ description: string;
238
+ input: {
239
+ type: string;
240
+ properties: {
241
+ url: {
242
+ type: string;
243
+ description: string;
244
+ };
245
+ width: {
246
+ type: string;
247
+ description: string;
248
+ };
249
+ parentId: {
250
+ type: string;
251
+ description: string;
252
+ };
253
+ };
254
+ required: string[];
255
+ };
256
+ output: {
257
+ type: string;
258
+ properties: {
259
+ ok: {
260
+ type: string;
261
+ };
262
+ id: {
263
+ type: string;
264
+ };
265
+ };
266
+ };
267
+ };
268
+ update_item: {
269
+ description: string;
270
+ input: {
271
+ type: string;
272
+ properties: {
273
+ id: {
274
+ type: string;
275
+ };
276
+ content: {
277
+ type: string;
278
+ };
279
+ x: {
280
+ type: string;
281
+ };
282
+ y: {
283
+ type: string;
284
+ };
285
+ width: {
286
+ type: string;
287
+ };
288
+ height: {
289
+ type: string;
290
+ };
291
+ style: {
292
+ type: string;
293
+ };
294
+ fields: {
295
+ type: string;
296
+ description: string;
297
+ items: {
298
+ type: string;
299
+ properties: {
300
+ value: {
301
+ type: string;
302
+ };
303
+ fillColor: {
304
+ type: string;
305
+ };
306
+ textColor: {
307
+ type: string;
308
+ };
309
+ tooltip: {
310
+ type: string;
311
+ };
312
+ };
313
+ };
314
+ };
315
+ };
316
+ required: string[];
317
+ };
318
+ output: {
319
+ type: string;
320
+ properties: {
321
+ ok: {
322
+ type: string;
323
+ };
324
+ id: {
325
+ type: string;
326
+ };
327
+ };
328
+ };
329
+ };
330
+ delete_item: {
331
+ description: string;
332
+ input: {
333
+ type: string;
334
+ properties: {
335
+ id: {
336
+ type: string;
337
+ };
338
+ };
339
+ required: string[];
340
+ };
341
+ output: {
342
+ type: string;
343
+ properties: {
344
+ ok: {
345
+ type: string;
346
+ };
347
+ };
348
+ };
349
+ };
350
+ create_connector: {
351
+ description: string;
352
+ input: {
353
+ type: string;
354
+ properties: {
355
+ startItemId: {
356
+ type: string;
357
+ };
358
+ endItemId: {
359
+ type: string;
360
+ };
361
+ label: {
362
+ type: string;
363
+ };
364
+ shape: {
365
+ type: string;
366
+ enum: string[];
367
+ description: string;
368
+ };
369
+ startCap: {
370
+ type: string;
371
+ enum: string[];
372
+ description: string;
373
+ };
374
+ endCap: {
375
+ type: string;
376
+ enum: string[];
377
+ description: string;
378
+ };
379
+ };
380
+ required: string[];
381
+ };
382
+ output: {
383
+ type: string;
384
+ properties: {
385
+ ok: {
386
+ type: string;
387
+ };
388
+ id: {
389
+ type: string;
390
+ };
391
+ };
392
+ };
393
+ };
394
+ add_tag: {
395
+ description: string;
396
+ input: {
397
+ type: string;
398
+ properties: {
399
+ title: {
400
+ type: string;
401
+ description: string;
402
+ };
403
+ itemId: {
404
+ type: string;
405
+ description: string;
406
+ };
407
+ color: {
408
+ type: string;
409
+ enum: string[];
410
+ description: string;
411
+ };
412
+ };
413
+ required: string[];
414
+ };
415
+ output: {
416
+ type: string;
417
+ properties: {
418
+ ok: {
419
+ type: string;
420
+ };
421
+ id: {
422
+ type: string;
423
+ };
424
+ };
425
+ };
426
+ };
427
+ zoom_to: {
428
+ description: string;
429
+ input: {
430
+ type: string;
431
+ properties: {
432
+ itemIds: {
433
+ type: string;
434
+ items: {
435
+ type: string;
436
+ };
437
+ };
438
+ };
439
+ required: string[];
440
+ };
441
+ output: {
442
+ type: string;
443
+ properties: {
444
+ ok: {
445
+ type: string;
446
+ };
447
+ };
448
+ };
449
+ };
450
+ create_diagram: {
451
+ description: string;
452
+ input: {
453
+ type: string;
454
+ properties: {
455
+ dsl: {
456
+ type: string;
457
+ description: string;
458
+ };
459
+ parentId: {
460
+ type: string;
461
+ description: string;
462
+ };
463
+ title: {
464
+ type: string;
465
+ description: string;
466
+ };
467
+ };
468
+ required: string[];
469
+ };
470
+ output: {
471
+ type: string;
472
+ properties: {
473
+ ok: {
474
+ type: string;
475
+ };
476
+ itemIds: {
477
+ type: string;
478
+ items: {
479
+ type: string;
480
+ };
481
+ };
482
+ parentId: {
483
+ type: string;
484
+ };
485
+ };
486
+ };
487
+ };
488
+ };
489
+ };
490
+ //# sourceMappingURL=mcpSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpSchema.d.ts","sourceRoot":"","sources":["../../../src/MiroBridge/service/mcpSchema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqR/B,CAAC"}