shared-dto 1.0.8 → 1.0.10
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/dist/Task.dto.d.ts +25 -0
- package/dist/Task.dto.d.ts.map +1 -0
- package/dist/Task.dto.js +77 -0
- package/dist/Task.dto.js.map +1 -0
- package/dist/UserDTO.dto.d.ts +7 -0
- package/dist/UserDTO.dto.d.ts.map +1 -1
- package/dist/UserDTO.dto.js +39 -1
- package/dist/UserDTO.dto.js.map +1 -1
- package/package.json +22 -17
- package/src/Task.dto.ts +55 -0
- package/src/UserDTO.dto.ts +25 -0
- package/tsconfig.json +3 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum TaskStatus {
|
|
2
|
+
PENDING = "PENDING",
|
|
3
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
4
|
+
COMPLETED = "COMPLETED",
|
|
5
|
+
CANCELLED = "CANCELLED",
|
|
6
|
+
ON_HOLD = "ON_HOLD"
|
|
7
|
+
}
|
|
8
|
+
export declare enum Priority {
|
|
9
|
+
LOW = "LOW",
|
|
10
|
+
MEDIUM = "MEDIUM",
|
|
11
|
+
HIGH = "HIGH",
|
|
12
|
+
URGENT = "URGENT"
|
|
13
|
+
}
|
|
14
|
+
export declare class CreateTaskDto {
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
status: TaskStatus;
|
|
18
|
+
dueDate?: Date;
|
|
19
|
+
priority?: Priority;
|
|
20
|
+
apartmentId: string;
|
|
21
|
+
assignedUserIds: string[];
|
|
22
|
+
createdById: string;
|
|
23
|
+
attachments?: string[];
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=Task.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Task.dto.d.ts","sourceRoot":"","sources":["../src/Task.dto.ts"],"names":[],"mappings":"AAGA,oBAAY,UAAU;IAClB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,oBAAY,QAAQ;IAClB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAEH,qBAAa,aAAa;IAGxB,KAAK,EAAE,MAAM,CAAC;IAId,WAAW,EAAE,MAAM,CAAC;IAGpB,MAAM,EAAE,UAAU,CAAC;IAInB,OAAO,CAAC,EAAE,IAAI,CAAC;IAIf,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAIpB,WAAW,EAAE,MAAM,CAAC;IAIpB,eAAe,EAAE,MAAM,EAAE,CAAC;IAI1B,WAAW,EAAE,MAAM,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
package/dist/Task.dto.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateTaskDto = exports.Priority = exports.TaskStatus = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var TaskStatus;
|
|
15
|
+
(function (TaskStatus) {
|
|
16
|
+
TaskStatus["PENDING"] = "PENDING";
|
|
17
|
+
TaskStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
18
|
+
TaskStatus["COMPLETED"] = "COMPLETED";
|
|
19
|
+
TaskStatus["CANCELLED"] = "CANCELLED";
|
|
20
|
+
TaskStatus["ON_HOLD"] = "ON_HOLD";
|
|
21
|
+
})(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
|
|
22
|
+
var Priority;
|
|
23
|
+
(function (Priority) {
|
|
24
|
+
Priority["LOW"] = "LOW";
|
|
25
|
+
Priority["MEDIUM"] = "MEDIUM";
|
|
26
|
+
Priority["HIGH"] = "HIGH";
|
|
27
|
+
Priority["URGENT"] = "URGENT";
|
|
28
|
+
})(Priority || (exports.Priority = Priority = {}));
|
|
29
|
+
class CreateTaskDto {
|
|
30
|
+
}
|
|
31
|
+
exports.CreateTaskDto = CreateTaskDto;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateTaskDto.prototype, "title", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], CreateTaskDto.prototype, "description", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsEnum)(TaskStatus),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateTaskDto.prototype, "status", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsDate)(),
|
|
49
|
+
__metadata("design:type", Date)
|
|
50
|
+
], CreateTaskDto.prototype, "dueDate", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsEnum)(Priority),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], CreateTaskDto.prototype, "priority", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsString)(),
|
|
58
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], CreateTaskDto.prototype, "apartmentId", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsArray)(),
|
|
63
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
64
|
+
__metadata("design:type", Array)
|
|
65
|
+
], CreateTaskDto.prototype, "assignedUserIds", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], CreateTaskDto.prototype, "createdById", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsArray)(),
|
|
74
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
75
|
+
__metadata("design:type", Array)
|
|
76
|
+
], CreateTaskDto.prototype, "attachments", void 0);
|
|
77
|
+
//# sourceMappingURL=Task.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Task.dto.js","sourceRoot":"","sources":["../src/Task.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAA4F;AAE5F,IAAY,UAMT;AANH,WAAY,UAAU;IAClB,iCAAmB,CAAA;IACnB,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;IACvB,qCAAuB,CAAA;IACvB,iCAAmB,CAAA;AACrB,CAAC,EANS,UAAU,0BAAV,UAAU,QAMnB;AAED,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,6BAAiB,CAAA;AACnB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAEH,MAAa,aAAa;CAoCzB;AApCD,sCAoCC;AAjCC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACO;AAGpB;IADC,IAAA,wBAAM,EAAC,UAAU,CAAC;;6CACA;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACC,IAAI;8CAAC;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,QAAQ,CAAC;;+CACG;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACO;AAIpB;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sDACC;AAI1B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACO;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACF"}
|
package/dist/UserDTO.dto.d.ts
CHANGED
|
@@ -6,4 +6,11 @@ export declare class UserDTO {
|
|
|
6
6
|
profileURL: string | null | undefined;
|
|
7
7
|
userType: string | null | undefined;
|
|
8
8
|
}
|
|
9
|
+
export declare class BaseUserDto {
|
|
10
|
+
uid: string;
|
|
11
|
+
name: string;
|
|
12
|
+
aprtmontID: string;
|
|
13
|
+
profileURL: string;
|
|
14
|
+
userType: string;
|
|
15
|
+
}
|
|
9
16
|
//# sourceMappingURL=UserDTO.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserDTO.dto.d.ts","sourceRoot":"","sources":["../src/UserDTO.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserDTO.dto.d.ts","sourceRoot":"","sources":["../src/UserDTO.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,OAAO;IAChB,GAAG,EAAC,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC;AAED,qBAAc,WAAW;IAGrB,GAAG,EAAE,MAAM,CAAC;IAIZ,IAAI,EAAE,MAAM,CAAC;IAIb,UAAU,EAAE,MAAM,CAAC;IAInB,UAAU,EAAE,MAAM,CAAC;IAInB,QAAQ,EAAC,MAAM,CAAC;CAChB"}
|
package/dist/UserDTO.dto.js
CHANGED
|
@@ -1,7 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserDTO = void 0;
|
|
12
|
+
exports.BaseUserDto = exports.UserDTO = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
4
14
|
class UserDTO {
|
|
5
15
|
}
|
|
6
16
|
exports.UserDTO = UserDTO;
|
|
17
|
+
class BaseUserDto {
|
|
18
|
+
}
|
|
19
|
+
exports.BaseUserDto = BaseUserDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], BaseUserDto.prototype, "uid", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], BaseUserDto.prototype, "name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], BaseUserDto.prototype, "aprtmontID", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], BaseUserDto.prototype, "profileURL", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], BaseUserDto.prototype, "userType", void 0);
|
|
7
45
|
//# sourceMappingURL=UserDTO.dto.js.map
|
package/dist/UserDTO.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserDTO.dto.js","sourceRoot":"","sources":["../src/UserDTO.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserDTO.dto.js","sourceRoot":"","sources":["../src/UserDTO.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAGvD,MAAa,OAAO;CAOnB;AAPD,0BAOC;AAED,MAAc,WAAW;CAoBrB;AApBJ,kCAoBI;AAjBA;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACD;AAIZ;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACG"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "shared-dto",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "dist/index.js",
|
|
5
|
-
"types": "dist/index.d.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc",
|
|
8
|
-
"version-bump": "npm version patch",
|
|
9
|
-
"publish-lib": "npm publish --access public",
|
|
10
|
-
"update-frontend": "cd ../front_end && npm install shared-dto@latest",
|
|
11
|
-
"update-backend": "cd ../back_end && npm install shared-dto@latest",
|
|
12
|
-
"update-all": "npm run build && npm run version-bump && npm run publish-lib && npm run update-frontend && npm run update-backend"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"typescript": "^5.6.2"
|
|
16
|
-
}
|
|
17
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "shared-dto",
|
|
3
|
+
"version": "1.0.10",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"version-bump": "npm version patch",
|
|
9
|
+
"publish-lib": "npm publish --access public",
|
|
10
|
+
"update-frontend": "cd ../front_end && npm install shared-dto@latest",
|
|
11
|
+
"update-backend": "cd ../back_end && npm install shared-dto@latest",
|
|
12
|
+
"update-all": "npm run build && npm run version-bump && npm run publish-lib && npm run update-frontend && npm run update-backend"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"typescript": "^5.6.2"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"class-transformer": "^0.5.1",
|
|
19
|
+
"class-validator": "^0.14.1",
|
|
20
|
+
"reflect-metadata": "^0.2.2"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/src/Task.dto.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// src/tasks/dto/create-task.dto.ts
|
|
2
|
+
import { IsString, IsNotEmpty, IsOptional, IsEnum, IsDate, IsArray } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export enum TaskStatus {
|
|
5
|
+
PENDING = 'PENDING',
|
|
6
|
+
IN_PROGRESS = 'IN_PROGRESS',
|
|
7
|
+
COMPLETED = 'COMPLETED',
|
|
8
|
+
CANCELLED = 'CANCELLED',
|
|
9
|
+
ON_HOLD = 'ON_HOLD'
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export enum Priority {
|
|
13
|
+
LOW = 'LOW',
|
|
14
|
+
MEDIUM = 'MEDIUM',
|
|
15
|
+
HIGH = 'HIGH',
|
|
16
|
+
URGENT = 'URGENT'
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export class CreateTaskDto {
|
|
20
|
+
@IsString()
|
|
21
|
+
@IsNotEmpty()
|
|
22
|
+
title: string;
|
|
23
|
+
|
|
24
|
+
@IsString()
|
|
25
|
+
@IsNotEmpty()
|
|
26
|
+
description: string;
|
|
27
|
+
|
|
28
|
+
@IsEnum(TaskStatus)
|
|
29
|
+
status: TaskStatus;
|
|
30
|
+
|
|
31
|
+
@IsOptional()
|
|
32
|
+
@IsDate()
|
|
33
|
+
dueDate?: Date;
|
|
34
|
+
|
|
35
|
+
@IsOptional()
|
|
36
|
+
@IsEnum(Priority)
|
|
37
|
+
priority?: Priority;
|
|
38
|
+
|
|
39
|
+
@IsString()
|
|
40
|
+
@IsNotEmpty()
|
|
41
|
+
apartmentId: string;
|
|
42
|
+
|
|
43
|
+
@IsArray()
|
|
44
|
+
@IsString({ each: true })
|
|
45
|
+
assignedUserIds: string[];
|
|
46
|
+
|
|
47
|
+
@IsString()
|
|
48
|
+
@IsNotEmpty()
|
|
49
|
+
createdById: string;
|
|
50
|
+
|
|
51
|
+
@IsOptional()
|
|
52
|
+
@IsArray()
|
|
53
|
+
@IsString({ each: true })
|
|
54
|
+
attachments?: string[];
|
|
55
|
+
}
|
package/src/UserDTO.dto.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator";
|
|
2
|
+
|
|
1
3
|
|
|
2
4
|
export class UserDTO {
|
|
3
5
|
uid:string;
|
|
@@ -7,3 +9,26 @@ export class UserDTO {
|
|
|
7
9
|
profileURL: string | null | undefined;
|
|
8
10
|
userType: string | null | undefined;
|
|
9
11
|
}
|
|
12
|
+
|
|
13
|
+
export class BaseUserDto {
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsNotEmpty()
|
|
16
|
+
uid: string;
|
|
17
|
+
|
|
18
|
+
@IsString()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
name: string;
|
|
21
|
+
|
|
22
|
+
@IsString()
|
|
23
|
+
@IsNotEmpty()
|
|
24
|
+
aprtmontID: string;
|
|
25
|
+
|
|
26
|
+
@IsString()
|
|
27
|
+
@IsNotEmpty()
|
|
28
|
+
profileURL: string;
|
|
29
|
+
|
|
30
|
+
@IsString()
|
|
31
|
+
@IsNotEmpty()
|
|
32
|
+
userType:string;
|
|
33
|
+
}
|
|
34
|
+
|
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"moduleResolution": "node",
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
"strictPropertyInitialization": false,
|
|
6
6
|
/* Language and Environment */
|
|
7
7
|
"target": "es2016",
|
|
8
|
+
"experimentalDecorators": true,
|
|
9
|
+
"emitDecoratorMetadata": true,
|
|
8
10
|
"module": "commonjs",
|
|
9
11
|
"esModuleInterop": true,
|
|
10
12
|
"forceConsistentCasingInFileNames": true,
|