@next-bricks/ai-portal 0.48.4 → 0.48.5

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/types.json CHANGED
@@ -4,6 +4,110 @@
4
4
  "events": [],
5
5
  "methods": []
6
6
  },
7
+ "ai-portal.stat-with-mini-chart": {
8
+ "properties": [
9
+ {
10
+ "name": "label",
11
+ "annotation": {
12
+ "type": "keyword",
13
+ "value": "string"
14
+ }
15
+ },
16
+ {
17
+ "name": "value",
18
+ "annotation": {
19
+ "type": "keyword",
20
+ "value": "string"
21
+ }
22
+ },
23
+ {
24
+ "name": "size",
25
+ "annotation": {
26
+ "type": "union",
27
+ "types": [
28
+ {
29
+ "type": "jsLiteral",
30
+ "value": "medium"
31
+ },
32
+ {
33
+ "type": "jsLiteral",
34
+ "value": "small"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "name": "lineColor",
41
+ "annotation": {
42
+ "type": "keyword",
43
+ "value": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "showArea",
48
+ "annotation": {
49
+ "type": "keyword",
50
+ "value": "boolean"
51
+ }
52
+ },
53
+ {
54
+ "name": "min",
55
+ "annotation": {
56
+ "type": "keyword",
57
+ "value": "number"
58
+ }
59
+ },
60
+ {
61
+ "name": "max",
62
+ "annotation": {
63
+ "type": "keyword",
64
+ "value": "number"
65
+ }
66
+ },
67
+ {
68
+ "name": "xField",
69
+ "annotation": {
70
+ "type": "keyword",
71
+ "value": "string"
72
+ }
73
+ },
74
+ {
75
+ "name": "yField",
76
+ "annotation": {
77
+ "type": "keyword",
78
+ "value": "string"
79
+ }
80
+ },
81
+ {
82
+ "name": "data",
83
+ "annotation": {
84
+ "type": "array",
85
+ "elementType": {
86
+ "type": "reference",
87
+ "typeName": {
88
+ "type": "identifier",
89
+ "name": "Record"
90
+ },
91
+ "typeParameters": {
92
+ "type": "typeParameterInstantiation",
93
+ "params": [
94
+ {
95
+ "type": "keyword",
96
+ "value": "string"
97
+ },
98
+ {
99
+ "type": "keyword",
100
+ "value": "number"
101
+ }
102
+ ]
103
+ }
104
+ }
105
+ }
106
+ }
107
+ ],
108
+ "events": [],
109
+ "methods": []
110
+ },
7
111
  "ai-portal.icon-button": {
8
112
  "properties": [
9
113
  {
@@ -75,6 +179,62 @@
75
179
  }
76
180
  ]
77
181
  },
182
+ "ai-portal.call-tool": {
183
+ "type": "provider",
184
+ "params": [
185
+ {
186
+ "name": "tool",
187
+ "annotation": {
188
+ "type": "reference",
189
+ "typeName": {
190
+ "type": "identifier",
191
+ "name": "ToolInfo"
192
+ }
193
+ }
194
+ },
195
+ {
196
+ "name": "params",
197
+ "annotation": {
198
+ "type": "reference",
199
+ "typeName": {
200
+ "type": "identifier",
201
+ "name": "Record"
202
+ },
203
+ "typeParameters": {
204
+ "type": "typeParameterInstantiation",
205
+ "params": [
206
+ {
207
+ "type": "keyword",
208
+ "value": "string"
209
+ },
210
+ {
211
+ "type": "keyword",
212
+ "value": "unknown"
213
+ }
214
+ ]
215
+ }
216
+ }
217
+ }
218
+ ],
219
+ "returns": {
220
+ "annotation": {
221
+ "type": "reference",
222
+ "typeName": {
223
+ "type": "identifier",
224
+ "name": "Promise"
225
+ },
226
+ "typeParameters": {
227
+ "type": "typeParameterInstantiation",
228
+ "params": [
229
+ {
230
+ "type": "keyword",
231
+ "value": "unknown"
232
+ }
233
+ ]
234
+ }
235
+ }
236
+ }
237
+ },
78
238
  "ai-portal.save-request-store": {
79
239
  "type": "provider",
80
240
  "params": [
@@ -192,62 +352,6 @@
192
352
  }
193
353
  }
194
354
  },
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
- },
251
355
  "ai-portal.page-container": {
252
356
  "properties": [
253
357
  {
@@ -389,120 +493,16 @@
389
493
  "key": {
390
494
  "type": "identifier",
391
495
  "name": "label"
392
- },
393
- "annotation": {
394
- "type": "keyword",
395
- "value": "string"
396
- },
397
- "computed": false
398
- }
399
- ]
400
- }
401
- ]
402
- },
403
- "ai-portal.stat-with-mini-chart": {
404
- "properties": [
405
- {
406
- "name": "label",
407
- "annotation": {
408
- "type": "keyword",
409
- "value": "string"
410
- }
411
- },
412
- {
413
- "name": "value",
414
- "annotation": {
415
- "type": "keyword",
416
- "value": "string"
417
- }
418
- },
419
- {
420
- "name": "size",
421
- "annotation": {
422
- "type": "union",
423
- "types": [
424
- {
425
- "type": "jsLiteral",
426
- "value": "medium"
427
- },
428
- {
429
- "type": "jsLiteral",
430
- "value": "small"
431
- }
432
- ]
433
- }
434
- },
435
- {
436
- "name": "lineColor",
437
- "annotation": {
438
- "type": "keyword",
439
- "value": "string"
440
- }
441
- },
442
- {
443
- "name": "showArea",
444
- "annotation": {
445
- "type": "keyword",
446
- "value": "boolean"
447
- }
448
- },
449
- {
450
- "name": "min",
451
- "annotation": {
452
- "type": "keyword",
453
- "value": "number"
454
- }
455
- },
456
- {
457
- "name": "max",
458
- "annotation": {
459
- "type": "keyword",
460
- "value": "number"
461
- }
462
- },
463
- {
464
- "name": "xField",
465
- "annotation": {
466
- "type": "keyword",
467
- "value": "string"
468
- }
469
- },
470
- {
471
- "name": "yField",
472
- "annotation": {
473
- "type": "keyword",
474
- "value": "string"
475
- }
476
- },
477
- {
478
- "name": "data",
479
- "annotation": {
480
- "type": "array",
481
- "elementType": {
482
- "type": "reference",
483
- "typeName": {
484
- "type": "identifier",
485
- "name": "Record"
486
- },
487
- "typeParameters": {
488
- "type": "typeParameterInstantiation",
489
- "params": [
490
- {
491
- "type": "keyword",
492
- "value": "string"
493
- },
494
- {
495
- "type": "keyword",
496
- "value": "number"
497
- }
498
- ]
499
- }
496
+ },
497
+ "annotation": {
498
+ "type": "keyword",
499
+ "value": "string"
500
+ },
501
+ "computed": false
500
502
  }
501
- }
503
+ ]
502
504
  }
