@datapos/datapos-shared 0.3.63 → 0.3.67
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 +19 -2
- package/dist/types/src/component.d.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,12 +7,29 @@ A TypeScript library containing common declarations and utilities used across ot
|
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
|
-
Install as a
|
|
10
|
+
Install as a production dependency:
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install
|
|
13
|
+
npm install @datapos/datapos-shared
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
## Content
|
|
17
|
+
|
|
18
|
+
| Item | Notes |
|
|
19
|
+
| ------------------------------------------- | ------------------------------------------------------------------------ |
|
|
20
|
+
| [Component Types](./src/component.ts) | Base types. The Component type serves as a base type for all components. |
|
|
21
|
+
| [Connector Types](./src/connector.ts) | Connector types. The Connector type extends the Component type. |
|
|
22
|
+
| [Connection Types](./src/connection.ts) | Connection types. The Connection type extends the Component type. |
|
|
23
|
+
| [Context Types](./src/context.ts) | Context types. The Context type extends the Component type. |
|
|
24
|
+
| [Data View Types](./src/dataView.ts) | DataView types. The DataView type extends the Component type. |
|
|
25
|
+
| [Dimension Types](./src/dimension.ts) | Dimension types. The Dimension type extends the Component type. |
|
|
26
|
+
| [Engine Types](./src/dimension.ts) | Engine types. |
|
|
27
|
+
| [Event Query Types](./src/eventQuery.ts) | Event Query types. The Event Query type extends the Component type. |
|
|
28
|
+
| [Presenter Types](./src/presenter.ts) | Presenter types. The Presenter type extends the Component type. |
|
|
29
|
+
| [Presentation Types](./src/presentation.ts) | Presentation types. The Presentation type extends the Component type. |
|
|
30
|
+
| [Informer Types](./src/informer.ts) | Informer types. The Informer type extends the Component type. |
|
|
31
|
+
| [Recipe Types](./src/recipe.ts) | Recipe types. The Recipe type extends the Component type. |
|
|
32
|
+
|
|
16
33
|
## Usage
|
|
17
34
|
|
|
18
35
|
Import the library in your TypeScript project:
|
|
@@ -5,8 +5,8 @@ export interface ComponentConfig {
|
|
|
5
5
|
id: string;
|
|
6
6
|
label: Record<string, string>;
|
|
7
7
|
lastUpdatedAt?: Timestamp;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
icon?: string;
|
|
9
|
+
iconDark?: string;
|
|
10
10
|
status?: ComponentStatus;
|
|
11
11
|
statusId: ComponentStatusId;
|
|
12
12
|
typeId: ComponentTypeId;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.67",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"types": "./dist/types/src/index.d.ts",
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@datapos/datapos-development": "^0.3.29",
|
|
20
|
-
"@types/node": "^24.9.
|
|
20
|
+
"@types/node": "^24.9.2",
|
|
21
21
|
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
22
22
|
"@typescript-eslint/parser": "^8.46.2",
|
|
23
23
|
"csv-parse": "^6.1.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"jiti": "^2.6.1",
|
|
27
27
|
"license-report": "^6.8.1",
|
|
28
28
|
"license-report-check": "^0.1.2",
|
|
29
|
-
"npm-check-updates": "^19.1.
|
|
29
|
+
"npm-check-updates": "^19.1.2",
|
|
30
30
|
"prettier": "^3.6.2",
|
|
31
31
|
"retire": "^5.3.0",
|
|
32
32
|
"typescript": "^5.9.3",
|