meyi-insight-ui-dev 1.0.0 → 1.0.2

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 (78) hide show
  1. package/dist/InsightPage.d.ts +2 -1
  2. package/dist/components/common/AssignUsersDialog.d.ts +8 -0
  3. package/dist/components/common/AssigneeSelect.d.ts +7 -0
  4. package/dist/components/data-table/bulk-actions.d.ts +18 -0
  5. package/dist/components/data-table/column-header.d.ts +7 -0
  6. package/dist/components/data-table/faceted-filter.d.ts +15 -0
  7. package/dist/components/data-table/index.d.ts +6 -0
  8. package/dist/components/data-table/pagination.d.ts +7 -0
  9. package/dist/components/data-table/toolbar.d.ts +18 -0
  10. package/dist/components/data-table/view-options.d.ts +6 -0
  11. package/dist/components/ui/alert-dialog.d.ts +14 -0
  12. package/dist/components/ui/checkbox.d.ts +4 -0
  13. package/dist/components/ui/command.d.ts +18 -0
  14. package/dist/components/ui/dropdown-menu.d.ts +22 -18
  15. package/dist/components/ui/popover.d.ts +7 -0
  16. package/dist/components/ui/select.d.ts +15 -0
  17. package/dist/components/ui/switch.d.ts +4 -0
  18. package/dist/components/ui/textarea.d.ts +5 -0
  19. package/dist/components/ui/tooltip.d.ts +7 -0
  20. package/dist/context.d.ts +14 -0
  21. package/dist/features/alerts/components/AlertForm.d.ts +15 -0
  22. package/dist/features/alerts/components/{PromoteDialog.d.ts → ConvertDialog.d.ts} +2 -2
  23. package/dist/features/alerts/components/InsightAlertCard.d.ts +5 -2
  24. package/dist/features/alerts/components/alerts-columns.d.ts +11 -0
  25. package/dist/features/alerts/components/alerts-table.d.ts +25 -0
  26. package/dist/features/connectors/cloudwatch-wizard/CloudWatchConnectorWizard.d.ts +8 -0
  27. package/dist/features/connectors/components/ConnectorAwsOnboardingDialog.d.ts +41 -0
  28. package/dist/features/connectors/components/ConnectorDatadogSetupDialog.d.ts +21 -0
  29. package/dist/features/connectors/components/ConnectorDetailsDialog.d.ts +8 -0
  30. package/dist/features/connectors/components/ConnectorFilters.d.ts +18 -0
  31. package/dist/features/connectors/components/ConnectorGrafanaSetupDialog.d.ts +25 -0
  32. package/dist/features/connectors/components/ConnectorPrometheusSetupDialog.d.ts +20 -0
  33. package/dist/features/connectors/components/ConnectorTokenPolicyDialog.d.ts +11 -0
  34. package/dist/features/connectors/components/InsightConnectorCard.d.ts +7 -1
  35. package/dist/features/connectors/components/InsightConnectorForm.d.ts +2 -1
  36. package/dist/features/connectors/grafana-wizard/GrafanaConnectorWizard.d.ts +7 -0
  37. package/dist/features/connectors/prometheus-wizard/PrometheusConnectorWizard.d.ts +5 -0
  38. package/dist/features/connectors/source-selection/ConnectorSourcePickerDialog.d.ts +6 -0
  39. package/dist/features/incidents/components/IncidentComments.d.ts +9 -0
  40. package/dist/features/incidents/components/IncidentDeleteDialog.d.ts +8 -0
  41. package/dist/features/incidents/components/IncidentFilters.d.ts +18 -0
  42. package/dist/features/incidents/components/IncidentForm.d.ts +15 -0
  43. package/dist/features/incidents/components/IncidentTimeline.d.ts +4 -0
  44. package/dist/features/incidents/components/InsightIncidentCard.d.ts +2 -1
  45. package/dist/features/incidents/components/InsightRcaResult.d.ts +2 -1
  46. package/dist/features/incidents/components/incidents-columns.d.ts +7 -0
  47. package/dist/features/incidents/components/incidents-table.d.ts +18 -0
  48. package/dist/features/projects/components/projects-columns.d.ts +8 -0
  49. package/dist/features/projects/components/projects-table.d.ts +15 -0
  50. package/dist/features/sop/components/SopAiDialog.d.ts +8 -0
  51. package/dist/features/sop/components/SopCard.d.ts +9 -0
  52. package/dist/features/sop/components/SopDeleteDialog.d.ts +6 -0
  53. package/dist/features/sop/components/SopForm.d.ts +20 -0
  54. package/dist/features/sop/components/sop-columns.d.ts +6 -0
  55. package/dist/features/sop/components/sop-table.d.ts +20 -0
  56. package/dist/features/sop/detail.d.ts +5 -0
  57. package/dist/features/sop/index.d.ts +4 -0
  58. package/dist/features/workflows/components/WorkflowDiagramModal.d.ts +6 -0
  59. package/dist/features/workflows/components/WorkflowExecutionsDrawer.d.ts +6 -0
  60. package/dist/features/workflows/components/WorkflowFormDialog.d.ts +7 -0
  61. package/dist/features/workflows/index.d.ts +1 -0
  62. package/dist/hooks/use-table-url-state.d.ts +54 -0
  63. package/dist/hooks/useInsightPolling.d.ts +1 -0
  64. package/dist/hooks/useInsightUsers.d.ts +10 -0
  65. package/dist/index.d.ts +1 -1
  66. package/dist/index.js +189 -30
  67. package/dist/index.mjs +73847 -10571
  68. package/dist/lib/clipboard.d.ts +1 -0
  69. package/dist/router.d.ts +1 -1
  70. package/dist/services/insight.d.ts +151 -3
  71. package/dist/services/sop.d.ts +38 -0
  72. package/dist/services/workflow.d.ts +12 -0
  73. package/dist/style.css +1 -1
  74. package/dist/types.d.ts +421 -10
  75. package/package.json +12 -1
  76. package/dist/features/alerts/components/InsightAlertTable.d.ts +0 -10
  77. package/dist/features/incidents/components/InsightIncidentTable.d.ts +0 -8
  78. package/dist/features/projects/components/InsightProjectTable.d.ts +0 -8
