@databrainhq/plugin 0.14.20 → 0.14.21
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/containers/Dashboard/Dashboard.d.ts +1 -1
- package/dist/containers/Dashboard/EmbededDashboard.d.ts +1 -1
- package/dist/containers/Metric/EmbeddedMetric.d.ts +1 -1
- package/dist/containers/Metric/index.d.ts +1 -1
- package/dist/helpers/getColumnType.d.ts +2 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/types/app.d.ts +26 -0
- package/dist/webcomponents.es.js +15197 -15191
- package/dist/webcomponents.umd.js +140 -140
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export interface EmbeddedDashboardProps {
|
|
|
20
20
|
theme?: ThemeType;
|
|
21
21
|
adminThemeOption?: AdminThemeOptionsType;
|
|
22
22
|
customMessages?: {
|
|
23
|
-
|
|
23
|
+
tokenExpiry?: string;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
export declare const EmbeddedDashboard: React.MemoExoticComponent<({ options, theme, adminThemeOption, customMessages, }: EmbeddedDashboardProps) => React.JSX.Element>;
|
|
@@ -17,7 +17,7 @@ export interface EmbeddedMetricProps {
|
|
|
17
17
|
disableFullscreen?: boolean;
|
|
18
18
|
optionsIcon?: 'kebab-menu-vertical' | 'download';
|
|
19
19
|
customMessages?: {
|
|
20
|
-
|
|
20
|
+
tokenExpiry?: string;
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
export declare const EmbeddedMetric: React.MemoExoticComponent<({ token, chartColors, metricId, chartRendererType, variant, onMinimize, isHideChartSettings, isHideTablePreview, enableDownloadCsv, enableEmailCsv, metricFilterOptions, enableMultiMetricFilters, metricFilterPosition, disableFullscreen, optionsIcon, customMessages, }: EmbeddedMetricProps) => React.JSX.Element>;
|
package/dist/helpers/index.d.ts
CHANGED
package/dist/types/app.d.ts
CHANGED
|
@@ -4,6 +4,32 @@ import { CHART_TYPES, ICONS_LIST } from '@/consts';
|
|
|
4
4
|
export type ChildrenProps = {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
+
export type GlobalFiltersDefaultValue = string[] | string | number | number[] | {
|
|
8
|
+
startDate: Date | undefined;
|
|
9
|
+
endDate: Date | undefined;
|
|
10
|
+
timeGrainValue: string;
|
|
11
|
+
value: string;
|
|
12
|
+
} | undefined | {
|
|
13
|
+
min: number | null;
|
|
14
|
+
max: number | null;
|
|
15
|
+
} | FloatingDropDownOption[];
|
|
16
|
+
export type TableColumn = {
|
|
17
|
+
name: string;
|
|
18
|
+
dataType: string;
|
|
19
|
+
isDefault?: boolean;
|
|
20
|
+
label?: string;
|
|
21
|
+
isShowHorizontal?: boolean;
|
|
22
|
+
defaultValue?: GlobalFiltersDefaultValue;
|
|
23
|
+
isClientScoped?: boolean;
|
|
24
|
+
clientColumn?: string;
|
|
25
|
+
clientColumnType?: string;
|
|
26
|
+
isManualOptions?: boolean;
|
|
27
|
+
manualOptions?: string[];
|
|
28
|
+
as: string;
|
|
29
|
+
sql?: string;
|
|
30
|
+
type?: 'custom' | 'default' | 'python';
|
|
31
|
+
isAggregate?: boolean;
|
|
32
|
+
};
|
|
7
33
|
export type TimeSeriesGroupType = 'yearly' | 'monthly' | 'weekly' | 'daily' | 'quarterly';
|
|
8
34
|
export type TimeSeriesType = 'bar' | 'line' | 'area' | 'stack';
|
|
9
35
|
export type TimeSeriesSettingsType = {
|