@datapos/datapos-shared 0.3.35 → 0.3.38
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.
|
@@ -22,8 +22,8 @@ export type { ConnectorInterfaceResult, ContextInterfaceResult, Engine, EngineWo
|
|
|
22
22
|
export { APIError, ApplicationError, EngineError, FetchError, OperationalError, VueError, WindowRuntimeError, WindowPromiseRejectionError } from './errors';
|
|
23
23
|
export type { SerialisedError } from './errors';
|
|
24
24
|
export type { EventQueryConfig } from './eventQuery';
|
|
25
|
-
export type { Presenter, PresenterConfig } from './presenter';
|
|
26
|
-
export type { Recipe, RecipeConfig } from './recipe';
|
|
25
|
+
export type { Presenter, PresenterConfig, PresenterLocalisedConfig } from './presenter';
|
|
26
|
+
export type { Recipe, RecipeConfig, RecipeLocalisedConfig } from './recipe';
|
|
27
27
|
export type { ServiceData } from './service';
|
|
28
28
|
export type { StateConfig } from './state';
|
|
29
29
|
export type { Timestamp } from './timestamp';
|
|
@@ -7,6 +7,10 @@ export interface Presenter {
|
|
|
7
7
|
export interface PresenterConfig extends ComponentConfig {
|
|
8
8
|
version: string;
|
|
9
9
|
}
|
|
10
|
+
export type PresenterLocalisedConfig = Omit<PresenterConfig, 'label' | 'description'> & {
|
|
11
|
+
label: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
10
14
|
export interface PresenterItemConfig {
|
|
11
15
|
items?: PresenterItemConfig[];
|
|
12
16
|
label: Record<string, string>;
|
|
@@ -7,6 +7,10 @@ export interface Recipe {
|
|
|
7
7
|
export interface RecipeConfig extends ComponentConfig {
|
|
8
8
|
version: string;
|
|
9
9
|
}
|
|
10
|
+
export type RecipeLocalisedConfig = Omit<RecipeConfig, 'label' | 'description'> & {
|
|
11
|
+
label: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
10
14
|
export interface RecipeItemConfig {
|
|
11
15
|
items?: RecipeItemConfig[];
|
|
12
16
|
label: Record<string, string>;
|
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.38",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"csv-parse": "^6.1.0",
|
|
24
24
|
"eslint": "^9.35.0",
|
|
25
25
|
"eslint-plugin-import": "^2.32.0",
|
|
26
|
+
"npm-check-updates": "^18.3.0",
|
|
26
27
|
"prettier": "^3.6.2",
|
|
27
28
|
"typescript": "^5.9.2",
|
|
28
29
|
"vite": "^7.1.5",
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"audit": "npm audit",
|
|
33
34
|
"build": "npx vite build",
|
|
34
35
|
"bumpVersion": "node -e \"require('@datapos/datapos-development').bumpVersion()\"",
|
|
35
|
-
"check": "npx npm-check-updates && npm outdated",
|
|
36
|
+
"check": "npx npm-check-updates -i && npm outdated",
|
|
36
37
|
"document": "npx npm-license-crawler --onlyDirectDependencies --production --relativeLicensePath --json LICENSES.json",
|
|
37
38
|
"format": "prettier --write *.ts",
|
|
38
39
|
"lint": "npx eslint **/*.ts",
|