@lightdash/common 0.1445.1 → 0.1447.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  import type { Dashboard, DashboardTile, PromotionChanges, SavedChart } from '..';
2
2
  export declare const currentVersion = 1;
3
- export type ChartAsCode = Pick<SavedChart, 'name' | 'description' | 'tableName' | 'metricQuery' | 'chartConfig' | 'tableConfig' | 'slug' | 'dashboardUuid' | 'updatedAt'> & {
3
+ export type ChartAsCode = Pick<SavedChart, 'name' | 'description' | 'tableName' | 'metricQuery' | 'chartConfig' | 'tableConfig' | 'slug' | 'updatedAt'> & {
4
+ dashboardSlug: string | undefined;
4
5
  version: number;
5
6
  spaceSlug: string;
6
7
  downloadedAt?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1445.1",
3
+ "version": "0.1447.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -10,6 +10,7 @@
10
10
  "devDependencies": {
11
11
  "@types/pegjs": "^0.10.3",
12
12
  "@types/sanitize-html": "^2.11.0",
13
+ "@types/uuid": "^10.0.0",
13
14
  "typescript-json-schema": "^0.54.0"
14
15
  },
15
16
  "dependencies": {
@@ -20,14 +21,14 @@
20
21
  "cronstrue": "^2.23.0",
21
22
  "dayjs": "^1.11.9",
22
23
  "dependency-graph": "^0.11.0",
23
- "type-fest": "^3.10.0",
24
24
  "liquidjs": "^10.0.0",
25
25
  "lodash": "^4.17.21",
26
26
  "moment": "^2.29.4",
27
27
  "moment-timezone": "^0.5.45",
28
28
  "pegjs": "^0.10.0",
29
29
  "sanitize-html": "^2.12.1",
30
- "uuid": "^8.3.2",
30
+ "type-fest": "^3.10.0",
31
+ "uuid": "^11.0.3",
31
32
  "zod": "^3.23.3"
32
33
  },
33
34
  "scripts": {
@@ -35,10 +36,10 @@
35
36
  "build": "tsc --build tsconfig.json",
36
37
  "linter": "eslint -c .eslintrc.js --ignore-path ./../../.gitignore",
37
38
  "formatter": "prettier --config .prettierrc.js --ignore-unknown --ignore-path ./../../.gitignore",
38
- "lint": "yarn run linter ./src",
39
- "fix-lint": "yarn run linter ./src --fix",
40
- "format": "yarn run formatter ./src --check",
41
- "fix-format": "yarn run formatter ./src --write",
39
+ "lint": "pnpm run linter ./src",
40
+ "fix-lint": "pnpm run linter ./src --fix",
41
+ "format": "pnpm run formatter ./src --check",
42
+ "fix-format": "pnpm run formatter ./src --write",
42
43
  "test": "TZ=UTC jest"
43
44
  }
44
45
  }