cloud-ide-lms-model 1.0.289 → 1.0.291
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,6 +3,9 @@ import { controllerResponse } from "../../utilities";
|
|
|
3
3
|
type IMCoreEntityAccessPassManagementInsertUpdateErrorLogger = {
|
|
4
4
|
[key in keyof MCoreEntityAccessPassManagementInsertUpdate]: string;
|
|
5
5
|
};
|
|
6
|
+
type IMCoreEntityAccessPassManagementErrorLogger = {
|
|
7
|
+
[key in keyof MCoreEntityAccessPassManagement]: string;
|
|
8
|
+
};
|
|
6
9
|
type ICoreEntityAccessPassManagementGetByIdErrorLogger = {
|
|
7
10
|
[key in keyof MCoreEntityAccessPassManagementGetByIdPayload]: string;
|
|
8
11
|
};
|
|
@@ -12,6 +15,12 @@ type ICoreEntityAccessPassManagementDeleteErrorLogger = {
|
|
|
12
15
|
type ICoreEntityAccessPassManagementToggleStatusErrorLogger = {
|
|
13
16
|
[key in keyof MCoreEntityAccessPassManagementToggleStatusPayload]: string;
|
|
14
17
|
};
|
|
18
|
+
declare class MCoreEntityAccessPassManagement {
|
|
19
|
+
core_entity_access_pass_management?: string;
|
|
20
|
+
syepm_access_passs_to?: string;
|
|
21
|
+
constructor(init: MCoreEntityAccessPassManagement);
|
|
22
|
+
Validate?(): Partial<IMCoreEntityAccessPassManagementErrorLogger>;
|
|
23
|
+
}
|
|
15
24
|
declare class MCoreEntityAccessPassManagementInsertUpdate extends CoreEntityAccessPassManagement {
|
|
16
25
|
core_entity_access_pass_management?: string;
|
|
17
26
|
constructor(init: MCoreEntityAccessPassManagementInsertUpdate);
|
|
@@ -50,4 +59,4 @@ interface CoreEntityAccessPassManagementDeleteControllerResponse extends control
|
|
|
50
59
|
interface CoreEntityAccessPassManagementToggleStatusControllerResponse extends controllerResponse {
|
|
51
60
|
data?: boolean;
|
|
52
61
|
}
|
|
53
|
-
export { ICoreEntityAccessPassManagementGetByIdErrorLogger, ICoreEntityAccessPassManagementDeleteErrorLogger, IMCoreEntityAccessPassManagementInsertUpdateErrorLogger, ICoreEntityAccessPassManagementToggleStatusErrorLogger, MCoreEntityAccessPassManagementGetByIdPayload, MCoreEntityAccessPassManagementDeletePayload, MCoreEntityAccessPassManagementInsertUpdate, CoreEntityAccessPassManagementControllerResponse, CoreEntityAccessPassManagementByIdControllerResponse, CoreEntityAccessPassManagementInsertUpdateControllerResponse, CoreEntityAccessPassManagementDeleteControllerResponse, CoreEntityAccessPassManagementToggleStatusControllerResponse, MCoreEntityAccessPassManagementToggleStatusPayload };
|
|
62
|
+
export { ICoreEntityAccessPassManagementGetByIdErrorLogger, ICoreEntityAccessPassManagementDeleteErrorLogger, IMCoreEntityAccessPassManagementInsertUpdateErrorLogger, ICoreEntityAccessPassManagementToggleStatusErrorLogger, MCoreEntityAccessPassManagementGetByIdPayload, MCoreEntityAccessPassManagementDeletePayload, MCoreEntityAccessPassManagementInsertUpdate, CoreEntityAccessPassManagementControllerResponse, CoreEntityAccessPassManagementByIdControllerResponse, CoreEntityAccessPassManagementInsertUpdateControllerResponse, CoreEntityAccessPassManagementDeleteControllerResponse, CoreEntityAccessPassManagementToggleStatusControllerResponse, MCoreEntityAccessPassManagementToggleStatusPayload, IMCoreEntityAccessPassManagementErrorLogger, MCoreEntityAccessPassManagement };
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MCoreEntityAccessPassManagementToggleStatusPayload = exports.MCoreEntityAccessPassManagementInsertUpdate = exports.MCoreEntityAccessPassManagementDeletePayload = exports.MCoreEntityAccessPassManagementGetByIdPayload = void 0;
|
|
3
|
+
exports.MCoreEntityAccessPassManagement = exports.MCoreEntityAccessPassManagementToggleStatusPayload = exports.MCoreEntityAccessPassManagementInsertUpdate = exports.MCoreEntityAccessPassManagementDeletePayload = exports.MCoreEntityAccessPassManagementGetByIdPayload = void 0;
|
|
4
4
|
const core_entity_access_pass_management_1 = require("../../schema/core/core_entity_access_pass_management");
|
|
5
5
|
/* INTERFACE END */
|
|
6
6
|
/* MODEL START */
|
|
7
7
|
// Save Update Payload
|
|
8
|
+
class MCoreEntityAccessPassManagement {
|
|
9
|
+
constructor(init) {
|
|
10
|
+
Object.assign(this, init);
|
|
11
|
+
}
|
|
12
|
+
Validate() {
|
|
13
|
+
let errorLogger = {};
|
|
14
|
+
if (!this.syepm_access_passs_to) {
|
|
15
|
+
errorLogger.syepm_access_passs_to = "Table Name Required!";
|
|
16
|
+
}
|
|
17
|
+
if (!this.syepm_access_passs_to) {
|
|
18
|
+
errorLogger.syepm_access_passs_to = "Access pass to is Required!";
|
|
19
|
+
}
|
|
20
|
+
return errorLogger;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.MCoreEntityAccessPassManagement = MCoreEntityAccessPassManagement;
|
|
8
24
|
class MCoreEntityAccessPassManagementInsertUpdate extends core_entity_access_pass_management_1.CoreEntityAccessPassManagement {
|
|
9
25
|
constructor(init) {
|
|
10
26
|
super();
|
|
@@ -97,5 +97,9 @@ declare const coreRoutesUrl: {
|
|
|
97
97
|
* @description Endpoint to get the program term section (program-term-section)
|
|
98
98
|
*/
|
|
99
99
|
programTermSection: string;
|
|
100
|
+
/**
|
|
101
|
+
* generic path to get the mapping of entity access pass management for any form
|
|
102
|
+
*/
|
|
103
|
+
coreEntityAccessPassManagement: string;
|
|
100
104
|
};
|
|
101
105
|
export { coreRoutesUrl };
|
package/lib/routes/coreRoutes.js
CHANGED
|
@@ -100,6 +100,10 @@ const coreRoutesUrl = {
|
|
|
100
100
|
* @description Endpoint to get the program term section (program-term-section)
|
|
101
101
|
*/
|
|
102
102
|
programTermSection: "program-term-section",
|
|
103
|
+
/**
|
|
104
|
+
* generic path to get the mapping of entity access pass management for any form
|
|
105
|
+
*/
|
|
106
|
+
coreEntityAccessPassManagement: "core-entity-access-pass-management",
|
|
103
107
|
};
|
|
104
108
|
exports.coreRoutesUrl = coreRoutesUrl;
|
|
105
109
|
Object.freeze(coreRoutesUrl);
|