package/dist/types.d.ts CHANGED
@@ -3,17 +3,338 @@ export type InsightConnector = {
3
3
  id: string;
4
4
  name: string;
5
5
  type: InsightConnectorType;
6
+ alertCount?: number;
6
7
  description?: string;
7
8
  isActive: boolean;
8
9
  webhookToken: string;
9
10
  webhookUrl: string;
11
+ awsLambdaName?: string;
12
+ awsAlarmNamePrefix?: string;
13
+ awsRegion?: string | null;
14
+ awsSelectedAlarmNames?: string[];
15
+ awsSelectedMetricKeys?: string[];
16
+ awsDeploymentStatus?: 'not_started' | 'pending' | 'deployed' | 'failed' | 'deleted' | string;
17
+ awsDeploymentStatusReason?: string | null;
18
+ awsStackName?: string | null;
19
+ awsStackId?: string | null;
20
+ grafanaBaseUrl?: string | null;
21
+ grafanaContactPointName?: string | null;
22
+ hasGrafanaAccountToken?: boolean;
23
+ grafanaSetupStatus?: 'not_started' | 'manual_ready' | 'configured' | 'failed' | string;
24
+ grafanaSetupStatusReason?: string | null;
25
+ prometheusEnvironment?: string | null;
26
+ prometheusReceiverName?: string | null;
27
+ prometheusBaseUrl?: string | null;
28
+ alertmanagerBaseUrl?: string | null;
29
+ prometheusSetupStatus?: 'not_started' | 'generated' | 'downloaded' | 'checking' | 'configured' | 'failed' | 'not_yet' | string;
30
+ prometheusSetupStatusReason?: string | null;
31
+ deliveryStatus?: 'unknown' | 'healthy' | 'failed' | string;
32
+ lastWebhookReceivedAt?: string | null;
33
+ lastSuccessfulWebhookAt?: string | null;
34
+ lastFailedWebhookAt?: string | null;
35
+ lastErrorCode?: string | null;
36
+ lastErrorMessage?: string | null;
37
+ lastAlertId?: string | null;
38
+ webhookSuccessCount?: number;
39
+ webhookFailureCount?: number;
40
+ tokenPolicy?: {
41
+ mode: 'expires' | 'unlimited';
42
+ expiresAt: string | null;
43
+ defaultTtlDays: number;
44
+ };
10
45
  createdAt: string;
11
46
  updatedAt: string;
12
47
  };
