@openbox/shared-types 0.1.10 → 0.1.11

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/index.ts CHANGED
@@ -1,9 +1,2 @@
1
- export interface MyCustomInterface {
2
- name: string;
3
- age: number;
4
- }
5
-
6
- export interface AnotherCustomInterface {
7
- email: string;
8
- phone: string;
9
- }
1
+ import { DTOGetServicesResponse } from './modules/services';
2
+ export { DTOGetServicesResponse };
@@ -0,0 +1,10 @@
1
+ interface IManyServicesResponse {
2
+ id: string;
3
+ }
4
+
5
+ export interface DTOGetServicesResponse {
6
+ data: IManyServicesResponse[];
7
+ count: number;
8
+ page: number;
9
+ limit: number;
10
+ }
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "main": "index.ts",
6
6
  "author": "Openbox Developer Team",
7
7
  "license": "ISC",
8
- "dependencies": {},
8
+ "dependencies": {
9
+ "class-transformer": "^0.5.1"
10
+ },
9
11
  "devDependencies": {}
10
12
  }
package/tsconfig.json CHANGED
@@ -14,7 +14,8 @@
14
14
  ],
15
15
  "types": [],
16
16
  "noEmit": true,
17
- "forceConsistentCasingInFileNames": true
17
+ "forceConsistentCasingInFileNames": true,
18
+ "experimentalDecorators": true,
18
19
  },
19
20
  "files": [
20
21
  "index.d.ts"