@lightdash/common 0.1408.0 → 0.1410.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -495,6 +495,7 @@ export type HealthState = {
495
495
  staticIp: string;
496
496
  query: {
497
497
  maxLimit: number;
498
+ defaultLimit: number;
498
499
  csvCellsLimit: number;
499
500
  };
500
501
  pivotTable: {
@@ -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'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1408.0",
3
+ "version": "0.1410.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [