@databrainhq/plugin 0.7.9 → 0.7.10
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/components/ConstructMetric/ConstructMetric.d.ts +1 -1
- package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +1 -1
- package/dist/index.es.js +210 -147
- package/dist/index.umd.js +56 -55
- package/dist/style.css +1 -1
- package/dist/types/metricCreate.d.ts +2 -0
- package/dist/utils/generated/graphql.d.ts +3 -1
- package/package.json +1 -1
|
@@ -39,6 +39,8 @@ export declare type ConstructMetricProps = {
|
|
|
39
39
|
isEnableGroupBy: boolean;
|
|
40
40
|
setEnableGroupBy?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
41
41
|
setSelectedGroupBy: React.Dispatch<React.SetStateAction<string[]>>;
|
|
42
|
+
clientId: string;
|
|
43
|
+
clientColumn?: string;
|
|
42
44
|
};
|
|
43
45
|
export declare type MetricsValue = {
|
|
44
46
|
value: string;
|
|
@@ -180,6 +180,7 @@ export declare type SubsetColumns = {
|
|
|
180
180
|
};
|
|
181
181
|
export declare type TableList = {
|
|
182
182
|
__typename?: 'TableList';
|
|
183
|
+
clientColumn?: Maybe<Scalars['String']>;
|
|
183
184
|
columns?: Maybe<Array<Maybe<SubsetColumns>>>;
|
|
184
185
|
tableName: Scalars['String'];
|
|
185
186
|
};
|
|
@@ -1487,6 +1488,7 @@ export declare type CompanySubsetTableDataMutation = {
|
|
|
1487
1488
|
tableList?: Array<{
|
|
1488
1489
|
__typename?: 'TableList';
|
|
1489
1490
|
tableName: string;
|
|
1491
|
+
clientColumn?: string | null;
|
|
1490
1492
|
columns?: Array<{
|
|
1491
1493
|
__typename?: 'SubsetColumns';
|
|
1492
1494
|
datatype: string;
|
|
@@ -1710,7 +1712,7 @@ export declare const useGenerateEmbeddedMeticMutation: <TError = unknown, TConte
|
|
|
1710
1712
|
queryPrompt?: InputMaybe<string> | undefined;
|
|
1711
1713
|
timeGrain?: InputMaybe<string> | undefined;
|
|
1712
1714
|
}>, TContext>;
|
|
1713
|
-
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 }\n }\n}\n ";
|
|
1715
|
+
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 ";
|
|
1714
1716
|
export declare const useCompanySubsetTableDataMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<CompanySubsetTableDataMutation, TError, Exact<{
|
|
1715
1717
|
clientId?: InputMaybe<string> | undefined;
|
|
1716
1718
|
companyId?: InputMaybe<string> | undefined;
|