cloud-ide-lms-model 1.0.0
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.
- package/lib/@types/common.d.ts +22 -0
- package/lib/@types/common.js +50 -0
- package/lib/@types/coreControllerResponse.d.ts +43 -0
- package/lib/@types/coreControllerResponse.js +2 -0
- package/lib/@types/designConfigControllerResponse.d.ts +28 -0
- package/lib/@types/designConfigControllerResponse.js +2 -0
- package/lib/@types/emailServiceConfig.d.ts +33 -0
- package/lib/@types/emailServiceConfig.js +2 -0
- package/lib/@types/entityControllerResponse.d.ts +35 -0
- package/lib/@types/entityControllerResponse.js +2 -0
- package/lib/@types/forgotPasswordControllerResponse.d.ts +13 -0
- package/lib/@types/forgotPasswordControllerResponse.js +2 -0
- package/lib/@types/jwtPayload.d.ts +16 -0
- package/lib/@types/jwtPayload.js +2 -0
- package/lib/@types/loginControllerResponse.d.ts +17 -0
- package/lib/@types/loginControllerResponse.js +2 -0
- package/lib/@types/menuControllerResponse.d.ts +13 -0
- package/lib/@types/menuControllerResponse.js +2 -0
- package/lib/@types/resetPasswordControllerResponse.d.ts +15 -0
- package/lib/@types/resetPasswordControllerResponse.js +2 -0
- package/lib/@types/userPermissions.d.ts +7 -0
- package/lib/@types/userPermissions.js +2 -0
- package/lib/common-types/common.d.ts +31 -0
- package/lib/common-types/common.js +60 -0
- package/lib/common-types/coreControllerResponse.d.ts +43 -0
- package/lib/common-types/coreControllerResponse.js +2 -0
- package/lib/common-types/designConfigControllerResponse.d.ts +28 -0
- package/lib/common-types/designConfigControllerResponse.js +2 -0
- package/lib/common-types/emailServiceConfig.d.ts +33 -0
- package/lib/common-types/emailServiceConfig.js +2 -0
- package/lib/common-types/entityControllerResponse.d.ts +35 -0
- package/lib/common-types/entityControllerResponse.js +2 -0
- package/lib/common-types/forgotPasswordControllerResponse.d.ts +13 -0
- package/lib/common-types/forgotPasswordControllerResponse.js +2 -0
- package/lib/common-types/index.d.ts +4 -0
- package/lib/common-types/index.js +20 -0
- package/lib/common-types/jwtPayload.d.ts +9 -0
- package/lib/common-types/jwtPayload.js +2 -0
- package/lib/common-types/loginControllerResponse.d.ts +17 -0
- package/lib/common-types/loginControllerResponse.js +2 -0
- package/lib/common-types/menuControllerResponse.d.ts +13 -0
- package/lib/common-types/menuControllerResponse.js +2 -0
- package/lib/common-types/resetPasswordControllerResponse.d.ts +15 -0
- package/lib/common-types/resetPasswordControllerResponse.js +2 -0
- package/lib/common-types/userPermissions.d.ts +7 -0
- package/lib/common-types/userPermissions.js +2 -0
- package/lib/config/database.d.ts +3 -0
- package/lib/config/database.js +66 -0
- package/lib/config/index.d.ts +2 -0
- package/lib/config/index.js +5 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +20 -0
- package/lib/model/auth/forgot-password.d.ts +28 -0
- package/lib/model/auth/forgot-password.js +62 -0
- package/lib/model/auth/index.d.ts +4 -0
- package/lib/model/auth/index.js +20 -0
- package/lib/model/auth/login.d.ts +44 -0
- package/lib/model/auth/login.js +109 -0
- package/lib/model/auth/register.d.ts +20 -0
- package/lib/model/auth/register.js +33 -0
- package/lib/model/auth/reset-password.d.ts +36 -0
- package/lib/model/auth/reset-password.js +22 -0
- package/lib/model/core/design-config.d.ts +34 -0
- package/lib/model/core/design-config.js +19 -0
- package/lib/model/core/entity.d.ts +47 -0
- package/lib/model/core/entity.js +35 -0
- package/lib/model/core/general-master.d.ts +37 -0
- package/lib/model/core/general-master.js +19 -0
- package/lib/model/core/index.d.ts +6 -0
- package/lib/model/core/index.js +22 -0
- package/lib/model/core/menu.d.ts +28 -0
- package/lib/model/core/menu.js +31 -0
- package/lib/model/core/pin-code.d.ts +21 -0
- package/lib/model/core/pin-code.js +28 -0
- package/lib/model/core/user.d.ts +19 -0
- package/lib/model/core/user.js +19 -0
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +18 -0
- package/lib/schema/auth/auth_logses.d.ts +13 -0
- package/lib/schema/auth/auth_logses.js +2 -0
- package/lib/schema/auth/auth_user_mst.d.ts +30 -0
- package/lib/schema/auth/auth_user_mst.js +2 -0
- package/lib/schema/auth/index.d.ts +3 -0
- package/lib/schema/auth/index.js +19 -0
- package/lib/schema/auth/mpin.d.ts +8 -0
- package/lib/schema/auth/mpin.js +10 -0
- package/lib/schema/core/core_entity_mapping.d.ts +10 -0
- package/lib/schema/core/core_entity_mapping.js +2 -0
- package/lib/schema/core/core_general_master.d.ts +10 -0
- package/lib/schema/core/core_general_master.js +2 -0
- package/lib/schema/core/core_general_master_type.d.ts +8 -0
- package/lib/schema/core/core_general_master_type.js +2 -0
- package/lib/schema/core/core_page_controls.d.ts +18 -0
- package/lib/schema/core/core_page_controls.js +2 -0
- package/lib/schema/core/core_page_grid.d.ts +7 -0
- package/lib/schema/core/core_page_grid.js +2 -0
- package/lib/schema/core/core_page_tab.d.ts +14 -0
- package/lib/schema/core/core_page_tab.js +2 -0
- package/lib/schema/core/core_pin_code.d.ts +15 -0
- package/lib/schema/core/core_pin_code.js +2 -0
- package/lib/schema/core/core_system_config.d.ts +8 -0
- package/lib/schema/core/core_system_config.js +10 -0
- package/lib/schema/core/core_system_entity.d.ts +34 -0
- package/lib/schema/core/core_system_entity.js +2 -0
- package/lib/schema/core/core_system_logs.d.ts +24 -0
- package/lib/schema/core/core_system_logs.js +33 -0
- package/lib/schema/core/core_system_menu.d.ts +13 -0
- package/lib/schema/core/core_system_menu.js +10 -0
- package/lib/schema/core/core_system_pages.d.ts +10 -0
- package/lib/schema/core/core_system_pages.js +10 -0
- package/lib/schema/core/core_system_pages_theme.d.ts +11 -0
- package/lib/schema/core/core_system_pages_theme.js +10 -0
- package/lib/schema/core/index.d.ts +13 -0
- package/lib/schema/core/index.js +29 -0
- package/lib/schema/email/elist.d.ts +36 -0
- package/lib/schema/email/elist.js +42 -0
- package/lib/schema/email/elog.d.ts +41 -0
- package/lib/schema/email/elog.js +58 -0
- package/lib/schema/email/email_list.d.ts +7 -0
- package/lib/schema/email/email_list.js +10 -0
- package/lib/schema/email/email_log.d.ts +12 -0
- package/lib/schema/email/email_log.js +10 -0
- package/lib/schema/email/email_reference.d.ts +8 -0
- package/lib/schema/email/email_reference.js +10 -0
- package/lib/schema/email/email_subscription_vendor.d.ts +14 -0
- package/lib/schema/email/email_subscription_vendor.js +10 -0
- package/lib/schema/email/email_templete.d.ts +7 -0
- package/lib/schema/email/email_templete.js +10 -0
- package/lib/schema/email/email_vendor.d.ts +7 -0
- package/lib/schema/email/email_vendor.js +10 -0
- package/lib/schema/email/eref.d.ts +37 -0
- package/lib/schema/email/eref.js +43 -0
- package/lib/schema/email/esub.d.ts +43 -0
- package/lib/schema/email/esub.js +69 -0
- package/lib/schema/email/etmp.d.ts +36 -0
- package/lib/schema/email/etmp.js +41 -0
- package/lib/schema/email/evdr.d.ts +36 -0
- package/lib/schema/email/evdr.js +41 -0
- package/lib/schema/email/index.d.ts +6 -0
- package/lib/schema/email/index.js +22 -0
- package/lib/schema/index.d.ts +3 -0
- package/lib/schema/index.js +19 -0
- package/lib/utilities/helpers/encryption.helper.d.ts +2 -0
- package/lib/utilities/helpers/encryption.helper.js +14 -0
- package/lib/utilities/helpers/error.helper.d.ts +9 -0
- package/lib/utilities/helpers/error.helper.js +26 -0
- package/lib/utilities/helpers/index.d.ts +5 -0
- package/lib/utilities/helpers/index.js +21 -0
- package/lib/utilities/helpers/response.helper.d.ts +16 -0
- package/lib/utilities/helpers/response.helper.js +9 -0
- package/lib/utilities/helpers/string.helper.d.ts +3 -0
- package/lib/utilities/helpers/string.helper.js +232 -0
- package/lib/utilities/helpers/type.hepler.d.ts +3 -0
- package/lib/utilities/helpers/type.hepler.js +2 -0
- package/lib/utilities/helpers/view.helper.d.ts +2 -0
- package/lib/utilities/helpers/view.helper.js +14 -0
- package/lib/utilities/index.d.ts +1 -0
- package/lib/utilities/index.js +17 -0
- package/package.json +25 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.viewRendor = void 0;
|
|
4
|
+
var ejs = require('ejs');
|
|
5
|
+
function viewRendor(temp_body, loginData) {
|
|
6
|
+
// Your email template in EJS format
|
|
7
|
+
var emailTemplate = temp_body;
|
|
8
|
+
// Render the email template with dynamic data
|
|
9
|
+
var renderedEmail = ejs.render(emailTemplate, { loginData: loginData });
|
|
10
|
+
return renderedEmail;
|
|
11
|
+
// Now 'renderedEmail' contains the HTML with the user's name and college name
|
|
12
|
+
// Use 'renderedEmail' as the HTML content when sending your email
|
|
13
|
+
}
|
|
14
|
+
exports.viewRendor = viewRendor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./helpers";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./helpers"), exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
},
|
|
4
|
+
"devDependencies": {
|
|
5
|
+
"typescript": "^5.4.2"
|
|
6
|
+
},
|
|
7
|
+
"name": "cloud-ide-lms-model",
|
|
8
|
+
"version": "1.0.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
|
+
"author": "ankush bhure",
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"files": ["lib/**/*"]
|
|
25
|
+
}
|