@databrainhq/plugin 0.10.10 → 0.10.11
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/index.d.ts +1 -2
- package/dist/components/Table/index.d.ts +13 -3
- package/dist/hooks/useMetricCard.d.ts +13 -0
- package/dist/index.es.js +9668 -9563
- package/dist/index.umd.js +111 -110
- package/dist/types/app.d.ts +1 -0
- package/dist/utils/generated/graphql.d.ts +7 -1
- package/package.json +1 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ export type ExternalMetricQueryInput = {
|
|
|
92
92
|
externalMetricId: Scalars['String'];
|
|
93
93
|
filterValues?: InputMaybe<Scalars['json']>;
|
|
94
94
|
globalFilters?: InputMaybe<Scalars['json']>;
|
|
95
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
96
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
95
97
|
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
96
98
|
tenancyLevel?: InputMaybe<Scalars['String']>;
|
|
97
99
|
};
|
|
@@ -100,6 +102,7 @@ export type ExternalMetricQueryOutput = {
|
|
|
100
102
|
comparisonValue?: Maybe<Scalars['json']>;
|
|
101
103
|
data?: Maybe<Scalars['json']>;
|
|
102
104
|
timeTaken?: Maybe<Scalars['Float']>;
|
|
105
|
+
totalRecords?: Maybe<Scalars['Int']>;
|
|
103
106
|
};
|
|
104
107
|
export type FetchColumnDataInput = {
|
|
105
108
|
columnName: Scalars['String'];
|
|
@@ -3932,6 +3935,8 @@ export type QueryExternalMetricQueryVariables = Exact<{
|
|
|
3932
3935
|
filterValues?: InputMaybe<Scalars['json']>;
|
|
3933
3936
|
tenancyLevel?: InputMaybe<Scalars['String']>;
|
|
3934
3937
|
drillFilters?: InputMaybe<Scalars['json']>;
|
|
3938
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
3939
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
3935
3940
|
}>;
|
|
3936
3941
|
export type QueryExternalMetricQuery = {
|
|
3937
3942
|
__typename?: 'query_root';
|
|
@@ -3940,6 +3945,7 @@ export type QueryExternalMetricQuery = {
|
|
|
3940
3945
|
data?: any | null;
|
|
3941
3946
|
timeTaken?: number | null;
|
|
3942
3947
|
comparisonValue?: any | null;
|
|
3948
|
+
totalRecords?: number | null;
|
|
3943
3949
|
} | null;
|
|
3944
3950
|
};
|
|
3945
3951
|
export type RawCsvMutationVariables = Exact<{
|
|
@@ -4310,7 +4316,7 @@ export declare const usePreviewTableMutation: <TError = unknown, TContext = unkn
|
|
|
4310
4316
|
integrationId?: InputMaybe<string> | undefined;
|
|
4311
4317
|
integrationName?: InputMaybe<string> | undefined;
|
|
4312
4318
|
}>, TContext>;
|
|
4313
|
-
export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $globalFilters: json = \"\", $rlsConditions: json = [], $filterValues: json = \"\", $tenancyLevel: String = \"\", $drillFilters: json = []) {\n externalMetricQuery(\n input: {externalMetricId: $id, clientId: $clientId, globalFilters: $globalFilters, rlsConditions: $rlsConditions, filterValues: $filterValues, tenancyLevel: $tenancyLevel, drillFilters: $drillFilters}\n ) {\n data\n timeTaken\n comparisonValue\n }\n}\n ";
|
|
4319
|
+
export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $globalFilters: json = \"\", $rlsConditions: json = [], $filterValues: json = \"\", $tenancyLevel: String = \"\", $drillFilters: json = [], $limit: Int, $offset: Int) {\n externalMetricQuery(\n input: {externalMetricId: $id, clientId: $clientId, globalFilters: $globalFilters, rlsConditions: $rlsConditions, filterValues: $filterValues, tenancyLevel: $tenancyLevel, drillFilters: $drillFilters, limit: $limit, offset: $offset}\n ) {\n data\n timeTaken\n comparisonValue\n totalRecords\n }\n}\n ";
|
|
4314
4320
|
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>;
|
|
4315
4321
|
export declare const RawCsvDocument = "\n mutation RawCsv($companyId: String = \"\", $recipientAddress: String = \"\", $sqlQuery: String = \"\", $metricName: String = \"\", $workspaceId: String = \"\") {\n sendRawCsv(\n input: {companyId: $companyId, recipientAddress: $recipientAddress, sqlQuery: $sqlQuery, metricName: $metricName, workspaceId: $workspaceId}\n ) {\n status\n error {\n message\n }\n }\n}\n ";
|
|
4316
4322
|
export declare const useRawCsvMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<RawCsvMutation, TError, Exact<{
|