503
- ],
504
- "events": [],
505
- "methods": []
505
+ ]
506
506
  },
507
507
  "ai-portal.elevo-logo": {
508
508
  "properties": [],
@@ -679,101 +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
- "name": "limit",
699
- "annotation": {
700
- "type": "keyword",
701
- "value": "number"
702
- }
703
- }
704
- ],
705
- "events": [],
706
- "methods": [],
707
- "types": [
708
- {
709
- "type": "interface",
710
- "name": "ShowCaseType",
711
- "body": [
712
- {
713
- "type": "propertySignature",
714
- "key": {
715
- "type": "identifier",
716
- "name": "conversationId"
717
- },
718
- "annotation": {
719
- "type": "keyword",
720
- "value": "string"
721
- },
722
- "computed": false
723
- },
724
- {
725
- "type": "propertySignature",
726
- "key": {
727
- "type": "identifier",
728
- "name": "title"
729
- },
730
- "annotation": {
731
- "type": "keyword",
732
- "value": "string"
733
- },
734
- "computed": false
735
- },
736
- {
737
- "type": "propertySignature",
738
- "key": {
739
- "type": "identifier",
740
- "name": "summary"
741
- },
742
- "annotation": {
743
- "type": "keyword",
744
- "value": "string"
745
- },
746
- "computed": false
747
- },
748
- {
749
- "type": "propertySignature",
750
- "key": {
751
- "type": "identifier",
752
- "name": "scenario"
753
- },
754
- "annotation": {
755
- "type": "keyword",
756
- "value": "string"
757
- },
758
- "computed": false
759
- },
760
- {
761
- "type": "propertySignature",
762
- "key": {
763
- "type": "identifier",
764
- "name": "url"
765
- },
766
- "annotation": {
767
- "type": "keyword",
768
- "value": "string"
769
- },
770
- "optional": true,
771
- "computed": false
772
- }
773
- ]
774
- }
775
- ]
776
- },
777
682
  "ai-portal.chat-box": {
778
683
  "properties": [
779
684
  {
@@ -901,6 +806,101 @@
901
806
  }
902
807
  ]
903
808
  },
