@databrainhq/plugin 0.10.15 → 0.10.16
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/TagInputField/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/useUnderlyingData.d.ts +2 -1
- package/dist/index.es.js +11979 -11975
- package/dist/index.umd.js +135 -135
- package/dist/utils/generated/graphql.d.ts +8 -2
- package/package.json +1 -1
|
@@ -149,6 +149,7 @@ export type GenerateExternalMetricQueryOutput = {
|
|
|
149
149
|
export type GetUnderlyingDataInput = {
|
|
150
150
|
columnName: Scalars['String'];
|
|
151
151
|
companyId: Scalars['String'];
|
|
152
|
+
metricId?: InputMaybe<Scalars['String']>;
|
|
152
153
|
query: Scalars['String'];
|
|
153
154
|
value: Scalars['json'];
|
|
154
155
|
workspaceId: Scalars['String'];
|
|
@@ -2774,7 +2775,9 @@ export type ScheduleEmailReportCharts_Bool_Exp = {
|
|
|
2774
2775
|
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2775
2776
|
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2776
2777
|
/** unique or primary key constraint on columns "id" */
|
|
2777
|
-
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2778
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey",
|
|
2779
|
+
/** unique or primary key constraint on columns "externalMetricId", "scheduleEmailReportId" */
|
|
2780
|
+
ScheduleEmailReportChartsUniqueKey = "scheduleEmailReportCharts_unique_key"
|
|
2778
2781
|
}
|
|
2779
2782
|
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2780
2783
|
export type ScheduleEmailReportCharts_Insert_Input = {
|
|
@@ -3832,6 +3835,7 @@ export type UnderlyingDataMutationVariables = Exact<{
|
|
|
3832
3835
|
query?: InputMaybe<Scalars['String']>;
|
|
3833
3836
|
value?: InputMaybe<Scalars['json']>;
|
|
3834
3837
|
workspaceId?: InputMaybe<Scalars['String']>;
|
|
3838
|
+
metricId?: InputMaybe<Scalars['String']>;
|
|
3835
3839
|
}>;
|
|
3836
3840
|
export type UnderlyingDataMutation = {
|
|
3837
3841
|
__typename?: 'mutation_root';
|
|
@@ -4220,19 +4224,21 @@ export declare const SharingSettingsIdDocument = "\n query SharingSettingsId(
|
|
|
4220
4224
|
export declare const useSharingSettingsIdQuery: <TData = SharingSettingsIdQuery, TError = unknown>(variables?: SharingSettingsIdQueryVariables, options?: UseQueryOptions<SharingSettingsIdQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
4221
4225
|
export declare const GetThemesDocument = "\n query GetThemes($companyId: uuid! = \"\") {\n themes(where: {companyId: {_eq: $companyId}}) {\n id\n companyId\n general\n dashboard\n cardTitle\n cardDescription\n chart\n }\n}\n ";
|
|
4222
4226
|
export declare const useGetThemesQuery: <TData = GetThemesQuery, TError = unknown>(variables?: GetThemesQueryVariables, options?: UseQueryOptions<GetThemesQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
4223
|
-
export declare const UnderlyingDataDocument = "\n mutation UnderlyingData($columnName: String = \"\", $companyId: String = \"\", $query: String = \"\", $value: json = \"\", $workspaceId: String = \"\") {\n getUnderlyingData(\n input: {columnName: $columnName, companyId: $companyId, query: $query, value: $value, workspaceId: $workspaceId}\n ) {\n data\n timeTaken\n }\n}\n ";
|
|
4227
|
+
export declare const UnderlyingDataDocument = "\n mutation UnderlyingData($columnName: String = \"\", $companyId: String = \"\", $query: String = \"\", $value: json = \"\", $workspaceId: String = \"\", $metricId: String = \"\") {\n getUnderlyingData(\n input: {columnName: $columnName, companyId: $companyId, query: $query, value: $value, workspaceId: $workspaceId, metricId: $metricId}\n ) {\n data\n timeTaken\n }\n}\n ";
|
|
4224
4228
|
export declare const useUnderlyingDataMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<UnderlyingDataMutation, TError, Exact<{
|
|
4225
4229
|
columnName?: InputMaybe<string> | undefined;
|
|
4226
4230
|
companyId?: InputMaybe<string> | undefined;
|
|
4227
4231
|
query?: InputMaybe<string> | undefined;
|
|
4228
4232
|
value?: InputMaybe<Scalars['json']>;
|
|
4229
4233
|
workspaceId?: InputMaybe<string> | undefined;
|
|
4234
|
+
metricId?: InputMaybe<string> | undefined;
|
|
4230
4235
|
}>, TContext> | undefined) => import("react-query").UseMutationResult<UnderlyingDataMutation, TError, Exact<{
|
|
4231
4236
|
columnName?: InputMaybe<string> | undefined;
|
|
4232
4237
|
companyId?: InputMaybe<string> | undefined;
|
|
4233
4238
|
query?: InputMaybe<string> | undefined;
|
|
4234
4239
|
value?: InputMaybe<Scalars['json']>;
|
|
4235
4240
|
workspaceId?: InputMaybe<string> | undefined;
|
|
4241
|
+
metricId?: InputMaybe<string> | undefined;
|
|
4236
4242
|
}>, TContext>;
|
|
4237
4243
|
export declare const InvokeSaveRawCsvDetailsDocument = "\n mutation InvokeSaveRawCsvDetails($configurations: json = \"\", $expireCsvFileAt: String = \"\", $externalMetricId: String = \"\", $integrationId: String = \"\", $integrationName: String = \"\", $query: String = \"\", $expireUrlIn: Int = 60) {\n invokeSaveRawCsvDetails(\n input: {configurations: $configurations, expireCsvFileAt: $expireCsvFileAt, externalMetricId: $externalMetricId, integrationId: $integrationId, integrationName: $integrationName, query: $query, expireUrlIn: $expireUrlIn}\n ) {\n error\n statusCode\n }\n}\n ";
|
|
4238
4244
|
export declare const useInvokeSaveRawCsvDetailsMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<InvokeSaveRawCsvDetailsMutation, TError, Exact<{
|