@platform-modules/foreign-ministry 1.2.38 → 1.2.39

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.
@@ -45,7 +45,7 @@ export declare class DiplomaticRequests extends BaseModel {
45
45
  section_id: number | null;
46
46
  reporting_manager: number | null;
47
47
  workflow_execution_id: string | null;
48
- titles: string | null;
48
+ titles: any[] | null;
49
49
  diplomaticClubCardMembers?: DiplomaticClubCardMembers[];
50
50
  approvals?: DiplomaticApprovals[];
51
51
  workflows?: DiplomaticWorkFlow[];
@@ -161,7 +161,7 @@ __decorate([
161
161
  __metadata("design:type", Object)
162
162
  ], DiplomaticRequests.prototype, "workflow_execution_id", void 0);
163
163
  __decorate([
164
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
164
+ (0, typeorm_1.Column)({ type: 'json', nullable: true }),
165
165
  __metadata("design:type", Object)
166
166
  ], DiplomaticRequests.prototype, "titles", void 0);
167
167
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.2.38",
3
+ "version": "1.2.39",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -111,8 +111,8 @@ export class DiplomaticRequests extends BaseModel {
111
111
  @Column({ type: 'varchar', length: 255, nullable: true })
112
112
  workflow_execution_id: string | null;
113
113
 
114
- @Column({ type: 'text', nullable: true })
115
- titles: string | null; // JSON array of diplomatic_title_id values for non-employee requests
114
+ @Column({ type: 'json', nullable: true })
115
+ titles: any[] | null;
116
116
 
117
117
  @OneToMany('DiplomaticClubCardMembers', 'diplomaticRequest', { nullable: true })
118
118
  diplomaticClubCardMembers?: DiplomaticClubCardMembers[];