@databrainhq/plugin 0.14.23 → 0.14.25

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.
@@ -84,6 +84,8 @@ export declare const DATASET_NUMBER_HELPER_FUNCTIONS: {
84
84
  export declare const aggregateStrings: string[];
85
85
  export declare const FUNCTIONS_SYNONYMNS: Record<string, string[]>;
86
86
  export declare const SORT_SYNONYMNS: Record<string, string[]>;
87
+ export declare const NUMBER_SYNONYMNS: Record<string, number>;
88
+ export declare const questionKeywords: string[];
87
89
  export declare const DATASET_OTHER_HELPER_FUNCTIONS: {
88
90
  value: string;
89
91
  label: string;
@@ -50,5 +50,8 @@ declare const useGenerateMetric: (config: ConfigType) => {
50
50
  onChangeHelperFunction: ({ column, helperFunction, functionConfiguration, }: OnChangeHelperFunctionParams) => void;
51
51
  onChangeAlias: ({ alias, column }: OnChangeAliasParams) => void;
52
52
  chartOptions: FloatingDropDownOption[];
53
+ isShowChartType: boolean;
54
+ setShowChartType: import("react").Dispatch<import("react").SetStateAction<boolean>>;
55
+ enabledCharts: string[];
53
56
  };
54
57
  export default useGenerateMetric;
@@ -102,6 +102,8 @@ export type SelectedColumn = {
102
102
  dateFormat?: string;
103
103
  };
104
104
  synonyms?: string[];
105
+ sortType?: 'ASC' | 'DESC';
106
+ limit?: number;
105
107
  };
106
108
  export type DatasetSettings = {
107
109
  timeColumn: FloatingDropDownOption;
@@ -329,6 +331,7 @@ export type Filter = {
329
331
  export type Order = {
330
332
  method: string;
331
333
  name: string;
334
+ type?: 'custom' | 'default' | 'selected_column';
332
335
  };
333
336
  export type Forcast = {
334
337
  isEnable: boolean;