@ballistix.digital/types-waardering-tool-react 0.13.34 → 0.13.35

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.
@@ -1,5 +1,6 @@
1
1
  export declare class CreateEbitdaNormalisationGroupDto {
2
2
  valuationId: string;
3
3
  code: string;
4
+ title: string;
4
5
  justification?: string;
5
6
  }
@@ -8,11 +8,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.CreateEbitdaNormalisationGroupDto = void 0;
13
16
  const nestjs_1 = require("../../nestjs");
14
17
  const class_validator_1 = require("class-validator");
15
18
  const class_transformer_1 = require("class-transformer");
19
+ const transformTrimString_1 = __importDefault(require("../../util/transformTrimString"));
16
20
  class CreateEbitdaNormalisationGroupDto {
17
21
  }
18
22
  exports.CreateEbitdaNormalisationGroupDto = CreateEbitdaNormalisationGroupDto;
@@ -28,6 +32,18 @@ __decorate([
28
32
  (0, class_transformer_1.Expose)(),
29
33
  __metadata("design:type", String)
30
34
  ], CreateEbitdaNormalisationGroupDto.prototype, "code", void 0);
35
+ __decorate([
36
+ (0, nestjs_1.ApiProperty)({
37
+ type: String,
38
+ required: true,
39
+ description: 'The short name the valuator gives this normalisatie.',
40
+ }),
41
+ (0, class_validator_1.IsString)(),
42
+ (0, class_validator_1.IsNotEmpty)(),
43
+ (0, transformTrimString_1.default)(),
44
+ (0, class_transformer_1.Expose)(),
45
+ __metadata("design:type", String)
46
+ ], CreateEbitdaNormalisationGroupDto.prototype, "title", void 0);
31
47
  __decorate([
32
48
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
33
49
  (0, class_validator_1.IsString)(),
@@ -2,6 +2,7 @@ import { EbitdaNormalisationGroupEmbeddedDto } from './ebitdaNormalisationGroupE
2
2
  declare const EbitdaNormalisationGroupDto_base: import("../..").BaseDtoType<EbitdaNormalisationGroupEmbeddedDto>;
3
3
  export declare class EbitdaNormalisationGroupDto extends EbitdaNormalisationGroupDto_base {
4
4
  id: string;
5
+ title: string;
5
6
  justification?: string;
6
7
  valuationId: string;
7
8
  code: string;
@@ -22,6 +22,11 @@ __decorate([
22
22
  (0, class_transformer_1.Expose)(),
23
23
  __metadata("design:type", String)
24
24
  ], EbitdaNormalisationGroupDto.prototype, "id", void 0);
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
27
+ (0, class_transformer_1.Expose)(),
28
+ __metadata("design:type", String)
29
+ ], EbitdaNormalisationGroupDto.prototype, "title", void 0);
25
30
  __decorate([
26
31
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
27
32
  (0, class_transformer_1.Expose)(),
@@ -1,3 +1,4 @@
1
1
  export declare class UpdateEbitdaNormalisationGroupDto {
2
+ title?: string;
2
3
  justification?: string;
3
4
  }
@@ -8,14 +8,27 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.UpdateEbitdaNormalisationGroupDto = void 0;
13
16
  const nestjs_1 = require("../../nestjs");
14
17
  const class_validator_1 = require("class-validator");
15
18
  const class_transformer_1 = require("class-transformer");
19
+ const transformTrimString_1 = __importDefault(require("../../util/transformTrimString"));
16
20
  class UpdateEbitdaNormalisationGroupDto {
17
21
  }
18
22
  exports.UpdateEbitdaNormalisationGroupDto = UpdateEbitdaNormalisationGroupDto;
23
+ __decorate([
24
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, transformTrimString_1.default)(),
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", String)
31
+ ], UpdateEbitdaNormalisationGroupDto.prototype, "title", void 0);
19
32
  __decorate([
20
33
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
21
34
  (0, class_validator_1.IsString)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ballistix.digital/types-waardering-tool-react",
3
- "version": "0.13.34",
3
+ "version": "0.13.35",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "build": "tsc"