@databrainhq/plugin 0.9.40 → 0.9.41
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/DateRangePicker/index.d.ts +0 -1
- package/dist/components/FilterField/index.d.ts +2 -0
- package/dist/components/GlobalFilters/NumberFilterField.d.ts +1 -0
- package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +3 -1
- package/dist/index.es.js +19362 -18769
- package/dist/index.umd.js +154 -148
- package/dist/style.css +1 -1
- package/dist/types/app.d.ts +4 -0
- package/dist/utils/generated/graphql.d.ts +68 -1
- package/package.json +1 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ export type LegendSettings = {
|
|
|
43
43
|
left?: number;
|
|
44
44
|
right?: number;
|
|
45
45
|
position?: string;
|
|
46
|
+
truncateLegend?: boolean;
|
|
47
|
+
truncateLegendValue?: number;
|
|
46
48
|
};
|
|
47
49
|
export type MarginSettings = {
|
|
48
50
|
marginTop?: number;
|
|
@@ -90,6 +92,8 @@ export type LabelSettings = {
|
|
|
90
92
|
axis?: string;
|
|
91
93
|
show?: boolean;
|
|
92
94
|
position?: string;
|
|
95
|
+
truncateLabel?: boolean;
|
|
96
|
+
truncateLabelValue?: number;
|
|
93
97
|
};
|
|
94
98
|
export type AxisSettings = {
|
|
95
99
|
axis?: string;
|
|
@@ -2026,6 +2026,7 @@ export type Mutation_Root = {
|
|
|
2026
2026
|
invokeSendCsvUrl?: Maybe<InvokeSaveRawCsvDetailsOutput>;
|
|
2027
2027
|
previewTable?: Maybe<PreviewTableOutput>;
|
|
2028
2028
|
sendRawCsv?: Maybe<SendRawCsvOutput>;
|
|
2029
|
+
shareCsvUrl: Scalars['uuid'];
|
|
2029
2030
|
/** update data of the table: "clientDashboardLayout" */
|
|
2030
2031
|
update_clientDashboardLayout?: Maybe<ClientDashboardLayout_Mutation_Response>;
|
|
2031
2032
|
/** update single row of the table: "clientDashboardLayout" */
|
|
@@ -2220,6 +2221,10 @@ export type Mutation_RootSendRawCsvArgs = {
|
|
|
2220
2221
|
input: SendRawCsvInput;
|
|
2221
2222
|
};
|
|
2222
2223
|
/** mutation root */
|
|
2224
|
+
export type Mutation_RootShareCsvUrlArgs = {
|
|
2225
|
+
input: InvokeSendCsvUrlInput;
|
|
2226
|
+
};
|
|
2227
|
+
/** mutation root */
|
|
2223
2228
|
export type Mutation_RootUpdate_ClientDashboardLayoutArgs = {
|
|
2224
2229
|
_append?: InputMaybe<ClientDashboardLayout_Append_Input>;
|
|
2225
2230
|
_delete_at_path?: InputMaybe<ClientDashboardLayout_Delete_At_Path_Input>;
|
|
@@ -2405,6 +2410,7 @@ export type Query_Root = {
|
|
|
2405
2410
|
scheduleEmailReports: Array<ScheduleEmailReports>;
|
|
2406
2411
|
/** fetch data from the table: "scheduleEmailReports" using primary key columns */
|
|
2407
2412
|
scheduleEmailReports_by_pk?: Maybe<ScheduleEmailReports>;
|
|
2413
|
+
shareCsvUrl?: Maybe<ShareCsvUrl>;
|
|
2408
2414
|
/** fetch data from the table: "sharingSettings" */
|
|
2409
2415
|
sharingSettings: Array<SharingSettings>;
|
|
2410
2416
|
/** fetch data from the table: "sharingSettings" using primary key columns */
|
|
@@ -2588,6 +2594,9 @@ export type Query_RootScheduleEmailReportsArgs = {
|
|
|
2588
2594
|
export type Query_RootScheduleEmailReports_By_PkArgs = {
|
|
2589
2595
|
id: Scalars['uuid'];
|
|
2590
2596
|
};
|
|
2597
|
+
export type Query_RootShareCsvUrlArgs = {
|
|
2598
|
+
id: Scalars['uuid'];
|
|
2599
|
+
};
|
|
2591
2600
|
export type Query_RootSharingSettingsArgs = {
|
|
2592
2601
|
distinct_on?: InputMaybe<Array<SharingSettings_Select_Column>>;
|
|
2593
2602
|
limit?: InputMaybe<Scalars['Int']>;
|
|
@@ -2645,7 +2654,9 @@ export type ScheduleEmailReportCharts_Bool_Exp = {
|
|
|
2645
2654
|
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2646
2655
|
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2647
2656
|
/** unique or primary key constraint on columns "id" */
|
|
2648
|
-
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2657
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey",
|
|
2658
|
+
/** unique or primary key constraint on columns "externalMetricId", "scheduleEmailReportId" */
|
|
2659
|
+
ScheduleEmailReportChartsUniqueKey = "scheduleEmailReportCharts_unique_key"
|
|
2649
2660
|
}
|
|
2650
2661
|
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2651
2662
|
export type ScheduleEmailReportCharts_Insert_Input = {
|
|
@@ -2902,6 +2913,18 @@ export declare enum ScheduleEmailReports_Update_Column {
|
|
|
2902
2913
|
/** column name */
|
|
2903
2914
|
TimeConfigurations = "timeConfigurations"
|
|
2904
2915
|
}
|
|
2916
|
+
/** fields of action: "shareCsvUrl" */
|
|
2917
|
+
export type ShareCsvUrl = {
|
|
2918
|
+
__typename?: 'shareCsvUrl';
|
|
2919
|
+
/** the time at which this action was created */
|
|
2920
|
+
created_at: Scalars['timestamptz'];
|
|
2921
|
+
/** errors related to the invocation */
|
|
2922
|
+
errors?: Maybe<Scalars['json']>;
|
|
2923
|
+
/** the unique id of an action */
|
|
2924
|
+
id: Scalars['uuid'];
|
|
2925
|
+
/** the output fields of this action */
|
|
2926
|
+
output?: Maybe<InvokeSaveRawCsvDetailsOutput>;
|
|
2927
|
+
};
|
|
2905
2928
|
/** columns and relationships of "sharingSettings" */
|
|
2906
2929
|
export type SharingSettings = {
|
|
2907
2930
|
__typename?: 'sharingSettings';
|
|
@@ -3008,6 +3031,7 @@ export type Subscription_Root = {
|
|
|
3008
3031
|
scheduleEmailReports: Array<ScheduleEmailReports>;
|
|
3009
3032
|
/** fetch data from the table: "scheduleEmailReports" using primary key columns */
|
|
3010
3033
|
scheduleEmailReports_by_pk?: Maybe<ScheduleEmailReports>;
|
|
3034
|
+
shareCsvUrl?: Maybe<ShareCsvUrl>;
|
|
3011
3035
|
/** fetch data from the table: "sharingSettings" */
|
|
3012
3036
|
sharingSettings: Array<SharingSettings>;
|
|
3013
3037
|
/** fetch data from the table: "sharingSettings" using primary key columns */
|
|
@@ -3188,6 +3212,9 @@ export type Subscription_RootScheduleEmailReportsArgs = {
|
|
|
3188
3212
|
export type Subscription_RootScheduleEmailReports_By_PkArgs = {
|
|
3189
3213
|
id: Scalars['uuid'];
|
|
3190
3214
|
};
|
|
3215
|
+
export type Subscription_RootShareCsvUrlArgs = {
|
|
3216
|
+
id: Scalars['uuid'];
|
|
3217
|
+
};
|
|
3191
3218
|
export type Subscription_RootSharingSettingsArgs = {
|
|
3192
3219
|
distinct_on?: InputMaybe<Array<SharingSettings_Select_Column>>;
|
|
3193
3220
|
limit?: InputMaybe<Scalars['Int']>;
|
|
@@ -3696,6 +3723,22 @@ export type InvokeSendCsvUrlMutation = {
|
|
|
3696
3723
|
statusCode?: number | null;
|
|
3697
3724
|
} | null;
|
|
3698
3725
|
};
|
|
3726
|
+
export type InvokeShareCsvUrlMutationVariables = Exact<{
|
|
3727
|
+
configurations?: InputMaybe<Scalars['json']>;
|
|
3728
|
+
emails?: InputMaybe<Array<InputMaybe<Scalars['String']>> | InputMaybe<Scalars['String']>>;
|
|
3729
|
+
expireCsvFileAt?: InputMaybe<Scalars['String']>;
|
|
3730
|
+
expireUrlIn?: InputMaybe<Scalars['Int']>;
|
|
3731
|
+
externalMetricId?: InputMaybe<Scalars['String']>;
|
|
3732
|
+
integrationId?: InputMaybe<Scalars['String']>;
|
|
3733
|
+
integrationName?: InputMaybe<Scalars['String']>;
|
|
3734
|
+
query?: InputMaybe<Scalars['String']>;
|
|
3735
|
+
sharingSettingsId?: InputMaybe<Scalars['String']>;
|
|
3736
|
+
subject?: InputMaybe<Scalars['String']>;
|
|
3737
|
+
}>;
|
|
3738
|
+
export type InvokeShareCsvUrlMutation = {
|
|
3739
|
+
__typename?: 'mutation_root';
|
|
3740
|
+
shareCsvUrl: any;
|
|
3741
|
+
};
|
|
3699
3742
|
export type MarkArchiveMetricMutationVariables = Exact<{
|
|
3700
3743
|
id?: Scalars['uuid'];
|
|
3701
3744
|
clientId?: Scalars['String'];
|
|
@@ -4068,6 +4111,30 @@ export declare const useInvokeSendCsvUrlMutation: <TError = unknown, TContext =
|
|
|
4068
4111
|
sharingSettingsId?: InputMaybe<string> | undefined;
|
|
4069
4112
|
subject?: InputMaybe<string> | undefined;
|
|
4070
4113
|
}>, TContext>;
|
|
4114
|
+
export declare const InvokeShareCsvUrlDocument = "\n mutation InvokeShareCsvUrl($configurations: json = {}, $emails: [String] = [], $expireCsvFileAt: String = \"\", $expireUrlIn: Int = 1800000, $externalMetricId: String = \"\", $integrationId: String = \"\", $integrationName: String = \"\", $query: String = \"\", $sharingSettingsId: String = \"\", $subject: String = \"\") {\n shareCsvUrl(\n input: {configurations: $configurations, emails: $emails, expireCsvFileAt: $expireCsvFileAt, externalMetricId: $externalMetricId, integrationId: $integrationId, integrationName: $integrationName, query: $query, sharingSettingsId: $sharingSettingsId, subject: $subject, expireUrlIn: $expireUrlIn}\n )\n}\n ";
|
|
4115
|
+
export declare const useInvokeShareCsvUrlMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<InvokeShareCsvUrlMutation, TError, Exact<{
|
|
4116
|
+
configurations?: InputMaybe<Scalars['json']>;
|
|
4117
|
+
emails?: InputMaybe<InputMaybe<string> | InputMaybe<string>[]> | undefined;
|
|
4118
|
+
expireCsvFileAt?: InputMaybe<string> | undefined;
|
|
4119
|
+
expireUrlIn?: InputMaybe<number> | undefined;
|
|
4120
|
+
externalMetricId?: InputMaybe<string> | undefined;
|
|
4121
|
+
integrationId?: InputMaybe<string> | undefined;
|
|
4122
|
+
integrationName?: InputMaybe<string> | undefined;
|
|
4123
|
+
query?: InputMaybe<string> | undefined;
|
|
4124
|
+
sharingSettingsId?: InputMaybe<string> | undefined;
|
|
4125
|
+
subject?: InputMaybe<string> | undefined;
|
|
4126
|
+
}>, TContext> | undefined) => import("react-query").UseMutationResult<InvokeShareCsvUrlMutation, TError, Exact<{
|
|
4127
|
+
configurations?: InputMaybe<Scalars['json']>;
|
|
4128
|
+
emails?: InputMaybe<InputMaybe<string> | InputMaybe<string>[]> | undefined;
|
|
4129
|
+
expireCsvFileAt?: InputMaybe<string> | undefined;
|
|
4130
|
+
expireUrlIn?: InputMaybe<number> | undefined;
|
|
4131
|
+
externalMetricId?: InputMaybe<string> | undefined;
|
|
4132
|
+
integrationId?: InputMaybe<string> | undefined;
|
|
4133
|
+
integrationName?: InputMaybe<string> | undefined;
|
|
4134
|
+
query?: InputMaybe<string> | undefined;
|
|
4135
|
+
sharingSettingsId?: InputMaybe<string> | undefined;
|
|
4136
|
+
subject?: InputMaybe<string> | undefined;
|
|
4137
|
+
}>, TContext>;
|
|
4071
4138
|
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 ";
|
|
4072
4139
|
export declare const useMarkArchiveMetricMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<MarkArchiveMetricMutation, TError, Exact<{
|
|
4073
4140
|
id?: Scalars['uuid'];
|