cloud-ide-lms-model 1.1.28 → 1.1.33
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/academics/aca_education_board.d.ts +49 -0
- package/lib/model/academics/aca_education_board.js +2 -0
- package/lib/model/academics/index.d.ts +1 -0
- package/lib/model/academics/index.js +1 -0
- package/lib/model/auth/auth_user_mst.d.ts +1 -1
- package/lib/routes/coreRoutes.d.ts +4 -0
- package/lib/routes/coreRoutes.js +4 -0
- package/lib/schema/academics/aca_class_program_master.d.ts +1 -0
- package/lib/schema/academics/academics_education_board.d.ts +27 -0
- package/lib/schema/academics/academics_education_board.js +7 -0
- package/lib/schema/academics/index.d.ts +1 -0
- package/lib/schema/academics/index.js +1 -0
- package/lib/schema/collection_names.d.ts +1 -1
- package/lib/schema/collection_names.js +1 -1
- package/lib/schema/core/core_education_board.d.ts +3 -0
- package/lib/schema/core/core_school_board_affiliation.d.ts +1 -1
- package/lib/schema/core/index.d.ts +0 -1
- package/lib/schema/core/index.js +0 -1
- package/lib/utilities/helpers/response.helper.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ICoreSygms } from "../../schema/core/core_general_master";
|
|
2
|
+
import { ICoreSyctr } from "../../schema/core/core_system_country";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
/**
|
|
5
|
+
* @description Education Board interface
|
|
6
|
+
*/
|
|
7
|
+
export interface EducationBoard {
|
|
8
|
+
_id?: string;
|
|
9
|
+
edbrd_code: string;
|
|
10
|
+
edbrd_name: string;
|
|
11
|
+
edbrd_short_name: string;
|
|
12
|
+
edbrd_state?: string;
|
|
13
|
+
edbrd_isactive: boolean;
|
|
14
|
+
edbrd_website?: string;
|
|
15
|
+
edbrd_contact_email?: string;
|
|
16
|
+
edbrd_contact_phone?: string;
|
|
17
|
+
edbrd_address?: string;
|
|
18
|
+
edbrd_pin_sypin?: string | any;
|
|
19
|
+
edbrd_city_sypin?: string;
|
|
20
|
+
edbrd_state_sypin?: string;
|
|
21
|
+
edbrd_country_id_syctr?: string | ICoreSyctr;
|
|
22
|
+
edbrd_udise_format?: string;
|
|
23
|
+
edbrd_affiliation_format?: string;
|
|
24
|
+
edbrd_roll_number_format?: string;
|
|
25
|
+
edbrd_registration_number_format?: string;
|
|
26
|
+
edbrd_grade_scale?: string;
|
|
27
|
+
edbrd_type_sygms?: string | ICoreSygms;
|
|
28
|
+
edbrd_category_sygms?: string | ICoreSygms;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @description Education Board Search Parameters
|
|
32
|
+
*/
|
|
33
|
+
export interface EducationBoardSearchParams {
|
|
34
|
+
q?: string;
|
|
35
|
+
page?: number;
|
|
36
|
+
limit?: number;
|
|
37
|
+
sort?: string;
|
|
38
|
+
order?: string;
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}
|
|
41
|
+
export interface educationBoardListControllerResponse extends controllerResponse {
|
|
42
|
+
data?: EducationBoard[];
|
|
43
|
+
}
|
|
44
|
+
export interface educationBoardByIdControllerResponse extends controllerResponse {
|
|
45
|
+
data?: EducationBoard;
|
|
46
|
+
}
|
|
47
|
+
export interface educationBoardDeleteControllerResponse extends controllerResponse {
|
|
48
|
+
data?: boolean;
|
|
49
|
+
}
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./aca_class_program_term"), exports);
|
|
|
21
21
|
__exportStar(require("./aca_prg_trm_section"), exports);
|
|
22
22
|
__exportStar(require("./aca_class_prg_branch"), exports);
|
|
23
23
|
__exportStar(require("./academics_bonafide_request"), exports);
|
|
24
|
+
__exportStar(require("./aca_education_board"), exports);
|
|
@@ -16,7 +16,7 @@ type AuthUserMstCreateErrorLogger = {
|
|
|
16
16
|
[key in keyof AuthUserMstCreatePayload]: string;
|
|
17
17
|
};
|
|
18
18
|
declare class AuthUserMstListPayload extends MTableQueries {
|
|
19
|
-
syenm_entity_id_syen
|
|
19
|
+
syenm_entity_id_syen: string;
|
|
20
20
|
syutm_user_type?: string;
|
|
21
21
|
syutm_user_type_nin?: string[];
|
|
22
22
|
syutm_user_type_in?: string[];
|
|
@@ -137,5 +137,9 @@ declare const coreRoutesUrl: {
|
|
|
137
137
|
* @description Endpoint to get workflow status (workflow/status)
|
|
138
138
|
*/
|
|
139
139
|
workflowStatus: string;
|
|
140
|
+
/**
|
|
141
|
+
* @description Endpoint to manage school board affiliation (school-board-affiliation)
|
|
142
|
+
*/
|
|
143
|
+
schoolBoardAffiliation: string;
|
|
140
144
|
};
|
|
141
145
|
export { coreRoutesUrl };
|
package/lib/routes/coreRoutes.js
CHANGED
|
@@ -140,6 +140,10 @@ const coreRoutesUrl = {
|
|
|
140
140
|
* @description Endpoint to get workflow status (workflow/status)
|
|
141
141
|
*/
|
|
142
142
|
workflowStatus: "workflow/status",
|
|
143
|
+
/**
|
|
144
|
+
* @description Endpoint to manage school board affiliation (school-board-affiliation)
|
|
145
|
+
*/
|
|
146
|
+
schoolBoardAffiliation: "school-board-affiliation",
|
|
143
147
|
};
|
|
144
148
|
exports.coreRoutesUrl = coreRoutesUrl;
|
|
145
149
|
Object.freeze(coreRoutesUrl);
|
|
@@ -7,6 +7,7 @@ declare class AcaClassProgramMaster extends AcaClassProgramMasterBase {
|
|
|
7
7
|
acacpm_class_program_id_sygms?: string;
|
|
8
8
|
acacpm_academic_year_id_acayr?: string;
|
|
9
9
|
acacpm_entity_id_syen?: string;
|
|
10
|
+
acacpm_education_board_id_edbrd?: string;
|
|
10
11
|
}
|
|
11
12
|
export { AcaClassProgramMasterBase, // interface
|
|
12
13
|
AcaClassProgramMaster };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ICoreSygms, ICoreSyctr, ICoreSypin } from "../core";
|
|
2
|
+
declare class AcademicsEducationBoard {
|
|
3
|
+
_id?: string;
|
|
4
|
+
edbrd_code?: string;
|
|
5
|
+
edbrd_name?: string;
|
|
6
|
+
edbrd_short_name?: string;
|
|
7
|
+
edbrd_type_sygms?: string | ICoreSygms;
|
|
8
|
+
edbrd_category_sygms?: string | ICoreSygms;
|
|
9
|
+
edbrd_state?: string;
|
|
10
|
+
edbrd_country_id_syctr?: string | ICoreSyctr;
|
|
11
|
+
edbrd_website?: string;
|
|
12
|
+
edbrd_contact_email?: string;
|
|
13
|
+
edbrd_contact_phone?: string;
|
|
14
|
+
edbrd_address?: string;
|
|
15
|
+
edbrd_pin_sypin?: string | ICoreSypin;
|
|
16
|
+
edbrd_city_sypin?: string;
|
|
17
|
+
edbrd_state_sypin?: string;
|
|
18
|
+
edbrd_udise_format_sygms?: string | ICoreSygms;
|
|
19
|
+
edbrd_affiliation_format_sygms?: string | ICoreSygms;
|
|
20
|
+
edbrd_roll_number_format_sygms?: string | ICoreSygms;
|
|
21
|
+
edbrd_registration_number_format_sygms?: string | ICoreSygms;
|
|
22
|
+
edbrd_grading_system_sygms?: string | ICoreSygms;
|
|
23
|
+
edbrd_grade_scale_sygms?: string | ICoreSygms;
|
|
24
|
+
edbrd_configuration?: any;
|
|
25
|
+
edbrd_isactive?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export { AcademicsEducationBoard };
|
|
@@ -20,4 +20,5 @@ __exportStar(require("./aca_class_program_master"), exports);
|
|
|
20
20
|
__exportStar(require("./aca_class_program_term"), exports);
|
|
21
21
|
__exportStar(require("./aca_prg_trm_section"), exports);
|
|
22
22
|
__exportStar(require("./aca_class_prg_branch"), exports);
|
|
23
|
+
__exportStar(require("./academics_education_board"), exports);
|
|
23
24
|
__exportStar(require("./academics_bonafide_request"), exports);
|
|
@@ -5,6 +5,7 @@ declare const COLLECTIONS: {
|
|
|
5
5
|
aca_class_program_term: string;
|
|
6
6
|
aca_class_prg_branch: string;
|
|
7
7
|
aca_prg_trm_section: string;
|
|
8
|
+
academics_education_board: string;
|
|
8
9
|
acc_financial_year: string;
|
|
9
10
|
acc_financial_year_mapping: string;
|
|
10
11
|
acc_financial_config: string;
|
|
@@ -50,7 +51,6 @@ declare const COLLECTIONS: {
|
|
|
50
51
|
core_user_role: string;
|
|
51
52
|
core_user_role_exceptions: string;
|
|
52
53
|
core_user_role_rights: string;
|
|
53
|
-
core_education_board: string;
|
|
54
54
|
core_school_board_affiliation: string;
|
|
55
55
|
core_entity_udise: string;
|
|
56
56
|
core_board_exam_pattern: string;
|
|
@@ -9,6 +9,7 @@ const COLLECTIONS = {
|
|
|
9
9
|
aca_class_program_term: "aca_class_program_term",
|
|
10
10
|
aca_class_prg_branch: "aca_class_prg_branch",
|
|
11
11
|
aca_prg_trm_section: "aca_prg_trm_section",
|
|
12
|
+
academics_education_board: "academics_education_board",
|
|
12
13
|
// A - Account Collections
|
|
13
14
|
acc_financial_year: "acc_financial_year",
|
|
14
15
|
acc_financial_year_mapping: "acc_financial_year_mapping",
|
|
@@ -57,7 +58,6 @@ const COLLECTIONS = {
|
|
|
57
58
|
core_user_role: "core_user_role",
|
|
58
59
|
core_user_role_exceptions: "core_user_role_exceptions",
|
|
59
60
|
core_user_role_rights: "core_user_role_rights",
|
|
60
|
-
core_education_board: "core_education_board",
|
|
61
61
|
core_school_board_affiliation: "core_school_board_affiliation",
|
|
62
62
|
core_entity_udise: "core_entity_udise",
|
|
63
63
|
core_board_exam_pattern: "core_board_exam_pattern",
|
|
@@ -11,6 +11,9 @@ declare class CoreEducationBoard {
|
|
|
11
11
|
edbrd_contact_email?: string;
|
|
12
12
|
edbrd_contact_phone?: string;
|
|
13
13
|
edbrd_address?: string;
|
|
14
|
+
edbrd_pin_sypin?: string;
|
|
15
|
+
edbrd_city_sypin?: string;
|
|
16
|
+
edbrd_state_sypin?: string;
|
|
14
17
|
edbrd_udise_format?: string;
|
|
15
18
|
edbrd_affiliation_format?: string;
|
|
16
19
|
edbrd_roll_number_format?: string;
|
|
@@ -6,7 +6,7 @@ declare class CoreSchoolBoardAffiliation {
|
|
|
6
6
|
scbaf_affiliation_date?: Date;
|
|
7
7
|
scbaf_affiliation_expiry_date?: Date;
|
|
8
8
|
scbaf_affiliation_status_sygms?: string;
|
|
9
|
-
|
|
9
|
+
scbaf_affiliation_level_multi_sygms?: string[];
|
|
10
10
|
scbaf_affiliation_subjects?: string[];
|
|
11
11
|
scbaf_isprimary?: boolean;
|
|
12
12
|
scbaf_isactive?: boolean;
|
|
@@ -33,7 +33,6 @@ export * from './core_user_role';
|
|
|
33
33
|
export * from './core_user_role_rights';
|
|
34
34
|
export * from './core_entity_access_pass_management';
|
|
35
35
|
export * from './core_user_role_exceptions';
|
|
36
|
-
export * from './core_education_board';
|
|
37
36
|
export * from './core_entity_udise';
|
|
38
37
|
export * from './core_board_exam_pattern';
|
|
39
38
|
export * from './core_board_grade_system';
|
package/lib/schema/core/index.js
CHANGED
|
@@ -49,7 +49,6 @@ __exportStar(require("./core_user_role"), exports);
|
|
|
49
49
|
__exportStar(require("./core_user_role_rights"), exports);
|
|
50
50
|
__exportStar(require("./core_entity_access_pass_management"), exports);
|
|
51
51
|
__exportStar(require("./core_user_role_exceptions"), exports);
|
|
52
|
-
__exportStar(require("./core_education_board"), exports);
|
|
53
52
|
__exportStar(require("./core_entity_udise"), exports);
|
|
54
53
|
__exportStar(require("./core_board_exam_pattern"), exports);
|
|
55
54
|
__exportStar(require("./core_board_grade_system"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MErrorLoggerHelper } from "./error.helper";
|
|
2
2
|
import { statusCode } from "./type.hepler";
|
|
3
|
-
interface controllerResponse {
|
|
3
|
+
interface controllerResponse<T = any> {
|
|
4
4
|
success?: boolean;
|
|
5
5
|
error_code?: string;
|
|
6
6
|
message?: string;
|
|
7
|
-
data?:
|
|
7
|
+
data?: T;
|
|
8
8
|
code?: statusCode;
|
|
9
9
|
action?: string;
|
|
10
10
|
total?: number;
|