@databrainhq/plugin 0.10.23 → 0.11.0
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/README.md +159 -8
- package/dist/components/Chart/SingleValueChart.d.ts +1 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/containers/Dashboard/Dashboard.d.ts +14 -4
- package/dist/containers/Dashboard/EmbededDashboard.d.ts +0 -1
- package/dist/containers/Metric/index.d.ts +16 -3
- package/dist/containers/index.d.ts +1 -0
- package/dist/containers/web-component.d.ts +15 -0
- package/dist/contexts/WebComponentContext.d.ts +8 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/hooks/useDashboardContext.d.ts +2 -0
- package/dist/hooks/useEmbeddedDashboard.d.ts +1 -0
- package/dist/index.es.js +18180 -17704
- package/dist/index.umd.js +145 -140
- package/dist/types/app.d.ts +1 -0
- package/dist/utils/generated/graphql.d.ts +3 -4
- package/dist/webcomponents.d.ts +1 -0
- package/dist/webcomponents.es.js +92733 -0
- package/dist/webcomponents.umd.js +1861 -0
- package/package.json +19 -10
- package/dist/style.css +0 -1
package/dist/types/app.d.ts
CHANGED
|
@@ -2788,9 +2788,7 @@ export type ScheduleEmailReportCharts_Bool_Exp = {
|
|
|
2788
2788
|
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2789
2789
|
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2790
2790
|
/** unique or primary key constraint on columns "id" */
|
|
2791
|
-
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2792
|
-
/** unique or primary key constraint on columns "externalMetricId", "scheduleEmailReportId" */
|
|
2793
|
-
ScheduleEmailReportChartsUniqueKey = "scheduleEmailReportCharts_unique_key"
|
|
2791
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2794
2792
|
}
|
|
2795
2793
|
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2796
2794
|
export type ScheduleEmailReportCharts_Insert_Input = {
|
|
@@ -3716,6 +3714,7 @@ export type GetExternalDashboardIdQuery = {
|
|
|
3716
3714
|
externalDashboards: Array<{
|
|
3717
3715
|
__typename?: 'externalDashboards';
|
|
3718
3716
|
id: any;
|
|
3717
|
+
name: string;
|
|
3719
3718
|
filters: any;
|
|
3720
3719
|
layout: any;
|
|
3721
3720
|
}>;
|
|
@@ -4228,7 +4227,7 @@ export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDas
|
|
|
4228
4227
|
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>;
|
|
4229
4228
|
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 ";
|
|
4230
4229
|
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>;
|
|
4231
|
-
export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n filters\n layout\n }\n}\n ";
|
|
4230
|
+
export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n name\n filters\n layout\n }\n}\n ";
|
|
4232
4231
|
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>;
|
|
4233
4232
|
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 ";
|
|
4234
4233
|
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index'
|