@databrainhq/plugin 0.9.37 → 0.9.40

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.
@@ -375,11 +375,17 @@ export declare enum ClientDashboardLayout_Select_Column {
375
375
  }
376
376
  /** input type for updating data in table "clientDashboardLayout" */
377
377
  export type ClientDashboardLayout_Set_Input = {
378
+ clientId?: InputMaybe<Scalars['String']>;
379
+ externalDashboardId?: InputMaybe<Scalars['uuid']>;
378
380
  isLocked?: InputMaybe<Scalars['Boolean']>;
379
381
  layout?: InputMaybe<Scalars['jsonb']>;
380
382
  };
381
383
  /** update columns of table "clientDashboardLayout" */
382
384
  export declare enum ClientDashboardLayout_Update_Column {
385
+ /** column name */
386
+ ClientId = "clientId",
387
+ /** column name */
388
+ ExternalDashboardId = "externalDashboardId",
383
389
  /** column name */
384
390
  IsLocked = "isLocked",
385
391
  /** column name */
@@ -1107,6 +1113,7 @@ export type ExternalDashboards = {
1107
1113
  externalDashboardMetrics: Array<ExternalDashboardMetrics>;
1108
1114
  filters: Scalars['jsonb'];
1109
1115
  id: Scalars['uuid'];
1116
+ layout: Scalars['jsonb'];
1110
1117
  name: Scalars['String'];
1111
1118
  /** An array relationship */
1112
1119
  scheduleEmailReports: Array<ScheduleEmailReports>;
@@ -1140,6 +1147,10 @@ export type ExternalDashboardsFiltersArgs = {
1140
1147
  path?: InputMaybe<Scalars['String']>;
1141
1148
  };
1142
1149
  /** columns and relationships of "externalDashboards" */
1150
+ export type ExternalDashboardsLayoutArgs = {
1151
+ path?: InputMaybe<Scalars['String']>;
1152
+ };
1153
+ /** columns and relationships of "externalDashboards" */
1143
1154
  export type ExternalDashboardsScheduleEmailReportsArgs = {
1144
1155
  distinct_on?: InputMaybe<Array<ScheduleEmailReports_Select_Column>>;
1145
1156
  limit?: InputMaybe<Scalars['Int']>;
@@ -1166,6 +1177,7 @@ export type ExternalDashboards_Bool_Exp = {
1166
1177
  externalDashboardMetrics?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
1167
1178
  filters?: InputMaybe<Jsonb_Comparison_Exp>;
1168
1179
  id?: InputMaybe<Uuid_Comparison_Exp>;
1180
+ layout?: InputMaybe<Jsonb_Comparison_Exp>;
1169
1181
  name?: InputMaybe<String_Comparison_Exp>;
1170
1182
  scheduleEmailReports?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
1171
1183
  };
@@ -1193,6 +1205,7 @@ export type ExternalDashboards_Order_By = {
1193
1205
  externalDashboardMetrics_aggregate?: InputMaybe<ExternalDashboardMetrics_Aggregate_Order_By>;
1194
1206
  filters?: InputMaybe<Order_By>;
1195
1207
  id?: InputMaybe<Order_By>;
1208
+ layout?: InputMaybe<Order_By>;
1196
1209
  name?: InputMaybe<Order_By>;
1197
1210
  scheduleEmailReports_aggregate?: InputMaybe<ScheduleEmailReports_Aggregate_Order_By>;
1198
1211
  };
@@ -1207,6 +1220,8 @@ export declare enum ExternalDashboards_Select_Column {
1207
1220
  /** column name */
1208
1221
  Id = "id",
1209
1222
  /** column name */
1223
+ Layout = "layout",
1224
+ /** column name */
1210
1225
  Name = "name"
1211
1226
  }
1212
1227
  /** columns and relationships of "externalMetricRawCsvUrls" */
@@ -3504,6 +3519,7 @@ export type GetExternalDashboardIdQuery = {
3504
3519
  __typename?: 'externalDashboards';
3505
3520
  id: any;
3506
3521
  filters: any;
3522
+ layout: any;
3507
3523
  }>;
3508
3524
  };
3509
3525
  export type GetExternalDashboardLayoutQueryVariables = Exact<{
@@ -3976,7 +3992,7 @@ export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDas
3976
3992
  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>;
3977
3993
  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 ";
3978
3994
  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>;
3979
- export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n filters\n }\n}\n ";
3995
+ export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n filters\n layout\n }\n}\n ";
3980
3996
  export declare const useGetExternalDashboardIdQuery: <TData = GetExternalDashboardIdQuery, TError = unknown>(variables?: GetExternalDashboardIdQueryVariables, options?: UseQueryOptions<GetExternalDashboardIdQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
3981
3997
  export declare const GetExternalDashboardLayoutDocument = "\n query getExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!) {\n clientDashboardLayout_by_pk(\n clientId: $clientId\n externalDashboardId: $externalDashboardId\n ) {\n clientId\n externalDashboardId\n layout\n isLocked\n }\n}\n ";
3982
3998
  export declare const useGetExternalDashboardLayoutQuery: <TData = GetExternalDashboardLayoutQuery, TError = unknown>(variables: GetExternalDashboardLayoutQueryVariables, options?: UseQueryOptions<GetExternalDashboardLayoutQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.9.37",
3
+ "version": "0.9.40",
4
4
  "description": "Databrain app dashboard ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",