@databrainhq/plugin 0.7.9 → 0.7.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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.7.9",
3
+ "version": "0.7.11",
4
4
  "description": "Databrain app dashboard ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",