@lightdash/common 0.1409.0 → 0.1410.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -87,6 +87,7 @@ export type CreateDashboard = {
|
|
87
87
|
updatedByUser?: Pick<UpdatedByUser, 'userUuid'>;
|
88
88
|
spaceUuid?: string;
|
89
89
|
tabs: DashboardTab[];
|
90
|
+
config?: DashboardConfig;
|
90
91
|
};
|
91
92
|
export type DashboardTile = DashboardChartTile | DashboardMarkdownTile | DashboardLoomTile | DashboardSqlChartTile | DashboardSemanticViewerChartTile;
|
92
93
|
export declare const isDashboardChartTileType: (tile: DashboardTile) => tile is DashboardChartTile;
|
@@ -100,6 +101,9 @@ export type DashboardTab = {
|
|
100
101
|
order: number;
|
101
102
|
};
|
102
103
|
export type DashboardDAO = Omit<Dashboard, 'isPrivate' | 'access'>;
|
104
|
+
export type DashboardConfig = {
|
105
|
+
isDateZoomDisabled: boolean;
|
106
|
+
};
|
103
107
|
export type Dashboard = {
|
104
108
|
organizationUuid: string;
|
105
109
|
projectUuid: string;
|
@@ -121,6 +125,7 @@ export type Dashboard = {
|
|
121
125
|
isPrivate: boolean | null;
|
122
126
|
access: SpaceShare[] | null;
|
123
127
|
slug: string;
|
128
|
+
config?: DashboardConfig;
|
124
129
|
};
|
125
130
|
export declare enum DashboardSummaryTone {
|
126
131
|
FRIENDLY = "friendly",
|
@@ -146,7 +151,7 @@ export type DashboardBasicDetailsWithTileTypes = DashboardBasicDetails & {
|
|
146
151
|
};
|
147
152
|
export type SpaceDashboard = DashboardBasicDetails;
|
148
153
|
export type DashboardUnversionedFields = Pick<CreateDashboard, 'name' | 'description' | 'spaceUuid'>;
|
149
|
-
export type DashboardVersionedFields = Pick<CreateDashboard, 'tiles' | 'filters' | 'updatedByUser' | 'tabs'>;
|
154
|
+
export type DashboardVersionedFields = Pick<CreateDashboard, 'tiles' | 'filters' | 'updatedByUser' | 'tabs' | 'config'>;
|
150
155
|
export type UpdateDashboardDetails = Pick<Dashboard, 'name' | 'description'>;
|
151
156
|
export type UpdateDashboard = DashboardUnversionedFields | DashboardVersionedFields | (DashboardUnversionedFields & DashboardVersionedFields);
|
152
157
|
export type UpdateMultipleDashboards = Pick<Dashboard, 'uuid' | 'name' | 'description' | 'spaceUuid'>;
|