cloud-ide-lms-model 1.0.272 → 1.0.274

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.
@@ -4,7 +4,7 @@ import { CoreUserAttributes } from "../../schema/core/core_user_attributes";
4
4
  import { CoreUserContactAddresses, CoreUserContactAddressesBase } from "../../schema/core/core_user_contact_addresses";
5
5
  import { CoreUserDocuments, CoreUserDocumentsBase } from "../../schema/core/core_user_documents";
6
6
  import { CoreUserFamilyDetails, CoreUserFamilyDetailsBase } from "../../schema/core/core_user_family_details";
7
- import { CoreUserRoleExceptions } from "../../schema/core/core_user_role_exceptions";
7
+ import { CoreUserRoleExceptions, CoreUserRoleExceptionsBase } from "../../schema/core/core_user_role_exceptions";
8
8
  import { controllerResponse } from "../../utilities";
9
9
  type AuthUserMstListErrorLogger = {
10
10
  [key in keyof AuthUserMstListPayload]: string;
@@ -55,8 +55,24 @@ declare class AuthUserMstGetByIdData {
55
55
  core_user_family_details?: AuthUserCoreUserFamilyDetails[];
56
56
  core_user_attributes?: CoreUserAttributes[];
57
57
  core_entity_mapping?: AuthUserCoreEntityMapping[];
58
- menu_rights?: {
59
- [mappingIndex: string]: any[];
58
+ core_user_role_exceptions?: CoreUserRoleExceptionsMapping[];
59
+ }
60
+ declare class CoreUserRoleExceptionsMapping extends CoreUserRoleExceptionsBase {
61
+ syusrex_user_id_user?: {
62
+ _id: string;
63
+ user_fullname: string;
64
+ };
65
+ syusrex_role_id_syusrol?: {
66
+ _id: string;
67
+ syusrol_role_name: string;
68
+ };
69
+ syusrex_role_permissions_id_sygms?: {
70
+ _id: string;
71
+ sygms_title: string;
72
+ };
73
+ syusrex_menu_id_syme?: {
74
+ _id: string;
75
+ syme_title: string;
60
76
  };
61
77
  }
62
78
  declare class AuthUserCoreEntityMapping extends CoreEntityMappingBase {
@@ -6,6 +6,7 @@ const schema_1 = require("../../schema");
6
6
  const core_user_contact_addresses_1 = require("../../schema/core/core_user_contact_addresses");
7
7
  const core_user_documents_1 = require("../../schema/core/core_user_documents");
8
8
  const core_user_family_details_1 = require("../../schema/core/core_user_family_details");
9
+ const core_user_role_exceptions_1 = require("../../schema/core/core_user_role_exceptions");
9
10
  /* INTERFACE END */
10
11
  /* MODEL START */
11
12
  class AuthUserMstListPayload extends common_types_1.MTableQueries {
@@ -73,6 +74,8 @@ exports.AuthUserMstGetByIdPayload = AuthUserMstGetByIdPayload;
73
74
  class AuthUserMstGetByIdData {
74
75
  }
75
76
  exports.AuthUserMstGetByIdData = AuthUserMstGetByIdData;
77
+ class CoreUserRoleExceptionsMapping extends core_user_role_exceptions_1.CoreUserRoleExceptionsBase {
78
+ }
76
79
  class AuthUserCoreEntityMapping extends schema_1.CoreEntityMappingBase {
77
80
  }
78
81
  exports.AuthUserCoreEntityMapping = AuthUserCoreEntityMapping;
@@ -75,11 +75,12 @@ interface userRoleDeleteControllerResponse extends controllerResponse {
75
75
  interface userRoleToggleStatusControllerResponse extends controllerResponse {
76
76
  data?: boolean;
77
77
  }
78
+ interface CoreUserRolePermissionData {
79
+ core_user_role: CoreUserRoleResponse;
80
+ core_user_role_rights: Array<CoreUserRoleRightsResponse>;
81
+ }
78
82
  interface userRoleByIdControllerResponse extends controllerResponse {
79
- data?: {
80
- core_user_role: CoreUserRoleResponse;
81
- core_user_role_rights: Array<CoreUserRoleRightsResponse>;
82
- };
83
+ data?: CoreUserRolePermissionData;
83
84
  }
84
85
  interface userRoleWithRightsInsertUpdateControllerResponse extends controllerResponse {
85
86
  data?: {
@@ -89,4 +90,4 @@ interface userRoleWithRightsInsertUpdateControllerResponse extends controllerRes
89
90
  rightsDeleted: number;
90
91
  };
91
92
  }
92
- export { IUserRoleErrorLogger, IUserRoleGetByIdErrorLogger, IUserRoleDeleteErrorLogger, IUserRoleWithRightsErrorLogger, IUserRoleToggleStatusErrorLogger, MUserRole, MUserRoleGetByIdPayload, MUserRoleDeletePayload, MUserRoleWithRightsPayload, MUserRoleToggleStatusPayload, userRoleControllerResponse, userRoleByIdControllerResponse, userRoleInsertUpdateControllerResponse, userRoleDeleteControllerResponse, userRoleToggleStatusControllerResponse, userRoleWithRightsInsertUpdateControllerResponse, CoreUserRoleResponse, CoreUserRoleRightsResponse };
93
+ export { IUserRoleErrorLogger, IUserRoleGetByIdErrorLogger, IUserRoleDeleteErrorLogger, IUserRoleWithRightsErrorLogger, IUserRoleToggleStatusErrorLogger, MUserRole, MUserRoleGetByIdPayload, MUserRoleDeletePayload, MUserRoleWithRightsPayload, MUserRoleToggleStatusPayload, userRoleControllerResponse, userRoleByIdControllerResponse, userRoleInsertUpdateControllerResponse, userRoleDeleteControllerResponse, userRoleToggleStatusControllerResponse, userRoleWithRightsInsertUpdateControllerResponse, CoreUserRoleResponse, CoreUserRolePermissionData, CoreUserRoleRightsResponse };
@@ -1,10 +1,10 @@
1
1
  declare class CoreUserRoleExceptionsBase {
2
2
  _id?: string;
3
3
  syusrex_isactive?: boolean;
4
+ syusrex_user_entity_mapping_id_syenm?: string;
4
5
  }
5
6
  declare class CoreUserRoleExceptions extends CoreUserRoleExceptionsBase {
6
7
  syusrex_user_id_user?: string;
7
- syusrex_user_entity_mapping_id_syenm?: string;
8
8
  syusrex_role_id_syusrol?: string;
9
9
  syusrex_role_permissions_id_sygms?: string;
10
10
  syusrex_menu_id_syme?: string;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.0.272",
8
+ "version": "1.0.274",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",