@databrainhq/plugin 0.4.7 → 0.6.0
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/MetricCreation/index.d.ts +1 -1
- package/dist/components/MetricList/components/MetricCard.d.ts +0 -1
- package/dist/components/MetricList/index.d.ts +5 -3
- package/dist/components/RlsFilters/MultipleTimeGrain.d.ts +8 -0
- package/dist/components/RlsFilters/index.d.ts +8 -0
- package/dist/components/TimeGrainField/index.d.ts +2 -1
- package/dist/containers/Dashboard/index.d.ts +7 -0
- package/dist/hooks/useEmbeddedDashboard.d.ts +5 -0
- package/dist/index.es.js +3189 -2997
- package/dist/index.umd.js +131 -137
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +9 -0
- package/dist/types/metricCreate.d.ts +2 -0
- package/dist/utils/generated/graphql.d.ts +152 -133
- package/dist/utils/theme.d.ts +87 -0
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { UseMutationOptions, UseQueryOptions } from 'react-query';
|
|
2
2
|
export declare type Maybe<T> = T | null;
|
|
3
3
|
export declare type InputMaybe<T> = Maybe<T>;
|
|
4
|
-
export declare type Exact<T extends
|
|
4
|
+
export declare type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
5
7
|
[K in keyof T]: T[K];
|
|
6
8
|
};
|
|
7
9
|
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
@@ -27,12 +29,12 @@ export declare type Boolean_Comparison_Exp = {
|
|
|
27
29
|
_eq?: InputMaybe<Scalars['Boolean']>;
|
|
28
30
|
_gt?: InputMaybe<Scalars['Boolean']>;
|
|
29
31
|
_gte?: InputMaybe<Scalars['Boolean']>;
|
|
30
|
-
_in?: InputMaybe<Scalars['Boolean']
|
|
32
|
+
_in?: InputMaybe<Array<Scalars['Boolean']>>;
|
|
31
33
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
32
34
|
_lt?: InputMaybe<Scalars['Boolean']>;
|
|
33
35
|
_lte?: InputMaybe<Scalars['Boolean']>;
|
|
34
36
|
_neq?: InputMaybe<Scalars['Boolean']>;
|
|
35
|
-
_nin?: InputMaybe<Scalars['Boolean']
|
|
37
|
+
_nin?: InputMaybe<Array<Scalars['Boolean']>>;
|
|
36
38
|
};
|
|
37
39
|
export declare type ColumnData = {
|
|
38
40
|
__typename?: 'ColumnData';
|
|
@@ -50,12 +52,13 @@ export declare type Error = {
|
|
|
50
52
|
export declare type ExternalMetricQueryInput = {
|
|
51
53
|
clientId?: InputMaybe<Scalars['String']>;
|
|
52
54
|
externalMetricId: Scalars['String'];
|
|
53
|
-
filterValues?: InputMaybe<Scalars['json']>;
|
|
54
55
|
globalFilters?: InputMaybe<Scalars['json']>;
|
|
56
|
+
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
55
57
|
};
|
|
56
58
|
export declare type ExternalMetricQueryOutput = {
|
|
57
59
|
__typename?: 'ExternalMetricQueryOutput';
|
|
58
60
|
data?: Maybe<Scalars['json']>;
|
|
61
|
+
timeTaken?: Maybe<Scalars['Float']>;
|
|
59
62
|
};
|
|
60
63
|
export declare type FetchColumnDataInput = {
|
|
61
64
|
columnName: Scalars['String'];
|
|
@@ -64,7 +67,7 @@ export declare type FetchColumnDataInput = {
|
|
|
64
67
|
};
|
|
65
68
|
export declare type FetchColumnDataOutput = {
|
|
66
69
|
__typename?: 'FetchColumnDataOutput';
|
|
67
|
-
data?: Maybe<Maybe<ColumnData
|
|
70
|
+
data?: Maybe<Array<Maybe<ColumnData>>>;
|
|
68
71
|
error?: Maybe<ColumnDataError>;
|
|
69
72
|
};
|
|
70
73
|
export declare type GenerateDatasetMetricsInput = {
|
|
@@ -76,6 +79,7 @@ export declare type GenerateDatasetMetricsOutput = {
|
|
|
76
79
|
error?: Maybe<Scalars['json']>;
|
|
77
80
|
query?: Maybe<Scalars['String']>;
|
|
78
81
|
result?: Maybe<Scalars['json']>;
|
|
82
|
+
timeTaken?: Maybe<Scalars['Float']>;
|
|
79
83
|
};
|
|
80
84
|
export declare type GenerateEmbeddedMeticInput = {
|
|
81
85
|
clientId: Scalars['String'];
|
|
@@ -123,7 +127,7 @@ export declare type String_Comparison_Exp = {
|
|
|
123
127
|
_gte?: InputMaybe<Scalars['String']>;
|
|
124
128
|
/** does the column match the given case-insensitive pattern */
|
|
125
129
|
_ilike?: InputMaybe<Scalars['String']>;
|
|
126
|
-
_in?: InputMaybe<Scalars['String']
|
|
130
|
+
_in?: InputMaybe<Array<Scalars['String']>>;
|
|
127
131
|
/** does the column match the given POSIX regular expression, case insensitive */
|
|
128
132
|
_iregex?: InputMaybe<Scalars['String']>;
|
|
129
133
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -134,7 +138,7 @@ export declare type String_Comparison_Exp = {
|
|
|
134
138
|
_neq?: InputMaybe<Scalars['String']>;
|
|
135
139
|
/** does the column NOT match the given case-insensitive pattern */
|
|
136
140
|
_nilike?: InputMaybe<Scalars['String']>;
|
|
137
|
-
_nin?: InputMaybe<Scalars['String']
|
|
141
|
+
_nin?: InputMaybe<Array<Scalars['String']>>;
|
|
138
142
|
/** does the column NOT match the given POSIX regular expression, case insensitive */
|
|
139
143
|
_niregex?: InputMaybe<Scalars['String']>;
|
|
140
144
|
/** does the column NOT match the given pattern */
|
|
@@ -153,7 +157,7 @@ export declare type CompanyIntegrations = {
|
|
|
153
157
|
__typename?: 'companyIntegrations';
|
|
154
158
|
companyId: Scalars['uuid'];
|
|
155
159
|
/** An array relationship */
|
|
156
|
-
externalMetrics: ExternalMetrics
|
|
160
|
+
externalMetrics: Array<ExternalMetrics>;
|
|
157
161
|
id: Scalars['uuid'];
|
|
158
162
|
/** connected source or destination id */
|
|
159
163
|
integrationId: Scalars['uuid'];
|
|
@@ -161,17 +165,17 @@ export declare type CompanyIntegrations = {
|
|
|
161
165
|
};
|
|
162
166
|
/** columns and relationships of "companyIntegrations" */
|
|
163
167
|
export declare type CompanyIntegrationsExternalMetricsArgs = {
|
|
164
|
-
distinct_on?: InputMaybe<ExternalMetrics_Select_Column
|
|
168
|
+
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
165
169
|
limit?: InputMaybe<Scalars['Int']>;
|
|
166
170
|
offset?: InputMaybe<Scalars['Int']>;
|
|
167
|
-
order_by?: InputMaybe<ExternalMetrics_Order_By
|
|
171
|
+
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
168
172
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
169
173
|
};
|
|
170
174
|
/** Boolean expression to filter rows from the table "companyIntegrations". All fields are combined with a logical 'AND'. */
|
|
171
175
|
export declare type CompanyIntegrations_Bool_Exp = {
|
|
172
|
-
_and?: InputMaybe<CompanyIntegrations_Bool_Exp
|
|
176
|
+
_and?: InputMaybe<Array<CompanyIntegrations_Bool_Exp>>;
|
|
173
177
|
_not?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
174
|
-
_or?: InputMaybe<CompanyIntegrations_Bool_Exp
|
|
178
|
+
_or?: InputMaybe<Array<CompanyIntegrations_Bool_Exp>>;
|
|
175
179
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
176
180
|
externalMetrics?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
177
181
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -209,9 +213,9 @@ export declare type CompanySubsetTablesTableListArgs = {
|
|
|
209
213
|
};
|
|
210
214
|
/** Boolean expression to filter rows from the table "companySubsetTables". All fields are combined with a logical 'AND'. */
|
|
211
215
|
export declare type CompanySubsetTables_Bool_Exp = {
|
|
212
|
-
_and?: InputMaybe<CompanySubsetTables_Bool_Exp
|
|
216
|
+
_and?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
213
217
|
_not?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
214
|
-
_or?: InputMaybe<CompanySubsetTables_Bool_Exp
|
|
218
|
+
_or?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
215
219
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
216
220
|
tableList?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
217
221
|
};
|
|
@@ -245,15 +249,15 @@ export declare type ExternalDashboardMetrics_Aggregate_Order_By = {
|
|
|
245
249
|
};
|
|
246
250
|
/** input type for inserting array relation for remote table "externalDashboardMetrics" */
|
|
247
251
|
export declare type ExternalDashboardMetrics_Arr_Rel_Insert_Input = {
|
|
248
|
-
data: ExternalDashboardMetrics_Insert_Input
|
|
252
|
+
data: Array<ExternalDashboardMetrics_Insert_Input>;
|
|
249
253
|
/** upsert condition */
|
|
250
254
|
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
251
255
|
};
|
|
252
256
|
/** Boolean expression to filter rows from the table "externalDashboardMetrics". All fields are combined with a logical 'AND'. */
|
|
253
257
|
export declare type ExternalDashboardMetrics_Bool_Exp = {
|
|
254
|
-
_and?: InputMaybe<ExternalDashboardMetrics_Bool_Exp
|
|
258
|
+
_and?: InputMaybe<Array<ExternalDashboardMetrics_Bool_Exp>>;
|
|
255
259
|
_not?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
256
|
-
_or?: InputMaybe<ExternalDashboardMetrics_Bool_Exp
|
|
260
|
+
_or?: InputMaybe<Array<ExternalDashboardMetrics_Bool_Exp>>;
|
|
257
261
|
externalDashboard?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
258
262
|
externalDashboardId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
259
263
|
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
@@ -286,12 +290,12 @@ export declare type ExternalDashboardMetrics_Mutation_Response = {
|
|
|
286
290
|
/** number of rows affected by the mutation */
|
|
287
291
|
affected_rows: Scalars['Int'];
|
|
288
292
|
/** data from the rows affected by the mutation */
|
|
289
|
-
returning: ExternalDashboardMetrics
|
|
293
|
+
returning: Array<ExternalDashboardMetrics>;
|
|
290
294
|
};
|
|
291
295
|
/** on_conflict condition type for table "externalDashboardMetrics" */
|
|
292
296
|
export declare type ExternalDashboardMetrics_On_Conflict = {
|
|
293
297
|
constraint: ExternalDashboardMetrics_Constraint;
|
|
294
|
-
update_columns?: ExternalDashboardMetrics_Update_Column
|
|
298
|
+
update_columns?: Array<ExternalDashboardMetrics_Update_Column>;
|
|
295
299
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
296
300
|
};
|
|
297
301
|
/** Ordering options when selecting data from "externalDashboardMetrics". */
|
|
@@ -331,9 +335,9 @@ export declare type ExternalDashboardThemeClients_Aggregate_Order_By = {
|
|
|
331
335
|
};
|
|
332
336
|
/** Boolean expression to filter rows from the table "externalDashboardThemeClients". All fields are combined with a logical 'AND'. */
|
|
333
337
|
export declare type ExternalDashboardThemeClients_Bool_Exp = {
|
|
334
|
-
_and?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp
|
|
338
|
+
_and?: InputMaybe<Array<ExternalDashboardThemeClients_Bool_Exp>>;
|
|
335
339
|
_not?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
336
|
-
_or?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp
|
|
340
|
+
_or?: InputMaybe<Array<ExternalDashboardThemeClients_Bool_Exp>>;
|
|
337
341
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
338
342
|
clientName?: InputMaybe<String_Comparison_Exp>;
|
|
339
343
|
externalDashboardTheme?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
@@ -380,7 +384,7 @@ export declare type ExternalDashboardThemes = {
|
|
|
380
384
|
companyId: Scalars['uuid'];
|
|
381
385
|
createdAt: Scalars['timestamptz'];
|
|
382
386
|
/** An array relationship */
|
|
383
|
-
externalDashboardThemeClients: ExternalDashboardThemeClients
|
|
387
|
+
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
384
388
|
id: Scalars['uuid'];
|
|
385
389
|
name: Scalars['String'];
|
|
386
390
|
};
|
|
@@ -390,17 +394,17 @@ export declare type ExternalDashboardThemesColorsArgs = {
|
|
|
390
394
|
};
|
|
391
395
|
/** Themes for external dashboard. */
|
|
392
396
|
export declare type ExternalDashboardThemesExternalDashboardThemeClientsArgs = {
|
|
393
|
-
distinct_on?: InputMaybe<ExternalDashboardThemeClients_Select_Column
|
|
397
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
394
398
|
limit?: InputMaybe<Scalars['Int']>;
|
|
395
399
|
offset?: InputMaybe<Scalars['Int']>;
|
|
396
|
-
order_by?: InputMaybe<ExternalDashboardThemeClients_Order_By
|
|
400
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
397
401
|
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
398
402
|
};
|
|
399
403
|
/** Boolean expression to filter rows from the table "externalDashboardThemes". All fields are combined with a logical 'AND'. */
|
|
400
404
|
export declare type ExternalDashboardThemes_Bool_Exp = {
|
|
401
|
-
_and?: InputMaybe<ExternalDashboardThemes_Bool_Exp
|
|
405
|
+
_and?: InputMaybe<Array<ExternalDashboardThemes_Bool_Exp>>;
|
|
402
406
|
_not?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
403
|
-
_or?: InputMaybe<ExternalDashboardThemes_Bool_Exp
|
|
407
|
+
_or?: InputMaybe<Array<ExternalDashboardThemes_Bool_Exp>>;
|
|
404
408
|
colors?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
405
409
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
406
410
|
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
@@ -436,17 +440,17 @@ export declare type ExternalDashboards = {
|
|
|
436
440
|
companyId: Scalars['uuid'];
|
|
437
441
|
externalDashboardId: Scalars['String'];
|
|
438
442
|
/** An array relationship */
|
|
439
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
443
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
440
444
|
filters: Scalars['jsonb'];
|
|
441
445
|
id: Scalars['uuid'];
|
|
442
446
|
name: Scalars['String'];
|
|
443
447
|
};
|
|
444
448
|
/** columns and relationships of "externalDashboards" */
|
|
445
449
|
export declare type ExternalDashboardsExternalDashboardMetricsArgs = {
|
|
446
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
450
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
447
451
|
limit?: InputMaybe<Scalars['Int']>;
|
|
448
452
|
offset?: InputMaybe<Scalars['Int']>;
|
|
449
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
453
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
450
454
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
451
455
|
};
|
|
452
456
|
/** columns and relationships of "externalDashboards" */
|
|
@@ -455,9 +459,9 @@ export declare type ExternalDashboardsFiltersArgs = {
|
|
|
455
459
|
};
|
|
456
460
|
/** Boolean expression to filter rows from the table "externalDashboards". All fields are combined with a logical 'AND'. */
|
|
457
461
|
export declare type ExternalDashboards_Bool_Exp = {
|
|
458
|
-
_and?: InputMaybe<ExternalDashboards_Bool_Exp
|
|
462
|
+
_and?: InputMaybe<Array<ExternalDashboards_Bool_Exp>>;
|
|
459
463
|
_not?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
460
|
-
_or?: InputMaybe<ExternalDashboards_Bool_Exp
|
|
464
|
+
_or?: InputMaybe<Array<ExternalDashboards_Bool_Exp>>;
|
|
461
465
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
462
466
|
externalDashboardId?: InputMaybe<String_Comparison_Exp>;
|
|
463
467
|
externalDashboardMetrics?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
@@ -500,9 +504,9 @@ export declare type ExternalMetrics = {
|
|
|
500
504
|
createdBy?: Maybe<Scalars['String']>;
|
|
501
505
|
description: Scalars['String'];
|
|
502
506
|
/** An array relationship */
|
|
503
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
507
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
504
508
|
/** An array relationship */
|
|
505
|
-
externalMetricsRlsFilters: ExternalMetricsRlsFilters
|
|
509
|
+
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
506
510
|
groupBy: Scalars['jsonb'];
|
|
507
511
|
id: Scalars['uuid'];
|
|
508
512
|
inputFields?: Maybe<Scalars['jsonb']>;
|
|
@@ -516,6 +520,7 @@ export declare type ExternalMetrics = {
|
|
|
516
520
|
outputColumns?: Maybe<Scalars['String']>;
|
|
517
521
|
query: Scalars['String'];
|
|
518
522
|
resizeAttributes: Scalars['jsonb'];
|
|
523
|
+
rlsConditions: Scalars['jsonb'];
|
|
519
524
|
selectedGroupBy: Scalars['jsonb'];
|
|
520
525
|
timeGrain?: Maybe<Scalars['String']>;
|
|
521
526
|
updatedAt: Scalars['timestamptz'];
|
|
@@ -526,18 +531,18 @@ export declare type ExternalMetricsChartOptionsArgs = {
|
|
|
526
531
|
};
|
|
527
532
|
/** extrnal metrics table for users client-based query */
|
|
528
533
|
export declare type ExternalMetricsExternalDashboardMetricsArgs = {
|
|
529
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
534
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
530
535
|
limit?: InputMaybe<Scalars['Int']>;
|
|
531
536
|
offset?: InputMaybe<Scalars['Int']>;
|
|
532
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
537
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
533
538
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
534
539
|
};
|
|
535
540
|
/** extrnal metrics table for users client-based query */
|
|
536
541
|
export declare type ExternalMetricsExternalMetricsRlsFiltersArgs = {
|
|
537
|
-
distinct_on?: InputMaybe<ExternalMetricsRlsFilters_Select_Column
|
|
542
|
+
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
538
543
|
limit?: InputMaybe<Scalars['Int']>;
|
|
539
544
|
offset?: InputMaybe<Scalars['Int']>;
|
|
540
|
-
order_by?: InputMaybe<ExternalMetricsRlsFilters_Order_By
|
|
545
|
+
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
541
546
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
542
547
|
};
|
|
543
548
|
/** extrnal metrics table for users client-based query */
|
|
@@ -553,6 +558,10 @@ export declare type ExternalMetricsResizeAttributesArgs = {
|
|
|
553
558
|
path?: InputMaybe<Scalars['String']>;
|
|
554
559
|
};
|
|
555
560
|
/** extrnal metrics table for users client-based query */
|
|
561
|
+
export declare type ExternalMetricsRlsConditionsArgs = {
|
|
562
|
+
path?: InputMaybe<Scalars['String']>;
|
|
563
|
+
};
|
|
564
|
+
/** extrnal metrics table for users client-based query */
|
|
556
565
|
export declare type ExternalMetricsSelectedGroupByArgs = {
|
|
557
566
|
path?: InputMaybe<Scalars['String']>;
|
|
558
567
|
};
|
|
@@ -573,15 +582,15 @@ export declare type ExternalMetricsRlsFilters_Aggregate_Order_By = {
|
|
|
573
582
|
};
|
|
574
583
|
/** input type for inserting array relation for remote table "externalMetricsRlsFilters" */
|
|
575
584
|
export declare type ExternalMetricsRlsFilters_Arr_Rel_Insert_Input = {
|
|
576
|
-
data: ExternalMetricsRlsFilters_Insert_Input
|
|
585
|
+
data: Array<ExternalMetricsRlsFilters_Insert_Input>;
|
|
577
586
|
/** upsert condition */
|
|
578
587
|
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
579
588
|
};
|
|
580
589
|
/** Boolean expression to filter rows from the table "externalMetricsRlsFilters". All fields are combined with a logical 'AND'. */
|
|
581
590
|
export declare type ExternalMetricsRlsFilters_Bool_Exp = {
|
|
582
|
-
_and?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp
|
|
591
|
+
_and?: InputMaybe<Array<ExternalMetricsRlsFilters_Bool_Exp>>;
|
|
583
592
|
_not?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
584
|
-
_or?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp
|
|
593
|
+
_or?: InputMaybe<Array<ExternalMetricsRlsFilters_Bool_Exp>>;
|
|
585
594
|
companyRlsFilterId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
586
595
|
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
587
596
|
externalMetricId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -616,12 +625,12 @@ export declare type ExternalMetricsRlsFilters_Mutation_Response = {
|
|
|
616
625
|
/** number of rows affected by the mutation */
|
|
617
626
|
affected_rows: Scalars['Int'];
|
|
618
627
|
/** data from the rows affected by the mutation */
|
|
619
|
-
returning: ExternalMetricsRlsFilters
|
|
628
|
+
returning: Array<ExternalMetricsRlsFilters>;
|
|
620
629
|
};
|
|
621
630
|
/** on_conflict condition type for table "externalMetricsRlsFilters" */
|
|
622
631
|
export declare type ExternalMetricsRlsFilters_On_Conflict = {
|
|
623
632
|
constraint: ExternalMetricsRlsFilters_Constraint;
|
|
624
|
-
update_columns?: ExternalMetricsRlsFilters_Update_Column
|
|
633
|
+
update_columns?: Array<ExternalMetricsRlsFilters_Update_Column>;
|
|
625
634
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
626
635
|
};
|
|
627
636
|
/** Ordering options when selecting data from "externalMetricsRlsFilters". */
|
|
@@ -653,9 +662,9 @@ export declare type ExternalMetrics_Aggregate_Order_By = {
|
|
|
653
662
|
};
|
|
654
663
|
/** Boolean expression to filter rows from the table "externalMetrics". All fields are combined with a logical 'AND'. */
|
|
655
664
|
export declare type ExternalMetrics_Bool_Exp = {
|
|
656
|
-
_and?: InputMaybe<ExternalMetrics_Bool_Exp
|
|
665
|
+
_and?: InputMaybe<Array<ExternalMetrics_Bool_Exp>>;
|
|
657
666
|
_not?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
658
|
-
_or?: InputMaybe<ExternalMetrics_Bool_Exp
|
|
667
|
+
_or?: InputMaybe<Array<ExternalMetrics_Bool_Exp>>;
|
|
659
668
|
chartOptions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
660
669
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
661
670
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -679,6 +688,7 @@ export declare type ExternalMetrics_Bool_Exp = {
|
|
|
679
688
|
outputColumns?: InputMaybe<String_Comparison_Exp>;
|
|
680
689
|
query?: InputMaybe<String_Comparison_Exp>;
|
|
681
690
|
resizeAttributes?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
691
|
+
rlsConditions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
682
692
|
selectedGroupBy?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
683
693
|
timeGrain?: InputMaybe<String_Comparison_Exp>;
|
|
684
694
|
updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
@@ -759,7 +769,7 @@ export declare type ExternalMetrics_Mutation_Response = {
|
|
|
759
769
|
/** number of rows affected by the mutation */
|
|
760
770
|
affected_rows: Scalars['Int'];
|
|
761
771
|
/** data from the rows affected by the mutation */
|
|
762
|
-
returning: ExternalMetrics
|
|
772
|
+
returning: Array<ExternalMetrics>;
|
|
763
773
|
};
|
|
764
774
|
/** input type for inserting object relation for remote table "externalMetrics" */
|
|
765
775
|
export declare type ExternalMetrics_Obj_Rel_Insert_Input = {
|
|
@@ -770,7 +780,7 @@ export declare type ExternalMetrics_Obj_Rel_Insert_Input = {
|
|
|
770
780
|
/** on_conflict condition type for table "externalMetrics" */
|
|
771
781
|
export declare type ExternalMetrics_On_Conflict = {
|
|
772
782
|
constraint: ExternalMetrics_Constraint;
|
|
773
|
-
update_columns?: ExternalMetrics_Update_Column
|
|
783
|
+
update_columns?: Array<ExternalMetrics_Update_Column>;
|
|
774
784
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
775
785
|
};
|
|
776
786
|
/** Ordering options when selecting data from "externalMetrics". */
|
|
@@ -798,6 +808,7 @@ export declare type ExternalMetrics_Order_By = {
|
|
|
798
808
|
outputColumns?: InputMaybe<Order_By>;
|
|
799
809
|
query?: InputMaybe<Order_By>;
|
|
800
810
|
resizeAttributes?: InputMaybe<Order_By>;
|
|
811
|
+
rlsConditions?: InputMaybe<Order_By>;
|
|
801
812
|
selectedGroupBy?: InputMaybe<Order_By>;
|
|
802
813
|
timeGrain?: InputMaybe<Order_By>;
|
|
803
814
|
updatedAt?: InputMaybe<Order_By>;
|
|
@@ -845,6 +856,8 @@ export declare enum ExternalMetrics_Select_Column {
|
|
|
845
856
|
/** column name */
|
|
846
857
|
ResizeAttributes = "resizeAttributes",
|
|
847
858
|
/** column name */
|
|
859
|
+
RlsConditions = "rlsConditions",
|
|
860
|
+
/** column name */
|
|
848
861
|
SelectedGroupBy = "selectedGroupBy",
|
|
849
862
|
/** column name */
|
|
850
863
|
TimeGrain = "timeGrain",
|
|
@@ -870,9 +883,9 @@ export declare type GuestTokensParamsArgs = {
|
|
|
870
883
|
};
|
|
871
884
|
/** Boolean expression to filter rows from the table "guestTokens". All fields are combined with a logical 'AND'. */
|
|
872
885
|
export declare type GuestTokens_Bool_Exp = {
|
|
873
|
-
_and?: InputMaybe<GuestTokens_Bool_Exp
|
|
886
|
+
_and?: InputMaybe<Array<GuestTokens_Bool_Exp>>;
|
|
874
887
|
_not?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
875
|
-
_or?: InputMaybe<GuestTokens_Bool_Exp
|
|
888
|
+
_or?: InputMaybe<Array<GuestTokens_Bool_Exp>>;
|
|
876
889
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
877
890
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
878
891
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -912,15 +925,15 @@ export declare type Jsonb_Comparison_Exp = {
|
|
|
912
925
|
/** does the string exist as a top-level key in the column */
|
|
913
926
|
_has_key?: InputMaybe<Scalars['String']>;
|
|
914
927
|
/** do all of these strings exist as top-level keys in the column */
|
|
915
|
-
_has_keys_all?: InputMaybe<Scalars['String']
|
|
928
|
+
_has_keys_all?: InputMaybe<Array<Scalars['String']>>;
|
|
916
929
|
/** do any of these strings exist as top-level keys in the column */
|
|
917
|
-
_has_keys_any?: InputMaybe<Scalars['String']
|
|
918
|
-
_in?: InputMaybe<Scalars['jsonb']
|
|
930
|
+
_has_keys_any?: InputMaybe<Array<Scalars['String']>>;
|
|
931
|
+
_in?: InputMaybe<Array<Scalars['jsonb']>>;
|
|
919
932
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
920
933
|
_lt?: InputMaybe<Scalars['jsonb']>;
|
|
921
934
|
_lte?: InputMaybe<Scalars['jsonb']>;
|
|
922
935
|
_neq?: InputMaybe<Scalars['jsonb']>;
|
|
923
|
-
_nin?: InputMaybe<Scalars['jsonb']
|
|
936
|
+
_nin?: InputMaybe<Array<Scalars['jsonb']>>;
|
|
924
937
|
};
|
|
925
938
|
/** mutation root */
|
|
926
939
|
export declare type Mutation_Root = {
|
|
@@ -961,7 +974,7 @@ export declare type Mutation_RootGenerateExternalMetricQueryArgs = {
|
|
|
961
974
|
};
|
|
962
975
|
/** mutation root */
|
|
963
976
|
export declare type Mutation_RootInsert_ExternalDashboardMetricsArgs = {
|
|
964
|
-
objects: ExternalDashboardMetrics_Insert_Input
|
|
977
|
+
objects: Array<ExternalDashboardMetrics_Insert_Input>;
|
|
965
978
|
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
966
979
|
};
|
|
967
980
|
/** mutation root */
|
|
@@ -971,12 +984,12 @@ export declare type Mutation_RootInsert_ExternalDashboardMetrics_OneArgs = {
|
|
|
971
984
|
};
|
|
972
985
|
/** mutation root */
|
|
973
986
|
export declare type Mutation_RootInsert_ExternalMetricsArgs = {
|
|
974
|
-
objects: ExternalMetrics_Insert_Input
|
|
987
|
+
objects: Array<ExternalMetrics_Insert_Input>;
|
|
975
988
|
on_conflict?: InputMaybe<ExternalMetrics_On_Conflict>;
|
|
976
989
|
};
|
|
977
990
|
/** mutation root */
|
|
978
991
|
export declare type Mutation_RootInsert_ExternalMetricsRlsFiltersArgs = {
|
|
979
|
-
objects: ExternalMetricsRlsFilters_Insert_Input
|
|
992
|
+
objects: Array<ExternalMetricsRlsFilters_Insert_Input>;
|
|
980
993
|
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
981
994
|
};
|
|
982
995
|
/** mutation root */
|
|
@@ -1011,63 +1024,63 @@ export declare enum Order_By {
|
|
|
1011
1024
|
export declare type Query_Root = {
|
|
1012
1025
|
__typename?: 'query_root';
|
|
1013
1026
|
/** fetch data from the table: "companyIntegrations" */
|
|
1014
|
-
companyIntegrations: CompanyIntegrations
|
|
1027
|
+
companyIntegrations: Array<CompanyIntegrations>;
|
|
1015
1028
|
/** fetch data from the table: "companyIntegrations" using primary key columns */
|
|
1016
1029
|
companyIntegrations_by_pk?: Maybe<CompanyIntegrations>;
|
|
1017
1030
|
/** fetch data from the table: "companySubsetTables" */
|
|
1018
|
-
companySubsetTables: CompanySubsetTables
|
|
1031
|
+
companySubsetTables: Array<CompanySubsetTables>;
|
|
1019
1032
|
/** An array relationship */
|
|
1020
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
1033
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
1021
1034
|
/** fetch data from the table: "externalDashboardMetrics" using primary key columns */
|
|
1022
1035
|
externalDashboardMetrics_by_pk?: Maybe<ExternalDashboardMetrics>;
|
|
1023
1036
|
/** An array relationship */
|
|
1024
|
-
externalDashboardThemeClients: ExternalDashboardThemeClients
|
|
1037
|
+
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
1025
1038
|
/** fetch data from the table: "externalDashboardThemeClients" using primary key columns */
|
|
1026
1039
|
externalDashboardThemeClients_by_pk?: Maybe<ExternalDashboardThemeClients>;
|
|
1027
1040
|
/** fetch data from the table: "externalDashboardThemes" */
|
|
1028
|
-
externalDashboardThemes: ExternalDashboardThemes
|
|
1041
|
+
externalDashboardThemes: Array<ExternalDashboardThemes>;
|
|
1029
1042
|
/** fetch data from the table: "externalDashboardThemes" using primary key columns */
|
|
1030
1043
|
externalDashboardThemes_by_pk?: Maybe<ExternalDashboardThemes>;
|
|
1031
1044
|
/** fetch data from the table: "externalDashboards" */
|
|
1032
|
-
externalDashboards: ExternalDashboards
|
|
1045
|
+
externalDashboards: Array<ExternalDashboards>;
|
|
1033
1046
|
/** fetch data from the table: "externalDashboards" using primary key columns */
|
|
1034
1047
|
externalDashboards_by_pk?: Maybe<ExternalDashboards>;
|
|
1035
1048
|
externalMetricQuery?: Maybe<ExternalMetricQueryOutput>;
|
|
1036
1049
|
/** An array relationship */
|
|
1037
|
-
externalMetrics: ExternalMetrics
|
|
1050
|
+
externalMetrics: Array<ExternalMetrics>;
|
|
1038
1051
|
/** An array relationship */
|
|
1039
|
-
externalMetricsRlsFilters: ExternalMetricsRlsFilters
|
|
1052
|
+
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
1040
1053
|
/** fetch data from the table: "externalMetricsRlsFilters" using primary key columns */
|
|
1041
1054
|
externalMetricsRlsFilters_by_pk?: Maybe<ExternalMetricsRlsFilters>;
|
|
1042
1055
|
/** fetch data from the table: "externalMetrics" using primary key columns */
|
|
1043
1056
|
externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1044
1057
|
/** fetch data from the table: "guestTokens" */
|
|
1045
|
-
guestTokens: GuestTokens
|
|
1058
|
+
guestTokens: Array<GuestTokens>;
|
|
1046
1059
|
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1047
1060
|
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1048
1061
|
};
|
|
1049
1062
|
export declare type Query_RootCompanyIntegrationsArgs = {
|
|
1050
|
-
distinct_on?: InputMaybe<CompanyIntegrations_Select_Column
|
|
1063
|
+
distinct_on?: InputMaybe<Array<CompanyIntegrations_Select_Column>>;
|
|
1051
1064
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1052
1065
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1053
|
-
order_by?: InputMaybe<CompanyIntegrations_Order_By
|
|
1066
|
+
order_by?: InputMaybe<Array<CompanyIntegrations_Order_By>>;
|
|
1054
1067
|
where?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
1055
1068
|
};
|
|
1056
1069
|
export declare type Query_RootCompanyIntegrations_By_PkArgs = {
|
|
1057
1070
|
id: Scalars['uuid'];
|
|
1058
1071
|
};
|
|
1059
1072
|
export declare type Query_RootCompanySubsetTablesArgs = {
|
|
1060
|
-
distinct_on?: InputMaybe<CompanySubsetTables_Select_Column
|
|
1073
|
+
distinct_on?: InputMaybe<Array<CompanySubsetTables_Select_Column>>;
|
|
1061
1074
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1062
1075
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1063
|
-
order_by?: InputMaybe<CompanySubsetTables_Order_By
|
|
1076
|
+
order_by?: InputMaybe<Array<CompanySubsetTables_Order_By>>;
|
|
1064
1077
|
where?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
1065
1078
|
};
|
|
1066
1079
|
export declare type Query_RootExternalDashboardMetricsArgs = {
|
|
1067
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
1080
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
1068
1081
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1069
1082
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1070
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
1083
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
1071
1084
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1072
1085
|
};
|
|
1073
1086
|
export declare type Query_RootExternalDashboardMetrics_By_PkArgs = {
|
|
@@ -1075,30 +1088,30 @@ export declare type Query_RootExternalDashboardMetrics_By_PkArgs = {
|
|
|
1075
1088
|
externalMetricId: Scalars['uuid'];
|
|
1076
1089
|
};
|
|
1077
1090
|
export declare type Query_RootExternalDashboardThemeClientsArgs = {
|
|
1078
|
-
distinct_on?: InputMaybe<ExternalDashboardThemeClients_Select_Column
|
|
1091
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
1079
1092
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1080
1093
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1081
|
-
order_by?: InputMaybe<ExternalDashboardThemeClients_Order_By
|
|
1094
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
1082
1095
|
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
1083
1096
|
};
|
|
1084
1097
|
export declare type Query_RootExternalDashboardThemeClients_By_PkArgs = {
|
|
1085
1098
|
id: Scalars['uuid'];
|
|
1086
1099
|
};
|
|
1087
1100
|
export declare type Query_RootExternalDashboardThemesArgs = {
|
|
1088
|
-
distinct_on?: InputMaybe<ExternalDashboardThemes_Select_Column
|
|
1101
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemes_Select_Column>>;
|
|
1089
1102
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1090
1103
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1091
|
-
order_by?: InputMaybe<ExternalDashboardThemes_Order_By
|
|
1104
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemes_Order_By>>;
|
|
1092
1105
|
where?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
1093
1106
|
};
|
|
1094
1107
|
export declare type Query_RootExternalDashboardThemes_By_PkArgs = {
|
|
1095
1108
|
id: Scalars['uuid'];
|
|
1096
1109
|
};
|
|
1097
1110
|
export declare type Query_RootExternalDashboardsArgs = {
|
|
1098
|
-
distinct_on?: InputMaybe<ExternalDashboards_Select_Column
|
|
1111
|
+
distinct_on?: InputMaybe<Array<ExternalDashboards_Select_Column>>;
|
|
1099
1112
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1100
1113
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1101
|
-
order_by?: InputMaybe<ExternalDashboards_Order_By
|
|
1114
|
+
order_by?: InputMaybe<Array<ExternalDashboards_Order_By>>;
|
|
1102
1115
|
where?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
1103
1116
|
};
|
|
1104
1117
|
export declare type Query_RootExternalDashboards_By_PkArgs = {
|
|
@@ -1108,17 +1121,17 @@ export declare type Query_RootExternalMetricQueryArgs = {
|
|
|
1108
1121
|
input: ExternalMetricQueryInput;
|
|
1109
1122
|
};
|
|
1110
1123
|
export declare type Query_RootExternalMetricsArgs = {
|
|
1111
|
-
distinct_on?: InputMaybe<ExternalMetrics_Select_Column
|
|
1124
|
+
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
1112
1125
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1113
1126
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1114
|
-
order_by?: InputMaybe<ExternalMetrics_Order_By
|
|
1127
|
+
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
1115
1128
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
1116
1129
|
};
|
|
1117
1130
|
export declare type Query_RootExternalMetricsRlsFiltersArgs = {
|
|
1118
|
-
distinct_on?: InputMaybe<ExternalMetricsRlsFilters_Select_Column
|
|
1131
|
+
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
1119
1132
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1120
1133
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1121
|
-
order_by?: InputMaybe<ExternalMetricsRlsFilters_Order_By
|
|
1134
|
+
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
1122
1135
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
1123
1136
|
};
|
|
1124
1137
|
export declare type Query_RootExternalMetricsRlsFilters_By_PkArgs = {
|
|
@@ -1128,10 +1141,10 @@ export declare type Query_RootExternalMetrics_By_PkArgs = {
|
|
|
1128
1141
|
id: Scalars['uuid'];
|
|
1129
1142
|
};
|
|
1130
1143
|
export declare type Query_RootGuestTokensArgs = {
|
|
1131
|
-
distinct_on?: InputMaybe<GuestTokens_Select_Column
|
|
1144
|
+
distinct_on?: InputMaybe<Array<GuestTokens_Select_Column>>;
|
|
1132
1145
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1133
1146
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1134
|
-
order_by?: InputMaybe<GuestTokens_Order_By
|
|
1147
|
+
order_by?: InputMaybe<Array<GuestTokens_Order_By>>;
|
|
1135
1148
|
where?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
1136
1149
|
};
|
|
1137
1150
|
export declare type Query_RootGuestTokens_By_PkArgs = {
|
|
@@ -1140,62 +1153,62 @@ export declare type Query_RootGuestTokens_By_PkArgs = {
|
|
|
1140
1153
|
export declare type Subscription_Root = {
|
|
1141
1154
|
__typename?: 'subscription_root';
|
|
1142
1155
|
/** fetch data from the table: "companyIntegrations" */
|
|
1143
|
-
companyIntegrations: CompanyIntegrations
|
|
1156
|
+
companyIntegrations: Array<CompanyIntegrations>;
|
|
1144
1157
|
/** fetch data from the table: "companyIntegrations" using primary key columns */
|
|
1145
1158
|
companyIntegrations_by_pk?: Maybe<CompanyIntegrations>;
|
|
1146
1159
|
/** fetch data from the table: "companySubsetTables" */
|
|
1147
|
-
companySubsetTables: CompanySubsetTables
|
|
1160
|
+
companySubsetTables: Array<CompanySubsetTables>;
|
|
1148
1161
|
/** An array relationship */
|
|
1149
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
1162
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
1150
1163
|
/** fetch data from the table: "externalDashboardMetrics" using primary key columns */
|
|
1151
1164
|
externalDashboardMetrics_by_pk?: Maybe<ExternalDashboardMetrics>;
|
|
1152
1165
|
/** An array relationship */
|
|
1153
|
-
externalDashboardThemeClients: ExternalDashboardThemeClients
|
|
1166
|
+
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
1154
1167
|
/** fetch data from the table: "externalDashboardThemeClients" using primary key columns */
|
|
1155
1168
|
externalDashboardThemeClients_by_pk?: Maybe<ExternalDashboardThemeClients>;
|
|
1156
1169
|
/** fetch data from the table: "externalDashboardThemes" */
|
|
1157
|
-
externalDashboardThemes: ExternalDashboardThemes
|
|
1170
|
+
externalDashboardThemes: Array<ExternalDashboardThemes>;
|
|
1158
1171
|
/** fetch data from the table: "externalDashboardThemes" using primary key columns */
|
|
1159
1172
|
externalDashboardThemes_by_pk?: Maybe<ExternalDashboardThemes>;
|
|
1160
1173
|
/** fetch data from the table: "externalDashboards" */
|
|
1161
|
-
externalDashboards: ExternalDashboards
|
|
1174
|
+
externalDashboards: Array<ExternalDashboards>;
|
|
1162
1175
|
/** fetch data from the table: "externalDashboards" using primary key columns */
|
|
1163
1176
|
externalDashboards_by_pk?: Maybe<ExternalDashboards>;
|
|
1164
1177
|
/** An array relationship */
|
|
1165
|
-
externalMetrics: ExternalMetrics
|
|
1178
|
+
externalMetrics: Array<ExternalMetrics>;
|
|
1166
1179
|
/** An array relationship */
|
|
1167
|
-
externalMetricsRlsFilters: ExternalMetricsRlsFilters
|
|
1180
|
+
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
1168
1181
|
/** fetch data from the table: "externalMetricsRlsFilters" using primary key columns */
|
|
1169
1182
|
externalMetricsRlsFilters_by_pk?: Maybe<ExternalMetricsRlsFilters>;
|
|
1170
1183
|
/** fetch data from the table: "externalMetrics" using primary key columns */
|
|
1171
1184
|
externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1172
1185
|
/** fetch data from the table: "guestTokens" */
|
|
1173
|
-
guestTokens: GuestTokens
|
|
1186
|
+
guestTokens: Array<GuestTokens>;
|
|
1174
1187
|
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1175
1188
|
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1176
1189
|
};
|
|
1177
1190
|
export declare type Subscription_RootCompanyIntegrationsArgs = {
|
|
1178
|
-
distinct_on?: InputMaybe<CompanyIntegrations_Select_Column
|
|
1191
|
+
distinct_on?: InputMaybe<Array<CompanyIntegrations_Select_Column>>;
|
|
1179
1192
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1180
1193
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1181
|
-
order_by?: InputMaybe<CompanyIntegrations_Order_By
|
|
1194
|
+
order_by?: InputMaybe<Array<CompanyIntegrations_Order_By>>;
|
|
1182
1195
|
where?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
1183
1196
|
};
|
|
1184
1197
|
export declare type Subscription_RootCompanyIntegrations_By_PkArgs = {
|
|
1185
1198
|
id: Scalars['uuid'];
|
|
1186
1199
|
};
|
|
1187
1200
|
export declare type Subscription_RootCompanySubsetTablesArgs = {
|
|
1188
|
-
distinct_on?: InputMaybe<CompanySubsetTables_Select_Column
|
|
1201
|
+
distinct_on?: InputMaybe<Array<CompanySubsetTables_Select_Column>>;
|
|
1189
1202
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1190
1203
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1191
|
-
order_by?: InputMaybe<CompanySubsetTables_Order_By
|
|
1204
|
+
order_by?: InputMaybe<Array<CompanySubsetTables_Order_By>>;
|
|
1192
1205
|
where?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
1193
1206
|
};
|
|
1194
1207
|
export declare type Subscription_RootExternalDashboardMetricsArgs = {
|
|
1195
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
1208
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
1196
1209
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1197
1210
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1198
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
1211
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
1199
1212
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1200
1213
|
};
|
|
1201
1214
|
export declare type Subscription_RootExternalDashboardMetrics_By_PkArgs = {
|
|
@@ -1203,47 +1216,47 @@ export declare type Subscription_RootExternalDashboardMetrics_By_PkArgs = {
|
|
|
1203
1216
|
externalMetricId: Scalars['uuid'];
|
|
1204
1217
|
};
|
|
1205
1218
|
export declare type Subscription_RootExternalDashboardThemeClientsArgs = {
|
|
1206
|
-
distinct_on?: InputMaybe<ExternalDashboardThemeClients_Select_Column
|
|
1219
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
1207
1220
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1208
1221
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1209
|
-
order_by?: InputMaybe<ExternalDashboardThemeClients_Order_By
|
|
1222
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
1210
1223
|
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
1211
1224
|
};
|
|
1212
1225
|
export declare type Subscription_RootExternalDashboardThemeClients_By_PkArgs = {
|
|
1213
1226
|
id: Scalars['uuid'];
|
|
1214
1227
|
};
|
|
1215
1228
|
export declare type Subscription_RootExternalDashboardThemesArgs = {
|
|
1216
|
-
distinct_on?: InputMaybe<ExternalDashboardThemes_Select_Column
|
|
1229
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemes_Select_Column>>;
|
|
1217
1230
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1218
1231
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1219
|
-
order_by?: InputMaybe<ExternalDashboardThemes_Order_By
|
|
1232
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemes_Order_By>>;
|
|
1220
1233
|
where?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
1221
1234
|
};
|
|
1222
1235
|
export declare type Subscription_RootExternalDashboardThemes_By_PkArgs = {
|
|
1223
1236
|
id: Scalars['uuid'];
|
|
1224
1237
|
};
|
|
1225
1238
|
export declare type Subscription_RootExternalDashboardsArgs = {
|
|
1226
|
-
distinct_on?: InputMaybe<ExternalDashboards_Select_Column
|
|
1239
|
+
distinct_on?: InputMaybe<Array<ExternalDashboards_Select_Column>>;
|
|
1227
1240
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1228
1241
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1229
|
-
order_by?: InputMaybe<ExternalDashboards_Order_By
|
|
1242
|
+
order_by?: InputMaybe<Array<ExternalDashboards_Order_By>>;
|
|
1230
1243
|
where?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
1231
1244
|
};
|
|
1232
1245
|
export declare type Subscription_RootExternalDashboards_By_PkArgs = {
|
|
1233
1246
|
id: Scalars['uuid'];
|
|
1234
1247
|
};
|
|
1235
1248
|
export declare type Subscription_RootExternalMetricsArgs = {
|
|
1236
|
-
distinct_on?: InputMaybe<ExternalMetrics_Select_Column
|
|
1249
|
+
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
1237
1250
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1238
1251
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1239
|
-
order_by?: InputMaybe<ExternalMetrics_Order_By
|
|
1252
|
+
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
1240
1253
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
1241
1254
|
};
|
|
1242
1255
|
export declare type Subscription_RootExternalMetricsRlsFiltersArgs = {
|
|
1243
|
-
distinct_on?: InputMaybe<ExternalMetricsRlsFilters_Select_Column
|
|
1256
|
+
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
1244
1257
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1245
1258
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1246
|
-
order_by?: InputMaybe<ExternalMetricsRlsFilters_Order_By
|
|
1259
|
+
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
1247
1260
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
1248
1261
|
};
|
|
1249
1262
|
export declare type Subscription_RootExternalMetricsRlsFilters_By_PkArgs = {
|
|
@@ -1253,10 +1266,10 @@ export declare type Subscription_RootExternalMetrics_By_PkArgs = {
|
|
|
1253
1266
|
id: Scalars['uuid'];
|
|
1254
1267
|
};
|
|
1255
1268
|
export declare type Subscription_RootGuestTokensArgs = {
|
|
1256
|
-
distinct_on?: InputMaybe<GuestTokens_Select_Column
|
|
1269
|
+
distinct_on?: InputMaybe<Array<GuestTokens_Select_Column>>;
|
|
1257
1270
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1258
1271
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1259
|
-
order_by?: InputMaybe<GuestTokens_Order_By
|
|
1272
|
+
order_by?: InputMaybe<Array<GuestTokens_Order_By>>;
|
|
1260
1273
|
where?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
1261
1274
|
};
|
|
1262
1275
|
export declare type Subscription_RootGuestTokens_By_PkArgs = {
|
|
@@ -1267,24 +1280,24 @@ export declare type Timestamptz_Comparison_Exp = {
|
|
|
1267
1280
|
_eq?: InputMaybe<Scalars['timestamptz']>;
|
|
1268
1281
|
_gt?: InputMaybe<Scalars['timestamptz']>;
|
|
1269
1282
|
_gte?: InputMaybe<Scalars['timestamptz']>;
|
|
1270
|
-
_in?: InputMaybe<Scalars['timestamptz']
|
|
1283
|
+
_in?: InputMaybe<Array<Scalars['timestamptz']>>;
|
|
1271
1284
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1272
1285
|
_lt?: InputMaybe<Scalars['timestamptz']>;
|
|
1273
1286
|
_lte?: InputMaybe<Scalars['timestamptz']>;
|
|
1274
1287
|
_neq?: InputMaybe<Scalars['timestamptz']>;
|
|
1275
|
-
_nin?: InputMaybe<Scalars['timestamptz']
|
|
1288
|
+
_nin?: InputMaybe<Array<Scalars['timestamptz']>>;
|
|
1276
1289
|
};
|
|
1277
1290
|
/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
|
|
1278
1291
|
export declare type Uuid_Comparison_Exp = {
|
|
1279
1292
|
_eq?: InputMaybe<Scalars['uuid']>;
|
|
1280
1293
|
_gt?: InputMaybe<Scalars['uuid']>;
|
|
1281
1294
|
_gte?: InputMaybe<Scalars['uuid']>;
|
|
1282
|
-
_in?: InputMaybe<Scalars['uuid']
|
|
1295
|
+
_in?: InputMaybe<Array<Scalars['uuid']>>;
|
|
1283
1296
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1284
1297
|
_lt?: InputMaybe<Scalars['uuid']>;
|
|
1285
1298
|
_lte?: InputMaybe<Scalars['uuid']>;
|
|
1286
1299
|
_neq?: InputMaybe<Scalars['uuid']>;
|
|
1287
|
-
_nin?: InputMaybe<Scalars['uuid']
|
|
1300
|
+
_nin?: InputMaybe<Array<Scalars['uuid']>>;
|
|
1288
1301
|
};
|
|
1289
1302
|
export declare type CreateExternalMetricMutationVariables = Exact<{
|
|
1290
1303
|
chartOptions?: InputMaybe<Scalars['jsonb']>;
|
|
@@ -1303,7 +1316,7 @@ export declare type CreateExternalMetricMutationVariables = Exact<{
|
|
|
1303
1316
|
isCreatedByClient?: InputMaybe<Scalars['Boolean']>;
|
|
1304
1317
|
createdBy?: InputMaybe<Scalars['String']>;
|
|
1305
1318
|
timeGrain?: InputMaybe<Scalars['String']>;
|
|
1306
|
-
externalDashboardIds?: InputMaybe<ExternalDashboardMetrics_Insert_Input
|
|
1319
|
+
externalDashboardIds?: InputMaybe<Array<ExternalDashboardMetrics_Insert_Input> | ExternalDashboardMetrics_Insert_Input>;
|
|
1307
1320
|
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1308
1321
|
isEnableGroupBy?: InputMaybe<Scalars['Boolean']>;
|
|
1309
1322
|
groupBy?: InputMaybe<Scalars['jsonb']>;
|
|
@@ -1313,10 +1326,10 @@ export declare type CreateExternalMetricMutation = {
|
|
|
1313
1326
|
insert_externalMetrics_one?: {
|
|
1314
1327
|
__typename?: 'externalMetrics';
|
|
1315
1328
|
id: any;
|
|
1316
|
-
externalDashboardMetrics: {
|
|
1329
|
+
externalDashboardMetrics: Array<{
|
|
1317
1330
|
__typename?: 'externalDashboardMetrics';
|
|
1318
1331
|
externalDashboardId: any;
|
|
1319
|
-
}
|
|
1332
|
+
}>;
|
|
1320
1333
|
} | null;
|
|
1321
1334
|
};
|
|
1322
1335
|
export declare type FetchColumnDataMutationVariables = Exact<{
|
|
@@ -1328,11 +1341,11 @@ export declare type FetchColumnDataMutation = {
|
|
|
1328
1341
|
__typename?: 'mutation_root';
|
|
1329
1342
|
fetchColumnData?: {
|
|
1330
1343
|
__typename?: 'FetchColumnDataOutput';
|
|
1331
|
-
data?:
|
|
1344
|
+
data?: Array<{
|
|
1332
1345
|
__typename?: 'ColumnData';
|
|
1333
1346
|
label: string;
|
|
1334
1347
|
value: string;
|
|
1335
|
-
} | null
|
|
1348
|
+
} | null> | null;
|
|
1336
1349
|
error?: {
|
|
1337
1350
|
__typename?: 'ColumnDataError';
|
|
1338
1351
|
message: string;
|
|
@@ -1375,30 +1388,30 @@ export declare type CompanyIntegrationQueryVariables = Exact<{
|
|
|
1375
1388
|
}>;
|
|
1376
1389
|
export declare type CompanyIntegrationQuery = {
|
|
1377
1390
|
__typename?: 'query_root';
|
|
1378
|
-
companyIntegrations: {
|
|
1391
|
+
companyIntegrations: Array<{
|
|
1379
1392
|
__typename?: 'companyIntegrations';
|
|
1380
1393
|
companyId: any;
|
|
1381
1394
|
id: any;
|
|
1382
1395
|
integrationId: any;
|
|
1383
1396
|
name: string;
|
|
1384
|
-
}
|
|
1397
|
+
}>;
|
|
1385
1398
|
};
|
|
1386
1399
|
export declare type CompanySubsetTableListQueryVariables = Exact<{
|
|
1387
1400
|
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1388
1401
|
}>;
|
|
1389
1402
|
export declare type CompanySubsetTableListQuery = {
|
|
1390
1403
|
__typename?: 'query_root';
|
|
1391
|
-
companySubsetTables: {
|
|
1404
|
+
companySubsetTables: Array<{
|
|
1392
1405
|
__typename?: 'companySubsetTables';
|
|
1393
1406
|
tableList: any;
|
|
1394
|
-
}
|
|
1407
|
+
}>;
|
|
1395
1408
|
};
|
|
1396
1409
|
export declare type EmbeddedDashboardMetricsQueryVariables = Exact<{
|
|
1397
1410
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1398
1411
|
}>;
|
|
1399
1412
|
export declare type EmbeddedDashboardMetricsQuery = {
|
|
1400
1413
|
__typename?: 'query_root';
|
|
1401
|
-
externalDashboardMetrics: {
|
|
1414
|
+
externalDashboardMetrics: Array<{
|
|
1402
1415
|
__typename?: 'externalDashboardMetrics';
|
|
1403
1416
|
externalMetricId: any;
|
|
1404
1417
|
externalDashboardId: any;
|
|
@@ -1427,8 +1440,13 @@ export declare type EmbeddedDashboardMetricsQuery = {
|
|
|
1427
1440
|
selectedGroupBy: any;
|
|
1428
1441
|
isEnableGroupBy: boolean;
|
|
1429
1442
|
groupBy: any;
|
|
1443
|
+
rlsConditions: any;
|
|
1444
|
+
companyIntegration: {
|
|
1445
|
+
__typename?: 'companyIntegrations';
|
|
1446
|
+
name: string;
|
|
1447
|
+
};
|
|
1430
1448
|
};
|
|
1431
|
-
}
|
|
1449
|
+
}>;
|
|
1432
1450
|
};
|
|
1433
1451
|
export declare type GetExternalDashboardClientThemeQueryVariables = Exact<{
|
|
1434
1452
|
companyId: Scalars['uuid'];
|
|
@@ -1436,36 +1454,36 @@ export declare type GetExternalDashboardClientThemeQueryVariables = Exact<{
|
|
|
1436
1454
|
}>;
|
|
1437
1455
|
export declare type GetExternalDashboardClientThemeQuery = {
|
|
1438
1456
|
__typename?: 'query_root';
|
|
1439
|
-
externalDashboardThemes: {
|
|
1457
|
+
externalDashboardThemes: Array<{
|
|
1440
1458
|
__typename?: 'externalDashboardThemes';
|
|
1441
1459
|
colors: any;
|
|
1442
1460
|
createdAt: any;
|
|
1443
1461
|
id: any;
|
|
1444
1462
|
name: string;
|
|
1445
|
-
}
|
|
1463
|
+
}>;
|
|
1446
1464
|
};
|
|
1447
1465
|
export declare type GetExternalDashboardIdQueryVariables = Exact<{
|
|
1448
1466
|
externalDashboardId?: InputMaybe<Scalars['String']>;
|
|
1449
1467
|
}>;
|
|
1450
1468
|
export declare type GetExternalDashboardIdQuery = {
|
|
1451
1469
|
__typename?: 'query_root';
|
|
1452
|
-
externalDashboards: {
|
|
1470
|
+
externalDashboards: Array<{
|
|
1453
1471
|
__typename?: 'externalDashboards';
|
|
1454
1472
|
id: any;
|
|
1455
1473
|
filters: any;
|
|
1456
|
-
}
|
|
1474
|
+
}>;
|
|
1457
1475
|
};
|
|
1458
1476
|
export declare type ExternalDashboardListQueryVariables = Exact<{
|
|
1459
1477
|
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1460
1478
|
}>;
|
|
1461
1479
|
export declare type ExternalDashboardListQuery = {
|
|
1462
1480
|
__typename?: 'query_root';
|
|
1463
|
-
externalDashboards: {
|
|
1481
|
+
externalDashboards: Array<{
|
|
1464
1482
|
__typename?: 'externalDashboards';
|
|
1465
1483
|
externalDashboardId: string;
|
|
1466
1484
|
name: string;
|
|
1467
1485
|
id: any;
|
|
1468
|
-
}
|
|
1486
|
+
}>;
|
|
1469
1487
|
};
|
|
1470
1488
|
export declare type GuestTokenParamsQueryVariables = Exact<{
|
|
1471
1489
|
id?: InputMaybe<Scalars['uuid']>;
|
|
@@ -1504,14 +1522,15 @@ export declare type PreviewTableMutation = {
|
|
|
1504
1522
|
export declare type QueryExternalMetricQueryVariables = Exact<{
|
|
1505
1523
|
id?: InputMaybe<Scalars['String']>;
|
|
1506
1524
|
clientId?: InputMaybe<Scalars['String']>;
|
|
1507
|
-
filterValues?: InputMaybe<Scalars['json']>;
|
|
1508
1525
|
globalFilters?: InputMaybe<Scalars['json']>;
|
|
1526
|
+
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
1509
1527
|
}>;
|
|
1510
1528
|
export declare type QueryExternalMetricQuery = {
|
|
1511
1529
|
__typename?: 'query_root';
|
|
1512
1530
|
externalMetricQuery?: {
|
|
1513
1531
|
__typename?: 'ExternalMetricQueryOutput';
|
|
1514
1532
|
data?: any | null;
|
|
1533
|
+
timeTaken?: number | null;
|
|
1515
1534
|
} | null;
|
|
1516
1535
|
};
|
|
1517
1536
|
export declare const CreateExternalMetricDocument = "\n mutation CreateExternalMetric($chartOptions: jsonb = \"\", $companyId: uuid = \"\", $companyIntegrationId: uuid = \"\", $description: String = \"\", $inputFields: jsonb = \"\", $integrationName: String = \"\", $metricId: String = \"\", $metricQuery: String = \"\", $name: String = \"\", $outputColumns: String = \"\", $query: String = \"\", $isLive: Boolean, $clientId: String = \"\", $isCreatedByClient: Boolean = false, $createdBy: String = \"\", $timeGrain: String = \"\", $externalDashboardIds: [externalDashboardMetrics_insert_input!] = {}, $selectedGroupBy: jsonb = [], $isEnableGroupBy: Boolean = false, $groupBy: jsonb = {}) {\n insert_externalMetrics_one(\n object: {chartOptions: $chartOptions, companyId: $companyId, companyIntegrationId: $companyIntegrationId, description: $description, inputFields: $inputFields, integrationName: $integrationName, metricId: $metricId, metricQuery: $metricQuery, name: $name, outputColumns: $outputColumns, query: $query, isLive: $isLive, clientId: $clientId, isCreatedByClient: $isCreatedByClient, createdBy: $createdBy, timeGrain: $timeGrain, externalDashboardMetrics: {data: $externalDashboardIds}, selectedGroupBy: $selectedGroupBy, isEnableGroupBy: $isEnableGroupBy, groupBy: $groupBy}\n ) {\n id\n externalDashboardMetrics {\n externalDashboardId\n }\n }\n}\n ";
|
|
@@ -1592,7 +1611,7 @@ export declare const CompanyIntegrationDocument = "\n query CompanyIntegratio
|
|
|
1592
1611
|
export declare const useCompanyIntegrationQuery: <TData = CompanyIntegrationQuery, TError = unknown>(variables?: CompanyIntegrationQueryVariables, options?: UseQueryOptions<CompanyIntegrationQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1593
1612
|
export declare const CompanySubsetTableListDocument = "\n query CompanySubsetTableList($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n tableList\n }\n}\n ";
|
|
1594
1613
|
export declare const useCompanySubsetTableListQuery: <TData = CompanySubsetTableListQuery, TError = unknown>(variables?: CompanySubsetTableListQueryVariables, options?: UseQueryOptions<CompanySubsetTableListQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1595
|
-
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($where: externalDashboardMetrics_bool_exp) {\n externalDashboardMetrics(where: $where) {\n externalMetricId\n externalDashboardId\n externalMetric {\n chartOptions\n clientId\n companyId\n companyIntegrationId\n createdAt\n createdBy\n description\n id\n inputFields\n integrationName\n isCreatedByClient\n isLive\n metricId\n metricQuery\n name\n outputColumns\n query\n resizeAttributes\n timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n }\n }\n}\n ";
|
|
1614
|
+
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($where: externalDashboardMetrics_bool_exp) {\n externalDashboardMetrics(where: $where) {\n externalMetricId\n externalDashboardId\n externalMetric {\n chartOptions\n clientId\n companyId\n companyIntegrationId\n createdAt\n createdBy\n description\n id\n inputFields\n integrationName\n isCreatedByClient\n isLive\n metricId\n metricQuery\n name\n outputColumns\n query\n resizeAttributes\n timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n rlsConditions\n companyIntegration {\n name\n }\n }\n }\n}\n ";
|
|
1596
1615
|
export declare const useEmbeddedDashboardMetricsQuery: <TData = EmbeddedDashboardMetricsQuery, TError = unknown>(variables?: EmbeddedDashboardMetricsQueryVariables, options?: UseQueryOptions<EmbeddedDashboardMetricsQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1597
1616
|
export declare const GetExternalDashboardClientThemeDocument = "\n query GetExternalDashboardClientTheme($companyId: uuid!, $clientId: String!) {\n externalDashboardThemes(\n where: {companyId: {_eq: $companyId}, externalDashboardThemeClients: {clientId: {_eq: $clientId}}}\n limit: 1\n ) {\n colors\n createdAt\n id\n name\n }\n}\n ";
|
|
1598
1617
|
export declare const useGetExternalDashboardClientThemeQuery: <TData = GetExternalDashboardClientThemeQuery, TError = unknown>(variables: GetExternalDashboardClientThemeQueryVariables, options?: UseQueryOptions<GetExternalDashboardClientThemeQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
@@ -1612,5 +1631,5 @@ export declare const usePreviewTableMutation: <TError = unknown, TContext = unkn
|
|
|
1612
1631
|
tableName?: InputMaybe<string> | undefined;
|
|
1613
1632
|
limit?: InputMaybe<number> | undefined;
|
|
1614
1633
|
}>, TContext>;
|
|
1615
|
-
export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $
|
|
1634
|
+
export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $globalFilters: json = \"\", $rlsConditions: json = []) {\n externalMetricQuery(\n input: {externalMetricId: $id, clientId: $clientId, globalFilters: $globalFilters, rlsConditions: $rlsConditions}\n ) {\n data\n timeTaken\n }\n}\n ";
|
|
1616
1635
|
export declare const useQueryExternalMetricQuery: <TData = QueryExternalMetricQuery, TError = unknown>(variables?: QueryExternalMetricQueryVariables, options?: UseQueryOptions<QueryExternalMetricQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|