@dashboard-designer/core 0.2.0 → 0.2.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.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Supported database providers (Phase 1 includes SQL Server). */
|
|
2
2
|
type DbProvider = 'sqlite' | 'postgres' | 'mysql' | 'mssql';
|
|
3
|
-
type WidgetType = 'bar' | 'line' | 'pie' | 'table' | 'kpi' | 'listbox' | 'label' | 'labelContainer';
|
|
3
|
+
type WidgetType = 'timeline' | 'bar' | 'line' | 'pie' | 'table' | 'kpi' | 'listbox' | 'label' | 'labelContainer';
|
|
4
4
|
type FilterOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin' | 'like' | 'between' | 'is_null' | 'not_null';
|
|
5
5
|
type JoinType = 'inner' | 'left' | 'right' | 'full';
|
|
6
6
|
type AuthMode = 'token' | 'anonymous';
|
|
@@ -23,6 +23,8 @@ interface GridItem {
|
|
|
23
23
|
minH?: number;
|
|
24
24
|
}
|
|
25
25
|
interface FilterDef {
|
|
26
|
+
/** Editor control for filter values. Dates are stored as YYYY-MM-DD. */
|
|
27
|
+
dataType?: 'text' | 'date';
|
|
26
28
|
id: string;
|
|
27
29
|
field: string;
|
|
28
30
|
label?: string;
|
package/dist/index.js
CHANGED