cloud-ide-lms-model 1.0.323 → 1.0.325
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { controllerResponse } from "../../utilities";
|
|
2
|
+
type IGenerateViewOnlyTokenErrorLogger = {
|
|
3
|
+
[key in keyof MGenerateViewOnlyToken]: string;
|
|
4
|
+
};
|
|
5
|
+
declare class MGenerateViewOnlyToken {
|
|
6
|
+
syen_id?: string;
|
|
7
|
+
constructor(init: MGenerateViewOnlyToken);
|
|
8
|
+
Validate?(): Partial<IGenerateViewOnlyTokenErrorLogger>;
|
|
9
|
+
}
|
|
10
|
+
interface generateViewOnlyTokenControllerResponse extends controllerResponse {
|
|
11
|
+
token?: string;
|
|
12
|
+
}
|
|
13
|
+
export { IGenerateViewOnlyTokenErrorLogger, MGenerateViewOnlyToken, generateViewOnlyTokenControllerResponse };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MGenerateViewOnlyToken = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
class MGenerateViewOnlyToken {
|
|
7
|
+
constructor(init) {
|
|
8
|
+
Object.assign(this, init);
|
|
9
|
+
}
|
|
10
|
+
Validate() {
|
|
11
|
+
let errorLogger = {};
|
|
12
|
+
// Entity ID is required
|
|
13
|
+
if (!this.syen_id || typeof this.syen_id !== 'string' || this.syen_id.trim() === '') {
|
|
14
|
+
errorLogger.syen_id = "Entity ID (syen_id) is required";
|
|
15
|
+
}
|
|
16
|
+
return errorLogger;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.MGenerateViewOnlyToken = MGenerateViewOnlyToken;
|
package/lib/model/auth/index.js
CHANGED
|
@@ -36,7 +36,7 @@ declare class AdmissionApplicationMain {
|
|
|
36
36
|
admap_pin_sypin?: string;
|
|
37
37
|
admap_program_applying_for?: string;
|
|
38
38
|
admap_program_category?: string;
|
|
39
|
-
|
|
39
|
+
admap_grade_level_applying_for_id_acacpm?: string;
|
|
40
40
|
admap_age_at_enrollment?: number;
|
|
41
41
|
admap_entry_semester_term?: string;
|
|
42
42
|
admap_academic_year_id_acayr?: string;
|
package/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dependencies": {
|
|
3
|
-
},
|
|
4
|
-
"devDependencies": {
|
|
5
|
-
"typescript": "^5.4.2"
|
|
6
|
-
},
|
|
7
|
-
"name": "cloud-ide-lms-model",
|
|
8
|
-
"version": "1.0.
|
|
9
|
-
"description": "Package for Model management of Cloud IDEsys LMS",
|
|
10
|
-
"main": "lib/index.js",
|
|
11
|
-
"types": "lib/index.d.ts",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"prepare": "npm run build"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"CloudIDE",
|
|
19
|
-
"LMS",
|
|
20
|
-
"Schema"
|
|
21
|
-
],
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://gitlab.com/lms-schools/cloud-ide-lms-model.git"
|
|
25
|
-
},
|
|
26
|
-
"author": "ankush bhure",
|
|
27
|
-
"license": "ISC",
|
|
28
|
-
"files": ["lib/**/*"]
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
},
|
|
4
|
+
"devDependencies": {
|
|
5
|
+
"typescript": "^5.4.2"
|
|
6
|
+
},
|
|
7
|
+
"name": "cloud-ide-lms-model",
|
|
8
|
+
"version": "1.0.325",
|
|
9
|
+
"description": "Package for Model management of Cloud IDEsys LMS",
|
|
10
|
+
"main": "lib/index.js",
|
|
11
|
+
"types": "lib/index.d.ts",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"prepare": "npm run build"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"CloudIDE",
|
|
19
|
+
"LMS",
|
|
20
|
+
"Schema"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://gitlab.com/lms-schools/cloud-ide-lms-model.git"
|
|
25
|
+
},
|
|
26
|
+
"author": "ankush bhure",
|
|
27
|
+
"license": "ISC",
|
|
28
|
+
"files": ["lib/**/*"]
|
|
29
29
|
}
|