48
+ export type InsightWebhookFailureLog = {
49
+ id: string;
50
+ connectorId: string | null;
51
+ tokenPreview?: string | null;
52
+ errorCode: string;
53
+ errorMessage: string;
54
+ requestIp?: string | null;
55
+ userAgent?: string | null;
56
+ method?: string | null;
57
+ path?: string | null;
58
+ payload?: any;
59
+ createdAt: string;
60
+ };
61
+ export type InsightConnectorTokenPolicy = {
62
+ mode: 'expires' | 'unlimited';
63
+ expiresAt: string | null;
64
+ defaultTtlDays: number;
65
+ };
66
+ export type InsightCloudWatchDiscoverResult = {
67
+ ok: boolean;
68
+ connector: {
69
+ id: string;
70
+ name: string;
71
+ type: InsightConnectorType;
72
+ };
73
+ aws: {
74
+ region: string;
75
+ accessKeyIdMasked: string | null;
76
+ };
77
+ metrics: {
78
+ namespace: string;
79
+ metricName: string;
80
+ }[];
81
+ alarms: {
82
+ alarmName: string;
83
+ stateValue: string | null;
84
+ metricName: string | null;
85
+ namespace: string | null;
86
+ dimensions: {
87
+ name: string;
88
+ value: string;
89
+ }[];
90
+ }[];
91
+ };
92
+ export type InsightCloudWatchSetupResult = {
93
+ ok: boolean;
94
+ connector: {
95
+ id: string;
96
+ name: string;
97
+ type: InsightConnectorType;
98
+ };
99
+ setup: {
100
+ accessKeyId: string;
101
+ secretAccessKey: string;
102
+ sessionToken: string;
103
+ region: string;
104
+ stackName: string;
105
+ lambdaName: string;
106
+ alarmNamePrefix: string;
107
+ selectedAlarmNames: string[];
108
+ selectedMetricKeys: string[];
109
+ };
110
+ };
111
+ export type InsightCloudWatchDeployResult = {
112
+ ok: boolean;
113
+ connector: {
114
+ id: string;
115
+ name: string;
116
+ type: InsightConnectorType;
117
+ };
118
+ webhook: {
119
+ path: string;
120
+ url: string;
121
+ };
122
+ deployment: {
123
+ region: string;
124
+ stackName: string;
125
+ action: "create" | "update";
126
+ stackStatus: string | null;
127
+ stackId: string | null;
128
+ selectedAlarmNames: string[];
129
+ selectedMetricKeys: string[];
130
+ lambdaName: string;
131
+ alarmNamePrefix: string;
132
+ createdAlarmNames: string[];
133
+ alarmDefaults: {
134
+ threshold: number;
135
+ period: number;
136
+ evaluationPeriods: number;
137
+ statistic: string;
138
+ comparisonOperator: string;
139
+ treatMissingData: string;
140
+ };
141
+ };
142
+ templateDownloadUrl: string;
143
+ aws: {
144
+ region: string;
145
+ stackName: string;
146
+ accessKeyIdMasked: string | null;
147
+ };
148
+ };
149
+ export type InsightCloudWatchConsoleDeployResult = {
150
+ ok: boolean;
151
+ connector: {
152
+ id: string;
153
+ name: string;
154
+ type: InsightConnectorType;
155
+ };
156
+ webhook: {
157
+ path: string;
158
+ url: string;
159
+ };
160
+ deployment: {
161
+ method: string;
162
+ region: string;
163
+ stackName: string;
164
+ lambdaName: string;
165
+ deploymentStatusUrl: string;
166
+ templateUrl: string;
167
+ templateDownloadUrl: string;
168
+ quickCreateUrl: string;
169
+ isPublicTemplateUrl: boolean;
170
+ canPrefillTemplateUrl?: boolean;
171
+ resources: string[];
172
+ };
173
+ };
174
+ export type InsightCloudWatchLambdaOnboarding = {
175
+ ok: boolean;
176
+ connector: {
177
+ id: string;
178
+ name: string;
179
+ type: InsightConnectorType;
180
+ };
181
+ webhook: {
182
+ path: string;
183
+ url: string;
184
+ tokenPolicy?: InsightConnectorTokenPolicy;
185
+ isPublicHint: boolean;
186
+ };
187
+ automation: {
188
+ method: string;
189
+ region: string;
190
+ stackName: string;
191
+ templateUrl: string | null;
192
+ templateDownloadUrl: string;
193
+ quickCreateUrl: string | null;
194
+ deployWithTemplateUrlCommand: string | null;
195
+ note: string | null;
196
+ };
197
+ };
198
+ export type InsightGrafanaOnboarding = {
199
+ ok: boolean;
200
+ connector: {
201
+ id: string;
202
+ name: string;
203
+ type: InsightConnectorType;
204
+ };
205
+ webhook: {
206
+ path: string;
207
+ url: string;
208
+ tokenPolicy?: InsightConnectorTokenPolicy;
209
+ isPublicHint: boolean;
210
+ };
211
+ defaults: {
212
+ grafanaBaseUrl?: string;
213
+ contactPointName: string;
214
+ hasAccountToken?: boolean;
215
+ accountTokenMasked?: string;
216
+ matcherLabel: string;
217
+ matcherValue: string;
218
+ };
219
+ setup?: {
220
+ status: string;
221
+ statusReason: string | null;
222
+ contactPointName: string;
223
+ grafanaBaseUrl: string;
224
+ autoRoute: boolean;
225
+ policyUpdated: boolean;
226
+ matcher: {
227
+ label: string;
228
+ value: string;
229
+ } | null;
230
+ };
231
+ manual: {
232
+ steps: string[];
233
+ };
234
+ };
235
+ export type InsightGrafanaSetupResult = {
236
+ ok: boolean;
237
+ contactPointName: string;
238
+ webhookUrl: string;
239
+ autoRoute: boolean;
240
+ policyUpdated: boolean;
241
+ matcher: {
242
+ label: string;
243
+ value: string;
244
+ } | null;
245
+ grafanaBaseUrl: string;
246
+ contactPoint: any;
247
+ };
248
+ export type InsightGrafanaSaveResult = {
249
+ ok: boolean;
250
+ contactPointName: string;
251
+ grafanaBaseUrl: string;
252
+ autoRoute: boolean;
253
+ policyUpdated: boolean;
254
+ matcher: {
255
+ label: string;
256
+ value: string;
257
+ } | null;
258
+ };
259
+ export type InsightPrometheusOnboarding = {
260
+ ok: boolean;
261
+ connector: {
262
+ id: string;
263
+ name: string;
264
+ type: InsightConnectorType;
265
+ };
266
+ webhook: {
267
+ path: string;
268
+ url: string;
269
+ tokenPolicy?: InsightConnectorTokenPolicy;
270
+ isPublicHint: boolean;
271
+ };
272
+ defaults: {
273
+ receiverName: string;
274
+ prometheusBaseUrl?: string;
275
+ alertmanagerBaseUrl?: string;
276
+ setupStatus?: string;
277
+ setupStatusReason?: string | null;
278
+ dockerCommand?: string;
279
+ linuxCommand?: string;
280
+ kubernetesCommand?: string;
281
+ };
282
+ downloads?: {
283
+ dockerScript: string;
284
+ linuxScript: string;
285
+ kubernetesYaml: string;
286
+ };
287
+ environments?: Array<{
288
+ id: "docker" | "linux" | "kubernetes";
289
+ label: string;
290
+ description: string;
291
+ }>;
292
+ snippets: {
293
+ alertmanagerConfig: string;
294
+ reloadCommand: string;
295
+ note: string;
296
+ };
297
+ manual: {
298
+ steps: string[];
299
+ };
300
+ };
301
+ export type InsightDatadogOnboarding = {
302
+ ok: boolean;
303
+ connector: {
304
+ id: string;
305
+ name: string;
306
+ type: InsightConnectorType;
307
+ };
308
+ webhook: {
309
+ path: string;
310
+ url: string;
311
+ tokenPolicy?: InsightConnectorTokenPolicy;
312
+ isPublicHint: boolean;
313
+ };
314
+ defaults: {
315
+ site: string;
316
+ webhookName: string;
317
+ notifyHandle: string;
318
+ };
319
+ manual: {
320
+ steps: string[];
321
+ };
322
+ };
323
+ export type InsightDatadogSetupResult = {
324
+ ok: boolean;
325
+ action: "create" | "update";
326
+ site: string;
327
+ apiBase: string;
328
+ webhookName: string;
329
+ webhookUrl: string;
330
+ notifyHandle: string;
331
+ note: string;
332
+ };
13
333
  export type InsightAlertSeverity = 'critical' | 'high' | 'medium' | 'low';
