@uniorganization/uni-lib 1.1.67 → 1.1.68

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
  import { Timestamp } from 'typeorm';
2
2
  import { QuestionGroup } from './question-group.entity';
3
+ import { EvaluationAutofailReasons } from './evaluation-autofail-reasons.entity';
3
4
  export interface DivisionLob {
4
5
  division: string;
5
6
  lob: string;
@@ -13,4 +14,5 @@ export declare class EvaluationForms {
13
14
  divisionLob: DivisionLob[];
14
15
  isDefault: boolean;
15
16
  questionGroups: QuestionGroup[];
17
+ autofailReasons: EvaluationAutofailReasons[];
16
18
  }
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EvaluationForms = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const question_group_entity_1 = require("./question-group.entity");
15
+ const evaluation_autofail_reasons_entity_1 = require("./evaluation-autofail-reasons.entity");
15
16
  let EvaluationForms = class EvaluationForms {
16
17
  };
17
18
  __decorate([
@@ -48,6 +49,10 @@ __decorate([
48
49
  }),
49
50
  __metadata("design:type", Array)
50
51
  ], EvaluationForms.prototype, "questionGroups", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.OneToMany)(() => evaluation_autofail_reasons_entity_1.EvaluationAutofailReasons, (autofailReasons) => autofailReasons.evaluationForm, { cascade: ['insert', 'update', 'remove'] }),
54
+ __metadata("design:type", Array)
55
+ ], EvaluationForms.prototype, "autofailReasons", void 0);
51
56
  EvaluationForms = __decorate([
52
57
  (0, typeorm_1.Entity)('evaluation_form', { schema: 'tracking' })
53
58
  ], EvaluationForms);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.67",
3
+ "version": "1.1.68",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",