@next-bricks/ai-portal 0.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.
Files changed (140) hide show
  1. package/dist/bricks.json +21 -0
  2. package/dist/chunks/1045.07fed1b5.js +2 -0
  3. package/dist/chunks/1045.07fed1b5.js.map +1 -0
  4. package/dist/chunks/1086.139e75b4.js +2 -0
  5. package/dist/chunks/1086.139e75b4.js.map +1 -0
  6. package/dist/chunks/1122.9dcaa54e.js +2 -0
  7. package/dist/chunks/1122.9dcaa54e.js.map +1 -0
  8. package/dist/chunks/114.edeb665e.js +2 -0
  9. package/dist/chunks/114.edeb665e.js.map +1 -0
  10. package/dist/chunks/1370.25ebf7b8.js +2 -0
  11. package/dist/chunks/1370.25ebf7b8.js.map +1 -0
  12. package/dist/chunks/1889.e5637ffa.js +2 -0
  13. package/dist/chunks/1889.e5637ffa.js.map +1 -0
  14. package/dist/chunks/1940.674f0e20.js +2 -0
  15. package/dist/chunks/1940.674f0e20.js.map +1 -0
  16. package/dist/chunks/2052.12bb32f3.js +2 -0
  17. package/dist/chunks/2052.12bb32f3.js.map +1 -0
  18. package/dist/chunks/2259.fc89bbe1.js +3 -0
  19. package/dist/chunks/2259.fc89bbe1.js.LICENSE.txt +17 -0
  20. package/dist/chunks/2259.fc89bbe1.js.map +1 -0
  21. package/dist/chunks/2277.a95810e5.js +2 -0
  22. package/dist/chunks/2277.a95810e5.js.map +1 -0
  23. package/dist/chunks/2569.af96d40a.js +2 -0
  24. package/dist/chunks/2569.af96d40a.js.map +1 -0
  25. package/dist/chunks/3144.a54c8d65.js +3 -0
  26. package/dist/chunks/3144.a54c8d65.js.LICENSE.txt +19 -0
  27. package/dist/chunks/3144.a54c8d65.js.map +1 -0
  28. package/dist/chunks/3171.33dbd1c2.js +2 -0
  29. package/dist/chunks/3171.33dbd1c2.js.map +1 -0
  30. package/dist/chunks/3426.053742ef.js +2 -0
  31. package/dist/chunks/3426.053742ef.js.map +1 -0
  32. package/dist/chunks/3458.90f259f4.js +3 -0
  33. package/dist/chunks/3458.90f259f4.js.LICENSE.txt +11 -0
  34. package/dist/chunks/3458.90f259f4.js.map +1 -0
  35. package/dist/chunks/3506.0d6e4b61.js +2 -0
  36. package/dist/chunks/3506.0d6e4b61.js.map +1 -0
  37. package/dist/chunks/3933.46c6b203.js +2 -0
  38. package/dist/chunks/3933.46c6b203.js.map +1 -0
  39. package/dist/chunks/4041.6ba6fafa.js +3 -0
  40. package/dist/chunks/4041.6ba6fafa.js.LICENSE.txt +9 -0
  41. package/dist/chunks/4041.6ba6fafa.js.map +1 -0
  42. package/dist/chunks/4306.7ea515ce.js +2 -0
  43. package/dist/chunks/4306.7ea515ce.js.map +1 -0
  44. package/dist/chunks/4507.5ef68765.js +3 -0
  45. package/dist/chunks/4507.5ef68765.js.LICENSE.txt +1 -0
  46. package/dist/chunks/4507.5ef68765.js.map +1 -0
  47. package/dist/chunks/4658.b0138e9e.js +2 -0
  48. package/dist/chunks/4658.b0138e9e.js.map +1 -0
  49. package/dist/chunks/5105.e769a484.js +2 -0
  50. package/dist/chunks/5105.e769a484.js.map +1 -0
  51. package/dist/chunks/5250.7614fa5b.js +3 -0
  52. package/dist/chunks/5250.7614fa5b.js.LICENSE.txt +8 -0
  53. package/dist/chunks/5250.7614fa5b.js.map +1 -0
  54. package/dist/chunks/5384.451ded3d.js +2 -0
  55. package/dist/chunks/5384.451ded3d.js.map +1 -0
  56. package/dist/chunks/5399.da78e6e2.js +2 -0
  57. package/dist/chunks/5399.da78e6e2.js.map +1 -0
  58. package/dist/chunks/5552.53db1092.js +2 -0
  59. package/dist/chunks/5552.53db1092.js.map +1 -0
  60. package/dist/chunks/6314.11c44a7e.js +2 -0
  61. package/dist/chunks/6314.11c44a7e.js.map +1 -0
  62. package/dist/chunks/6519.836946b6.js +2 -0
  63. package/dist/chunks/6519.836946b6.js.map +1 -0
  64. package/dist/chunks/6773.7fbec27a.js +2 -0
  65. package/dist/chunks/6773.7fbec27a.js.map +1 -0
  66. package/dist/chunks/7039.5503f3d9.js +2 -0
  67. package/dist/chunks/7039.5503f3d9.js.map +1 -0
  68. package/dist/chunks/726.0bc62720.js +2 -0
  69. package/dist/chunks/726.0bc62720.js.map +1 -0
  70. package/dist/chunks/7486.d3328a25.js +2 -0
  71. package/dist/chunks/7486.d3328a25.js.map +1 -0
  72. package/dist/chunks/7721.4c786e0a.js +3 -0
  73. package/dist/chunks/7721.4c786e0a.js.LICENSE.txt +3 -0
  74. package/dist/chunks/7721.4c786e0a.js.map +1 -0
  75. package/dist/chunks/7733.777c181e.js +2 -0
  76. package/dist/chunks/7733.777c181e.js.map +1 -0
  77. package/dist/chunks/843.0c7e4c28.js +2 -0
  78. package/dist/chunks/843.0c7e4c28.js.map +1 -0
  79. package/dist/chunks/871.623e9948.js +2 -0
  80. package/dist/chunks/871.623e9948.js.map +1 -0
  81. package/dist/chunks/8989.6f404d42.js +2 -0
  82. package/dist/chunks/8989.6f404d42.js.map +1 -0
  83. package/dist/chunks/9515.02c68755.js +2 -0
  84. package/dist/chunks/9515.02c68755.js.map +1 -0
  85. package/dist/chunks/9559.4479bc89.js +2 -0
  86. package/dist/chunks/9559.4479bc89.js.map +1 -0
  87. package/dist/chunks/9844.a4320543.js +2 -0
  88. package/dist/chunks/9844.a4320543.js.map +1 -0
  89. package/dist/chunks/chat-box.1ad19f84.js +2 -0
  90. package/dist/chunks/chat-box.1ad19f84.js.map +1 -0
  91. package/dist/chunks/cruise-canvas.a760429c.js +2 -0
  92. package/dist/chunks/cruise-canvas.a760429c.js.map +1 -0
  93. package/dist/chunks/main.c636a19a.js +2 -0
  94. package/dist/chunks/main.c636a19a.js.map +1 -0
  95. package/dist/examples.json +8 -0
  96. package/dist/images/854a0152.png +0 -0
  97. package/dist/images/a1d108f4.png +0 -0
  98. package/dist/images/b1e65906.png +0 -0
  99. package/dist/images/d4ea5a5c.png +0 -0
  100. package/dist/images/e7d89ec3.png +0 -0
  101. package/dist/index.bd9bab76.js +2 -0
  102. package/dist/index.bd9bab76.js.map +1 -0
  103. package/dist/manifest.json +60 -0
  104. package/dist/types.json +742 -0
  105. package/dist-types/bootstrap.d.ts +2 -0
  106. package/dist-types/chat-box/i18n.d.ts +15 -0
  107. package/dist-types/chat-box/index.d.ts +18 -0
  108. package/dist-types/chat-box/index.spec.d.ts +1 -0
  109. package/dist-types/cruise-canvas/NodeEnd/NodeEnd.d.ts +4 -0
  110. package/dist-types/cruise-canvas/NodeInstruction/NodeInstruction.d.ts +5 -0
  111. package/dist-types/cruise-canvas/NodeJob/NodeJob.d.ts +7 -0
  112. package/dist-types/cruise-canvas/NodeRequirement/NodeRequirement.d.ts +6 -0
  113. package/dist-types/cruise-canvas/NodeStart/NodeStart.d.ts +1 -0
  114. package/dist-types/cruise-canvas/PlanProgress/PlanProgress.d.ts +5 -0
  115. package/dist-types/cruise-canvas/ZoomBar/ZoomBar.d.ts +6 -0
  116. package/dist-types/cruise-canvas/bricks.d.ts +4 -0
  117. package/dist-types/cruise-canvas/cmdb.d.ts +14 -0
  118. package/dist-types/cruise-canvas/constants.d.ts +7 -0
  119. package/dist-types/cruise-canvas/i18n.d.ts +19 -0
  120. package/dist-types/cruise-canvas/index.d.ts +23 -0
  121. package/dist-types/cruise-canvas/interfaces.d.ts +114 -0
  122. package/dist-types/cruise-canvas/reducers/error.d.ts +3 -0
  123. package/dist-types/cruise-canvas/reducers/error.spec.d.ts +1 -0
  124. package/dist-types/cruise-canvas/reducers/index.d.ts +3 -0
  125. package/dist-types/cruise-canvas/reducers/interfaces.d.ts +15 -0
  126. package/dist-types/cruise-canvas/reducers/jobs.d.ts +4 -0
  127. package/dist-types/cruise-canvas/reducers/jobs.spec.d.ts +1 -0
  128. package/dist-types/cruise-canvas/reducers/task.d.ts +4 -0
  129. package/dist-types/cruise-canvas/reducers/task.spec.d.ts +1 -0
  130. package/dist-types/cruise-canvas/useAutoCenter.d.ts +14 -0
  131. package/dist-types/cruise-canvas/useAutoCenter.spec.d.ts +1 -0
  132. package/dist-types/cruise-canvas/useLayout.d.ts +16 -0
  133. package/dist-types/cruise-canvas/useLayout.spec.d.ts +1 -0
  134. package/dist-types/cruise-canvas/useTaskDetail.d.ts +8 -0
  135. package/dist-types/cruise-canvas/useTaskGraph.d.ts +5 -0
  136. package/dist-types/cruise-canvas/useZoom.d.ts +20 -0
  137. package/dist-types/index.d.ts +0 -0
  138. package/docs/chat-box.md +67 -0
  139. package/docs/cruise-canvas.md +165 -0
  140. package/package.json +45 -0
