@asumano/worklip-typeorm-db 1.1.21 → 1.1.23

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.
@@ -6,6 +6,7 @@ export declare class GlobalTemplateSection {
6
6
  template: GlobalTemplate;
7
7
  name: string;
8
8
  order: number;
9
+ details: any | null;
9
10
  created: Date;
10
11
  updated: Date | null;
11
12
  status: number;
@@ -55,6 +55,15 @@ __decorate([
55
55
  }),
56
56
  __metadata("design:type", Number)
57
57
  ], GlobalTemplateSection.prototype, "order", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({
60
+ type: "json",
61
+ nullable: true,
62
+ default: null,
63
+ comment: "Elementos adicionales que tenga la sección.",
64
+ }),
65
+ __metadata("design:type", Object)
66
+ ], GlobalTemplateSection.prototype, "details", void 0);
58
67
  __decorate([
59
68
  (0, typeorm_1.Column)({
60
69
  type: "datetime",
@@ -4,7 +4,9 @@ export declare class GlobalTemplateSectionItem {
4
4
  code: string;
5
5
  section: GlobalTemplateSection;
6
6
  name: string;
7
+ observation: string | null;
7
8
  order: number;
9
+ details: any | null;
8
10
  created: Date;
9
11
  updated: Date | null;
10
12
  status: number;
@@ -47,6 +47,16 @@ __decorate([
47
47
  }),
48
48
  __metadata("design:type", String)
49
49
  ], GlobalTemplateSectionItem.prototype, "name", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({
52
+ length: 255,
53
+ nullable: true,
54
+ default: null,
55
+ type: "varchar",
56
+ comment: "Observaciones/ayuda del item.",
57
+ }),
58
+ __metadata("design:type", Object)
59
+ ], GlobalTemplateSectionItem.prototype, "observation", void 0);
50
60
  __decorate([
51
61
  (0, typeorm_1.Column)({
52
62
  type: "int",
@@ -54,6 +64,15 @@ __decorate([
54
64
  }),
55
65
  __metadata("design:type", Number)
56
66
  ], GlobalTemplateSectionItem.prototype, "order", void 0);
67
+ __decorate([
68
+ (0, typeorm_1.Column)({
69
+ type: "json",
70
+ nullable: true,
71
+ default: null,
72
+ comment: "Elementos adicionales que tenga la sección.",
73
+ }),
74
+ __metadata("design:type", Object)
75
+ ], GlobalTemplateSectionItem.prototype, "details", void 0);
57
76
  __decorate([
58
77
  (0, typeorm_1.Column)({
59
78
  type: "datetime",
@@ -6,6 +6,7 @@ export declare class TemplateSection {
6
6
  template: Template;
7
7
  name: string;
8
8
  order: number;
9
+ details: any | null;
9
10
  created: Date;
10
11
  updated: Date | null;
11
12
  status: number;
@@ -55,6 +55,15 @@ __decorate([
55
55
  }),
56
56
  __metadata("design:type", Number)
57
57
  ], TemplateSection.prototype, "order", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({
60
+ type: "json",
61
+ nullable: true,
62
+ default: null,
63
+ comment: "Elementos adicionales que tenga la sección.",
64
+ }),
65
+ __metadata("design:type", Object)
66
+ ], TemplateSection.prototype, "details", void 0);
58
67
  __decorate([
59
68
  (0, typeorm_1.Column)({
60
69
  type: "datetime",
@@ -4,7 +4,9 @@ export declare class TemplateSectionItem {
4
4
  code: string;
5
5
  section: TemplateSection;
6
6
  name: string;
7
+ observation: string | null;
7
8
  order: number;
9
+ details: any | null;
8
10
  created: Date;
9
11
  updated: Date | null;
10
12
  status: number;
@@ -47,6 +47,16 @@ __decorate([
47
47
  }),
48
48
  __metadata("design:type", String)
49
49
  ], TemplateSectionItem.prototype, "name", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({
52
+ length: 255,
53
+ nullable: true,
54
+ default: null,
55
+ type: "varchar",
56
+ comment: "Observaciones/ayuda del item.",
57
+ }),
58
+ __metadata("design:type", Object)
59
+ ], TemplateSectionItem.prototype, "observation", void 0);
50
60
  __decorate([
51
61
  (0, typeorm_1.Column)({
52
62
  type: "int",
@@ -54,6 +64,15 @@ __decorate([
54
64
  }),
55
65
  __metadata("design:type", Number)
56
66
  ], TemplateSectionItem.prototype, "order", void 0);
67
+ __decorate([
68
+ (0, typeorm_1.Column)({
69
+ type: "json",
70
+ nullable: true,
71
+ default: null,
72
+ comment: "Elementos adicionales que tenga la sección.",
73
+ }),
74
+ __metadata("design:type", Object)
75
+ ], TemplateSectionItem.prototype, "details", void 0);
57
76
  __decorate([
58
77
  (0, typeorm_1.Column)({
59
78
  type: "datetime",
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,7 @@ export declare class ServicesOrder {
12
12
  updated: Date;
13
13
  status: number;
14
14
  workshop_id: number;
15
+ workshop_company: number;
15
16
  workshop_name: string;
16
17
  workshop_code: string;
17
18
  workshop_details: any;
@@ -66,6 +66,10 @@ __decorate([
66
66
  (0, typeorm_1.ViewColumn)(),
67
67
  __metadata("design:type", Number)
68
68
  ], ServicesOrder.prototype, "workshop_id", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.ViewColumn)(),
71
+ __metadata("design:type", Number)
72
+ ], ServicesOrder.prototype, "workshop_company", void 0);
69
73
  __decorate([
70
74
  (0, typeorm_1.ViewColumn)(),
71
75
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asumano/worklip-typeorm-db",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },