@databrainhq/plugin 0.11.11 → 0.11.13
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/components/Chart/SingleValueChart.d.ts +2 -1
- package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +3 -2
- package/dist/components/ChartPopup/index.d.ts +4 -3
- package/dist/hooks/useMetricCard.d.ts +3 -2
- package/dist/hooks/useUnderlyingData.d.ts +4 -3
- package/dist/index.es.js +8009 -7968
- package/dist/index.umd.js +114 -113
- package/dist/style.css +1 -1
- package/dist/types/app.d.ts +4 -3
- package/dist/utils/generated/graphql.d.ts +7 -4
- package/dist/webcomponents.es.js +7681 -7640
- package/dist/webcomponents.umd.js +112 -111
- package/package.json +1 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -255,11 +255,12 @@ export type MetricData = {
|
|
|
255
255
|
createdBy: string;
|
|
256
256
|
dateCreated: string;
|
|
257
257
|
};
|
|
258
|
-
export type GetUnderlyingData = ({ columnName, value, setData, setLoading, }: {
|
|
259
|
-
columnName: string;
|
|
260
|
-
value: any;
|
|
258
|
+
export type GetUnderlyingData = ({ columnName, value, setData, setLoading, isSingleValueChart, }: {
|
|
259
|
+
columnName: string | undefined;
|
|
260
|
+
value: any | undefined;
|
|
261
261
|
setData: React.Dispatch<React.SetStateAction<any[]>>;
|
|
262
262
|
setLoading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
263
|
+
isSingleValueChart: boolean;
|
|
263
264
|
}) => void;
|
|
264
265
|
export type ConditionalFormattingParam = {
|
|
265
266
|
value: any;
|
|
@@ -147,11 +147,11 @@ export type GenerateExternalMetricQueryOutput = {
|
|
|
147
147
|
query: Scalars['String'];
|
|
148
148
|
};
|
|
149
149
|
export type GetUnderlyingDataInput = {
|
|
150
|
-
columnName
|
|
150
|
+
columnName?: InputMaybe<Scalars['String']>;
|
|
151
151
|
companyId: Scalars['String'];
|
|
152
152
|
metricId?: InputMaybe<Scalars['String']>;
|
|
153
153
|
query: Scalars['String'];
|
|
154
|
-
value
|
|
154
|
+
value?: InputMaybe<Scalars['json']>;
|
|
155
155
|
workspaceId: Scalars['String'];
|
|
156
156
|
};
|
|
157
157
|
export type GetUnderlyingDataOutput = {
|
|
@@ -2788,7 +2788,9 @@ export type ScheduleEmailReportCharts_Bool_Exp = {
|
|
|
2788
2788
|
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2789
2789
|
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2790
2790
|
/** unique or primary key constraint on columns "id" */
|
|
2791
|
-
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2791
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey",
|
|
2792
|
+
/** unique or primary key constraint on columns "externalMetricId", "scheduleEmailReportId" */
|
|
2793
|
+
ScheduleEmailReportChartsUniqueKey = "scheduleEmailReportCharts_unique_key"
|
|
2792
2794
|
}
|
|
2793
2795
|
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2794
2796
|
export type ScheduleEmailReportCharts_Insert_Input = {
|
|
@@ -3584,6 +3586,7 @@ export type GenerateDatasetMetricsMutation = {
|
|
|
3584
3586
|
error?: any | null;
|
|
3585
3587
|
query?: string | null;
|
|
3586
3588
|
result?: any | null;
|
|
3589
|
+
timeTaken?: number | null;
|
|
3587
3590
|
} | null;
|
|
3588
3591
|
};
|
|
3589
3592
|
export type GenerateEmbeddedMeticMutationVariables = Exact<{
|
|
@@ -4188,7 +4191,7 @@ export declare const useFetchColumnDataMutation: <TError = unknown, TContext = u
|
|
|
4188
4191
|
integrationId?: InputMaybe<string> | undefined;
|
|
4189
4192
|
integrationName?: InputMaybe<string> | undefined;
|
|
4190
4193
|
}>, TContext>;
|
|
4191
|
-
export declare const GenerateDatasetMetricsDocument = "\n mutation GenerateDatasetMetrics($userInputs: json = \"\", $integrationName: String = \"\", $integrationId: String = \"\") {\n generateDatasetMetrics(\n input: {userInputs: $userInputs, integrationName: $integrationName, integrationId: $integrationId}\n ) {\n error\n query\n result\n }\n}\n ";
|
|
4194
|
+
export declare const GenerateDatasetMetricsDocument = "\n mutation GenerateDatasetMetrics($userInputs: json = \"\", $integrationName: String = \"\", $integrationId: String = \"\") {\n generateDatasetMetrics(\n input: {userInputs: $userInputs, integrationName: $integrationName, integrationId: $integrationId}\n ) {\n error\n query\n result\n timeTaken\n }\n}\n ";
|
|
4192
4195
|
export declare const useGenerateDatasetMetricsMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<GenerateDatasetMetricsMutation, TError, Exact<{
|
|
4193
4196
|
userInputs?: InputMaybe<Scalars['json']>;
|
|
4194
4197
|
integrationName?: InputMaybe<string> | undefined;
|