@databrainhq/plugin 0.9.47 → 0.9.48
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/MetricList/components/ArchiveMetricModal/index.d.ts +4 -6
- package/dist/components/MetricList/components/LayoutAlert/index.d.ts +2 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useArchiveMetric.d.ts +11 -0
- package/dist/hooks/useClientDashboardLayout.d.ts +1 -0
- package/dist/index.es.js +18207 -18440
- package/dist/index.umd.js +149 -149
- package/dist/style.css +1 -1
- package/dist/utils/generated/graphql.d.ts +13 -5
- package/package.json +1 -1
|
@@ -1421,9 +1421,11 @@ export type ExternalMetrics = {
|
|
|
1421
1421
|
id: Scalars['uuid'];
|
|
1422
1422
|
inputFields?: Maybe<Scalars['jsonb']>;
|
|
1423
1423
|
integrationName: Scalars['String'];
|
|
1424
|
+
isArchived: Scalars['Boolean'];
|
|
1424
1425
|
isCreatedByClient: Scalars['Boolean'];
|
|
1425
1426
|
isEnableGroupBy: Scalars['Boolean'];
|
|
1426
1427
|
isLive: Scalars['Boolean'];
|
|
1428
|
+
isMarkedDeleted: Scalars['Boolean'];
|
|
1427
1429
|
metricId: Scalars['String'];
|
|
1428
1430
|
metricQuery?: Maybe<Scalars['String']>;
|
|
1429
1431
|
name: Scalars['String'];
|
|
@@ -1629,9 +1631,11 @@ export type ExternalMetrics_Bool_Exp = {
|
|
|
1629
1631
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
1630
1632
|
inputFields?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
1631
1633
|
integrationName?: InputMaybe<String_Comparison_Exp>;
|
|
1634
|
+
isArchived?: InputMaybe<Boolean_Comparison_Exp>;
|
|
1632
1635
|
isCreatedByClient?: InputMaybe<Boolean_Comparison_Exp>;
|
|
1633
1636
|
isEnableGroupBy?: InputMaybe<Boolean_Comparison_Exp>;
|
|
1634
1637
|
isLive?: InputMaybe<Boolean_Comparison_Exp>;
|
|
1638
|
+
isMarkedDeleted?: InputMaybe<Boolean_Comparison_Exp>;
|
|
1635
1639
|
metricId?: InputMaybe<String_Comparison_Exp>;
|
|
1636
1640
|
metricQuery?: InputMaybe<String_Comparison_Exp>;
|
|
1637
1641
|
name?: InputMaybe<String_Comparison_Exp>;
|
|
@@ -1775,9 +1779,11 @@ export type ExternalMetrics_Order_By = {
|
|
|
1775
1779
|
id?: InputMaybe<Order_By>;
|
|
1776
1780
|
inputFields?: InputMaybe<Order_By>;
|
|
1777
1781
|
integrationName?: InputMaybe<Order_By>;
|
|
1782
|
+
isArchived?: InputMaybe<Order_By>;
|
|
1778
1783
|
isCreatedByClient?: InputMaybe<Order_By>;
|
|
1779
1784
|
isEnableGroupBy?: InputMaybe<Order_By>;
|
|
1780
1785
|
isLive?: InputMaybe<Order_By>;
|
|
1786
|
+
isMarkedDeleted?: InputMaybe<Order_By>;
|
|
1781
1787
|
metricId?: InputMaybe<Order_By>;
|
|
1782
1788
|
metricQuery?: InputMaybe<Order_By>;
|
|
1783
1789
|
name?: InputMaybe<Order_By>;
|
|
@@ -1830,12 +1836,16 @@ export declare enum ExternalMetrics_Select_Column {
|
|
|
1830
1836
|
/** column name */
|
|
1831
1837
|
IntegrationName = "integrationName",
|
|
1832
1838
|
/** column name */
|
|
1839
|
+
IsArchived = "isArchived",
|
|
1840
|
+
/** column name */
|
|
1833
1841
|
IsCreatedByClient = "isCreatedByClient",
|
|
1834
1842
|
/** column name */
|
|
1835
1843
|
IsEnableGroupBy = "isEnableGroupBy",
|
|
1836
1844
|
/** column name */
|
|
1837
1845
|
IsLive = "isLive",
|
|
1838
1846
|
/** column name */
|
|
1847
|
+
IsMarkedDeleted = "isMarkedDeleted",
|
|
1848
|
+
/** column name */
|
|
1839
1849
|
MetricId = "metricId",
|
|
1840
1850
|
/** column name */
|
|
1841
1851
|
MetricQuery = "metricQuery",
|
|
@@ -2654,9 +2664,7 @@ export type ScheduleEmailReportCharts_Bool_Exp = {
|
|
|
2654
2664
|
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2655
2665
|
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2656
2666
|
/** unique or primary key constraint on columns "id" */
|
|
2657
|
-
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2658
|
-
/** unique or primary key constraint on columns "externalMetricId", "scheduleEmailReportId" */
|
|
2659
|
-
ScheduleEmailReportChartsUniqueKey = "scheduleEmailReportCharts_unique_key"
|
|
2667
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2660
2668
|
}
|
|
2661
2669
|
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2662
2670
|
export type ScheduleEmailReportCharts_Insert_Input = {
|
|
@@ -4031,13 +4039,13 @@ export declare const useCompanySubsetTableDataMutation: <TError = unknown, TCont
|
|
|
4031
4039
|
companyId?: InputMaybe<string> | undefined;
|
|
4032
4040
|
workspaceId?: InputMaybe<string> | undefined;
|
|
4033
4041
|
}>, TContext>;
|
|
4034
|
-
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 timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n resizeAttributes\n rlsConditions\n clickActions\n drillDownSettings\n companyIntegration {\n name\n workspaceId\n }\n }\n }\n}\n ";
|
|
4042
|
+
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($externalDashboardId: String! = \"\", $clientId: String! = \"\") {\n externalDashboardMetrics(\n where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, externalMetric: {isArchived: {_eq: false}, isMarkedDeleted: {_eq: false}}, _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 timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n resizeAttributes\n rlsConditions\n clickActions\n drillDownSettings\n companyIntegration {\n name\n workspaceId\n }\n }\n }\n}\n ";
|
|
4035
4043
|
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>;
|
|
4036
4044
|
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 ";
|
|
4037
4045
|
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>;
|
|
4038
4046
|
export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n filters\n layout\n }\n}\n ";
|
|
4039
4047
|
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>;
|
|
4040
|
-
export declare const GetExternalDashboardLayoutDocument = "\n query
|
|
4048
|
+
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 ";
|
|
4041
4049
|
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>;
|
|
4042
4050
|
export declare const ExternalDashboardListDocument = "\n query ExternalDashboardList($companyId: uuid = \"\") {\n externalDashboards(where: {companyId: {_eq: $companyId}}) {\n externalDashboardId\n name\n id\n }\n}\n ";
|
|
4043
4051
|
export declare const useExternalDashboardListQuery: <TData = ExternalDashboardListQuery, TError = unknown>(variables?: ExternalDashboardListQueryVariables, options?: UseQueryOptions<ExternalDashboardListQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|