proflores-db-model 0.2.41 → 0.2.43

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.
@@ -8,6 +8,8 @@ export declare class Concept implements ObjectLiteral {
8
8
  title: string;
9
9
  description?: string | null;
10
10
  unit: UnitOfMeasure;
11
+ satClave?: string | null;
12
+ satUnit?: string | null;
11
13
  category?: string | null;
12
14
  isActive: boolean;
13
15
  apus?: Apu[];
@@ -39,6 +39,14 @@ __decorate([
39
39
  (0, typeorm_1.JoinColumn)({ name: "idUnitOfMeasure" }),
40
40
  __metadata("design:type", UnitOfMesure_1.UnitOfMeasure)
41
41
  ], Concept.prototype, "unit", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)("varchar", { length: 64, nullable: true }),
44
+ __metadata("design:type", Object)
45
+ ], Concept.prototype, "satClave", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)("varchar", { length: 64, nullable: true }),
48
+ __metadata("design:type", Object)
49
+ ], Concept.prototype, "satUnit", void 0);
42
50
  __decorate([
43
51
  (0, typeorm_1.Column)("varchar", { length: 64, nullable: true }),
44
52
  __metadata("design:type", Object)
@@ -10,6 +10,7 @@ export declare class Resource implements ObjectLiteral {
10
10
  type: ResourceType;
11
11
  unit: UnitOfMeasure;
12
12
  satClave?: string | null;
13
+ satUnit?: string | null;
13
14
  notes?: string | null;
14
15
  prices?: ResourcePrice[];
15
16
  apuItems?: ApuItem[];
@@ -48,6 +48,10 @@ __decorate([
48
48
  (0, typeorm_1.Column)("varchar", { length: 64, nullable: true }),
49
49
  __metadata("design:type", Object)
50
50
  ], Resource.prototype, "satClave", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)("varchar", { length: 64, nullable: true }),
53
+ __metadata("design:type", Object)
54
+ ], Resource.prototype, "satUnit", void 0);
51
55
  __decorate([
52
56
  (0, typeorm_1.Column)("text", { nullable: true }),
53
57
  __metadata("design:type", Object)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proflores-db-model",
3
- "version": "0.2.41",
3
+ "version": "0.2.43",
4
4
  "description": "Data model for managing expenses and transactions for Proflores nursery business",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,6 +25,12 @@ export class Concept implements ObjectLiteral {
25
25
  @JoinColumn({ name: "idUnitOfMeasure" })
26
26
  unit!: UnitOfMeasure;
27
27
 
28
+ @Column("varchar", { length: 64, nullable: true })
29
+ satClave?: string | null;
30
+
31
+ @Column("varchar", { length: 64, nullable: true })
32
+ satUnit?: string | null;
33
+
28
34
  @Column("varchar", { length: 64, nullable: true })
29
35
  category?: string | null;
30
36
 
@@ -33,6 +33,9 @@ export class Resource implements ObjectLiteral {
33
33
  @Column("varchar", { length: 64, nullable: true })
34
34
  satClave?: string | null;
35
35
 
36
+ @Column("varchar", { length: 64, nullable: true })
37
+ satUnit?: string | null;
38
+
36
39
  @Column("text", { nullable: true })
37
40
  notes?: string | null;
38
41