@feedmepos/mf-remy-panel 0.8.2 → 0.9.0-dev.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.
@@ -29,6 +29,81 @@ export interface ChartActionCardResult {
29
29
  axes?: ChartAxis[];
30
30
  summary: string;
31
31
  }
32
+ export interface ExcelExportActionCardResult {
33
+ type: 'excel';
34
+ title: string;
35
+ s3Key: string;
36
+ fileName: string;
37
+ rowCount: number;
38
+ previewTable: {
39
+ headers: string[];
40
+ rows: string[][];
41
+ };
42
+ }
43
+ export interface DocxExportActionCardResult {
44
+ type: 'docx';
45
+ title: string;
46
+ s3Key: string;
47
+ fileName: string;
48
+ rowCount: number;
49
+ previewTable: {
50
+ headers: string[];
51
+ rows: string[][];
52
+ };
53
+ }
54
+ export type ReportSection = {
55
+ id?: string;
56
+ type: 'heading';
57
+ level: 1 | 2 | 3;
58
+ text: string;
59
+ } | {
60
+ id?: string;
61
+ type: 'paragraph';
62
+ text: string;
63
+ } | {
64
+ id?: string;
65
+ type: 'bullet-list';
66
+ items: string[];
67
+ } | {
68
+ id?: string;
69
+ type: 'divider';
70
+ } | {
71
+ id?: string;
72
+ type: 'table';
73
+ queryId: string;
74
+ title?: string;
75
+ columns: Array<{
76
+ id: string;
77
+ label: string;
78
+ }>;
79
+ rows: Array<Record<string, unknown>>;
80
+ } | {
81
+ id?: string;
82
+ type: 'chart';
83
+ queryId: string;
84
+ title?: string;
85
+ /** Full chart config from createChartActionCard — drives DOCX rendering */
86
+ chartConfig?: ChartActionCardResult;
87
+ columns: Array<{
88
+ id: string;
89
+ label: string;
90
+ }>;
91
+ rows: Array<Record<string, unknown>>;
92
+ };
93
+ export interface ReportArtifact {
94
+ id: string;
95
+ conversationId: string;
96
+ title: string;
97
+ sections: ReportSection[];
98
+ /** IANA timezone used when the report was created */
99
+ timezone: string;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ }
103
+ export interface ReportArtifactResult {
104
+ type: 'report-artifact';
105
+ artifact: ReportArtifact;
106
+ }
32
107
  export interface ReportTaskPart {
33
108
  type: string;
34
109
  toolCallId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-remy-panel",
3
- "version": "0.8.2",
3
+ "version": "0.9.0-dev.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -23,6 +23,7 @@
23
23
  "chart.js": "^4.5.1",
24
24
  "dompurify": "^3.0.8",
25
25
  "highlight.js": "^11.9.0",
26
+ "jszip": "^3.10.1",
26
27
  "markdown-it": "^14.1.0",
27
28
  "pinia": "^2.1.7",
28
29
  "vue": "^3.3.8",
@@ -32,6 +33,7 @@
32
33
  "devDependencies": {
33
34
  "@rushstack/eslint-patch": "^1.3.3",
34
35
  "@tsconfig/node18": "^18.2.6",
36
+ "@types/jszip": "^3.4.1",
35
37
  "@types/markdown-it": "^14.1.2",
36
38
  "@types/node": "^18.17.17",
37
39
  "@vitejs/plugin-vue": "^4.3.4",