cloud-ide-lms-model 1.0.209 → 1.0.211

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,18 @@
1
+ import { MTableQueries } from "../../common-types";
2
+ import { AuthUserMst } from "../../schema";
3
+ import { controllerResponse } from "../../utilities";
4
+ type AuthUserMstListErrorLogger = {
5
+ [key in keyof AuthUserMstListPayload]: string;
6
+ };
7
+ declare class AuthUserMstListPayload extends MTableQueries {
8
+ constructor(init: AuthUserMstListPayload);
9
+ Validate?(): Partial<AuthUserMstListErrorLogger>;
10
+ }
11
+ interface authUserMstListControllerResponse extends controllerResponse {
12
+ data?: {
13
+ auth_user_mst: AuthUserMst[];
14
+ };
15
+ }
16
+ export { AuthUserMstListErrorLogger, //interface
17
+ AuthUserMstListPayload, // model
18
+ authUserMstListControllerResponse };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthUserMstListPayload = void 0;
4
+ const common_types_1 = require("../../common-types");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class AuthUserMstListPayload extends common_types_1.MTableQueries {
8
+ constructor(init) {
9
+ super(init);
10
+ Object.assign(this, init);
11
+ }
12
+ Validate() {
13
+ let errorLogger = {};
14
+ return errorLogger;
15
+ }
16
+ }
17
+ exports.AuthUserMstListPayload = AuthUserMstListPayload;
@@ -1,5 +1,5 @@
1
1
  import { SendMailInfo } from "../../common-types";
2
- import { IUser } from "../../schema";
2
+ import { AuthUserMst } from "../../schema";
3
3
  import { controllerResponse } from "../../utilities";
4
4
  import { forgotPasswordMethod } from "../../utilities/helpers/type.hepler";
