@platform-modules/foreign-ministry 1.2.12 → 1.2.13

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,6 @@
1
1
  import { BaseModel } from './BaseModel';
2
2
  export declare class DiplomaticClubSubscriptionMaster extends BaseModel {
3
- subscription_type: string;
3
+ subscription_type: string | null;
4
4
  subscription_amount: number;
5
5
  currency: string | null;
6
6
  constructor(subscription_type: string, subscription_amount: number, currency?: string | null);
@@ -22,8 +22,8 @@ let DiplomaticClubSubscriptionMaster = class DiplomaticClubSubscriptionMaster ex
22
22
  };
23
23
  exports.DiplomaticClubSubscriptionMaster = DiplomaticClubSubscriptionMaster;
24
24
  __decorate([
25
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
26
- __metadata("design:type", String)
25
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
26
+ __metadata("design:type", Object)
27
27
  ], DiplomaticClubSubscriptionMaster.prototype, "subscription_type", void 0);
28
28
  __decorate([
29
29
  (0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2 }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -3,8 +3,8 @@ import { BaseModel } from './BaseModel';
3
3
 
4
4
  @Entity({ name: 'diplomatic_club_subscription_master' })
5
5
  export class DiplomaticClubSubscriptionMaster extends BaseModel {
6
- @Column({ type: 'varchar', length: 100, nullable: false })
7
- subscription_type: string; // Type: Single or Family
6
+ @Column({ type: 'varchar', length: 100, nullable: true })
7
+ subscription_type: string | null; // Type: Single or Family
8
8
 
9
9
  @Column({ type: 'decimal', precision: 10, scale: 2 })
10
10
  subscription_amount: number;