14
- export type InsightAlertStatus = 'open' | 'promoted' | 'dismissed';
334
+ export type InsightAlertStatus = 'open' | 'converted' | 'dismissed';
15
335
  export type InsightAlert = {
16
336
  id: string;
337
+ aliasId?: string;
17
338
  connectorId?: string;
18
339
  connectorName?: string;
19
340
  connectorType?: string;
@@ -22,14 +343,24 @@ export type InsightAlert = {
22
343
  resourceType: string;
23
344
  projectTag?: string;
24
345
  severity: InsightAlertSeverity;
25
- title: string;
346
+ alertName: string;
26
347
  description?: string;
27
348
  status: InsightAlertStatus;
28
- promotedIncidentId?: string;
29
- alertTime: string;
349
+ incidentId?: string;
350
+ incidentAssigneeId?: string | null;
351
+ downTime: string;
30
352
  createdAt: string;
31
353
  updatedAt: string;
32
354
  };
355
+ export type InsightAlertSummary = {
356
+ total: number;
357
+ bySeverity: {
358
+ critical: number;
359
+ high: number;
360
+ medium: number;
361
+ low: number;
362
+ };
363
+ };
33
364
  export type InsightProject = {
34
365
  id: string;
35
366
  name: string;
@@ -49,16 +380,29 @@ export type InsightSettings = {
49
380
  awsBedrockRegion?: string;
50
381
  updatedAt: string;
51
382
  };
383
+ export type InsightNotificationProvider = {
384
+ id: string;
385
+ provider_name: string;
386
+ display_name: string;
387
+ icon?: string;
388
+ };
389
+ export type InsightIncidentComment = {
390
+ id: string;
391
+ message: string;
392
+ authorId?: string | null;
393
+ authorName?: string | null;
394
+ createdAt: string;
395
+ };
52
396
  export type InsightIncident = {
53
397
  id: string;
54
398
  aliasId?: number;
55
- monitorId: string;
56
- monitorName: string;
57
- monitorType: string;
58
- monitorUrl?: string;
399
+ name: string;
400
+ source: string;
401
+ resourceName: string;
402
+ resourceType: string;
59
403
  downMessage?: string;
60
404
  projectTag?: string;
61
- incidentDownTime: string | null;
405
+ downTime: string | null;
62
406
  resolvedAt?: string;
63
407
  analysisStatus: "pending" | "triggered" | "processing" | "completed" | "failed";
64
408
  progressPercent: number;
@@ -68,7 +412,9 @@ export type InsightIncident = {
68
412
  remediationSteps?: NewRemediationSteps | any[] | string | null;
69
413
  confidenceScore?: number | null;
70
414
  aiModelUsed?: string | null;
71
- sourceAlertId?: string | null;
415
+ alertId?: string | null;
416
+ assigneeIds?: string[];
417
+ comments?: InsightIncidentComment[];
72
418
  createdAt: string;
73
419
  updatedAt: string;
74
420
  };
@@ -162,6 +508,11 @@ export type NewInsightAnalysisResult = {
162
508
  root_cause_analysis?: string;
163
509
  contributing_factors?: string[];
164
510
  infra_change_analysis?: string;
511
+ evidence?: string[];
512
+ confidence?: number;
513
+ dependency_impact?: string[];
514
+ probable_root_cause?: string;
515
+ recommended_actions?: string[];
165
516
  };
166
517
  export type NewRemediationSteps = {
167
518
  immediate_actions?: string[];
@@ -171,3 +522,63 @@ export type NewRemediationSteps = {
171
522
  };
172
523
  /** @deprecated Use InsightConnector */
173
524
  export type CloudConnector = InsightConnector;
525
+ export type InsightSopSeverity = 'critical' | 'high' | 'medium' | 'low';
526
+ export type InsightSopStatus = 'draft' | 'pending' | 'approved' | 'generating';
527
+ export type InsightSop = {
528
+ id: string;
529
+ sopId: string;
530
+ title: string;
531
+ alertType?: string;
532
+ service?: string;
533
+ severity?: InsightSopSeverity;
534
+ status: InsightSopStatus;
535
+ description?: string;
536
+ prompt?: string;
537
+ alertId?: string;
538
+ alertName?: string;
539
+ source?: string;
540
+ project?: string;
541
+ steps?: string;
542
+ createdBy?: string;
543
+ createdAt: string;
544
+ updatedAt: string;
545
+ };
546
+ export type InsightWorkflowConditionField = 'source' | 'resource' | 'severity' | 'project' | 'alertName';
547
+ export type InsightWorkflowConditionOperator = 'equals' | 'contains' | 'startsWith' | 'endsWith' | 'in';
548
+ export type InsightWorkflowConditionRule = {
549
+ field: InsightWorkflowConditionField;
550
+ operator: InsightWorkflowConditionOperator;
551
+ value: string | string[];
552
+ };
553
+ export type InsightWorkflowConditionGroup = {
554
+ groupId: string;
555
+ operator: 'AND' | 'OR';
556
+ rules: InsightWorkflowConditionRule[];
557
+ };
558
+ export type InsightWorkflowActionType = 'create_incident' | 'assign_incident' | 'generate_rca' | 'generate_sop' | 'send_notification' | 'skip_alert';
559
+ export type InsightWorkflowAction = {
560
+ type: InsightWorkflowActionType;
561
+ config: Record<string, any>;
562
+ };
563
+ export type InsightWorkflow = {
564
+ id: string;
565
+ name: string;
566
+ description: string | null;
567
+ isActive: boolean;
568
+ priority: number;
569
+ conditions: InsightWorkflowConditionGroup[];
570
+ actions: InsightWorkflowAction[];
571
+ createdAt: string;
572
+ updatedAt: string;
573
+ };
574
+ export type InsightWorkflowExecution = {
575
+ id: string;
576
+ workflowId: string;
577
+ alertId: string | null;
578
+ status: string;
579
+ actionsExecuted: any[];
580
+ errorMessage: string | null;
581
+ triggeredAt: string;
582
+ completedAt: string | null;
583
+ alertName?: string;
584
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "meyi-insight-ui-dev",
3
3
  "private": false,
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -28,21 +28,32 @@
28
28
  "react-dom": "^19.0.0"
29
29
  },
30
30
  "dependencies": {
31
+ "@radix-ui/react-alert-dialog": "^1.1.16",
32
+ "@radix-ui/react-checkbox": "^1.3.4",
31
33
  "@radix-ui/react-dialog": "^1.1.15",
32
34
  "@radix-ui/react-dropdown-menu": "^2.1.16",
33
35
  "@radix-ui/react-label": "^2.1.8",
36
+ "@radix-ui/react-popover": "^1.1.15",
34
37
  "@radix-ui/react-scroll-area": "^1.2.10",
35
38
  "@radix-ui/react-select": "^2.2.0",
36
39
  "@radix-ui/react-separator": "^1.1.0",
37
40
  "@radix-ui/react-slot": "^1.2.4",
41
+ "@radix-ui/react-switch": "^1.3.0",
38
42
  "@radix-ui/react-tabs": "^1.1.0",
39
43
  "@radix-ui/react-tooltip": "^1.2.0",
40
44
  "@tanstack/react-query": "^5.0.0",
41
45
  "@tanstack/react-router": "^1.132.0",
46
+ "@tanstack/react-table": "^8.21.3",
47
+ "@uiw/react-md-editor": "^4.1.1",
48
+ "@xyflow/react": "^12.11.0",
42
49
  "axios": "^1.12.0",
43
50
  "class-variance-authority": "^0.7.0",
44
51
  "clsx": "^2.1.0",
52
+ "cmdk": "^1.1.1",
53
+ "date-fns": "^4.4.0",
45
54
  "lucide-react": "^0.545.0",
55
+ "next-remove-imports": "^1.0.13",
56
+ "socket.io-client": "^4.8.1",
46
57
  "sonner": "^2.0.0",
47
58
  "tailwind-merge": "^3.3.0",
48
59
  "tailwindcss": "^4.1.0",
@@ -1,10 +0,0 @@
1
- import { InsightAlert } from '../../../types.js';
2
- interface InsightAlertTableProps {
3
- alerts: InsightAlert[];
4
- deletingId: string | null;
5
- onViewIncident: (id: string) => void;
6
- onPromote: (alert: InsightAlert) => void;
7
- onDelete: (id: string) => void;
8
- }
9
- export declare function InsightAlertTable({ alerts, deletingId, onViewIncident, onPromote, onDelete, }: InsightAlertTableProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,8 +0,0 @@
1
- import { InsightIncident } from '../../../types.js';
2
- interface Props {
3
- incidents: InsightIncident[];
4
- loading?: boolean;
5
- onViewResult: (id: string) => void;
6
- }
7
- export declare function InsightIncidentTable({ incidents, loading, onViewResult }: Props): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,8 +0,0 @@
1
- import { InsightProject } from '../../../types.js';
2
- interface InsightProjectTableProps {
3
- projects: InsightProject[];
4
- onEdit: (project: InsightProject) => void;
5
- onDelete: (project: InsightProject) => void;
6
- }
7
- export declare function InsightProjectTable({ projects, onEdit, onDelete, }: InsightProjectTableProps): import("react/jsx-runtime").JSX.Element;
8
- export {};