@databrainhq/plugin 0.8.7 → 0.8.9
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/MetricCreation.d.ts +1 -1
- package/dist/components/Select/index.d.ts +2 -1
- package/dist/hooks/useEmbeddedDashboard.d.ts +1 -0
- package/dist/index.es.js +101 -52
- package/dist/index.umd.js +66 -64
- package/dist/style.css +1 -1
- package/dist/types/app.d.ts +1 -0
- package/dist/types/metricCreate.d.ts +1 -0
- package/dist/utils/generated/graphql.d.ts +6 -1
- package/package.json +1 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export declare type EmbeddedDashboardDataOutput = {
|
|
|
63
63
|
isLive?: Maybe<Scalars['Boolean']>;
|
|
64
64
|
isTestKey?: Maybe<Scalars['Boolean']>;
|
|
65
65
|
rlsSettings?: Maybe<Scalars['json']>;
|
|
66
|
+
workspace?: Maybe<Scalars['json']>;
|
|
66
67
|
};
|
|
67
68
|
export declare type Error = {
|
|
68
69
|
__typename?: 'Error';
|
|
@@ -430,6 +431,7 @@ export declare type CompanySubsetTableDataError = {
|
|
|
430
431
|
export declare type CompanySubsetTableDataInput = {
|
|
431
432
|
clientId: Scalars['String'];
|
|
432
433
|
companyId: Scalars['String'];
|
|
434
|
+
workspaceId: Scalars['String'];
|
|
433
435
|
};
|
|
434
436
|
export declare type CompanySubsetTableDataOutput = {
|
|
435
437
|
__typename?: 'companySubsetTableDataOutput';
|
|
@@ -1968,6 +1970,7 @@ export declare type GetClientDashboardLayoutQuery = {
|
|
|
1968
1970
|
export declare type CompanySubsetTableDataMutationVariables = Exact<{
|
|
1969
1971
|
clientId?: InputMaybe<Scalars['String']>;
|
|
1970
1972
|
companyId?: InputMaybe<Scalars['String']>;
|
|
1973
|
+
workspaceId?: InputMaybe<Scalars['String']>;
|
|
1971
1974
|
}>;
|
|
1972
1975
|
export declare type CompanySubsetTableDataMutation = {
|
|
1973
1976
|
__typename?: 'mutation_root';
|
|
@@ -2291,13 +2294,15 @@ export declare const useGenerateEmbeddedMeticMutation: <TError = unknown, TConte
|
|
|
2291
2294
|
}>, TContext>;
|
|
2292
2295
|
export declare const GetClientDashboardLayoutDocument = "\n query GetClientDashboardLayout($clientId: String!, $externalDashboardId: uuid!) {\n clientDashboardMetrics_by_pk(\n clientId: $clientId\n externalDashboardId: $externalDashboardId\n ) {\n clientId\n externalDashboardId\n }\n}\n ";
|
|
2293
2296
|
export declare const useGetClientDashboardLayoutQuery: <TData = GetClientDashboardLayoutQuery, TError = unknown>(variables: GetClientDashboardLayoutQueryVariables, options?: UseQueryOptions<GetClientDashboardLayoutQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
2294
|
-
export declare const CompanySubsetTableDataDocument = "\n mutation CompanySubsetTableData($clientId: String = \"\", $companyId: String = \"\") {\n companySubsetTableData(input: {clientId: $clientId, companyId: $companyId}) {\n companyIntegrationId\n dbName\n error {\n message\n }\n tableList {\n tableName\n columns {\n datatype\n name\n as\n }\n clientColumn\n }\n }\n}\n ";
|
|
2297
|
+
export declare const CompanySubsetTableDataDocument = "\n mutation CompanySubsetTableData($clientId: String = \"\", $companyId: String = \"\", $workspaceId: String = \"\") {\n companySubsetTableData(\n input: {clientId: $clientId, companyId: $companyId, workspaceId: $workspaceId}\n ) {\n companyIntegrationId\n dbName\n error {\n message\n }\n tableList {\n tableName\n columns {\n datatype\n name\n as\n }\n clientColumn\n }\n }\n}\n ";
|
|
2295
2298
|
export declare const useCompanySubsetTableDataMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<CompanySubsetTableDataMutation, TError, Exact<{
|
|
2296
2299
|
clientId?: InputMaybe<string> | undefined;
|
|
2297
2300
|
companyId?: InputMaybe<string> | undefined;
|
|
2301
|
+
workspaceId?: InputMaybe<string> | undefined;
|
|
2298
2302
|
}>, TContext> | undefined) => import("react-query").UseMutationResult<CompanySubsetTableDataMutation, TError, Exact<{
|
|
2299
2303
|
clientId?: InputMaybe<string> | undefined;
|
|
2300
2304
|
companyId?: InputMaybe<string> | undefined;
|
|
2305
|
+
workspaceId?: InputMaybe<string> | undefined;
|
|
2301
2306
|
}>, TContext>;
|
|
2302
2307
|
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($externalDashboardId: String! = \"\", $clientId: String! = \"\") {\n externalDashboardMetrics(\n where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, _not: {externalMetric: {clientDeletedMetrics: {clientId: {_eq: $clientId}}}}}\n ) {\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 clickActions\n }\n }\n}\n ";
|
|
2303
2308
|
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>;
|