@databrainhq/plugin 0.12.16 → 0.12.18

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.
@@ -12,6 +12,8 @@ export type FilterColumn = {
12
12
  isClientScoped?: boolean;
13
13
  clientColumn?: string;
14
14
  clientColumnType?: string;
15
+ isManualOptions?: boolean;
16
+ manualOptions?: string[];
15
17
  };
16
18
  type FiltersProps = {
17
19
  filterList: FilterColumn[];
@@ -89,6 +89,7 @@ export type CustomSettings = {
89
89
  roseType?: string;
90
90
  selectedMode?: string;
91
91
  selectedOffset?: number;
92
+ comboAxisSymbols?: any;
92
93
  gradients?: {
93
94
  startColor: string;
94
95
  endColor: string;
@@ -112,6 +113,8 @@ export type CustomSettings = {
112
113
  offset2?: number;
113
114
  direction?: string;
114
115
  };
116
+ labelPrefix?: string;
117
+ labelSuffix?: string;
115
118
  };
116
119
  export type TableSettings = {
117
120
  contentAlignment?: string;
@@ -189,6 +192,7 @@ export type ChartSettingsType = {
189
192
  measure?: string;
190
193
  singleValue?: string;
191
194
  sankeyValues?: string[];
195
+ percentageSize?: number;
192
196
  legendSettings?: LegendSettings;
193
197
  labelSettings?: LabelSettings;
194
198
  customSettings?: CustomSettings;
@@ -232,6 +236,8 @@ export type Schema = {
232
236
  isClientScoped?: boolean;
233
237
  clientColumn?: string;
234
238
  clientColumnType?: string;
239
+ isManualOptions?: boolean;
240
+ manualOptions?: string[];
235
241
  }[];
236
242
  };
237
243
  export type RlsFilterObjectType = {
@@ -29,10 +29,15 @@ export declare const getChartAttributes: ({ data, measure, singleValue, step, xA
29
29
  data: any[];
30
30
  }[];
31
31
  };
32
- export declare const transformDataToSankey: (data: Record<string, any>[], source: string, target: string, value: any) => {
33
- nodes: {
32
+ export declare const transformDataToSankey: ({ data, source, target, value, }: {
33
+ data: Record<string, any>[];
34
+ source: string;
35
+ target: string;
36
+ value: any;
37
+ }) => {
38
+ nodes: ({
34
39
  name: any;
35
- }[];
40
+ } | undefined)[];
36
41
  links: {
37
42
  source: number;
38
43
  target: number;