@ballistix.digital/types-waardering-tool-react 0.13.55 → 0.13.56

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.
@@ -2,5 +2,5 @@ export declare class CreateDcfBudgetFixedAssetDto {
2
2
  name: string;
3
3
  usefulLifeYears: number;
4
4
  dcfBudgetValuationId: string;
5
- code: string;
5
+ codes: string[];
6
6
  }
@@ -35,8 +35,10 @@ __decorate([
35
35
  __metadata("design:type", String)
36
36
  ], CreateDcfBudgetFixedAssetDto.prototype, "dcfBudgetValuationId", void 0);
37
37
  __decorate([
38
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
39
- (0, class_validator_1.IsString)(),
38
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
39
+ (0, class_validator_1.IsArray)(),
40
+ (0, class_validator_1.ArrayMinSize)(1),
41
+ (0, class_validator_1.IsString)({ each: true }),
40
42
  (0, class_transformer_1.Expose)(),
41
- __metadata("design:type", String)
42
- ], CreateDcfBudgetFixedAssetDto.prototype, "code", void 0);
43
+ __metadata("design:type", Array)
44
+ ], CreateDcfBudgetFixedAssetDto.prototype, "codes", void 0);
@@ -7,6 +7,6 @@ export declare class DcfBudgetFixedAssetDto extends DcfBudgetFixedAssetDto_base
7
7
  value?: number;
8
8
  annualInvestment?: number;
9
9
  dcfBudgetValuationId: string;
10
- code: string;
10
+ codes: string[];
11
11
  }
12
12
  export {};
@@ -56,7 +56,7 @@ __decorate([
56
56
  __metadata("design:type", String)
57
57
  ], DcfBudgetFixedAssetDto.prototype, "dcfBudgetValuationId", void 0);
58
58
  __decorate([
59
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
59
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
60
60
  (0, class_transformer_1.Expose)(),
61
- __metadata("design:type", String)
62
- ], DcfBudgetFixedAssetDto.prototype, "code", void 0);
61
+ __metadata("design:type", Array)
62
+ ], DcfBudgetFixedAssetDto.prototype, "codes", void 0);
@@ -2,5 +2,5 @@ export declare class UpdateDcfBudgetFixedAssetDto {
2
2
  name?: string;
3
3
  usefulLifeYears?: number;
4
4
  dcfBudgetValuationId?: string;
5
- code?: string;
5
+ codes?: string[];
6
6
  }
@@ -38,9 +38,11 @@ __decorate([
38
38
  __metadata("design:type", String)
39
39
  ], UpdateDcfBudgetFixedAssetDto.prototype, "dcfBudgetValuationId", void 0);
40
40
  __decorate([
41
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
42
- (0, class_validator_1.IsString)(),
41
+ (0, nestjs_1.ApiProperty)({ type: [String], required: false }),
42
+ (0, class_validator_1.IsArray)(),
43
+ (0, class_validator_1.ArrayMinSize)(1),
44
+ (0, class_validator_1.IsString)({ each: true }),
43
45
  (0, class_validator_1.IsOptional)(),
44
46
  (0, class_transformer_1.Expose)(),
45
- __metadata("design:type", String)
46
- ], UpdateDcfBudgetFixedAssetDto.prototype, "code", void 0);
47
+ __metadata("design:type", Array)
48
+ ], UpdateDcfBudgetFixedAssetDto.prototype, "codes", void 0);
@@ -2,5 +2,5 @@ export declare class CreateDcfFixedAssetDto {
2
2
  name: string;
3
3
  usefulLifeYears: number;
4
4
  dcfValuationId: string;
5
- code: string;
5
+ codes: string[];
6
6
  }
@@ -35,8 +35,10 @@ __decorate([
35
35
  __metadata("design:type", String)
36
36
  ], CreateDcfFixedAssetDto.prototype, "dcfValuationId", void 0);
37
37
  __decorate([
38
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
39
- (0, class_validator_1.IsString)(),
38
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
39
+ (0, class_validator_1.IsArray)(),
40
+ (0, class_validator_1.ArrayMinSize)(1),
41
+ (0, class_validator_1.IsString)({ each: true }),
40
42
  (0, class_transformer_1.Expose)(),
41
- __metadata("design:type", String)
42
- ], CreateDcfFixedAssetDto.prototype, "code", void 0);
43
+ __metadata("design:type", Array)
44
+ ], CreateDcfFixedAssetDto.prototype, "codes", void 0);
@@ -7,6 +7,6 @@ export declare class DcfFixedAssetDto extends DcfFixedAssetDto_base {
7
7
  value?: number;
8
8
  annualInvestment?: number;
9
9
  dcfValuationId: string;
10
- code: string;
10
+ codes: string[];
11
11
  }
12
12
  export {};
@@ -56,7 +56,7 @@ __decorate([
56
56
  __metadata("design:type", String)
57
57
  ], DcfFixedAssetDto.prototype, "dcfValuationId", void 0);
58
58
  __decorate([
59
- (0, nestjs_1.ApiProperty)({ type: String, required: true }),
59
+ (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
60
60
  (0, class_transformer_1.Expose)(),
61
- __metadata("design:type", String)
62
- ], DcfFixedAssetDto.prototype, "code", void 0);
61
+ __metadata("design:type", Array)
62
+ ], DcfFixedAssetDto.prototype, "codes", void 0);
@@ -2,5 +2,5 @@ export declare class UpdateDcfFixedAssetDto {
2
2
  name?: string;
3
3
  usefulLifeYears?: number;
4
4
  dcfValuationId?: string;
5
- code?: string;
5
+ codes?: string[];
6
6
  }
@@ -38,9 +38,11 @@ __decorate([
38
38
  __metadata("design:type", String)
39
39
  ], UpdateDcfFixedAssetDto.prototype, "dcfValuationId", void 0);
40
40
  __decorate([
41
- (0, nestjs_1.ApiProperty)({ type: String, required: false }),
42
- (0, class_validator_1.IsString)(),
41
+ (0, nestjs_1.ApiProperty)({ type: [String], required: false }),
42
+ (0, class_validator_1.IsArray)(),
43
+ (0, class_validator_1.ArrayMinSize)(1),
44
+ (0, class_validator_1.IsString)({ each: true }),
43
45
  (0, class_validator_1.IsOptional)(),
44
46
  (0, class_transformer_1.Expose)(),
45
- __metadata("design:type", String)
46
- ], UpdateDcfFixedAssetDto.prototype, "code", void 0);
47
+ __metadata("design:type", Array)
48
+ ], UpdateDcfFixedAssetDto.prototype, "codes", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ballistix.digital/types-waardering-tool-react",
3
- "version": "0.13.55",
3
+ "version": "0.13.56",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "build": "tsc"