@kipicore/dbcore 1.1.119 → 1.1.121
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/dist/db/psql/migrations/20251205062200-add_ids_subjectHFee.js +4 -1
- package/dist/interfaces/appointmentHistoryInterface.d.ts +4 -0
- package/dist/interfaces/appointmentInterface.d.ts +4 -0
- package/dist/interfaces/examInterface.d.ts +1 -0
- package/dist/interfaces/fileUploadUserDetailsInterface.d.ts +27 -0
- package/dist/interfaces/fileUploadUserDetailsInterface.js +2 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/models/mongodb/appointmentHistoryModel.js +13 -1
- package/dist/models/mongodb/appointmentModel.js +13 -1
- package/dist/models/mongodb/examModel.js +5 -1
- package/dist/models/mongodb/fileUploadUserDetailsModel.d.ts +4 -0
- package/dist/models/mongodb/fileUploadUserDetailsModel.js +130 -0
- package/dist/models/mongodb/index.d.ts +1 -0
- package/dist/models/mongodb/index.js +3 -1
- package/dist/types/fileUploadUserDetailsType.d.ts +2 -0
- package/dist/types/fileUploadUserDetailsType.js +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
const up = async (queryInterface, Sequelize) => {
|
|
3
3
|
const table = await queryInterface.describeTable('subject_has_fee');
|
|
4
4
|
if (!table.batch_id) {
|
|
5
5
|
await queryInterface.addColumn('subject_has_fee', 'batch_id', {
|
|
6
6
|
type: Sequelize.UUID,
|
|
7
|
+
defaultValue: null,
|
|
7
8
|
allowNull: true,
|
|
8
9
|
field: 'batch_id',
|
|
9
10
|
});
|
|
@@ -11,6 +12,7 @@ const up = async (queryInterface, Sequelize) => {
|
|
|
11
12
|
if (!table.batch_type) {
|
|
12
13
|
await queryInterface.addColumn('subject_has_fee', 'batch_type', {
|
|
13
14
|
type: Sequelize.UUID,
|
|
15
|
+
defaultValue: null,
|
|
14
16
|
allowNull: true,
|
|
15
17
|
field: 'batch_type',
|
|
16
18
|
});
|
|
@@ -18,6 +20,7 @@ const up = async (queryInterface, Sequelize) => {
|
|
|
18
20
|
if (!table.academic_calender_id) {
|
|
19
21
|
await queryInterface.addColumn('subject_has_fee', 'academic_calender_id', {
|
|
20
22
|
type: Sequelize.UUID,
|
|
23
|
+
defaultValue: null,
|
|
21
24
|
allowNull: true,
|
|
22
25
|
field: 'academic_calender_id',
|
|
23
26
|
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Document } from 'mongoose';
|
|
2
|
+
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
+
export interface IFileUploadUserDetailsModelAttributes extends IDefaultAttributes, Document {
|
|
4
|
+
id: string;
|
|
5
|
+
instituteId?: string;
|
|
6
|
+
academicCalendarId?: string;
|
|
7
|
+
uuid?: string;
|
|
8
|
+
firstName: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
middleName?: string;
|
|
11
|
+
email: string;
|
|
12
|
+
mobile?: string;
|
|
13
|
+
gender?: string;
|
|
14
|
+
dob?: Date;
|
|
15
|
+
motherName?: string;
|
|
16
|
+
fatherName?: string;
|
|
17
|
+
religion: string;
|
|
18
|
+
socialCat: string;
|
|
19
|
+
rte: string;
|
|
20
|
+
doa: Date;
|
|
21
|
+
grNo: string;
|
|
22
|
+
std: string;
|
|
23
|
+
division: string;
|
|
24
|
+
disability: string;
|
|
25
|
+
degreeOfDisability: string;
|
|
26
|
+
academicYear?: Date;
|
|
27
|
+
}
|
package/dist/interfaces/index.js
CHANGED
|
@@ -171,3 +171,4 @@ __exportStar(require("./competitionInterface"), exports);
|
|
|
171
171
|
__exportStar(require("./competitionGroupInterface"), exports);
|
|
172
172
|
__exportStar(require("./competitionUsersInterface"), exports);
|
|
173
173
|
__exportStar(require("./cloneListInterface"), exports);
|
|
174
|
+
__exportStar(require("./fileUploadUserDetailsInterface"), exports);
|
|
@@ -94,7 +94,19 @@ const appointmentHistorySchema = new mongoose_1.Schema({
|
|
|
94
94
|
mobile: {
|
|
95
95
|
type: String,
|
|
96
96
|
trim: true,
|
|
97
|
-
}
|
|
97
|
+
},
|
|
98
|
+
scheduledAt: {
|
|
99
|
+
type: Date,
|
|
100
|
+
},
|
|
101
|
+
reScheduledAt: {
|
|
102
|
+
type: Date,
|
|
103
|
+
},
|
|
104
|
+
scheduledDate: {
|
|
105
|
+
type: Date,
|
|
106
|
+
},
|
|
107
|
+
reScheduledDate: {
|
|
108
|
+
type: Date,
|
|
109
|
+
},
|
|
98
110
|
}, {
|
|
99
111
|
timestamps: true,
|
|
100
112
|
versionKey: false,
|
|
@@ -95,7 +95,19 @@ const appointmentSchema = new mongoose_1.Schema({
|
|
|
95
95
|
mobile: {
|
|
96
96
|
type: String,
|
|
97
97
|
trim: true,
|
|
98
|
-
}
|
|
98
|
+
},
|
|
99
|
+
scheduledAt: {
|
|
100
|
+
type: Date,
|
|
101
|
+
},
|
|
102
|
+
reScheduledAt: {
|
|
103
|
+
type: Date,
|
|
104
|
+
},
|
|
105
|
+
scheduledDate: {
|
|
106
|
+
type: Date,
|
|
107
|
+
},
|
|
108
|
+
reScheduledDate: {
|
|
109
|
+
type: Date,
|
|
110
|
+
},
|
|
99
111
|
}, {
|
|
100
112
|
timestamps: true,
|
|
101
113
|
versionKey: false,
|
|
@@ -124,6 +124,10 @@ const examModelSchema = new mongoose_1.Schema({
|
|
|
124
124
|
type: Number,
|
|
125
125
|
required: false,
|
|
126
126
|
},
|
|
127
|
+
syllabus: {
|
|
128
|
+
type: String,
|
|
129
|
+
required: false,
|
|
130
|
+
},
|
|
127
131
|
instituteId: {
|
|
128
132
|
type: String,
|
|
129
133
|
required: false,
|
|
@@ -168,7 +172,7 @@ const examModelSchema = new mongoose_1.Schema({
|
|
|
168
172
|
},
|
|
169
173
|
publishDate: {
|
|
170
174
|
type: Date,
|
|
171
|
-
required: false
|
|
175
|
+
required: false,
|
|
172
176
|
},
|
|
173
177
|
createdBy: {
|
|
174
178
|
type: String,
|
|
@@ -0,0 +1,130 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const mongoose_1 = __importStar(require("mongoose"));
|
|
37
|
+
const userDetailsFromFile = new mongoose_1.Schema({
|
|
38
|
+
instituteId: {
|
|
39
|
+
type: String,
|
|
40
|
+
required: false,
|
|
41
|
+
},
|
|
42
|
+
academicCalendarId: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: false,
|
|
45
|
+
},
|
|
46
|
+
uuid: {
|
|
47
|
+
type: String,
|
|
48
|
+
required: false,
|
|
49
|
+
},
|
|
50
|
+
firstName: {
|
|
51
|
+
type: String,
|
|
52
|
+
required: false,
|
|
53
|
+
},
|
|
54
|
+
lastName: {
|
|
55
|
+
type: String,
|
|
56
|
+
required: false,
|
|
57
|
+
},
|
|
58
|
+
middleName: {
|
|
59
|
+
type: String,
|
|
60
|
+
required: false,
|
|
61
|
+
},
|
|
62
|
+
email: {
|
|
63
|
+
type: String,
|
|
64
|
+
required: false,
|
|
65
|
+
},
|
|
66
|
+
mobile: {
|
|
67
|
+
type: String,
|
|
68
|
+
required: false,
|
|
69
|
+
},
|
|
70
|
+
gender: {
|
|
71
|
+
type: String,
|
|
72
|
+
required: false,
|
|
73
|
+
},
|
|
74
|
+
dob: {
|
|
75
|
+
type: Date,
|
|
76
|
+
required: false,
|
|
77
|
+
},
|
|
78
|
+
motherName: {
|
|
79
|
+
type: String,
|
|
80
|
+
required: false,
|
|
81
|
+
},
|
|
82
|
+
fatherName: {
|
|
83
|
+
type: String,
|
|
84
|
+
required: false,
|
|
85
|
+
},
|
|
86
|
+
religion: {
|
|
87
|
+
type: String,
|
|
88
|
+
required: false,
|
|
89
|
+
},
|
|
90
|
+
socialCat: {
|
|
91
|
+
type: String,
|
|
92
|
+
required: false,
|
|
93
|
+
},
|
|
94
|
+
rte: {
|
|
95
|
+
type: String,
|
|
96
|
+
required: false,
|
|
97
|
+
},
|
|
98
|
+
doa: {
|
|
99
|
+
type: Date,
|
|
100
|
+
required: false,
|
|
101
|
+
},
|
|
102
|
+
grNo: {
|
|
103
|
+
type: String,
|
|
104
|
+
required: false,
|
|
105
|
+
},
|
|
106
|
+
std: {
|
|
107
|
+
type: String,
|
|
108
|
+
required: false,
|
|
109
|
+
},
|
|
110
|
+
division: {
|
|
111
|
+
type: String,
|
|
112
|
+
required: false,
|
|
113
|
+
},
|
|
114
|
+
disability: {
|
|
115
|
+
type: String,
|
|
116
|
+
required: false,
|
|
117
|
+
},
|
|
118
|
+
degreeOfDisability: {
|
|
119
|
+
type: String,
|
|
120
|
+
required: false,
|
|
121
|
+
},
|
|
122
|
+
academicYear: {
|
|
123
|
+
type: Date
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
timestamps: true,
|
|
127
|
+
versionKey: false,
|
|
128
|
+
});
|
|
129
|
+
const FileUploadUserDetails = mongoose_1.default.model('upload_user_details', userDetailsFromFile);
|
|
130
|
+
exports.default = FileUploadUserDetails;
|
|
@@ -45,3 +45,4 @@ export { default as CompetitionEventModel } from './competitionEventModel';
|
|
|
45
45
|
export { default as CompetitionModel } from './competitionModel';
|
|
46
46
|
export { default as CompetitionGroupModel } from './competitionGroupModel';
|
|
47
47
|
export { default as CompetitionUsersModel } from './competitionUsersModel';
|
|
48
|
+
export { default as FileUploadUserDetails } from './fileUploadUserDetailsModel';
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CompetitionUsersModel = exports.CompetitionGroupModel = exports.CompetitionModel = exports.CompetitionEventModel = exports.AppointmentHistoryModel = exports.AppointmentModel = exports.SeatingArrangementModel = exports.AssignFileModel = exports.ThemeModel = exports.BDayWishModel = exports.AdditionalDetailModel = exports.CanteenModel = exports.WalletTransactionModel = exports.VideoAnalystModel = exports.UserSchoolMetaModel = exports.UserInstituteMetaModel = exports.UserDetailsModel = exports.UniqueNumberCounterModel = exports.TaskManagementModel = exports.SubscriptionPlanModel = exports.SubjectIndexModel = exports.SchoolFeeModel = exports.ReplaceTeacherModel = exports.PlannerModel = exports.PhotosGalleryModel = exports.JobApplyModel = exports.InvoiceModel = exports.InquiryModel = exports.InformationSupportModel = exports.HolidayModel = exports.GenerateIdCardModel = exports.FeedBackModel = exports.FeeReminderTypeModel = exports.ExamModel = exports.ExamHasAnswerSheetModel = exports.ExamGroupModel = exports.EventModel = exports.DashboardManagementModel = exports.DailyBookModel = exports.ColumnModel = exports.CertificatesManagementModel = exports.CertificatesHistoryModel = exports.CareerModel = exports.BlogModel = exports.AttendanceModel = exports.ApprovalRequestModel = exports.connectMongoDb = void 0;
|
|
6
|
+
exports.FileUploadUserDetails = exports.CompetitionUsersModel = exports.CompetitionGroupModel = exports.CompetitionModel = exports.CompetitionEventModel = exports.AppointmentHistoryModel = exports.AppointmentModel = exports.SeatingArrangementModel = exports.AssignFileModel = exports.ThemeModel = exports.BDayWishModel = exports.AdditionalDetailModel = exports.CanteenModel = exports.WalletTransactionModel = exports.VideoAnalystModel = exports.UserSchoolMetaModel = exports.UserInstituteMetaModel = exports.UserDetailsModel = exports.UniqueNumberCounterModel = exports.TaskManagementModel = exports.SubscriptionPlanModel = exports.SubjectIndexModel = exports.SchoolFeeModel = exports.ReplaceTeacherModel = exports.PlannerModel = exports.PhotosGalleryModel = exports.JobApplyModel = exports.InvoiceModel = exports.InquiryModel = exports.InformationSupportModel = exports.HolidayModel = exports.GenerateIdCardModel = exports.FeedBackModel = exports.FeeReminderTypeModel = exports.ExamModel = exports.ExamHasAnswerSheetModel = exports.ExamGroupModel = exports.EventModel = exports.DashboardManagementModel = exports.DailyBookModel = exports.ColumnModel = exports.CertificatesManagementModel = exports.CertificatesHistoryModel = exports.CareerModel = exports.BlogModel = exports.AttendanceModel = exports.ApprovalRequestModel = exports.connectMongoDb = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const env_1 = require("../../configs/env");
|
|
9
9
|
const transformIdInQueryPlugin_1 = __importDefault(require("./plugin/transformIdInQueryPlugin"));
|
|
@@ -115,3 +115,5 @@ var competitionGroupModel_1 = require("./competitionGroupModel");
|
|
|
115
115
|
Object.defineProperty(exports, "CompetitionGroupModel", { enumerable: true, get: function () { return __importDefault(competitionGroupModel_1).default; } });
|
|
116
116
|
var competitionUsersModel_1 = require("./competitionUsersModel");
|
|
117
117
|
Object.defineProperty(exports, "CompetitionUsersModel", { enumerable: true, get: function () { return __importDefault(competitionUsersModel_1).default; } });
|
|
118
|
+
var fileUploadUserDetailsModel_1 = require("./fileUploadUserDetailsModel");
|
|
119
|
+
Object.defineProperty(exports, "FileUploadUserDetails", { enumerable: true, get: function () { return __importDefault(fileUploadUserDetailsModel_1).default; } });
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -162,3 +162,4 @@ __exportStar(require("./competitionType"), exports);
|
|
|
162
162
|
__exportStar(require("./competitionGroupType"), exports);
|
|
163
163
|
__exportStar(require("./competitionUsersType"), exports);
|
|
164
164
|
__exportStar(require("./cloneListType"), exports);
|
|
165
|
+
__exportStar(require("./fileUploadUserDetailsType"), exports);
|
package/package.json
CHANGED