809
+ "ai-portal.show-cases": {
810
+ "properties": [
811
+ {
812
+ "name": "list",
813
+ "annotation": {
814
+ "type": "array",
815
+ "elementType": {
816
+ "type": "reference",
817
+ "typeName": {
818
+ "type": "identifier",
819
+ "name": "ShowCaseType"
820
+ }
821
+ }
822
+ }
823
+ },
824
+ {
825
+ "name": "limit",
826
+ "annotation": {
827
+ "type": "keyword",
828
+ "value": "number"
829
+ }
830
+ }
831
+ ],
832
+ "events": [],
833
+ "methods": [],
834
+ "types": [
835
+ {
836
+ "type": "interface",
837
+ "name": "ShowCaseType",
838
+ "body": [
839
+ {
840
+ "type": "propertySignature",
841
+ "key": {
842
+ "type": "identifier",
843
+ "name": "conversationId"
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": "title"
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": "summary"
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": "scenario"
880
+ },
881
+ "annotation": {
882
+ "type": "keyword",
883
+ "value": "string"
884
+ },
885
+ "computed": false
886
+ },
887
+ {
888
+ "type": "propertySignature",
889
+ "key": {
890
+ "type": "identifier",
891
+ "name": "url"
892
+ },
893
+ "annotation": {
894
+ "type": "keyword",
895
+ "value": "string"
896
+ },
897
+ "optional": true,
898
+ "computed": false
899
+ }
900
+ ]
901
+ }
902
+ ]
903
+ },
904
904
  "ai-portal.mcp-tools": {
905
905
  "properties": [
906
906
  {
@@ -2748,6 +2748,33 @@
2748
2748
  }
2749
2749
  ]
2750
2750
  },
2751
+ "ai-portal.show-case": {
2752
+ "properties": [
2753
+ {
2754
+ "name": "caseTitle",
2755
+ "annotation": {
2756
+ "type": "keyword",
2757
+ "value": "string"
2758
+ }
2759
+ },
2760
+ {
2761
+ "name": "summary",
2762
+ "annotation": {
2763
+ "type": "keyword",
2764
+ "value": "string"
2765
+ }
2766
+ },
2767
+ {
2768
+ "name": "url",
2769
+ "annotation": {
2770
+ "type": "keyword",
2771
+ "value": "string"
2772
+ }
2773
+ }
2774
+ ],
2775
+ "events": [],
2776
+ "methods": []
2777
+ },
2751
2778
  "ai-portal.chat-input": {
2752
2779
  "properties": [
2753
2780
  {
@@ -2808,33 +2835,6 @@
2808
2835
  ],
2809
2836
  "methods": []
2810
2837
  },
2811
- "ai-portal.show-case": {
2812
- "properties": [
2813
- {
2814
- "name": "caseTitle",
2815
- "annotation": {
2816
- "type": "keyword",
2817
- "value": "string"
2818
- }
2819
- },
2820
- {
2821
- "name": "summary",
2822
- "annotation": {
2823
- "type": "keyword",
2824
- "value": "string"
2825
- }
2826
- },
2827
- {
2828
- "name": "url",
2829
- "annotation": {
2830
- "type": "keyword",
2831
- "value": "string"
2832
- }
2833
- }
2834
- ],
2835
- "events": [],
2836
- "methods": []
2837
- },
2838
2838
  "ai-portal.elevo-sidebar": {
2839
2839
  "properties": [
2840
2840
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.48.4",
3
+ "version": "0.48.5",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  "@next-bricks/presentational": "*",
48
48
  "@next-bricks/vs": "*"
49
49
  },
50
- "gitHead": "e4578f248fb6d82805c28b342fa92ab98b9d5259"
50
+ "gitHead": "20d0f3e70f7d235fe655648454861b4297d9b810"
51
51
  }