@next-bricks/ai-portal 0.45.2 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +30 -30
- package/dist/chunks/{161.9c5081e7.js → 161.a114c103.js} +3 -3
- package/dist/chunks/161.a114c103.js.map +1 -0
- package/dist/chunks/7431.23a1dd60.js +3 -0
- package/dist/chunks/7431.23a1dd60.js.map +1 -0
- package/dist/chunks/goal-card-list.a1db72ad.js +3 -0
- package/dist/chunks/goal-card-list.a1db72ad.js.map +1 -0
- package/dist/chunks/{main.35cffd7d.js → main.d0fc7f5d.js} +2 -2
- package/dist/chunks/{main.35cffd7d.js.map → main.d0fc7f5d.js.map} +1 -1
- package/dist/examples.json +17 -17
- package/dist/index.db92c25e.js +2 -0
- package/dist/index.db92c25e.js.map +1 -0
- package/dist/manifest.json +353 -339
- package/dist/types.json +295 -284
- package/dist-types/goal-card-list/CardItem/CardItem.d.ts +6 -4
- package/dist-types/goal-card-list/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/161.9c5081e7.js.map +0 -1
- package/dist/chunks/7431.02741a25.js +0 -3
- package/dist/chunks/7431.02741a25.js.map +0 -1
- package/dist/chunks/goal-card-list.fa0d828e.js +0 -3
- package/dist/chunks/goal-card-list.fa0d828e.js.map +0 -1
- package/dist/index.5a72f8f9.js +0 -2
- package/dist/index.5a72f8f9.js.map +0 -1
- /package/dist/chunks/{161.9c5081e7.js.LICENSE.txt → 161.a114c103.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{7431.02741a25.js.LICENSE.txt → 7431.23a1dd60.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{goal-card-list.fa0d828e.js.LICENSE.txt → goal-card-list.a1db72ad.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -1,105 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ai-portal.
|
|
3
|
-
"properties": [
|
|
4
|
-
{
|
|
5
|
-
"name": "label",
|
|
6
|
-
"annotation": {
|
|
7
|
-
"type": "keyword",
|
|
8
|
-
"value": "string"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "value",
|
|
13
|
-
"annotation": {
|
|
14
|
-
"type": "keyword",
|
|
15
|
-
"value": "string"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "size",
|
|
20
|
-
"annotation": {
|
|
21
|
-
"type": "union",
|
|
22
|
-
"types": [
|
|
23
|
-
{
|
|
24
|
-
"type": "jsLiteral",
|
|
25
|
-
"value": "medium"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"type": "jsLiteral",
|
|
29
|
-
"value": "small"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "lineColor",
|
|
36
|
-
"annotation": {
|
|
37
|
-
"type": "keyword",
|
|
38
|
-
"value": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "showArea",
|
|
43
|
-
"annotation": {
|
|
44
|
-
"type": "keyword",
|
|
45
|
-
"value": "boolean"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "min",
|
|
50
|
-
"annotation": {
|
|
51
|
-
"type": "keyword",
|
|
52
|
-
"value": "number"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "max",
|
|
57
|
-
"annotation": {
|
|
58
|
-
"type": "keyword",
|
|
59
|
-
"value": "number"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "xField",
|
|
64
|
-
"annotation": {
|
|
65
|
-
"type": "keyword",
|
|
66
|
-
"value": "string"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "yField",
|
|
71
|
-
"annotation": {
|
|
72
|
-
"type": "keyword",
|
|
73
|
-
"value": "string"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "data",
|
|
78
|
-
"annotation": {
|
|
79
|
-
"type": "array",
|
|
80
|
-
"elementType": {
|
|
81
|
-
"type": "reference",
|
|
82
|
-
"typeName": {
|
|
83
|
-
"type": "identifier",
|
|
84
|
-
"name": "Record"
|
|
85
|
-
},
|
|
86
|
-
"typeParameters": {
|
|
87
|
-
"type": "typeParameterInstantiation",
|
|
88
|
-
"params": [
|
|
89
|
-
{
|
|
90
|
-
"type": "keyword",
|
|
91
|
-
"value": "string"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"type": "keyword",
|
|
95
|
-
"value": "number"
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
],
|
|
2
|
+
"ai-portal.home-container": {
|
|
3
|
+
"properties": [],
|
|
103
4
|
"events": [],
|
|
104
5
|
"methods": []
|
|
105
6
|
},
|
|
@@ -174,62 +75,6 @@
|
|
|
174
75
|
}
|
|
175
76
|
]
|
|
176
77
|
},
|
|
177
|
-
"ai-portal.call-tool": {
|
|
178
|
-
"type": "provider",
|
|
179
|
-
"params": [
|
|
180
|
-
{
|
|
181
|
-
"name": "tool",
|
|
182
|
-
"annotation": {
|
|
183
|
-
"type": "reference",
|
|
184
|
-
"typeName": {
|
|
185
|
-
"type": "identifier",
|
|
186
|
-
"name": "ToolInfo"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "params",
|
|
192
|
-
"annotation": {
|
|
193
|
-
"type": "reference",
|
|
194
|
-
"typeName": {
|
|
195
|
-
"type": "identifier",
|
|
196
|
-
"name": "Record"
|
|
197
|
-
},
|
|
198
|
-
"typeParameters": {
|
|
199
|
-
"type": "typeParameterInstantiation",
|
|
200
|
-
"params": [
|
|
201
|
-
{
|
|
202
|
-
"type": "keyword",
|
|
203
|
-
"value": "string"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"type": "keyword",
|
|
207
|
-
"value": "unknown"
|
|
208
|
-
}
|
|
209
|
-
]
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"returns": {
|
|
215
|
-
"annotation": {
|
|
216
|
-
"type": "reference",
|
|
217
|
-
"typeName": {
|
|
218
|
-
"type": "identifier",
|
|
219
|
-
"name": "Promise"
|
|
220
|
-
},
|
|
221
|
-
"typeParameters": {
|
|
222
|
-
"type": "typeParameterInstantiation",
|
|
223
|
-
"params": [
|
|
224
|
-
{
|
|
225
|
-
"type": "keyword",
|
|
226
|
-
"value": "unknown"
|
|
227
|
-
}
|
|
228
|
-
]
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
78
|
"ai-portal.save-request-store": {
|
|
234
79
|
"type": "provider",
|
|
235
80
|
"params": [
|
|
@@ -347,6 +192,62 @@
|
|
|
347
192
|
}
|
|
348
193
|
}
|
|
349
194
|
},
|
|
195
|
+
"ai-portal.call-tool": {
|
|
196
|
+
"type": "provider",
|
|
197
|
+
"params": [
|
|
198
|
+
{
|
|
199
|
+
"name": "tool",
|
|
200
|
+
"annotation": {
|
|
201
|
+
"type": "reference",
|
|
202
|
+
"typeName": {
|
|
203
|
+
"type": "identifier",
|
|
204
|
+
"name": "ToolInfo"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "params",
|
|
210
|
+
"annotation": {
|
|
211
|
+
"type": "reference",
|
|
212
|
+
"typeName": {
|
|
213
|
+
"type": "identifier",
|
|
214
|
+
"name": "Record"
|
|
215
|
+
},
|
|
216
|
+
"typeParameters": {
|
|
217
|
+
"type": "typeParameterInstantiation",
|
|
218
|
+
"params": [
|
|
219
|
+
{
|
|
220
|
+
"type": "keyword",
|
|
221
|
+
"value": "string"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "keyword",
|
|
225
|
+
"value": "unknown"
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"returns": {
|
|
233
|
+
"annotation": {
|
|
234
|
+
"type": "reference",
|
|
235
|
+
"typeName": {
|
|
236
|
+
"type": "identifier",
|
|
237
|
+
"name": "Promise"
|
|
238
|
+
},
|
|
239
|
+
"typeParameters": {
|
|
240
|
+
"type": "typeParameterInstantiation",
|
|
241
|
+
"params": [
|
|
242
|
+
{
|
|
243
|
+
"type": "keyword",
|
|
244
|
+
"value": "unknown"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
350
251
|
"ai-portal.page-container": {
|
|
351
252
|
"properties": [
|
|
352
253
|
{
|
|
@@ -424,9 +325,113 @@
|
|
|
424
325
|
},
|
|
425
326
|
"computed": false
|
|
426
327
|
}
|
|
427
|
-
]
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
"ai-portal.stat-with-mini-chart": {
|
|
333
|
+
"properties": [
|
|
334
|
+
{
|
|
335
|
+
"name": "label",
|
|
336
|
+
"annotation": {
|
|
337
|
+
"type": "keyword",
|
|
338
|
+
"value": "string"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "value",
|
|
343
|
+
"annotation": {
|
|
344
|
+
"type": "keyword",
|
|
345
|
+
"value": "string"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "size",
|
|
350
|
+
"annotation": {
|
|
351
|
+
"type": "union",
|
|
352
|
+
"types": [
|
|
353
|
+
{
|
|
354
|
+
"type": "jsLiteral",
|
|
355
|
+
"value": "medium"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"type": "jsLiteral",
|
|
359
|
+
"value": "small"
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "lineColor",
|
|
366
|
+
"annotation": {
|
|
367
|
+
"type": "keyword",
|
|
368
|
+
"value": "string"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "showArea",
|
|
373
|
+
"annotation": {
|
|
374
|
+
"type": "keyword",
|
|
375
|
+
"value": "boolean"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "min",
|
|
380
|
+
"annotation": {
|
|
381
|
+
"type": "keyword",
|
|
382
|
+
"value": "number"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "max",
|
|
387
|
+
"annotation": {
|
|
388
|
+
"type": "keyword",
|
|
389
|
+
"value": "number"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "xField",
|
|
394
|
+
"annotation": {
|
|
395
|
+
"type": "keyword",
|
|
396
|
+
"value": "string"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "yField",
|
|
401
|
+
"annotation": {
|
|
402
|
+
"type": "keyword",
|
|
403
|
+
"value": "string"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "data",
|
|
408
|
+
"annotation": {
|
|
409
|
+
"type": "array",
|
|
410
|
+
"elementType": {
|
|
411
|
+
"type": "reference",
|
|
412
|
+
"typeName": {
|
|
413
|
+
"type": "identifier",
|
|
414
|
+
"name": "Record"
|
|
415
|
+
},
|
|
416
|
+
"typeParameters": {
|
|
417
|
+
"type": "typeParameterInstantiation",
|
|
418
|
+
"params": [
|
|
419
|
+
{
|
|
420
|
+
"type": "keyword",
|
|
421
|
+
"value": "string"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"type": "keyword",
|
|
425
|
+
"value": "number"
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
428
431
|
}
|
|
429
|
-
]
|
|
432
|
+
],
|
|
433
|
+
"events": [],
|
|
434
|
+
"methods": []
|
|
430
435
|
},
|
|
431
436
|
"ai-portal.tab-list": {
|
|
432
437
|
"properties": [
|
|
@@ -499,11 +504,6 @@
|
|
|
499
504
|
}
|
|
500
505
|
]
|
|
501
506
|
},
|
|
502
|
-
"ai-portal.home-container": {
|
|
503
|
-
"properties": [],
|
|
504
|
-
"events": [],
|
|
505
|
-
"methods": []
|
|
506
|
-
},
|
|
507
507
|
"ai-portal.elevo-logo": {
|
|
508
508
|
"properties": [],
|
|
509
509
|
"events": [],
|
|
@@ -679,94 +679,6 @@
|
|
|
679
679
|
}
|
|
680
680
|
]
|
|
681
681
|
},
|
|
682
|
-
"ai-portal.show-cases": {
|
|
683
|
-
"properties": [
|
|
684
|
-
{
|
|
685
|
-
"name": "list",
|
|
686
|
-
"annotation": {
|
|
687
|
-
"type": "array",
|
|
688
|
-
"elementType": {
|
|
689
|
-
"type": "reference",
|
|
690
|
-
"typeName": {
|
|
691
|
-
"type": "identifier",
|
|
692
|
-
"name": "ShowCaseType"
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
],
|
|
698
|
-
"events": [],
|
|
699
|
-
"methods": [],
|
|
700
|
-
"types": [
|
|
701
|
-
{
|
|
702
|
-
"type": "interface",
|
|
703
|
-
"name": "ShowCaseType",
|
|
704
|
-
"body": [
|
|
705
|
-
{
|
|
706
|
-
"type": "propertySignature",
|
|
707
|
-
"key": {
|
|
708
|
-
"type": "identifier",
|
|
709
|
-
"name": "conversationId"
|
|
710
|
-
},
|
|
711
|
-
"annotation": {
|
|
712
|
-
"type": "keyword",
|
|
713
|
-
"value": "string"
|
|
714
|
-
},
|
|
715
|
-
"computed": false
|
|
716
|
-
},
|
|
717
|
-
{
|
|
718
|
-
"type": "propertySignature",
|
|
719
|
-
"key": {
|
|
720
|
-
"type": "identifier",
|
|
721
|
-
"name": "title"
|
|
722
|
-
},
|
|
723
|
-
"annotation": {
|
|
724
|
-
"type": "keyword",
|
|
725
|
-
"value": "string"
|
|
726
|
-
},
|
|
727
|
-
"computed": false
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
"type": "propertySignature",
|
|
731
|
-
"key": {
|
|
732
|
-
"type": "identifier",
|
|
733
|
-
"name": "summary"
|
|
734
|
-
},
|
|
735
|
-
"annotation": {
|
|
736
|
-
"type": "keyword",
|
|
737
|
-
"value": "string"
|
|
738
|
-
},
|
|
739
|
-
"computed": false
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"type": "propertySignature",
|
|
743
|
-
"key": {
|
|
744
|
-
"type": "identifier",
|
|
745
|
-
"name": "scenario"
|
|
746
|
-
},
|
|
747
|
-
"annotation": {
|
|
748
|
-
"type": "keyword",
|
|
749
|
-
"value": "string"
|
|
750
|
-
},
|
|
751
|
-
"computed": false
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"type": "propertySignature",
|
|
755
|
-
"key": {
|
|
756
|
-
"type": "identifier",
|
|
757
|
-
"name": "url"
|
|
758
|
-
},
|
|
759
|
-
"annotation": {
|
|
760
|
-
"type": "keyword",
|
|
761
|
-
"value": "string"
|
|
762
|
-
},
|
|
763
|
-
"optional": true,
|
|
764
|
-
"computed": false
|
|
765
|
-
}
|
|
766
|
-
]
|
|
767
|
-
}
|
|
768
|
-
]
|
|
769
|
-
},
|
|
770
682
|
"ai-portal.chat-box": {
|
|
771
683
|
"properties": [
|
|
772
684
|
{
|
|
@@ -889,6 +801,94 @@
|
|
|
889
801
|
}
|
|
890
802
|
]
|
|
891
803
|
},
|
|
804
|
+
"ai-portal.show-cases": {
|
|
805
|
+
"properties": [
|
|
806
|
+
{
|
|
807
|
+
"name": "list",
|
|
808
|
+
"annotation": {
|
|
809
|
+
"type": "array",
|
|
810
|
+
"elementType": {
|
|
811
|
+
"type": "reference",
|
|
812
|
+
"typeName": {
|
|
813
|
+
"type": "identifier",
|
|
814
|
+
"name": "ShowCaseType"
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
],
|
|
820
|
+
"events": [],
|
|
821
|
+
"methods": [],
|
|
822
|
+
"types": [
|
|
823
|
+
{
|
|
824
|
+
"type": "interface",
|
|
825
|
+
"name": "ShowCaseType",
|
|
826
|
+
"body": [
|
|
827
|
+
{
|
|
828
|
+
"type": "propertySignature",
|
|
829
|
+
"key": {
|
|
830
|
+
"type": "identifier",
|
|
831
|
+
"name": "conversationId"
|
|
832
|
+
},
|
|
833
|
+
"annotation": {
|
|
834
|
+
"type": "keyword",
|
|
835
|
+
"value": "string"
|
|
836
|
+
},
|
|
837
|
+
"computed": false
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"type": "propertySignature",
|
|
841
|
+
"key": {
|
|
842
|
+
"type": "identifier",
|
|
843
|
+
"name": "title"
|
|
844
|
+
},
|
|
845
|
+
"annotation": {
|
|
846
|
+
"type": "keyword",
|
|
847
|
+
"value": "string"
|
|
848
|
+
},
|
|
849
|
+
"computed": false
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"type": "propertySignature",
|
|
853
|
+
"key": {
|
|
854
|
+
"type": "identifier",
|
|
855
|
+
"name": "summary"
|
|
856
|
+
},
|
|
857
|
+
"annotation": {
|
|
858
|
+
"type": "keyword",
|
|
859
|
+
"value": "string"
|
|
860
|
+
},
|
|
861
|
+
"computed": false
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"type": "propertySignature",
|
|
865
|
+
"key": {
|
|
866
|
+
"type": "identifier",
|
|
867
|
+
"name": "scenario"
|
|
868
|
+
},
|
|
869
|
+
"annotation": {
|
|
870
|
+
"type": "keyword",
|
|
871
|
+
"value": "string"
|
|
872
|
+
},
|
|
873
|
+
"computed": false
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"type": "propertySignature",
|
|
877
|
+
"key": {
|
|
878
|
+
"type": "identifier",
|
|
879
|
+
"name": "url"
|
|
880
|
+
},
|
|
881
|
+
"annotation": {
|
|
882
|
+
"type": "keyword",
|
|
883
|
+
"value": "string"
|
|
884
|
+
},
|
|
885
|
+
"optional": true,
|
|
886
|
+
"computed": false
|
|
887
|
+
}
|
|
888
|
+
]
|
|
889
|
+
}
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
892
|
"ai-portal.mcp-tools": {
|
|
893
893
|
"properties": [
|
|
894
894
|
{
|
|
@@ -3490,7 +3490,31 @@
|
|
|
3490
3490
|
}
|
|
3491
3491
|
}
|
|
3492
3492
|
],
|
|
3493
|
-
"methods": [
|
|
3493
|
+
"methods": [
|
|
3494
|
+
{
|
|
3495
|
+
"name": "appendChildDone",
|
|
3496
|
+
"params": [
|
|
3497
|
+
{
|
|
3498
|
+
"name": "pendingId",
|
|
3499
|
+
"annotation": {
|
|
3500
|
+
"type": "keyword",
|
|
3501
|
+
"value": "string"
|
|
3502
|
+
}
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"name": "newItem",
|
|
3506
|
+
"annotation": {
|
|
3507
|
+
"type": "reference",
|
|
3508
|
+
"typeName": {
|
|
3509
|
+
"type": "identifier",
|
|
3510
|
+
"name": "GoalItem"
|
|
3511
|
+
}
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
],
|
|
3515
|
+
"returns": {}
|
|
3516
|
+
}
|
|
3517
|
+
],
|
|
3494
3518
|
"types": [
|
|
3495
3519
|
{
|
|
3496
3520
|
"type": "interface",
|
|
@@ -3565,16 +3589,13 @@
|
|
|
3565
3589
|
"type": "propertySignature",
|
|
3566
3590
|
"key": {
|
|
3567
3591
|
"type": "identifier",
|
|
3568
|
-
"name": "
|
|
3592
|
+
"name": "owner"
|
|
3569
3593
|
},
|
|
3570
3594
|
"annotation": {
|
|
3571
|
-
"type": "
|
|
3572
|
-
"
|
|
3573
|
-
"type": "
|
|
3574
|
-
"
|
|
3575
|
-
"type": "identifier",
|
|
3576
|
-
"name": "GoalItem"
|
|
3577
|
-
}
|
|
3595
|
+
"type": "reference",
|
|
3596
|
+
"typeName": {
|
|
3597
|
+
"type": "identifier",
|
|
3598
|
+
"name": "GoalMember"
|
|
3578
3599
|
}
|
|
3579
3600
|
},
|
|
3580
3601
|
"optional": true,
|
|
@@ -3584,7 +3605,7 @@
|
|
|
3584
3605
|
"type": "propertySignature",
|
|
3585
3606
|
"key": {
|
|
3586
3607
|
"type": "identifier",
|
|
3587
|
-
"name": "
|
|
3608
|
+
"name": "users"
|
|
3588
3609
|
},
|
|
3589
3610
|
"annotation": {
|
|
3590
3611
|
"type": "array",
|
|
@@ -3592,7 +3613,7 @@
|
|
|
3592
3613
|
"type": "reference",
|
|
3593
3614
|
"typeName": {
|
|
3594
3615
|
"type": "identifier",
|
|
3595
|
-
"name": "
|
|
3616
|
+
"name": "GoalMember"
|
|
3596
3617
|
}
|
|
3597
3618
|
}
|
|
3598
3619
|
},
|
|
@@ -3603,58 +3624,48 @@
|
|
|
3603
3624
|
"type": "propertySignature",
|
|
3604
3625
|
"key": {
|
|
3605
3626
|
"type": "identifier",
|
|
3606
|
-
"name": "
|
|
3627
|
+
"name": "instanceId"
|
|
3607
3628
|
},
|
|
3608
3629
|
"annotation": {
|
|
3609
|
-
"type": "
|
|
3610
|
-
"
|
|
3611
|
-
"type": "identifier",
|
|
3612
|
-
"name": "GoalMember"
|
|
3613
|
-
}
|
|
3630
|
+
"type": "keyword",
|
|
3631
|
+
"value": "string"
|
|
3614
3632
|
},
|
|
3615
|
-
"optional": true,
|
|
3616
3633
|
"computed": false
|
|
3617
3634
|
},
|
|
3618
3635
|
{
|
|
3619
3636
|
"type": "propertySignature",
|
|
3620
3637
|
"key": {
|
|
3621
3638
|
"type": "identifier",
|
|
3622
|
-
"name": "
|
|
3639
|
+
"name": "level"
|
|
3623
3640
|
},
|
|
3624
3641
|
"annotation": {
|
|
3625
|
-
"type": "
|
|
3626
|
-
"
|
|
3627
|
-
"type": "reference",
|
|
3628
|
-
"typeName": {
|
|
3629
|
-
"type": "identifier",
|
|
3630
|
-
"name": "GoalMember"
|
|
3631
|
-
}
|
|
3632
|
-
}
|
|
3642
|
+
"type": "keyword",
|
|
3643
|
+
"value": "number"
|
|
3633
3644
|
},
|
|
3634
|
-
"optional": true,
|
|
3635
3645
|
"computed": false
|
|
3636
3646
|
},
|
|
3637
3647
|
{
|
|
3638
3648
|
"type": "propertySignature",
|
|
3639
3649
|
"key": {
|
|
3640
3650
|
"type": "identifier",
|
|
3641
|
-
"name": "
|
|
3651
|
+
"name": "pending"
|
|
3642
3652
|
},
|
|
3643
3653
|
"annotation": {
|
|
3644
3654
|
"type": "keyword",
|
|
3645
|
-
"value": "
|
|
3655
|
+
"value": "boolean"
|
|
3646
3656
|
},
|
|
3657
|
+
"optional": true,
|
|
3647
3658
|
"computed": false
|
|
3648
3659
|
},
|
|
3649
3660
|
{
|
|
3650
3661
|
"type": "propertySignature",
|
|
3651
3662
|
"key": {
|
|
3652
3663
|
"type": "identifier",
|
|
3653
|
-
"name": "
|
|
3664
|
+
"name": "pendingParentId"
|
|
3654
3665
|
},
|
|
3655
3666
|
"annotation": {
|
|
3656
3667
|
"type": "keyword",
|
|
3657
|
-
"value": "
|
|
3668
|
+
"value": "string"
|
|
3658
3669
|
},
|
|
3659
3670
|
"optional": true,
|
|
3660
3671
|
"computed": false
|
|
@@ -12,12 +12,12 @@ export interface GoalItem {
|
|
|
12
12
|
state: GoalState;
|
|
13
13
|
id: number;
|
|
14
14
|
conversations?: number;
|
|
15
|
-
child_target?: GoalItem[];
|
|
16
|
-
parent_target?: GoalItem[];
|
|
17
15
|
owner?: GoalMember;
|
|
18
16
|
users?: GoalMember[];
|
|
19
17
|
instanceId: string;
|
|
20
|
-
|
|
18
|
+
level: number;
|
|
19
|
+
pending?: boolean;
|
|
20
|
+
pendingParentId?: string;
|
|
21
21
|
}
|
|
22
22
|
interface GoalCardItemProps {
|
|
23
23
|
goalItem: GoalItem;
|
|
@@ -27,6 +27,8 @@ interface GoalCardItemProps {
|
|
|
27
27
|
onStatusChange?: (newStatus: GoalState) => void;
|
|
28
28
|
onNewChat?: () => void;
|
|
29
29
|
onClick?: () => void;
|
|
30
|
+
onAppendChild?: () => void;
|
|
31
|
+
onRevokeAppendChild?: () => void;
|
|
30
32
|
}
|
|
31
|
-
export declare function GoalCardItem({ goalItem, cardStyle, onStatusChange, onTitleChange, onClick, onNewChat, isActive, }: GoalCardItemProps): React.JSX.Element;
|
|
33
|
+
export declare function GoalCardItem({ goalItem, cardStyle, onStatusChange, onTitleChange, onClick, onNewChat, onAppendChild, onRevokeAppendChild, isActive, }: GoalCardItemProps): React.JSX.Element;
|
|
32
34
|
export {};
|