@lightdash-tools/common 0.1.0 → 0.1.2
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 +3 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ pnpm add @lightdash-tools/common
|
|
|
12
12
|
|
|
13
13
|
This package provides shared Lightdash API request/response models extracted from the OpenAPI specification. Models are organized by domain for better discoverability and can be used across packages without requiring a dependency on the client package.
|
|
14
14
|
|
|
15
|
+
Domain models are type aliases to generated OpenAPI types (using `openapi-typescript`), ensuring they remain aligned with the Lightdash API specification. Types are automatically updated when the OpenAPI spec changes.
|
|
16
|
+
|
|
15
17
|
Models are split into domain-specific files for better maintainability:
|
|
16
18
|
|
|
17
19
|
- `types/projects.ts` - Projects domain models
|
|
@@ -116,4 +118,4 @@ Models are type aliases to generated OpenAPI types, ensuring they remain aligned
|
|
|
116
118
|
|
|
117
119
|
## License
|
|
118
120
|
|
|
119
|
-
|
|
121
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash-tools/common",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared utilities and types for Lightdash AI.",
|
|
5
5
|
"keywords": [],
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
7
|
"author": "",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"openapi-typescript": "^7.
|
|
11
|
+
"openapi-typescript": "^7.13.0"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|