5
5
  type IForgotPasswordErrorLogger = {
@@ -17,7 +17,7 @@ interface ForgotPasswordControllerResponse extends controllerResponse {
17
17
  data?: Partial<ForgotPasswordResponseData>;
18
18
  }
19
19
  interface ForgotPasswordResponseData {
20
- user: Partial<IUser>;
20
+ user: Partial<AuthUserMst>;
21
21
  reset_password_link: string;
22
22
  }
23
23
  interface ForgotPasswordSendMailInfo extends SendMailInfo {
@@ -2,3 +2,4 @@ export * from "./forgot-password";
2
2
  export * from "./login";
3
3
  export * from "./register";
4
4
  export * from "./reset-password";
5
+ export * from "./auth_user_mst";
@@ -18,3 +18,4 @@ __exportStar(require("./forgot-password"), exports);
18
18
  __exportStar(require("./login"), exports);
19
19
  __exportStar(require("./register"), exports);
20
20
  __exportStar(require("./reset-password"), exports);
21
+ __exportStar(require("./auth_user_mst"), exports);
@@ -1,5 +1,5 @@
1
1
  import { SendMailInfo } from "../../common-types";
2
- import { ICoreSyen, IUser } from "../../schema";
2
+ import { ICoreSyen, AuthUserMst } from "../../schema";
3
3
  import { controllerResponse } from "../../utilities";
4
4
  import { loginMethod } from "../../utilities/helpers/type.hepler";
5
5
  type ILoginErrorLogger = {
@@ -18,7 +18,7 @@ interface loginControllerResponse extends controllerResponse {
18
18
  token?: string;
19
19
  }
20
20
  interface loginResponseData {
21
- auth_user_mst: Partial<IUser>;
21
+ auth_user_mst: Partial<AuthUserMst>;
22
22
  core_system_entity?: ICoreSyen;
23
23
  }
24
24
  interface LoginSendMailInfo extends SendMailInfo {
@@ -1,5 +1,5 @@
1
1
  import { SendMailInfo } from "../../common-types";
2
- import { IUser } from "../../schema";
2
+ import { AuthUserMst } from "../../schema";
3
3
  import { controllerResponse } from "../../utilities";
4
4
  type IResetPasswordErrorLogger = {
5
5
  [key in keyof MResetPassword]: string;
@@ -25,7 +25,7 @@ interface ResetPasswordControllerResponse extends controllerResponse {
25
25
  interface SignOutControllerResponse extends controllerResponse {
26
26
  }
27
27
  interface ResetPasswordResponseData {
28
- user: Partial<IUser>;
28
+ user: Partial<AuthUserMst>;
29
29
  reset_password_link: string;
30
30
  }
31
31
  interface ResetPasswordSendMailInfo extends SendMailInfo {
@@ -0,0 +1,18 @@
1
+ import { MTableQueries } from "../../common-types";
2
+ import { AuthUserMst } from "../../schema";
3
+ import { controllerResponse } from "../../utilities";
4
+ type AuthUserMstListErrorLogger = {
5
+ [key in keyof AuthUserMstListPayload]: string;
6
+ };
7
+ declare class AuthUserMstListPayload extends MTableQueries {
8
+ constructor(init: AuthUserMstListPayload);
9
+ Validate?(): Partial<AuthUserMstListErrorLogger>;
10
+ }
11
+ interface authUserMstListControllerResponse extends controllerResponse {
12
+ data?: {
13
+ auth_user_mst: AuthUserMst[];
14
+ };
15
+ }
16
+ export { AuthUserMstListErrorLogger, //interface
17
+ AuthUserMstListPayload, // model
18
+ authUserMstListControllerResponse };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthUserMstListPayload = void 0;
4
+ const common_types_1 = require("../../common-types");
5
+ /* INTERFACE END */
6
+ /* MODEL START */
7
+ class AuthUserMstListPayload extends common_types_1.MTableQueries {
8
+ constructor(init) {
9
+ super(init);
10
+ Object.assign(this, init);
11
+ }
12
+ Validate() {
13
+ let errorLogger = {};
14
+ return errorLogger;
15
+ }
16
+ }
17
+ exports.AuthUserMstListPayload = AuthUserMstListPayload;
@@ -7,7 +7,6 @@ export * from "./core_system_entity";
7
7
  export * from "./core_general_master";
8
8
  export * from "./core_system_menu";
9
9
  export * from "./core_pin_code";
10
- export * from "./user";
11
10
  export * from "./core_user_contact_addresses";
12
11
  export * from "./core_user_documents";
13
12
  export * from "./core_user_family_details";
@@ -23,7 +23,6 @@ __exportStar(require("./core_system_entity"), exports);
23
23
  __exportStar(require("./core_general_master"), exports);
24
24
  __exportStar(require("./core_system_menu"), exports);
25
25
  __exportStar(require("./core_pin_code"), exports);
26
- __exportStar(require("./user"), exports);
27
26
  __exportStar(require("./core_user_contact_addresses"), exports);
28
27
  __exportStar(require("./core_user_documents"), exports);
29
28
  __exportStar(require("./core_user_family_details"), exports);
@@ -1,4 +1,4 @@
1
- declare class IUser {
1
+ declare class AuthUserMst {
2
2
  _id?: string;
3
3
  user_username?: string;
4
4
  user_firstname?: string;
@@ -8,16 +8,8 @@ declare class IUser {
8
8
  user_emailid?: string;
9
9
  user_mobileno?: number;
10
10
  user_password?: string;
11
- user_activefrom?: string;
12
- user_activeupto?: string;
13
11
  user_photo_id_cyfm?: string;
14
12
  user_passwordchangeonlogin?: boolean;
15
- user_role_id_role?: string;
16
- user_designation_id_sydsg?: string;
17
- user_department_id_sydept?: string;
18
13
  user_isactive?: boolean;
19
14
  }
20
- declare class AuthUserMst extends IUser {
21
- }
22
- export { IUser, // interface name
23
- AuthUserMst };
15
+ export { AuthUserMst };
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthUserMst = exports.IUser = void 0;
3
+ exports.AuthUserMst = void 0;
4
4
  /* INTERFACE START */
5
- class IUser {
6
- }
7
- exports.IUser = IUser;
8
- class AuthUserMst extends IUser {
5
+ class AuthUserMst {
9
6
  }
10
7
  exports.AuthUserMst = AuthUserMst;
11
- ;
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.209",
8
+ "version": "1.0.211",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",