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.
- package/lib/model/auth/auth_user_mst.d.ts +18 -0
- package/lib/model/auth/auth_user_mst.js +17 -0
- package/lib/model/auth/forgot-password.d.ts +2 -2
- package/lib/model/auth/index.d.ts +1 -0
- package/lib/model/auth/index.js +1 -0
- package/lib/model/auth/login.d.ts +2 -2
- package/lib/model/auth/reset-password.d.ts +2 -2
- package/lib/model/core/auth_user_mst.d.ts +18 -0
- package/lib/model/core/auth_user_mst.js +17 -0
- package/lib/model/core/index.d.ts +0 -1
- package/lib/model/core/index.js +0 -1
- package/lib/schema/auth/auth_user_mst.d.ts +2 -10
- package/lib/schema/auth/auth_user_mst.js +2 -6
- package/package.json +1 -1
|
@@ -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 {
|
|
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<
|
|
20
|
+
user: Partial<AuthUserMst>;
|
|
21
21
|
reset_password_link: string;
|
|
22
22
|
}
|
|
23
23
|
interface ForgotPasswordSendMailInfo extends SendMailInfo {
|
package/lib/model/auth/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SendMailInfo } from "../../common-types";
|
|
2
|
-
import { ICoreSyen,
|
|
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<
|
|
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 {
|
|
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<
|
|
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";
|
package/lib/model/core/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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 =
|
|
3
|
+
exports.AuthUserMst = void 0;
|
|
4
4
|
/* INTERFACE START */
|
|
5
|
-
class
|
|
6
|
-
}
|
|
7
|
-
exports.IUser = IUser;
|
|
8
|
-
class AuthUserMst extends IUser {
|
|
5
|
+
class AuthUserMst {
|
|
9
6
|
}
|
|
10
7
|
exports.AuthUserMst = AuthUserMst;
|
|
11
|
-
;
|