Skip to content

Commit b64240b

Browse files
Copilothotlong
andcommitted
fix: remove duplicate DashboardSchema interface declaration causing TS2717 build error
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d3599f8 commit b64240b

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

packages/types/src/complex.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,6 @@
1717

1818
import type { BaseSchema, SchemaNode } from './base';
1919

20-
/**
21-
* Dashboard Component Schema
22-
* (Report / BI View)
23-
*/
24-
export interface DashboardSchema extends BaseSchema {
25-
type: 'dashboard';
26-
/**
27-
* Layout Grid Configuration (e.g. 12 column grid)
28-
*/
29-
columns?: number;
30-
/**
31-
* Widget gap
32-
*/
33-
gap?: number;
34-
/**
35-
* Dashboard Widgets
36-
*/
37-
widgets: Array<{
38-
/** Unique Widget ID */
39-
id: string;
40-
/** Widget Title */
41-
title?: string;
42-
/** Widget Component (Chart, Statistic, List, etc) */
43-
component: SchemaNode;
44-
/** Grid Position: x, y, w, h */
45-
layout?: { x: number; y: number; w: number; h: number };
46-
}>;
47-
}
48-
4920
/**
5021
* Kanban column
5122
*/

0 commit comments

Comments
 (0)