@platform-modules/foreign-ministry 1.3.147 → 1.3.148
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.
|
@@ -3,8 +3,8 @@ export declare class FMServices extends BaseModel {
|
|
|
3
3
|
code: string;
|
|
4
4
|
name: string;
|
|
5
5
|
description: string;
|
|
6
|
-
arabic_name: string
|
|
7
|
-
arabic_description: string
|
|
6
|
+
arabic_name: string;
|
|
7
|
+
arabic_description: string;
|
|
8
8
|
logo_url: string;
|
|
9
|
-
constructor(name: string, description: string, logo_url: string, code?: string, arabic_name?: string
|
|
9
|
+
constructor(name: string, description: string, logo_url: string, code?: string, arabic_name?: string, arabic_description?: string);
|
|
10
10
|
}
|
|
@@ -19,8 +19,8 @@ let FMServices = class FMServices extends BaseModel_1.BaseModel {
|
|
|
19
19
|
this.description = description;
|
|
20
20
|
this.logo_url = logo_url;
|
|
21
21
|
this.code = code || '';
|
|
22
|
-
this.arabic_name = arabic_name ||
|
|
23
|
-
this.arabic_description = arabic_description ||
|
|
22
|
+
this.arabic_name = arabic_name || '';
|
|
23
|
+
this.arabic_description = arabic_description || '';
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
exports.FMServices = FMServices;
|
|
@@ -38,11 +38,11 @@ __decorate([
|
|
|
38
38
|
], FMServices.prototype, "description", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
41
|
-
__metadata("design:type",
|
|
41
|
+
__metadata("design:type", String)
|
|
42
42
|
], FMServices.prototype, "arabic_name", void 0);
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
45
|
-
__metadata("design:type",
|
|
45
|
+
__metadata("design:type", String)
|
|
46
46
|
], FMServices.prototype, "arabic_description", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
@@ -50,5 +50,5 @@ __decorate([
|
|
|
50
50
|
], FMServices.prototype, "logo_url", void 0);
|
|
51
51
|
exports.FMServices = FMServices = __decorate([
|
|
52
52
|
(0, typeorm_1.Entity)({ name: 'fm_services' }),
|
|
53
|
-
__metadata("design:paramtypes", [String, String, String, String,
|
|
53
|
+
__metadata("design:paramtypes", [String, String, String, String, String, String])
|
|
54
54
|
], FMServices);
|
|
@@ -3,9 +3,9 @@ export declare class FMSubServices extends BaseModel {
|
|
|
3
3
|
code: string | null;
|
|
4
4
|
sub_service_name: string;
|
|
5
5
|
description: string;
|
|
6
|
-
arabic_name: string
|
|
7
|
-
arabic_description: string
|
|
6
|
+
arabic_name: string;
|
|
7
|
+
arabic_description: string;
|
|
8
8
|
service_id: number;
|
|
9
9
|
logo_url: string;
|
|
10
|
-
constructor(sub_service_name: string, description: string, service_id: number, logo_url: string, code?: string | null, arabic_name?: string
|
|
10
|
+
constructor(sub_service_name: string, description: string, service_id: number, logo_url: string, code?: string | null, arabic_name?: string, arabic_description?: string);
|
|
11
11
|
}
|
|
@@ -20,8 +20,8 @@ let FMSubServices = class FMSubServices extends BaseModel_1.BaseModel {
|
|
|
20
20
|
this.service_id = service_id;
|
|
21
21
|
this.logo_url = logo_url;
|
|
22
22
|
this.code = code;
|
|
23
|
-
this.arabic_name = arabic_name ||
|
|
24
|
-
this.arabic_description = arabic_description ||
|
|
23
|
+
this.arabic_name = arabic_name || '';
|
|
24
|
+
this.arabic_description = arabic_description || '';
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
exports.FMSubServices = FMSubServices;
|
|
@@ -39,11 +39,11 @@ __decorate([
|
|
|
39
39
|
], FMSubServices.prototype, "description", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
|
-
__metadata("design:type",
|
|
42
|
+
__metadata("design:type", String)
|
|
43
43
|
], FMSubServices.prototype, "arabic_name", void 0);
|
|
44
44
|
__decorate([
|
|
45
45
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
46
|
-
__metadata("design:type",
|
|
46
|
+
__metadata("design:type", String)
|
|
47
47
|
], FMSubServices.prototype, "arabic_description", void 0);
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
@@ -55,5 +55,5 @@ __decorate([
|
|
|
55
55
|
], FMSubServices.prototype, "logo_url", void 0);
|
|
56
56
|
exports.FMSubServices = FMSubServices = __decorate([
|
|
57
57
|
(0, typeorm_1.Entity)({ name: 'fm_sub_services' }),
|
|
58
|
-
__metadata("design:paramtypes", [String, String, Number, String, Object,
|
|
58
|
+
__metadata("design:paramtypes", [String, String, Number, String, Object, String, String])
|
|
59
59
|
], FMSubServices);
|
package/package.json
CHANGED
package/src/models/FMServices.ts
CHANGED
|
@@ -15,10 +15,10 @@ export class FMServices extends BaseModel {
|
|
|
15
15
|
description: string;
|
|
16
16
|
|
|
17
17
|
@Column({ nullable: true })
|
|
18
|
-
arabic_name: string
|
|
18
|
+
arabic_name: string;
|
|
19
19
|
|
|
20
20
|
@Column({ nullable: true })
|
|
21
|
-
arabic_description: string
|
|
21
|
+
arabic_description: string;
|
|
22
22
|
|
|
23
23
|
@Column({ nullable: true })
|
|
24
24
|
logo_url: string;
|
|
@@ -28,15 +28,15 @@ export class FMServices extends BaseModel {
|
|
|
28
28
|
description: string,
|
|
29
29
|
logo_url: string,
|
|
30
30
|
code?: string,
|
|
31
|
-
arabic_name?: string
|
|
32
|
-
arabic_description?: string
|
|
31
|
+
arabic_name?: string,
|
|
32
|
+
arabic_description?: string
|
|
33
33
|
) {
|
|
34
34
|
super();
|
|
35
35
|
this.name = name;
|
|
36
36
|
this.description = description;
|
|
37
37
|
this.logo_url = logo_url;
|
|
38
38
|
this.code = code || '';
|
|
39
|
-
this.arabic_name = arabic_name ||
|
|
40
|
-
this.arabic_description = arabic_description ||
|
|
39
|
+
this.arabic_name = arabic_name || '';
|
|
40
|
+
this.arabic_description = arabic_description || '';
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -15,10 +15,10 @@ export class FMSubServices extends BaseModel {
|
|
|
15
15
|
description: string;
|
|
16
16
|
|
|
17
17
|
@Column({ nullable: true })
|
|
18
|
-
arabic_name: string
|
|
18
|
+
arabic_name: string;
|
|
19
19
|
|
|
20
20
|
@Column({ nullable: true })
|
|
21
|
-
arabic_description: string
|
|
21
|
+
arabic_description: string;
|
|
22
22
|
|
|
23
23
|
@Column({ nullable: true })
|
|
24
24
|
service_id: number;
|
|
@@ -32,7 +32,7 @@ export class FMSubServices extends BaseModel {
|
|
|
32
32
|
service_id: number,
|
|
33
33
|
logo_url: string,
|
|
34
34
|
code: string | null = null,
|
|
35
|
-
arabic_name?: string
|
|
35
|
+
arabic_name?: string,
|
|
36
36
|
arabic_description?: string
|
|
37
37
|
) {
|
|
38
38
|
super();
|
|
@@ -41,7 +41,7 @@ export class FMSubServices extends BaseModel {
|
|
|
41
41
|
this.service_id = service_id
|
|
42
42
|
this.logo_url = logo_url
|
|
43
43
|
this.code = code
|
|
44
|
-
this.arabic_name = arabic_name ||
|
|
45
|
-
this.arabic_description = arabic_description ||
|
|
44
|
+
this.arabic_name = arabic_name || ''
|
|
45
|
+
this.arabic_description = arabic_description || ''
|
|
46
46
|
}
|
|
47
47
|
}
|