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.
@@ -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;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.96",
8
+ "version": "0.0.97",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",