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.
Files changed (159) hide show
  1. package/lib/@types/common.d.ts +22 -0
  2. package/lib/@types/common.js +50 -0
  3. package/lib/@types/coreControllerResponse.d.ts +43 -0
  4. package/lib/@types/coreControllerResponse.js +2 -0
  5. package/lib/@types/designConfigControllerResponse.d.ts +28 -0
  6. package/lib/@types/designConfigControllerResponse.js +2 -0
  7. package/lib/@types/emailServiceConfig.d.ts +33 -0
  8. package/lib/@types/emailServiceConfig.js +2 -0
  9. package/lib/@types/entityControllerResponse.d.ts +35 -0
  10. package/lib/@types/entityControllerResponse.js +2 -0
  11. package/lib/@types/forgotPasswordControllerResponse.d.ts +13 -0
  12. package/lib/@types/forgotPasswordControllerResponse.js +2 -0
  13. package/lib/@types/jwtPayload.d.ts +16 -0
  14. package/lib/@types/jwtPayload.js +2 -0
  15. package/lib/@types/loginControllerResponse.d.ts +17 -0
  16. package/lib/@types/loginControllerResponse.js +2 -0
  17. package/lib/@types/menuControllerResponse.d.ts +13 -0
  18. package/lib/@types/menuControllerResponse.js +2 -0
  19. package/lib/@types/resetPasswordControllerResponse.d.ts +15 -0
  20. package/lib/@types/resetPasswordControllerResponse.js +2 -0
  21. package/lib/@types/userPermissions.d.ts +7 -0
  22. package/lib/@types/userPermissions.js +2 -0
  23. package/lib/common-types/common.d.ts +31 -0
  24. package/lib/common-types/common.js +60 -0
  25. package/lib/common-types/coreControllerResponse.d.ts +43 -0
  26. package/lib/common-types/coreControllerResponse.js +2 -0
  27. package/lib/common-types/designConfigControllerResponse.d.ts +28 -0
  28. package/lib/common-types/designConfigControllerResponse.js +2 -0
  29. package/lib/common-types/emailServiceConfig.d.ts +33 -0
  30. package/lib/common-types/emailServiceConfig.js +2 -0
  31. package/lib/common-types/entityControllerResponse.d.ts +35 -0
  32. package/lib/common-types/entityControllerResponse.js +2 -0
  33. package/lib/common-types/forgotPasswordControllerResponse.d.ts +13 -0
  34. package/lib/common-types/forgotPasswordControllerResponse.js +2 -0
  35. package/lib/common-types/index.d.ts +4 -0
  36. package/lib/common-types/index.js +20 -0
  37. package/lib/common-types/jwtPayload.d.ts +9 -0
  38. package/lib/common-types/jwtPayload.js +2 -0
  39. package/lib/common-types/loginControllerResponse.d.ts +17 -0
  40. package/lib/common-types/loginControllerResponse.js +2 -0
  41. package/lib/common-types/menuControllerResponse.d.ts +13 -0
  42. package/lib/common-types/menuControllerResponse.js +2 -0
  43. package/lib/common-types/resetPasswordControllerResponse.d.ts +15 -0
  44. package/lib/common-types/resetPasswordControllerResponse.js +2 -0
  45. package/lib/common-types/userPermissions.d.ts +7 -0
  46. package/lib/common-types/userPermissions.js +2 -0
  47. package/lib/config/database.d.ts +3 -0
  48. package/lib/config/database.js +66 -0
  49. package/lib/config/index.d.ts +2 -0
  50. package/lib/config/index.js +5 -0
  51. package/lib/index.d.ts +4 -0
  52. package/lib/index.js +20 -0
  53. package/lib/model/auth/forgot-password.d.ts +28 -0
  54. package/lib/model/auth/forgot-password.js +62 -0
  55. package/lib/model/auth/index.d.ts +4 -0
  56. package/lib/model/auth/index.js +20 -0
  57. package/lib/model/auth/login.d.ts +44 -0
  58. package/lib/model/auth/login.js +109 -0
  59. package/lib/model/auth/register.d.ts +20 -0
  60. package/lib/model/auth/register.js +33 -0
  61. package/lib/model/auth/reset-password.d.ts +36 -0
  62. package/lib/model/auth/reset-password.js +22 -0
  63. package/lib/model/core/design-config.d.ts +34 -0
  64. package/lib/model/core/design-config.js +19 -0
  65. package/lib/model/core/entity.d.ts +47 -0
  66. package/lib/model/core/entity.js +35 -0
  67. package/lib/model/core/general-master.d.ts +37 -0
  68. package/lib/model/core/general-master.js +19 -0
  69. package/lib/model/core/index.d.ts +6 -0
  70. package/lib/model/core/index.js +22 -0
  71. package/lib/model/core/menu.d.ts +28 -0
  72. package/lib/model/core/menu.js +31 -0
  73. package/lib/model/core/pin-code.d.ts +21 -0
  74. package/lib/model/core/pin-code.js +28 -0
  75. package/lib/model/core/user.d.ts +19 -0
  76. package/lib/model/core/user.js +19 -0
  77. package/lib/model/index.d.ts +2 -0
  78. package/lib/model/index.js +18 -0
  79. package/lib/schema/auth/auth_logses.d.ts +13 -0
  80. package/lib/schema/auth/auth_logses.js +2 -0
  81. package/lib/schema/auth/auth_user_mst.d.ts +30 -0
  82. package/lib/schema/auth/auth_user_mst.js +2 -0
  83. package/lib/schema/auth/index.d.ts +3 -0
  84. package/lib/schema/auth/index.js +19 -0
  85. package/lib/schema/auth/mpin.d.ts +8 -0
  86. package/lib/schema/auth/mpin.js +10 -0
  87. package/lib/schema/core/core_entity_mapping.d.ts +10 -0
  88. package/lib/schema/core/core_entity_mapping.js +2 -0
  89. package/lib/schema/core/core_general_master.d.ts +10 -0
  90. package/lib/schema/core/core_general_master.js +2 -0
  91. package/lib/schema/core/core_general_master_type.d.ts +8 -0
  92. package/lib/schema/core/core_general_master_type.js +2 -0
  93. package/lib/schema/core/core_page_controls.d.ts +18 -0
  94. package/lib/schema/core/core_page_controls.js +2 -0
  95. package/lib/schema/core/core_page_grid.d.ts +7 -0
  96. package/lib/schema/core/core_page_grid.js +2 -0
  97. package/lib/schema/core/core_page_tab.d.ts +14 -0
  98. package/lib/schema/core/core_page_tab.js +2 -0
  99. package/lib/schema/core/core_pin_code.d.ts +15 -0
  100. package/lib/schema/core/core_pin_code.js +2 -0
  101. package/lib/schema/core/core_system_config.d.ts +8 -0
  102. package/lib/schema/core/core_system_config.js +10 -0
  103. package/lib/schema/core/core_system_entity.d.ts +34 -0
  104. package/lib/schema/core/core_system_entity.js +2 -0
  105. package/lib/schema/core/core_system_logs.d.ts +24 -0
  106. package/lib/schema/core/core_system_logs.js +33 -0
  107. package/lib/schema/core/core_system_menu.d.ts +13 -0
  108. package/lib/schema/core/core_system_menu.js +10 -0
  109. package/lib/schema/core/core_system_pages.d.ts +10 -0
  110. package/lib/schema/core/core_system_pages.js +10 -0
  111. package/lib/schema/core/core_system_pages_theme.d.ts +11 -0
  112. package/lib/schema/core/core_system_pages_theme.js +10 -0
  113. package/lib/schema/core/index.d.ts +13 -0
  114. package/lib/schema/core/index.js +29 -0
  115. package/lib/schema/email/elist.d.ts +36 -0
  116. package/lib/schema/email/elist.js +42 -0
  117. package/lib/schema/email/elog.d.ts +41 -0
  118. package/lib/schema/email/elog.js +58 -0
  119. package/lib/schema/email/email_list.d.ts +7 -0
  120. package/lib/schema/email/email_list.js +10 -0
  121. package/lib/schema/email/email_log.d.ts +12 -0
  122. package/lib/schema/email/email_log.js +10 -0
  123. package/lib/schema/email/email_reference.d.ts +8 -0
  124. package/lib/schema/email/email_reference.js +10 -0
  125. package/lib/schema/email/email_subscription_vendor.d.ts +14 -0
  126. package/lib/schema/email/email_subscription_vendor.js +10 -0
  127. package/lib/schema/email/email_templete.d.ts +7 -0
  128. package/lib/schema/email/email_templete.js +10 -0
  129. package/lib/schema/email/email_vendor.d.ts +7 -0
  130. package/lib/schema/email/email_vendor.js +10 -0
  131. package/lib/schema/email/eref.d.ts +37 -0
  132. package/lib/schema/email/eref.js +43 -0
  133. package/lib/schema/email/esub.d.ts +43 -0
  134. package/lib/schema/email/esub.js +69 -0
  135. package/lib/schema/email/etmp.d.ts +36 -0
  136. package/lib/schema/email/etmp.js +41 -0
  137. package/lib/schema/email/evdr.d.ts +36 -0
  138. package/lib/schema/email/evdr.js +41 -0
  139. package/lib/schema/email/index.d.ts +6 -0
  140. package/lib/schema/email/index.js +22 -0
  141. package/lib/schema/index.d.ts +3 -0
  142. package/lib/schema/index.js +19 -0
  143. package/lib/utilities/helpers/encryption.helper.d.ts +2 -0
  144. package/lib/utilities/helpers/encryption.helper.js +14 -0
  145. package/lib/utilities/helpers/error.helper.d.ts +9 -0
  146. package/lib/utilities/helpers/error.helper.js +26 -0
  147. package/lib/utilities/helpers/index.d.ts +5 -0
  148. package/lib/utilities/helpers/index.js +21 -0
  149. package/lib/utilities/helpers/response.helper.d.ts +16 -0
  150. package/lib/utilities/helpers/response.helper.js +9 -0
  151. package/lib/utilities/helpers/string.helper.d.ts +3 -0
  152. package/lib/utilities/helpers/string.helper.js +232 -0
  153. package/lib/utilities/helpers/type.hepler.d.ts +3 -0
  154. package/lib/utilities/helpers/type.hepler.js +2 -0
  155. package/lib/utilities/helpers/view.helper.d.ts +2 -0
  156. package/lib/utilities/helpers/view.helper.js +14 -0
  157. package/lib/utilities/index.d.ts +1 -0
  158. package/lib/utilities/index.js +17 -0
  159. 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
+ }