@databrainhq/plugin 0.14.5 → 0.14.7
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.
|
@@ -10,5 +10,6 @@ export type DownloadButtonProps = {
|
|
|
10
10
|
query: string;
|
|
11
11
|
companyIntegrationId: string;
|
|
12
12
|
integrationName: string;
|
|
13
|
+
queryWithNoFilter: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const DownloadButton: ({ data, chartRef, metricName, onRawCsvData, chartOptions, integrationName, companyIntegrationId, query, }: DownloadButtonProps) => React.JSX.Element;
|
|
15
|
+
export declare const DownloadButton: ({ data, chartRef, metricName, onRawCsvData, chartOptions, integrationName, companyIntegrationId, query, queryWithNoFilter, }: DownloadButtonProps) => React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
import { ThemeType } from '@/utils';
|
|
3
|
+
export interface CreateEmbeddedMetricProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
+
token: string;
|
|
5
|
+
dashboardId?: string;
|
|
6
|
+
options?: {
|
|
7
|
+
disableMetricCreation?: boolean;
|
|
8
|
+
disableMetricUpdation?: boolean;
|
|
9
|
+
disableMetricDeletion?: boolean;
|
|
10
|
+
chartColors?: string[];
|
|
11
|
+
};
|
|
12
|
+
theme?: ThemeType;
|
|
13
|
+
}
|
|
14
|
+
export declare const CreateEmbeddedMetric: (props: CreateEmbeddedMetricProps) => React.JSX.Element;
|
package/dist/webcomponents.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DashboardProps } from './containers/Dashboard';
|
|
2
2
|
import { Chart, ChartProps } from './components';
|
|
3
3
|
import { MetricProps } from './containers/Metric';
|
|
4
|
+
import { CreateEmbeddedMetricProps } from './containers/CreateMetric';
|
|
4
5
|
export type { CustomSettings, TableSettings, MarginSettings, AxisSettings, LegendSettings, LabelSettings, BackgroundSettings, PivotSettingsType, GaugeSettingsType, ChartSettingsType, TimeSeriesSettingsType, MetricFilterOptionsType, DateTypeOptionType, } from '@/types';
|
|
5
6
|
export declare namespace JSX {
|
|
6
7
|
interface IntrinsicElements {
|
|
@@ -8,7 +9,8 @@ export declare namespace JSX {
|
|
|
8
9
|
'dbn-dashboard': DashboardProps;
|
|
9
10
|
'dbn-metric': MetricProps;
|
|
10
11
|
'dbn-chart': ChartProps;
|
|
12
|
+
'dbn-create-metric': CreateEmbeddedMetricProps;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
|
-
export type { DashboardProps, MetricProps, ChartProps };
|
|
15
|
+
export type { DashboardProps, MetricProps, ChartProps, CreateEmbeddedMetricProps, };
|
|
14
16
|
export { Chart };
|