@lightdash/common 0.1445.1 → 0.1447.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/dist/types/coder.d.ts +2 -1
- package/package.json +8 -7
package/dist/types/coder.d.ts
CHANGED
@@ -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' | '
|
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.
|
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
|
-
"
|
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": "
|
39
|
-
"fix-lint": "
|
40
|
-
"format": "
|
41
|
-
"fix-format": "
|
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
|
}
|