@platform-modules/foreign-ministry 1.2.2 → 1.2.3

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.
@@ -57,11 +57,11 @@ __decorate([
57
57
  __metadata("design:type", Number)
58
58
  ], StationeryRequests.prototype, "material_id", void 0);
59
59
  __decorate([
60
- (0, typeorm_1.Column)({ type: 'int', nullable: false }),
60
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
61
61
  __metadata("design:type", String)
62
62
  ], StationeryRequests.prototype, "material_name", void 0);
63
63
  __decorate([
64
- (0, typeorm_1.Column)({ type: 'int', nullable: false }),
64
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
65
65
  __metadata("design:type", Number)
66
66
  ], StationeryRequests.prototype, "quantity_required", void 0);
67
67
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -37,10 +37,10 @@ export class StationeryRequests extends BaseModel {
37
37
  @Column({ type: 'int', nullable: false })
38
38
  material_id: number; // Reference to stationery_material_master table
39
39
 
40
- @Column({ type: 'int', nullable: false })
40
+ @Column({ type: 'int', nullable: true })
41
41
  material_name: string; // Reference to stationery_material_type_master table
42
42
 
43
- @Column({ type: 'int', nullable: false })
43
+ @Column({ type: 'int', nullable: true })
44
44
  quantity_required: number;
45
45
 
46
46
  @Column({ type: 'varchar', length: 500, nullable: true })