@databrainhq/plugin 0.9.26 → 0.9.28
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/MetricList/MetricList.d.ts +1 -0
- package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +5 -3
- package/dist/components/MetricList/components/FullScreenView/index.d.ts +2 -1
- package/dist/components/TagInputField/index.d.ts +2 -2
- package/dist/consts/metricOptions.d.ts +2 -0
- package/dist/hooks/useDownloadRawCsv.d.ts +14 -1
- package/dist/index.es.js +15280 -15168
- package/dist/index.umd.js +144 -135
- package/dist/style.css +1 -1
- package/dist/utils/generated/graphql.d.ts +62 -3
- package/package.json +1 -1
|
@@ -172,6 +172,18 @@ export type InvokeSaveRawCsvDetailsOutput = {
|
|
|
172
172
|
error?: Maybe<Scalars['String']>;
|
|
173
173
|
statusCode?: Maybe<Scalars['Int']>;
|
|
174
174
|
};
|
|
175
|
+
export type InvokeSendCsvUrlInput = {
|
|
176
|
+
configurations: Scalars['json'];
|
|
177
|
+
emails: Array<InputMaybe<Scalars['String']>>;
|
|
178
|
+
expireCsvFileAt: Scalars['String'];
|
|
179
|
+
expireUrlIn: Scalars['Int'];
|
|
180
|
+
externalMetricId: Scalars['String'];
|
|
181
|
+
integrationId: Scalars['String'];
|
|
182
|
+
integrationName: Scalars['String'];
|
|
183
|
+
query: Scalars['String'];
|
|
184
|
+
sharingSettingsId: Scalars['String'];
|
|
185
|
+
subject: Scalars['String'];
|
|
186
|
+
};
|
|
175
187
|
export type PreviewTableData = {
|
|
176
188
|
__typename?: 'PreviewTableData';
|
|
177
189
|
data?: Maybe<Scalars['json']>;
|
|
@@ -1995,6 +2007,7 @@ export type Mutation_Root = {
|
|
|
1995
2007
|
/** insert a single row into the table: "scheduleEmailReports" */
|
|
1996
2008
|
insert_scheduleEmailReports_one?: Maybe<ScheduleEmailReports>;
|
|
1997
2009
|
invokeSaveRawCsvDetails?: Maybe<InvokeSaveRawCsvDetailsOutput>;
|
|
2010
|
+
invokeSendCsvUrl?: Maybe<InvokeSaveRawCsvDetailsOutput>;
|
|
1998
2011
|
previewTable?: Maybe<PreviewTableOutput>;
|
|
1999
2012
|
sendRawCsv?: Maybe<SendRawCsvOutput>;
|
|
2000
2013
|
/** update data of the table: "clientDashboardLayout" */
|
|
@@ -2179,6 +2192,10 @@ export type Mutation_RootInvokeSaveRawCsvDetailsArgs = {
|
|
|
2179
2192
|
input: InvokeSaveRawCsvDetailsInput;
|
|
2180
2193
|
};
|
|
2181
2194
|
/** mutation root */
|
|
2195
|
+
export type Mutation_RootInvokeSendCsvUrlArgs = {
|
|
2196
|
+
input: InvokeSendCsvUrlInput;
|
|
2197
|
+
};
|
|
2198
|
+
/** mutation root */
|
|
2182
2199
|
export type Mutation_RootPreviewTableArgs = {
|
|
2183
2200
|
input: PreviewTableInput;
|
|
2184
2201
|
};
|
|
@@ -2612,9 +2629,7 @@ export type ScheduleEmailReportCharts_Bool_Exp = {
|
|
|
2612
2629
|
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2613
2630
|
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2614
2631
|
/** unique or primary key constraint on columns "id" */
|
|
2615
|
-
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2616
|
-
/** unique or primary key constraint on columns "externalMetricId", "scheduleEmailReportId" */
|
|
2617
|
-
ScheduleEmailReportChartsUniqueKey = "scheduleEmailReportCharts_unique_key"
|
|
2632
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2618
2633
|
}
|
|
2619
2634
|
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2620
2635
|
export type ScheduleEmailReportCharts_Insert_Input = {
|
|
@@ -3643,6 +3658,26 @@ export type InvokeSaveRawCsvDetailsMutation = {
|
|
|
3643
3658
|
statusCode?: number | null;
|
|
3644
3659
|
} | null;
|
|
3645
3660
|
};
|
|
3661
|
+
export type InvokeSendCsvUrlMutationVariables = Exact<{
|
|
3662
|
+
configurations?: InputMaybe<Scalars['json']>;
|
|
3663
|
+
emails?: InputMaybe<Array<InputMaybe<Scalars['String']>> | InputMaybe<Scalars['String']>>;
|
|
3664
|
+
expireCsvFileAt?: InputMaybe<Scalars['String']>;
|
|
3665
|
+
expireUrlIn?: InputMaybe<Scalars['Int']>;
|
|
3666
|
+
externalMetricId?: InputMaybe<Scalars['String']>;
|
|
3667
|
+
integrationId?: InputMaybe<Scalars['String']>;
|
|
3668
|
+
integrationName?: InputMaybe<Scalars['String']>;
|
|
3669
|
+
query?: InputMaybe<Scalars['String']>;
|
|
3670
|
+
sharingSettingsId?: InputMaybe<Scalars['String']>;
|
|
3671
|
+
subject?: InputMaybe<Scalars['String']>;
|
|
3672
|
+
}>;
|
|
3673
|
+
export type InvokeSendCsvUrlMutation = {
|
|
3674
|
+
__typename?: 'mutation_root';
|
|
3675
|
+
invokeSendCsvUrl?: {
|
|
3676
|
+
__typename?: 'InvokeSaveRawCsvDetailsOutput';
|
|
3677
|
+
error?: string | null;
|
|
3678
|
+
statusCode?: number | null;
|
|
3679
|
+
} | null;
|
|
3680
|
+
};
|
|
3646
3681
|
export type MarkArchiveMetricMutationVariables = Exact<{
|
|
3647
3682
|
id?: Scalars['uuid'];
|
|
3648
3683
|
clientId?: Scalars['String'];
|
|
@@ -3989,6 +4024,30 @@ export declare const useInvokeSaveRawCsvDetailsMutation: <TError = unknown, TCon
|
|
|
3989
4024
|
query?: InputMaybe<string> | undefined;
|
|
3990
4025
|
expireUrlIn?: InputMaybe<number> | undefined;
|
|
3991
4026
|
}>, TContext>;
|
|
4027
|
+
export declare const InvokeSendCsvUrlDocument = "\n mutation InvokeSendCsvUrl($configurations: json = {}, $emails: [String] = [], $expireCsvFileAt: String = \"\", $expireUrlIn: Int = 1800000, $externalMetricId: String = \"\", $integrationId: String = \"\", $integrationName: String = \"\", $query: String = \"\", $sharingSettingsId: String = \"\", $subject: String = \"\") {\n invokeSendCsvUrl(\n input: {configurations: $configurations, emails: $emails, expireCsvFileAt: $expireCsvFileAt, externalMetricId: $externalMetricId, integrationId: $integrationId, integrationName: $integrationName, query: $query, sharingSettingsId: $sharingSettingsId, subject: $subject, expireUrlIn: $expireUrlIn}\n ) {\n error\n statusCode\n }\n}\n ";
|
|
4028
|
+
export declare const useInvokeSendCsvUrlMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<InvokeSendCsvUrlMutation, TError, Exact<{
|
|
4029
|
+
configurations?: InputMaybe<Scalars['json']>;
|
|
4030
|
+
emails?: InputMaybe<InputMaybe<string> | InputMaybe<string>[]> | undefined;
|
|
4031
|
+
expireCsvFileAt?: InputMaybe<string> | undefined;
|
|
4032
|
+
expireUrlIn?: InputMaybe<number> | undefined;
|
|
4033
|
+
externalMetricId?: InputMaybe<string> | undefined;
|
|
4034
|
+
integrationId?: InputMaybe<string> | undefined;
|
|
4035
|
+
integrationName?: InputMaybe<string> | undefined;
|
|
4036
|
+
query?: InputMaybe<string> | undefined;
|
|
4037
|
+
sharingSettingsId?: InputMaybe<string> | undefined;
|
|
4038
|
+
subject?: InputMaybe<string> | undefined;
|
|
4039
|
+
}>, TContext> | undefined) => import("react-query").UseMutationResult<InvokeSendCsvUrlMutation, TError, Exact<{
|
|
4040
|
+
configurations?: InputMaybe<Scalars['json']>;
|
|
4041
|
+
emails?: InputMaybe<InputMaybe<string> | InputMaybe<string>[]> | undefined;
|
|
4042
|
+
expireCsvFileAt?: InputMaybe<string> | undefined;
|
|
4043
|
+
expireUrlIn?: InputMaybe<number> | undefined;
|
|
4044
|
+
externalMetricId?: InputMaybe<string> | undefined;
|
|
4045
|
+
integrationId?: InputMaybe<string> | undefined;
|
|
4046
|
+
integrationName?: InputMaybe<string> | undefined;
|
|
4047
|
+
query?: InputMaybe<string> | undefined;
|
|
4048
|
+
sharingSettingsId?: InputMaybe<string> | undefined;
|
|
4049
|
+
subject?: InputMaybe<string> | undefined;
|
|
4050
|
+
}>, TContext>;
|
|
3992
4051
|
export declare const MarkArchiveMetricDocument = "\n mutation MarkArchiveMetric($id: uuid! = \"\", $clientId: String! = \"\") {\n insert_clientDeletedMetrics_one(\n object: {externalMetricId: $id, clientId: $clientId}\n ) {\n clientId\n externalMetricId\n }\n}\n ";
|
|
3993
4052
|
export declare const useMarkArchiveMetricMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<MarkArchiveMetricMutation, TError, Exact<{
|
|
3994
4053
|
id?: Scalars['uuid'];
|