@etsoo/appscript 1.1.22 → 1.1.26

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.
@@ -0,0 +1,10 @@
1
+ import { IdLabelDto } from './IdLabelDto';
2
+ /**
3
+ * Dto with id, label and primary field
4
+ */
5
+ export declare type IdLabelPrimaryDto = IdLabelDto & {
6
+ /**
7
+ * Is primary
8
+ */
9
+ readonly isPrimary?: boolean;
10
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,7 @@ export * from './business/BusinessUtils';
12
12
  export * from './business/ProductUnit';
13
13
  export * from './dto/IdDto';
14
14
  export * from './dto/IdLabelDto';
15
+ export * from './dto/IdLabelPrimaryDto';
15
16
  export * from './dto/UpdateDto';
16
17
  export * from './result/ActionResult';
17
18
  export * from './result/ActionResultError';
package/lib/cjs/index.js CHANGED
@@ -29,6 +29,7 @@ __exportStar(require("./business/ProductUnit"), exports);
29
29
  // dto
30
30
  __exportStar(require("./dto/IdDto"), exports);
31
31
  __exportStar(require("./dto/IdLabelDto"), exports);
32
+ __exportStar(require("./dto/IdLabelPrimaryDto"), exports);
32
33
  __exportStar(require("./dto/UpdateDto"), exports);
33
34
  // result
34
35
  __exportStar(require("./result/ActionResult"), exports);
@@ -0,0 +1,10 @@
1
+ import { IdLabelDto } from './IdLabelDto';
2
+ /**
3
+ * Dto with id, label and primary field
4
+ */
5
+ export declare type IdLabelPrimaryDto = IdLabelDto & {
6
+ /**
7
+ * Is primary
8
+ */
9
+ readonly isPrimary?: boolean;
10
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -12,6 +12,7 @@ export * from './business/BusinessUtils';
12
12
  export * from './business/ProductUnit';
13
13
  export * from './dto/IdDto';
14
14
  export * from './dto/IdLabelDto';
15
+ export * from './dto/IdLabelPrimaryDto';
15
16
  export * from './dto/UpdateDto';
16
17
  export * from './result/ActionResult';
17
18
  export * from './result/ActionResultError';
package/lib/mjs/index.js CHANGED
@@ -17,6 +17,7 @@ export * from './business/ProductUnit';
17
17
  // dto
18
18
  export * from './dto/IdDto';
19
19
  export * from './dto/IdLabelDto';
20
+ export * from './dto/IdLabelPrimaryDto';
20
21
  export * from './dto/UpdateDto';
21
22
  // result
22
23
  export * from './result/ActionResult';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.1.22",
3
+ "version": "1.1.26",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "homepage": "https://github.com/ETSOO/AppScript#readme",
54
54
  "dependencies": {
55
- "@etsoo/notificationbase": "^1.0.89",
56
- "@etsoo/restclient": "^1.0.57",
55
+ "@etsoo/notificationbase": "^1.0.91",
56
+ "@etsoo/restclient": "^1.0.58",
57
57
  "@etsoo/shared": "^1.0.62"
58
58
  },
59
59
  "devDependencies": {
@@ -65,7 +65,7 @@
65
65
  "@types/jest": "^27.0.2",
66
66
  "@typescript-eslint/eslint-plugin": "^5.1.0",
67
67
  "@typescript-eslint/parser": "^5.1.0",
68
- "eslint": "^8.0.1",
68
+ "eslint": "^8.1.0",
69
69
  "eslint-config-airbnb-base": "^14.2.1",
70
70
  "eslint-plugin-import": "^2.25.2",
71
71
  "jest": "^27.3.1",
@@ -0,0 +1,11 @@
1
+ import { IdLabelDto } from './IdLabelDto';
2
+
3
+ /**
4
+ * Dto with id, label and primary field
5
+ */
6
+ export type IdLabelPrimaryDto = IdLabelDto & {
7
+ /**
8
+ * Is primary
9
+ */
10
+ readonly isPrimary?: boolean;
11
+ };
package/src/index.ts CHANGED
@@ -21,6 +21,7 @@ export * from './business/ProductUnit';
21
21
  // dto
22
22
  export * from './dto/IdDto';
23
23
  export * from './dto/IdLabelDto';
24
+ export * from './dto/IdLabelPrimaryDto';
24
25
  export * from './dto/UpdateDto';
25
26
 
26
27
  // result