@@ -0,0 +1,742 @@
1
+ {
2
+ "ai-portal.chat-box": {
3
+ "properties": [
4
+ {
5
+ "name": "disabled",
6
+ "annotation": {
7
+ "type": "keyword",
8
+ "value": "boolean"
9
+ }
10
+ }
11
+ ],
12
+ "events": [
13
+ {
14
+ "name": "message.submit",
15
+ "detail": {
16
+ "annotation": {
17
+ "type": "keyword",
18
+ "value": "string"
19
+ }
20
+ }
21
+ }
22
+ ],
23
+ "methods": []
24
+ },
25
+ "ai-portal.cruise-canvas": {
26
+ "properties": [
27
+ {
28
+ "name": "taskId",
29
+ "annotation": {
30
+ "type": "keyword",
31
+ "value": "string"
32
+ }
33
+ },
34
+ {
35
+ "name": "task",
36
+ "annotation": {
37
+ "type": "reference",
38
+ "typeName": {
39
+ "type": "identifier",
40
+ "name": "TaskBaseDetail"
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "name": "jobs",
46
+ "annotation": {
47
+ "type": "array",
48
+ "elementType": {
49
+ "type": "reference",
50
+ "typeName": {
51
+ "type": "identifier",
52
+ "name": "Job"
53
+ }
54
+ }
55
+ }
56
+ }
57
+ ],
58
+ "events": [
59
+ {
60
+ "name": "share",
61
+ "detail": {
62
+ "annotation": {
63
+ "type": "keyword",
64
+ "value": "void"
65
+ }
66
+ }
67
+ }
68
+ ],
69
+ "methods": [],
70
+ "types": [
71
+ {
72
+ "type": "typeAlias",
73
+ "name": "TaskBaseDetail",
74
+ "annotation": {
75
+ "type": "reference",
76
+ "typeName": {
77
+ "type": "identifier",
78
+ "name": "Omit"
79
+ },
80
+ "typeParameters": {
81
+ "type": "typeParameterInstantiation",
82
+ "params": [
83
+ {
84
+ "type": "reference",
85
+ "typeName": {
86
+ "type": "identifier",
87
+ "name": "Task"
88
+ }
89
+ },
90
+ {
91
+ "type": "jsLiteral",
92
+ "value": "jobs"
93
+ }
94
+ ]
95
+ }
96
+ }
97
+ },
98
+ {
99
+ "type": "interface",
100
+ "name": "Task",
101
+ "body": [
102
+ {
103
+ "type": "propertySignature",
104
+ "key": {
105
+ "type": "identifier",
106
+ "name": "id"
107
+ },
108
+ "annotation": {
109
+ "type": "keyword",
110
+ "value": "string"
111
+ },
112
+ "computed": false
113
+ },
114
+ {
115
+ "type": "propertySignature",
116
+ "key": {
117
+ "type": "identifier",
118
+ "name": "title"
119
+ },
120
+ "annotation": {
121
+ "type": "keyword",
122
+ "value": "string"
123
+ },
124
+ "computed": false
125
+ },
126
+ {
127
+ "type": "propertySignature",
128
+ "key": {
129
+ "type": "identifier",
130
+ "name": "requirement"
131
+ },
132
+ "annotation": {
133
+ "type": "keyword",
134
+ "value": "string"
135
+ },
136
+ "computed": false
137
+ },
138
+ {
139
+ "type": "propertySignature",
140
+ "key": {
141
+ "type": "identifier",
142
+ "name": "state"
143
+ },
144
+ "annotation": {
145
+ "type": "reference",
146
+ "typeName": {
147
+ "type": "identifier",
148
+ "name": "TaskState"
149
+ }
150
+ },
151
+ "computed": false
152
+ },
153
+ {
154
+ "type": "propertySignature",
155
+ "key": {
156
+ "type": "identifier",
157
+ "name": "plan"
158
+ },
159
+ "annotation": {
160
+ "type": "array",
161
+ "elementType": {
162
+ "type": "reference",
163
+ "typeName": {
164
+ "type": "identifier",
165
+ "name": "Step"
166
+ }
167
+ }
168
+ },
169
+ "computed": false
170
+ },
171
+ {
172
+ "type": "propertySignature",
173
+ "key": {
174
+ "type": "identifier",
175
+ "name": "jobs"
176
+ },
177
+ "annotation": {
178
+ "type": "array",
179
+ "elementType": {
180
+ "type": "reference",
181
+ "typeName": {
182
+ "type": "identifier",
183
+ "name": "Job"
184
+ }
185
+ }
186
+ },
187
+ "computed": false
188
+ },
189
+ {
190
+ "type": "propertySignature",
191
+ "key": {
192
+ "type": "identifier",
193
+ "name": "startTime"
194
+ },
195
+ "annotation": {
196
+ "type": "keyword",
197
+ "value": "number"
198
+ },
199
+ "computed": false
200
+ },
201
+ {
202
+ "type": "propertySignature",
203
+ "key": {
204
+ "type": "identifier",
205
+ "name": "endTime"
206
+ },
207
+ "annotation": {
208
+ "type": "keyword",
209
+ "value": "number"
210
+ },
211
+ "optional": true,
212
+ "computed": false
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "type": "typeAlias",
218
+ "name": "TaskState",
219
+ "annotation": {
220
+ "type": "union",
221
+ "types": [
222
+ {
223
+ "type": "jsLiteral",
224
+ "value": "submitted"
225
+ },
226
+ {
227
+ "type": "jsLiteral",
228
+ "value": "working"
229
+ },
230
+ {
231
+ "type": "jsLiteral",
232
+ "value": "input-required"
233
+ },
234
+ {
235
+ "type": "jsLiteral",
236
+ "value": "completed"
237
+ },
238
+ {
239
+ "type": "jsLiteral",
240
+ "value": "canceled"
241
+ },
242
+ {
243
+ "type": "jsLiteral",
244
+ "value": "failed"
245
+ },
246
+ {
247
+ "type": "jsLiteral",
248
+ "value": "unknown"
249
+ }
250
+ ]
251
+ }
252
+ },
253
+ {
254
+ "type": "interface",
255
+ "name": "Step",
256
+ "body": [
257
+ {
258
+ "type": "propertySignature",
259
+ "key": {
260
+ "type": "identifier",
261
+ "name": "id"
262
+ },
263
+ "annotation": {
264
+ "type": "keyword",
265
+ "value": "string"
266
+ },
267
+ "computed": false
268
+ },
269
+ {
270
+ "type": "propertySignature",
271
+ "key": {
272
+ "type": "identifier",
273
+ "name": "instruction"
274
+ },
275
+ "annotation": {
276
+ "type": "keyword",
277
+ "value": "string"
278
+ },
279
+ "computed": false
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "type": "interface",
285
+ "name": "Job",
286
+ "body": [
287
+ {
288
+ "type": "propertySignature",
289
+ "key": {
290
+ "type": "identifier",
291
+ "name": "id"
292
+ },
293
+ "annotation": {
294
+ "type": "keyword",
295
+ "value": "string"
296
+ },
297
+ "computed": false
298
+ },
299
+ {
300
+ "type": "propertySignature",
301
+ "key": {
302
+ "type": "identifier",
303
+ "name": "upstream"
304
+ },
305
+ "annotation": {
306
+ "type": "array",
307
+ "elementType": {
308
+ "type": "keyword",
309
+ "value": "string"
310
+ }
311
+ },
312
+ "optional": true,
313
+ "computed": false
314
+ },
315
+ {
316
+ "type": "propertySignature",
317
+ "key": {
318
+ "type": "identifier",
319
+ "name": "parent"
320
+ },
321
+ "annotation": {
322
+ "type": "keyword",
323
+ "value": "string"
324
+ },
325
+ "optional": true,
326
+ "computed": false
327
+ },
328
+ {
329
+ "type": "propertySignature",
330
+ "key": {
331
+ "type": "identifier",
332
+ "name": "instruction"
333
+ },
334
+ "annotation": {
335
+ "type": "keyword",
336
+ "value": "string"
337
+ },
338
+ "optional": true,
339
+ "computed": false
340
+ },
341
+ {
342
+ "type": "propertySignature",
343
+ "key": {
344
+ "type": "identifier",
345
+ "name": "state"
346
+ },
347
+ "annotation": {
348
+ "type": "reference",
349
+ "typeName": {
350
+ "type": "identifier",
351
+ "name": "JobState"
352
+ }
353
+ },
354
+ "computed": false
355
+ },
356
+ {
357
+ "type": "propertySignature",
358
+ "key": {
359
+ "type": "identifier",
360
+ "name": "toolCall"
361
+ },
362
+ "annotation": {
363
+ "type": "reference",
364
+ "typeName": {
365
+ "type": "identifier",
366
+ "name": "ToolCall"
367
+ }
368
+ },
369
+ "optional": true,
370
+ "computed": false
371
+ },
372
+ {
373
+ "type": "propertySignature",
374
+ "key": {
375
+ "type": "identifier",
376
+ "name": "messages"
377
+ },
378
+ "annotation": {
379
+ "type": "array",
380
+ "elementType": {
381
+ "type": "reference",
382
+ "typeName": {
383
+ "type": "identifier",
384
+ "name": "Message"
385
+ }
386
+ }
387
+ },
388
+ "optional": true,
389
+ "computed": false
390
+ },
391
+ {
392
+ "type": "propertySignature",
393
+ "key": {
394
+ "type": "identifier",
395
+ "name": "isError"
396
+ },
397
+ "annotation": {
398
+ "type": "keyword",
399
+ "value": "boolean"
400
+ },
401
+ "optional": true,
402
+ "computed": false
403
+ },
404
+ {
405
+ "type": "propertySignature",
406
+ "key": {
407
+ "type": "identifier",
408
+ "name": "startTime"
409
+ },
410
+ "annotation": {
411
+ "type": "keyword",
412
+ "value": "number"
413
+ },
414
+ "computed": false
415
+ },
416
+ {
417
+ "type": "propertySignature",
418
+ "key": {
419
+ "type": "identifier",
420
+ "name": "endTime"
421
+ },
422
+ "annotation": {
423
+ "type": "keyword",
424
+ "value": "number"
425
+ },
426
+ "optional": true,
427
+ "computed": false
428
+ }
429
+ ]
430
+ },
431
+ {
432
+ "type": "typeAlias",
433
+ "name": "JobState",
434
+ "annotation": {
435
+ "type": "reference",
436
+ "typeName": {
437
+ "type": "identifier",
438
+ "name": "TaskState"
439
+ }
440
+ }
441
+ },
442
+ {
443
+ "type": "interface",
444
+ "name": "ToolCall",
445
+ "body": [
446
+ {
447
+ "type": "propertySignature",
448
+ "key": {
449
+ "type": "identifier",
450
+ "name": "name"
451
+ },
452
+ "annotation": {
453
+ "type": "keyword",
454
+ "value": "string"
455
+ },
456
+ "computed": false
457
+ },
458
+ {
459
+ "type": "propertySignature",
460
+ "key": {
461
+ "type": "identifier",
462
+ "name": "arguments"
463
+ },
464
+ "annotation": {
465
+ "type": "reference",
466
+ "typeName": {
467
+ "type": "identifier",
468
+ "name": "Record"
469
+ },
470
+ "typeParameters": {
471
+ "type": "typeParameterInstantiation",
472
+ "params": [
473
+ {
474
+ "type": "keyword",
475
+ "value": "string"
476
+ },
477
+ {
478
+ "type": "keyword",
479
+ "value": "unknown"
480
+ }
481
+ ]
482
+ }
483
+ },
484
+ "optional": true,
485
+ "computed": false
486
+ },
487
+ {
488
+ "type": "propertySignature",
489
+ "key": {
490
+ "type": "identifier",
491
+ "name": "argumentsParseFailed"
492
+ },
493
+ "annotation": {
494
+ "type": "keyword",
495
+ "value": "boolean"
496
+ },
497
+ "optional": true,
498
+ "computed": false
499
+ },
500
+ {
501
+ "type": "propertySignature",
502
+ "key": {
503
+ "type": "identifier",
504
+ "name": "argumentsParseError"
505
+ },
506
+ "annotation": {
507
+ "type": "keyword",
508
+ "value": "unknown"
509
+ },
510
+ "optional": true,
511
+ "computed": false
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "type": "interface",
517
+ "name": "Message",
518
+ "body": [
519
+ {
520
+ "type": "propertySignature",
521
+ "key": {
522
+ "type": "identifier",
523
+ "name": "role"
524
+ },
525
+ "annotation": {
526
+ "type": "keyword",
527
+ "value": "string"
528
+ },
529
+ "computed": false
530
+ },
531
+ {
532
+ "type": "propertySignature",
533
+ "key": {
534
+ "type": "identifier",
535
+ "name": "parts"
536
+ },
537
+ "annotation": {
538
+ "type": "array",
539
+ "elementType": {
540
+ "type": "reference",
541
+ "typeName": {
542
+ "type": "identifier",
543
+ "name": "Part"
544
+ }
545
+ }
546
+ },
547
+ "computed": false
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ "type": "typeAlias",
553
+ "name": "Part",
554
+ "annotation": {
555
+ "type": "union",
556
+ "types": [
557
+ {
558
+ "type": "reference",
559
+ "typeName": {
560
+ "type": "identifier",
561
+ "name": "TextPart"
562
+ }
563
+ },
564
+ {
565
+ "type": "reference",
566
+ "typeName": {
567
+ "type": "identifier",
568
+ "name": "FilePart"
569
+ }
570
+ },
571
+ {
572
+ "type": "reference",
573
+ "typeName": {
574
+ "type": "identifier",
575
+ "name": "DataPart"
576
+ }
577
+ }
578
+ ]
579
+ }
580
+ },
581
+ {
582
+ "type": "interface",
583
+ "name": "TextPart",
584
+ "body": [
585
+ {
586
+ "type": "propertySignature",
587
+ "key": {
588
+ "type": "identifier",
589
+ "name": "type"
590
+ },
591
+ "annotation": {
592
+ "type": "jsLiteral",
593
+ "value": "text"
594
+ },
595
+ "computed": false
596
+ },
597
+ {
598
+ "type": "propertySignature",
599
+ "key": {
600
+ "type": "identifier",
601
+ "name": "text"
602
+ },
603
+ "annotation": {
604
+ "type": "keyword",
605
+ "value": "string"
606
+ },
607
+ "computed": false
608
+ }
609
+ ]
610
+ },
611
+ {
612
+ "type": "interface",
613
+ "name": "FilePart",
614
+ "body": [
615
+ {
616
+ "type": "propertySignature",
617
+ "key": {
618
+ "type": "identifier",
619
+ "name": "type"
620
+ },
621
+ "annotation": {
622
+ "type": "jsLiteral",
623
+ "value": "file"
624
+ },
625
+ "computed": false
626
+ },
627
+ {
628
+ "type": "propertySignature",
629
+ "key": {
630
+ "type": "identifier",
631
+ "name": "file"
632
+ },
633
+ "annotation": {
634
+ "type": "typeLiteral",
635
+ "members": [
636
+ {
637
+ "type": "propertySignature",
638
+ "key": {
639
+ "type": "identifier",
640
+ "name": "name"
641
+ },
642
+ "annotation": {
643
+ "type": "keyword",
644
+ "value": "string"
645
+ },
646
+ "optional": true,
647
+ "computed": false
648
+ },
649
+ {
650
+ "type": "propertySignature",
651
+ "key": {
652
+ "type": "identifier",
653
+ "name": "mimeType"
654
+ },
655
+ "annotation": {
656
+ "type": "keyword",
657
+ "value": "string"
658
+ },
659
+ "optional": true,
660
+ "computed": false
661
+ },
662
+ {
663
+ "type": "propertySignature",
664
+ "key": {
665
+ "type": "identifier",
666
+ "name": "bytes"
667
+ },
668
+ "annotation": {
669
+ "type": "keyword",
670
+ "value": "string"
671
+ },
672
+ "optional": true,
673
+ "computed": false
674
+ },
675
+ {
676
+ "type": "propertySignature",
677
+ "key": {
678
+ "type": "identifier",
679
+ "name": "uri"
680
+ },
681
+ "annotation": {
682
+ "type": "keyword",
683
+ "value": "string"
684
+ },
685
+ "optional": true,
686
+ "computed": false
687
+ }
688
+ ]
689
+ },
690
+ "computed": false
691
+ }
692
+ ]
693
+ },
694
+ {
695
+ "type": "interface",
696
+ "name": "DataPart",
697
+ "body": [
698
+ {
699
+ "type": "propertySignature",
700
+ "key": {
701
+ "type": "identifier",
702
+ "name": "type"
703
+ },
704
+ "annotation": {
705
+ "type": "jsLiteral",
706
+ "value": "data"
707
+ },
708
+ "computed": false
709
+ },
710
+ {
711
+ "type": "propertySignature",
712
+ "key": {
713
+ "type": "identifier",
714
+ "name": "data"
715
+ },
716
+ "annotation": {
717
+ "type": "reference",
718
+ "typeName": {
719
+ "type": "identifier",
720
+ "name": "Record"
721
+ },
722
+ "typeParameters": {
723
+ "type": "typeParameterInstantiation",
724
+ "params": [
725
+ {
726
+ "type": "keyword",
727
+ "value": "string"
728
+ },
729
+ {
730
+ "type": "keyword",
731
+ "value": "unknown"
732
+ }
733
+ ]
734
+ }
735
+ },
736
+ "computed": false
737
+ }
738
+ ]
739
+ }
740
+ ]
741
+ }
742
+ }