semaphor 0.0.96 → 0.0.97
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/chunks/{index-B2_LiBan.js → index-D-YGno0n.js} +12537 -12190
- package/dist/chunks/index-D58ery3w.js +396 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +2569 -2505
- package/dist/style.css +1 -1
- package/dist/types/dashboard.d.ts +10 -6
- package/dist/types/main.d.ts +15 -6
- package/dist/types/surfboard.d.ts +10 -6
- package/dist/types/types.d.ts +10 -6
- package/package.json +1 -1
- package/dist/chunks/index-DzbI-g5k.js +0 -386
package/dist/types/types.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export declare type AIScopeTable = {
|
|
|
14
14
|
datamodelName: string;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
+
export declare type AssistantId = 'dashboard-assistant' | 'editor-assistant';
|
|
18
|
+
|
|
17
19
|
export declare type AuthToken = {
|
|
18
20
|
accessToken: string;
|
|
19
21
|
refreshToken?: string;
|
|
@@ -141,6 +143,7 @@ export declare type ErrorProps = {
|
|
|
141
143
|
declare interface FilterByColumn extends BaseColumn {
|
|
142
144
|
role: 'filter';
|
|
143
145
|
operators?: string[];
|
|
146
|
+
mode?: 'include' | 'exclude';
|
|
144
147
|
sql?: string;
|
|
145
148
|
fetchValues?: boolean;
|
|
146
149
|
fetchLimit?: number;
|
|
@@ -282,15 +285,16 @@ declare interface QueryConfig {
|
|
|
282
285
|
pivotColumns?: GroupByColumn[];
|
|
283
286
|
metricColumns?: MetricColumn[];
|
|
284
287
|
filterColumns?: FilterByColumn[];
|
|
285
|
-
filters?:
|
|
286
|
-
filterColumnName: string;
|
|
287
|
-
filterValue: FilterValue;
|
|
288
|
-
exclude?: boolean;
|
|
289
|
-
}[];
|
|
288
|
+
filters?: QueryFilter[];
|
|
290
289
|
limit?: number;
|
|
291
290
|
orderBy?: OrderBy[];
|
|
292
291
|
}
|
|
293
292
|
|
|
293
|
+
declare type QueryFilter = {
|
|
294
|
+
filterColumnName: string;
|
|
295
|
+
filterValue: FilterValue;
|
|
296
|
+
};
|
|
297
|
+
|
|
294
298
|
declare type RangeValue = {
|
|
295
299
|
gte?: string | number;
|
|
296
300
|
lte?: string | number;
|
|
@@ -465,7 +469,7 @@ export declare type TChartOptions = {
|
|
|
465
469
|
};
|
|
466
470
|
};
|
|
467
471
|
|
|
468
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'kpi' | 'pyramid' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
472
|
+
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'custom';
|
|
469
473
|
|
|
470
474
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
471
475
|
columnIdx: number;
|