cloud-ide-lms-model 1.0.252 → 1.0.254
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.
|
@@ -17,6 +17,7 @@ type IUserRoleToggleStatusErrorLogger = {
|
|
|
17
17
|
[key in keyof MUserRoleToggleStatusPayload]: string;
|
|
18
18
|
};
|
|
19
19
|
declare class MUserRole extends MTableQueries {
|
|
20
|
+
syusrol_role_entity_id_syen: string;
|
|
20
21
|
constructor(init: MUserRole);
|
|
21
22
|
Validate?(): Partial<IUserRoleErrorLogger>;
|
|
22
23
|
}
|
|
@@ -7,10 +7,14 @@ const common_1 = require("../../common-types/common");
|
|
|
7
7
|
class MUserRole extends common_1.MTableQueries {
|
|
8
8
|
constructor(init) {
|
|
9
9
|
super(init);
|
|
10
|
+
this.syusrol_role_entity_id_syen = "";
|
|
10
11
|
Object.assign(this, init);
|
|
11
12
|
}
|
|
12
13
|
Validate() {
|
|
13
14
|
let errorLogger = {};
|
|
15
|
+
if (!this.syusrol_role_entity_id_syen) {
|
|
16
|
+
errorLogger.syusrol_role_entity_id_syen = "Entity ID is required!";
|
|
17
|
+
}
|
|
14
18
|
return errorLogger;
|
|
15
19
|
}
|
|
16
20
|
}
|