cloud-ide-model-schema 1.1.73 → 1.1.74
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/schema/core/core_academic_year.d.ts +8 -0
- package/lib/schema/core/core_academic_year.js +47 -0
- package/lib/schema/core/core_academic_year_mapping.d.ts +8 -0
- package/lib/schema/core/core_academic_year_mapping.js +25 -0
- package/lib/schema/core/core_financial_year.d.ts +8 -0
- package/lib/schema/core/core_financial_year.js +47 -0
- package/lib/schema/core/core_financial_year_mapping.d.ts +8 -0
- package/lib/schema/core/core_financial_year_mapping.js +25 -0
- package/lib/schema/core/core_user_documents.d.ts +8 -0
- package/lib/schema/core/core_user_documents.js +53 -0
- package/lib/schema/core/core_user_family_details.d.ts +8 -0
- package/lib/schema/core/core_user_family_details.js +45 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoreAcademicYear } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreAcademicYear: mongoose.Model<CoreAcademicYear, {}, {}, {}, mongoose.Document<unknown, {}, CoreAcademicYear, {}> & CoreAcademicYear & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreAcademicYear };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreAcademicYear = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_academic_year = new mongoose_1.Schema({
|
|
7
|
+
syacayr_code: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "",
|
|
10
|
+
maxlength: 30,
|
|
11
|
+
trim: true
|
|
12
|
+
},
|
|
13
|
+
syacayr_name: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "",
|
|
16
|
+
maxlength: 50,
|
|
17
|
+
trim: true
|
|
18
|
+
},
|
|
19
|
+
syacayr_description: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "",
|
|
22
|
+
maxlength: 250,
|
|
23
|
+
trim: true
|
|
24
|
+
},
|
|
25
|
+
syacayr_from_date: {
|
|
26
|
+
type: Date,
|
|
27
|
+
default: null
|
|
28
|
+
},
|
|
29
|
+
syacayr_to_date: {
|
|
30
|
+
type: Date,
|
|
31
|
+
default: null
|
|
32
|
+
},
|
|
33
|
+
syacayr_isactive: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true
|
|
36
|
+
},
|
|
37
|
+
syacayr_iscurrent: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
},
|
|
41
|
+
syacayr_islocked: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: false
|
|
44
|
+
}
|
|
45
|
+
}, { collection: 'core_academic_year' });
|
|
46
|
+
var CCoreAcademicYear = mongoose_1.default.model("core_academic_year", core_academic_year);
|
|
47
|
+
exports.CCoreAcademicYear = CCoreAcademicYear;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoreAcademicYearMapping } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreAcademicYearMapping: mongoose.Model<CoreAcademicYearMapping, {}, {}, {}, mongoose.Document<unknown, {}, CoreAcademicYearMapping, {}> & CoreAcademicYearMapping & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreAcademicYearMapping };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreAcademicYearMapping = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_academic_year_mapping = new mongoose_1.Schema({
|
|
7
|
+
syacmp_islocked: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: false
|
|
10
|
+
},
|
|
11
|
+
syacmp_iscurrent: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: false
|
|
14
|
+
},
|
|
15
|
+
syacmp_academic_year_id_syacayr: {
|
|
16
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
+
ref: 'core_academic_year'
|
|
18
|
+
},
|
|
19
|
+
syacmp_entity_id_syen: {
|
|
20
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
21
|
+
ref: 'core_system_entity'
|
|
22
|
+
}
|
|
23
|
+
}, { collection: 'core_academic_year_mapping' });
|
|
24
|
+
var CCoreAcademicYearMapping = mongoose_1.default.model("core_academic_year_mapping", core_academic_year_mapping);
|
|
25
|
+
exports.CCoreAcademicYearMapping = CCoreAcademicYearMapping;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoreFinancialYear } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreFinancialYear: mongoose.Model<CoreFinancialYear, {}, {}, {}, mongoose.Document<unknown, {}, CoreFinancialYear, {}> & CoreFinancialYear & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreFinancialYear };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreFinancialYear = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_financial_year = new mongoose_1.Schema({
|
|
7
|
+
syfinyr_code: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "",
|
|
10
|
+
maxlength: 30,
|
|
11
|
+
trim: true
|
|
12
|
+
},
|
|
13
|
+
syfinyr_name: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "",
|
|
16
|
+
maxlength: 50,
|
|
17
|
+
trim: true
|
|
18
|
+
},
|
|
19
|
+
syfinyr_description: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "",
|
|
22
|
+
maxlength: 250,
|
|
23
|
+
trim: true
|
|
24
|
+
},
|
|
25
|
+
syfinyr_from_date: {
|
|
26
|
+
type: Date,
|
|
27
|
+
default: null
|
|
28
|
+
},
|
|
29
|
+
syfinyr_to_date: {
|
|
30
|
+
type: Date,
|
|
31
|
+
default: null
|
|
32
|
+
},
|
|
33
|
+
syfinyr_isactive: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true
|
|
36
|
+
},
|
|
37
|
+
syfinyr_iscurrent: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
},
|
|
41
|
+
syfinyr_islocked: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: false
|
|
44
|
+
}
|
|
45
|
+
}, { collection: 'core_financial_year' });
|
|
46
|
+
var CCoreFinancialYear = mongoose_1.default.model("core_financial_year", core_financial_year);
|
|
47
|
+
exports.CCoreFinancialYear = CCoreFinancialYear;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoreFinancialYearMapping } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreFinancialYearMapping: mongoose.Model<CoreFinancialYearMapping, {}, {}, {}, mongoose.Document<unknown, {}, CoreFinancialYearMapping, {}> & CoreFinancialYearMapping & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreFinancialYearMapping };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreFinancialYearMapping = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_financial_year_mapping = new mongoose_1.Schema({
|
|
7
|
+
syfinmp_islocked: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
default: false
|
|
10
|
+
},
|
|
11
|
+
syfinmp_iscurrent: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: false
|
|
14
|
+
},
|
|
15
|
+
syfinmp_financial_year_id_syfinyr: {
|
|
16
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
+
ref: 'core_financial_year'
|
|
18
|
+
},
|
|
19
|
+
syfinmp_entity_id_syen: {
|
|
20
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
21
|
+
ref: 'core_system_entity'
|
|
22
|
+
}
|
|
23
|
+
}, { collection: 'core_financial_year_mapping' });
|
|
24
|
+
var CCoreFinancialYearMapping = mongoose_1.default.model("core_financial_year_mapping", core_financial_year_mapping);
|
|
25
|
+
exports.CCoreFinancialYearMapping = CCoreFinancialYearMapping;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoreUserDocuments } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreUserDocuments: mongoose.Model<CoreUserDocuments, {}, {}, {}, mongoose.Document<unknown, {}, CoreUserDocuments, {}> & CoreUserDocuments & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreUserDocuments };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreUserDocuments = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_user_documents = new mongoose_1.Schema({
|
|
7
|
+
syusd_user_id_user: {
|
|
8
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
9
|
+
ref: 'auth_user_mst'
|
|
10
|
+
},
|
|
11
|
+
syusd_doc_number: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "",
|
|
14
|
+
maxlength: 50,
|
|
15
|
+
trim: true
|
|
16
|
+
},
|
|
17
|
+
syusd_doc_name_as_per_doc: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "",
|
|
20
|
+
maxlength: 150,
|
|
21
|
+
trim: true
|
|
22
|
+
},
|
|
23
|
+
syusd_doc_issue_date: {
|
|
24
|
+
type: Date,
|
|
25
|
+
default: null
|
|
26
|
+
},
|
|
27
|
+
syusd_doc_expiry_date: {
|
|
28
|
+
type: Date,
|
|
29
|
+
default: null
|
|
30
|
+
},
|
|
31
|
+
syusd_isactive: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: true
|
|
34
|
+
},
|
|
35
|
+
syusd_document_type_id_sygms: {
|
|
36
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
37
|
+
ref: 'core_general_master'
|
|
38
|
+
},
|
|
39
|
+
syusd_photo_group_id_cyfm: {
|
|
40
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
41
|
+
ref: 'core_file_manager'
|
|
42
|
+
},
|
|
43
|
+
syusd_doc_verification_status_id_sygms: {
|
|
44
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
45
|
+
ref: 'core_general_master'
|
|
46
|
+
},
|
|
47
|
+
syusd_doc_kyc_status_id_sygms: {
|
|
48
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
49
|
+
ref: 'core_general_master'
|
|
50
|
+
}
|
|
51
|
+
}, { collection: 'core_user_documents' });
|
|
52
|
+
var CCoreUserDocuments = mongoose_1.default.model("core_user_documents", core_user_documents);
|
|
53
|
+
exports.CCoreUserDocuments = CCoreUserDocuments;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoreUserFamilyDetails } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreUserFamilyDetails: mongoose.Model<CoreUserFamilyDetails, {}, {}, {}, mongoose.Document<unknown, {}, CoreUserFamilyDetails, {}> & CoreUserFamilyDetails & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreUserFamilyDetails };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreUserFamilyDetails = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_user_family_details = new mongoose_1.Schema({
|
|
7
|
+
syfdl_user_id_user: {
|
|
8
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
9
|
+
ref: 'auth_user_mst'
|
|
10
|
+
},
|
|
11
|
+
syfdl_family_member_name: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "",
|
|
14
|
+
maxlength: 150,
|
|
15
|
+
trim: true
|
|
16
|
+
},
|
|
17
|
+
syfdl_family_member_dob: {
|
|
18
|
+
type: Date,
|
|
19
|
+
default: null
|
|
20
|
+
},
|
|
21
|
+
syfdl_contact_email_id: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "",
|
|
24
|
+
maxlength: 50,
|
|
25
|
+
trim: true
|
|
26
|
+
},
|
|
27
|
+
syfdl_contact_number: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: null
|
|
30
|
+
},
|
|
31
|
+
syfdl_family_member_id_user: {
|
|
32
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
33
|
+
ref: 'auth_user_mst'
|
|
34
|
+
},
|
|
35
|
+
syfdl_relationship_id_sygms: {
|
|
36
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
37
|
+
ref: 'core_general_master'
|
|
38
|
+
},
|
|
39
|
+
syfdl_blood_group_sygms: {
|
|
40
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
41
|
+
ref: 'core_general_master'
|
|
42
|
+
}
|
|
43
|
+
}, { collection: 'core_user_family_details' });
|
|
44
|
+
var CCoreUserFamilyDetails = mongoose_1.default.model("core_user_family_details", core_user_family_details);
|
|
45
|
+
exports.CCoreUserFamilyDetails = CCoreUserFamilyDetails;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"cloud-ide-lms-model": "^1.0.
|
|
3
|
+
"cloud-ide-lms-model": "^1.0.240",
|
|
4
4
|
"dotenv": "^16.5.0",
|
|
5
5
|
"mongoose": "^8.15.0"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript": "^5.8.3"
|
|
10
10
|
},
|
|
11
11
|
"name": "cloud-ide-model-schema",
|
|
12
|
-
"version": "1.1.
|
|
12
|
+
"version": "1.1.74",
|
|
13
13
|
"description": "Pachage for schema management of Cloud IDEsys LMS",
|
|
14
14
|
"main": "lib/index.js",
|
|
15
15
|
"types": "lib/index.d.ts",
|