@platform-modules/foreign-ministry 1.3.341 → 1.3.342

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,6 +1,7 @@
1
1
  import { BaseModel } from './BaseModel';
2
2
  export declare class MounringLeaveRelations extends BaseModel {
3
3
  mounring_leave_relation: string;
4
+ mounring_leave_relation_arabic: string | null;
4
5
  days_allowed: number;
5
6
  constructor(mounring_leave_relation: string, days_allowed: number);
6
7
  }
@@ -24,6 +24,10 @@ __decorate([
24
24
  (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
25
25
  __metadata("design:type", String)
26
26
  ], MounringLeaveRelations.prototype, "mounring_leave_relation", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
29
+ __metadata("design:type", Object)
30
+ ], MounringLeaveRelations.prototype, "mounring_leave_relation_arabic", void 0);
27
31
  __decorate([
28
32
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
29
33
  __metadata("design:type", Number)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.3.341",
3
+ "version": "1.3.342",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -0,0 +1,2 @@
1
+ ALTER TABLE mounring_leave_relations
2
+ ADD COLUMN IF NOT EXISTS mounring_leave_relation_arabic VARCHAR(255) NULL;
@@ -7,6 +7,9 @@ export class MounringLeaveRelations extends BaseModel {
7
7
  @Column({ type: 'varchar', length: 100, nullable: false })
8
8
  mounring_leave_relation: string;
9
9
 
10
+ @Column({ type: 'varchar', length: 255, nullable: true })
11
+ mounring_leave_relation_arabic: string | null;
12
+
10
13
  @Column({ type: 'int', nullable: true })
11
14
  days_allowed: number;
12
15