@kipicore/dbcore 1.1.10 → 1.1.11
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/mongodb.d.ts +2 -1
- package/dist/db/mongodb.js +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/db/mongodb.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const connectMongo: () => Promise<void>;
|
|
2
|
+
export default connectMongo;
|
package/dist/db/mongodb.js
CHANGED
|
@@ -3,7 +3,6 @@ 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.connectMongo = void 0;
|
|
7
6
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
7
|
const { MONGO_URI } = process.env;
|
|
9
8
|
if (!MONGO_URI) {
|
|
@@ -21,4 +20,4 @@ const connectMongo = async () => {
|
|
|
21
20
|
throw err;
|
|
22
21
|
}
|
|
23
22
|
};
|
|
24
|
-
exports.
|
|
23
|
+
exports.default = connectMongo;
|
package/dist/index.d.ts
CHANGED
|
@@ -415,5 +415,5 @@ import WalletModel from './models/psql/walletModel';
|
|
|
415
415
|
import WorkingDayModel from './models/psql/workingDayModel';
|
|
416
416
|
import WorkingShiftModel from './models/psql/workingShiftModel';
|
|
417
417
|
import { sequelize, db, Sequelize } from './models/psql';
|
|
418
|
-
import
|
|
418
|
+
import connectMongo from './db/mongodb';
|
|
419
419
|
export { IAcademicCalendarModelAttributes, IAccountHasReceiptDetailsInterfaceModelAttributes, IAnnouncementModelAttributes, IApproveRequestModelAttributes, IAreaModelAttributes, IAttendanceUser, IAttendanceModelAttributes, IBankAccountDetailsInterfaceModelAttributes, IBannerModelAttributes, IBatchModelAttributes, IBatchSubjectBookAssessmentModelAttributes, IBatchSubjectProjectAssessmentModelAttributes, ICommentSchema, ILikeSchema, IShareListSchema, ISubTopicSchema, IBlogModelAttributes, IBookAssessmentDateModelAttributes, ICareerModelAttributes, ICategoriesModelAttributes, ICertificatesHistoryAttributes, ICertificatesManagementAttributes, ICityAttributes, IClassRoomModelAttributes, ICloudStorageModelAttributes, ICoinPurchaseOfferModelAttributes, IRowSchema, IColumnModelAttributes, IDefaultAttributes, IEmailOptions, ICommanDao, ICountDao, IDeleteDao, IFindAllDao, IFindOneDao, IUpsertDao, ICommanMongoDao, IContactFeedBackAttributes, ICountryAttributes, ICourseHasVisitorsModelAttributes, ICourseModelAttributes, IDailyBookModelAttributes, IModuleList, IDashboardManagementAttributes, IDriverModelAttributes, IEntityGroupModelAttributes, IEventHasBatch, IEventModelAttributes, IExamGroupDaysAttributes, IExamGroupStandardByDaysAttributes, IExamGroupModelAttributes, IAnswerSheetQuestion, IExamHasAnswerSheetModelAttributes, IExamHasBatch, IExamModelAttributes, IFacilityAttributes, IFeatureActionAttributes, IFeeHistoryDetailsModelAttributes, IFeeHistoryModelAttributes, IFeeReminderModelAttributes, IFeeReminderSettingModelAttributes, IFeeReminderTypeModelAttributes, IFeeTypeHasTermsModelAttributes, IFeeTypeModelAttributes, IConversation, IFeedBackModelAttributes, IFeesCollectionModelAttributes, IFileStorageAttributes, IFloorManagementModelAttributes, IGenarateIdCardModelAttributes, IGreetingsModelAttributes, IHolidayHasBatch, IHolidayModelAttributes, IHomeWorkModelAttributes, IDescription, IInformationSupportModelAttributes, IBasicInformation, IAcademicInformation, ILastSchool, IGuardianInformation, IInquiryModelAttributes, IInstituteEntityAttributes, IInstituteEntityTypeAttributes, IInstituteAttributes, IInstituteSubscriptionPlanModelAttributes, IInventoryHistoryModelAttributes, IInventoryModelAttributes, IPurchaseSchema, IFileStorageItemsSchema, IInvoiceModelAttributes, IQualifications, IExperience, IDocuments, IJobApplyAttributes, ILectureHistoryModelAttributes, ILectureModelAttributes, IMasterLeaveModelAttributes, IModuleFeatureAttributes, IModuleAttributes, IOffersModelAttributes, IPaymentTermsModelAttributes, IPdcChequeModelAttributes, IPdcHistoryModelAttributes, IGalleryFile, IGalleryAlbumAttributes, IPincodeAttributes, IPlannerLectureContentAttributes, IPlannerLectureAttributes, IPlannerTimeSlotAttributes, IPlannerModelAttributes, IProductModelAttributes, IProjectAssessmentOptionModelAttributes, IReplaceTeacherBatchesSchema, IReplaceTeacherModelAttributes, IRoleAttributes, ICreateRolePermissions, IRulesRegulationAttributes, ISchoolFeesCollectionModelAttributes, ITermsSchema, IFeeSchema, ISchoolFeeModelAttributes, ISchoolOffersModelAttributes, INotificationModelAttributes, INotification, ISlotModelAttributes, IStateAttributes, ISubCategoriesModelAttributes, ISubjectHasFeeModelAttributes, ISubjectHasPayFeeHistoryModelAttributes, IChapterFileAttributes, IChapterIndexAttributes, IAssignedUsersAttributes, ISubjectIndexModelAttributes, ISubscriptionPlanFiles, ISubscriptionPlanModelAttributes, ISyllabusModelAttributes, ITaskConversationsAttributes, ITaskManagementModelAttributes, ITestimonialModelAttributes, IToDoModelAttributes, ITokenAttributes, ITokenDao, ITokenService, ITripModelAttributes, ITypeManagementModelAttributes, IUniqueNumberCounterModelAttributes, IUserBookAssessmentModelAttributes, IUserHasFiles, IUserHasQualification, IUserSchoolInfo, IExperienceSchema, ILastSchoolSchema, IAddressSchema, IEmergencyContactSchema, IWorkingDetailsSchema, IUserDetailsAttributes, collectionHasUserFeeType, IUserFeeTypeByAccountModelAttributes, IUserFeeTypeModelAttributes, IUserHasAnnouncementModelAttributes, IUserHasBatchModelAttributes, IUserHasCourseModelAttributes, IUserHasDeviceModelAttributes, IUserHasFeeTermsModelAttributes, IUserPayFeeAttributes, IUserHasFileModelAttributes, IUserHasHomeWorkModelAttributes, IUserHasInventoryHistoryModelAttributes, IUserHasInventoryModelAttributes, IUserHasLeaveHistoryModelAttributes, IUserHasLeaveModelAttributes, IUserHasOfferModelAttributes, IUserHasParentAttributes, IUserHasRoleAttributes, IUserHasRollNumberModelAttributes, IUserHasStorageModelAttributes, IUserHasSubjectFeeModelAttributes, IUserInstituteMetaSlots, IUserInstituteMetaAttributes, IUserAttributes, IUserLeaveRequestModelAttributes, IUserMetaAttributes, IUserPayoutDetailsModelAttributes, IUserPayoutHistoryModelAttributes, IUserPayoutModelAttributes, IUserProjectAssessmentOptionModelAttributes, IUserRequiredStepsAttributes, ITrustInformation, ICorrespondentInformation, ITrustiesInformation, IBuildingInformation, IHscSscSchema, ICoInfrastructureSchema, ISchoolInformation, IUserSchoolMetaModelAttributes, IVehicleModelAttributes, IVendorModelAttributes, IVideoAnalystModelAttributes, IWalletHistoryModelAttributes, IWalletModelAttributes, IWalletTransactionUsers, IWalletTransactionModelAttributes, IWorkingDayAttributes, IWorkingShiftAttributes, uploadFileToS3, getPresignedUrl, pick, isValidMongoDbId, omit, ensureDirectoryExists, generateOtp, generateAlphaNumericCode, generateTempPassword, getUniqueArrayByFields, keyByFieldOrFields, groupByFieldOrFields, isTimeWithinRange, isDateWithinRange, startOfDay, generateUuidToNumber, endOfDay, groupByFields, sortArray, getChildrenByParentId, getParentsByChildrenId, buildNestedStructure, flattenNestedStructure, removeFalsyValues, isValidUUID, parseOrderOptions, capitalizeFirst, normalizeToArray, fromSnakeCaseToNormalText, slugify, assignNonNull, isUserSchoolInfoUpdate, chunkArray, extractFromObject, enumAlternatives, objectIdAlternatives, uuidIdAlternatives, customPagination, generateHmacSHA256, verifyHmacSHA256, generateVoucherCode, getCityAreas, getNextLetter, MongooseCommonService, SequelizeCommonService, IMongooseCommonService, ISequelizeCommonService, TAcademicCalendarModelCreationAttributes, TUpdateAcademicCalenderStatusParams, TAccountHasReceiptDetailsModelCreationAttributes, TAccountHasReceiptDetailAttributesWithAssociations, TAnnouncementModelCreationAttributes, TAnnouncementCreateParams, TApproveRequestCreationAttributes, TAeraModelCreationAttributes, TAttendanceCreationAttributes, TBankAccountDetailsModelCreationAttributes, TBannerModelCreationAttributes, TBannerAttributesWithAssociations, TBatchSubjectBookAssessmentModelCreationAttributes, TBatchSubjectBookAssessmentAttributesWithAssociations, TBatchSubjectProjectAssessmentModelCreationAttributes, TBatchSubjectProjectAssessmentAttributesWithAssociations, TBatchModelCreationAttributes, TBatchWithAssociationsAttributes, TBlogModelCreationAttributes, TBookAssessmentDateModelCreationAttributes, TBookAssessmentDateAttributesWithAssociations, TCareerModelCreationAttributes, TCategoriesModelCreationAttributes, TCertificatesHistoryModelCreationAttributes, TCertificatesManagementModelCreationAttributes, TClassRoomModelCreationAttributes, TCloudStorageModelCreationAttributes, TCoinPurchaseOfferModelCreationAttributes, TPaginationOptions, TContactFeedBackModelCreationAttributes, TCourseHasVisitorsModelCreationAttributes, TCourseModelCreationAttributes, TDailyBookModelCreationAttributes, TDashboardManagementModelCreationAttributes, TDriverModelCreationAttributes, TDriverWithAssociation, TEntityGroupModelCreationAttributes, TEventModelCreationAttributes, TExamGroupCreationAttributes, TUpdateExamGroupDataParams, TExamHasAnswerSheetModelCreationAttributes, TExamModelCreationAttributes, TExamAttributesWithAssociations, TFacilityCreationAttributes, TFeatureActionCreationAttributes, TFeeHistoryDetailsModelCreationAttributes, TFeeHistoryDetailsWithAssociation, TFeeHistoryModelCreationAttributes, TFeeHistoryAttributesWithAssociations, TFeeReminderSettingModelCreationAttributes, TFeeReminderModelCreationAttributes, TFeeReminderTypeModelCreationAttributes, TFeeTypeHasTermsModelCreationAttributes, TFeeTypeModelCreationAttributes, TFeedBackModelCreationAttributes, TFeesCollectionModelCreationAttributes, TFileStorageModelCreationAttributes, TFloorManagementCreationAttributs, TGenarateIdCardModelAttributes, TGreetingsModelCreationAttributes, TGreetingAttributesWithAssociations, THolidayModelCreationAttributes, THomeWorkModelCreationAttributes, TInformationSupportModelCreationAttributes, TInquiryModelCreationAttributes, TInstituteEntityCreationAttributes, TInstituteEntityWithAssociation, TInstituteEntityTypeCreationAttributes, TInstituteSubscriptionPlanModelCreationAttributes, TInstituteCreationAttributes, TInventoryHistoryModelCreationAttributes, TInventoryModelCreationAttributes, TJobApplyCreationAttributes, TLectureHistoryModelCreationAttributes, TLectureHistoryWithAssociation, TLectureModelCreationAttributes, TLectureWithAssociation, TMasterLeaveModelCreationAttributes, TModuleFeatureCreationAttributes, TModuleCreationAttributes, TOfferModelCreationAttributes, TPaymentTermsModelCreationAttributes, TPdcChequeModelCreationAttributes, TPdcChequeWithAssociation, TPdcHistoryModelCreationAttributes, TPhotosGalleryModelCreationAttributes, TPlannerCreationAttributes, TUpdatePlannerDataParams, TProductsModelCreationAttributes, TProjectAssessmentOptionModelCreationAttributes, TProjectAssessmentOptionAttributesWithAssociations, TRoleCreationAttributes, TRolePermission, TRulesRegulationCreationAttributes, TSchoolFeeCollectionModelCreationAttributes, TSchoolFeeModelCreationAttributes, TSchoolOfferModelCreationAttributes, TNotificationModelCreationAttributes, TSlotModelCreationAttributes, TSubCategoriesModelCreationAttributes, TSubjectHasFeeModelCreationAttributes, TSubjectHasPayFeeHistoryModelCreationAttributes, TSubjectIndexModelCreationAttributes, TSubjectIndexAttributesWithAssociations, TSubscriptionPlanCreationAttributes, TSyllabusCreationAttributes, TSyllabusAttributesWithAssociations, TTaskManagementCreationAttributes, TTestimonialModelCreationAttributes, TTestimonialAttributesWithAssociations, TToDoModelCreationAttributes, TToDoWithAssociation, TTripModelCreationAttributes, TTypeManagementModelCreationAttributes, TUniqueNumberCounterCreationAttributes, TUserBookAssessmentModelCreationAttributes, TUserBookAssessmentAttributesWithAssociations, TUserDetailsModelCreationAttributes, TUserFeeTypeByAccountModelCreationAttributes, TUserFeeTypeModelCreationAttributes, TUserFeeTypeModelCreationWithBankIdAttributes, TUserHasAnnouncementModelCreationAttributes, TUserHasBatchModelCreationAttributes, TUserHasBatchModelAttributesWithAssociations, TUserHasCourseModelCreationAttributes, TUserHasDeviceModelCreationAttributes, TUserHasFeeTermsModelCreationAttributes, TUserHasFileCreationAttributes, TUserHasHomeWorkAttributes, TUserHasInventoryHistoryModelCreationAttributes, TUserHasInventoryModelCreationAttributes, TUserHasLeaveHistoryModelCreationAttributes, TUserHasLeaveModelCreationAttributes, TUserHasOfferModelCreationAttributes, TUserHasParentCreationAttributes, TCreateParentUserType, TCreateParentType, TUserHasRoleCreationAttributes, TUserHasRollNumberModelCreationAttributes, TUserHasStorageModelCreationAttributes, TUserHasSubjectFeeModelCreationAttributes, TUserInstituteMetaCreationAttributes, TUserLeaveRequestModelCreationAttributes, TUserMetaCreationAttributes, TParentsUserMetaModelAttributes, TGuardiansUserMetaModelAttributes, TUserPayoutDetailsModelCreationAttributes, TUserPayoutHistoryModelCreationAttributes, TUserPayoutModelCreationAttributes, TUserPayoutWithDetails, TUserProjectAssessmentOptionModelCreationAttributes, TUserProjectAssessmentOptionAttributesWithAssociations, TUserRequiredStepsAttributes, TUserSchoolMetaModelCreationAttributes, TUserCreationAttributes, TUserParentAttributes, TGenerateTokenRes, TVehicleModelCreationAttributes, TVendorCreationAttributes, TVideoAnalystCreationAttributes, TWalletHistoryModelCreationAttributes, TWalletTransactionModelCreationAttributes, TWalletModelCreationAttributes, TWorkingDayCreationAttributes, TWorkingShiftCreationAttributes, s3, ENV_VARIABLE, SIXTY, ONE_HUNDRED, ONE_THOUSAND, USER_INSTITUTE_META_STATUS_REJECTED_COUNT, PAGINATION, DEFAULT_CLASS_ROOM_TITLE, DEFAULT_BATCH_TITLE, PAGINATION_ORDER, PAGINATION_UPDATE_ORDER, EMAIL_VERIFICATION, MOBILE_VERIFICATION, PDF_MICRO_SERVICE_END_POINT, USER_STATUS, INVENTORY_TYPE, USER_INVENTORY_ACTION, ATTENDANCE_STATUS, ATTENDANCE_TYPE, SCHOOL_TYPE, SCHOOL_SUB_TYPE, GENDER, ASSIGN_TYPE, RETURN_STATUS, ACADEMIC_CALENDARS_TYPE, USER_TYPES, TOKEN_TYPES, COMMAN_STATUS, USER_COURSE_STATUS, TRIP_TYPE, GREETING_TYPE, FEE_REMINDER_SETTING_STATUS, TERM_DURATION, FEE_REMINDER_SETTING_TYPE, FEE_REMINDER_SETTING_FREQUENCY, FEE_TYPE_FREQUENCY, PAYMENT_TYPE, FEE_PAYMENT_STATUS, INSTITUTE_STATUS, OFFER_TYPE, OFFER_NAME, LEAVE_TYPE, LEAVE, LEAVE_STATUS, WORKIN_DAY_STATUS, SCHOOL_SHIFT, INSTITUTE_ENTITY_STATUS, INSTITUTE_ENTITY_TYPE_STATUS, INSTITUTE_ENTITY_TYPE_SEQUENCE, ADMISSION_TYPE, NO_TYPE, USER_DETAILS, WORK_TYPE, BLOG_STATUS, WORK_CATEGORY, DISABILITY_TYPE, GUARDIANS_USER_META_MODEL_STATUS, USER_HAS_PARENT_STATUS, USER_INSTITUTE_META_STATUS, EMPLOYMENT_TYPE, FACILITY_TYPE, FEED_BACK_TYPE, FEED_BACK_STATUS, APP_TYPE, BANNER_TYPE, ACADEMIC_CALENDARS_STATUS, FILE_TYPE, TYPE_MANAGEMENT_TYPE, TYPE_MANAGEMENT_STATUS, APPROVE_REQUEST_TYPE, APPROVE_REQUEST_STATUS, ANNOUCEMENT_SCHEDULE_TYPE, TYPE_OF_USER, ANNOUCEMENT_STATUS, USER_HAS_ANNOUCEMENT_STATUS, GREETING_STATUS, EXAM_MODE, COURSE_STATUS, EXAM_STATUS, EXAM_ANSWER_SELECTION_TYPE, EXAM_VALID_ANSWER_TYPE, EXAM_ANSWER_SHEET_STATUS, EXAM_ANSWER_SHEET_RESULT_STATUS, EXAM_ANSWER_SHEET_RESULT_TYPE, PAYMENT_TERMS_STATUS, PAYMENT_TERMS_TYPE, EXAM_ANSWER_SHEET_QUESTION_RESULT, LECTURE_SLOT_DURATION, SUBJECT_INDEX_TYPE, EXAM_GROUP_STATUS, EXAM_GROUP_STANDARD_RESULT, INQUIRY_REFERRED_BY, INQUIRY_STATUS, IMAGE__NAME, CHAPTER_INDEX_TYPE, USER_CHAPTER_INDEX_STATUS, FEE_HISTORY_STATUS, CHAPTER_INDEX_FILE_TYPE, PARENTS_CHILDREN_CURRENT, USER_PAYOUT_TYPE, QDC_NAME, SVA_NAME, TRUST_TYPE, TRUST_REGISTERED_UNDER, DESIGNATION_OF_PERSON, PROPERTY_STATUS, BOOLEAN_STATUS, FEE_TYPE, IS_PRINCIPAL, CATEGORY, NATIONALITY, RELIGION_CASTE, CASTE, SCHOOL_INFORMATION_STEP, LECTURE_STATUS, LECTURE_TITLE, TO_DO_STATUS, SVG_URL_PATH, UPLOAD_PATH, DEFAULT_INSTITUTED_LOGO, PINCODE_API_URL, EMAIL_TEMPLATES, PDF_TEMPLATES, EMAIL_SUBJECTS, bankAccountRegexMap, templateKeyWord, DEVICE_TYPE, USER_DETAILS_FILED, TASK_MANAGEMENT_STATUS, BOOK_ASSESSMENT_DATE_STATUS, USER_BOOK_ASSESSMENT_STATUS, PROJECT_ASSESSMENT_OPTION_STATUS, NOTIFICATION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_MODULE_TYPE, NOTIFICATION_ACTION, PLANNER_SYNC_STATUS, CONTACT_FEED_BACK_TYPE, DISCOUNT_TYPE, SUBSCRIPTION_PLAN_CHARGE_INTERVAL, VALID_CURRENCY, SUBSCRIPTION_PLAN_FILES_TYPE, SOCKET_EVENTS, HOME_WORK_STATUS, LANGUAGES, PDF_CHEQUE_STATUS, PDF_CHEQUE_FREQUENCY, INVOICE_PAYMENT_TYPE, COLUMN_LIST_TITLE, PURCHASE_STATUS, INVOICE_TYPE, TEACHER_TYPE, REPLACE_TEACHER_STATUS, WALLET_HISTORY_TYPE, WALLET_HISTORY_ITEM_TYPE, WALLET_HISTORY_ACTION, WALLET_HISTORY_STATUS, WALLET_TRANSACTION_USERS_TYPE, INSTITUTE_SUBSCRIPTION_PLAN_STATUS, CHARGE_PER_TRANSACTION_ITEM_UNIT, ONE_GB_BYTES, JOB_ACTION, PAYMENT_GATEWAY_TYPES, PAYMENT_METHODS, WALLET_TRANSACTION_VALID_DATE_IN_MINUTES, WALLET_TRANSACTION_VALID_DATE_FOR_OTP_IN_MINUTES, COIN_PURCHASE_GST_PERCENTAGE, INITIAL_FREE_COIN, INITIAL_FREE_STORAGE_IN_GB, FREE_SUBSCRIPTION_SEQUENCE, INSTITUTE_DEFAULT_ATTRIBUTES, INSTITUTE_WORKING_DAY_DEFAULT_ATTRIBUTES, DEFAULT_EXCLUDES_ATTRIBUTES, USER_BASIC_DETAIL, SUBJECT_FEE_BASIC_DETAIL, FEE_COLLECTION_BASIC_DETAIL, INSTITUTE_BASIC_DETAIL, FILE_BASIC_DETAIL, USER_PAYOUT_BASIC_DETAIL, ERROR_MESSAGES, USER_ERROR_MESSAGES, USER_FEE_TYPE_ACCOUNT_ERROR_MESSAGES, BANNER_ERROR_MESSAGES, APPROVE_REQUEST_ERROR_MESSAGES, INQUIRY_ERROR_MESSAGES, INFORMATION_SUPPORT_ERROR_MESSAGES, BANK_ACCOUNT_DETAILS_ERROR_MESSAGES, SCHOOL_SHIFT_ERROR_MESSAGES, ACCOUNT_RECEIPT_ERROR_MESSAGES, SCHOOL_FEES_COLLECTION_ERROR_MESSAGES, FEEDBACK_ERROR_MESSAGES, SUBSCRIPTION_ERROR_MESSAGES, LEAVE_ERROR_MESSAGES, MASTER_LEAVE_ERROR_MESSAGES, FEE_HISTORY_ERROR_MESSAGES, SUBJECT_HAS_FEE_ERROR_MESSAGES, USER_HAS_INVENTORY_ERROR_MESSAGES, CATEGORY_ERROR_MESSAGES, INVENTORY_ERROR_MESSAGES, PAYMENT_TERMS_ERROR_MESSAGES, INVENTORY_HISTORY_ERROR_MESSAGES, OFFER_ERROR_MESSAGES, FACILITY_ERROR_MESSAGES, FEE_TYPE_ERROR_MESSAGES, SCHOOL_FEE_ERROR_MESSAGES, USER_FEE_TYPE_ERROR_MESSAGES, FEESCOLLECTION_ERROR_MESSAGES, FEEREMINDER_ERROR_MESSAGES, FEE_REMINDER_SETTING_ERROR_MESSAGES, FEE_REMINDER_ERROR_MESSAGES, USER_HAS_OFFER_ERROR_MESSAGES, USER_HAS_ROLL_NUMBER_ERROR_MESSAGES, HOLIDAY_ERROR_MESSAGES, EVENT_ERROR_MESSAGES, ACADEMIC_CALENDAR_ERROR_MESSAGES, BATCH_ERROR_MESSAGES, CLASSROOM_ERROR_MESSAGES, TYPE_MANAGEMENT_ERROR_MESSAGES, ROLE_ERROR_MESSAGES, MODULE_ERROR_MESSAGES, INSTITUTE_ERROR_MESSAGES, INSTITUTE_ENTITY_TYPE_ERROR_MESSAGES, INSTITUTE_ENTITY_ERROR_MESSAGES, USER_INSTITUTE_META_ERROR_MESSAGES, PARENTS_ERROR_MESSAGES, ANNOUCEMENT_ERROR_MESSAGES, EXAM_ERROR_MESSAGES, EXAM_HAS_ANSWER_SHEET_ERROR_MESSAGES, FILE_STORAGE_ERROR_MESSAGES, ATTENDANCE_ERROR_MESSAGES, USER_SCHOOL_METADATA_ERROR_MESSAGES, WORKING_DAYS_ERROR_MESSAGES, LECTURE_ERROR_MESSAGES, TRIP_ERROR_MESSAGES, SLOT_ERROR_MESSAGES, TO_DO_ERROR_MESSAGES, COURSE_ERROR_MESSAGES, USER_HAS_COURSE_ERROR_MESSAGES, GREETING_ERROR_MESSAGES, PDC_CHEQUE_ERROR_MESSAGES, VIDEO_ANALYST_ERROR_MESSAGES, BLOG_ERROR_MESSAGES, DRIVER_ERROR_MESSAGES, TESTIMONIAL_ERROR_MESSAGES, SUBJECT_INDEX_ERROR_MESSAGES, USER_PAYOUT_ERROR_MESSAGES, USER_PAYOUT_HISTORY_ERROR_MESSAGES, EXAM_GROUP_ERROR_MESSAGES, TASK_MANAGEMENT_ERROR_MESSAGES, BATCH_SUBJECT_BOOK_ASSESSMENT_ERROR_MESSAGES, USER_BOOK_ASSESSMENT_ERROR_MESSAGES, BATCH_SUBJECT_PROJECT_ASSESSMENT_ERROR_MESSAGES, VEHICLE_ERROR_MESSAGES, GENERATE_ID_CARD_ERROR_MESSAGES, CONTACT_FEED_BACK_ERROR_MESSAGES, PHOTO_GALLERY_ERROR_MESSAGES, NOTIFICATION_ERROR_MESSAGES, RULES_REGULATION_ERROR_MESSAGES, CAREER_ERROR_MESSAGES, SIGNED_URL_ERROR_MESSAGES, FLOOR_MANAGEMENT_ERROR_MESSAGES, SUBSCRIPTION_PLAN_ERROR_MESSAGES, CLOUD_STORAGE_ERROR_MESSAGES, HOME_WORK_ERROR_MESSAGES, USER_HAS_HOME_WORK_ERROR_MESSAGES, DAILY_BOOK_ERROR_MESSAGES, SYLLABUS_ERROR_MESSAGES, COIN_PURCHASE_OFFER_ERROR_MESSAGES, VENDOR_MANAGEMENT_ERROR_MESSAGES, SUB_CATEGORY_ERROR_MESSAGES, PRODUCT_ERROR_MESSAGES, INVOICE_ERROR_MESSAGES, COLUMN_ERROR_MESSAGES, PDC_HISTORY_ERROR_MESSAGES, DASHBOARD_MANAGEMENT_ERROR_MESSAGES, CERTIFICATES_MANAGEMENT_ERROR_MESSAGES, CERTIFICATES_HISTORY_ERROR_MESSAGES, REPLACE_TEACHER_ERROR_MESSAGES, WALLET_ERROR_MESSAGES, WALLET_HISTORY_ERROR_MESSAGES, WALLET_TRANSACTION_ERROR_MESSAGES, INSTITUTE_SUBSCRIPTION_PLAN_ERROR_MESSAGES, USER_HAS_STORAGE_ERROR_MESSAGES, ENTITY_GROUP_ERROR_MESSAGES, JOB_APPLY_ERROR_MESSAGES, USER_REQUIRED_STEPS_ERROR_MESSAGES, PAYMENT_TRANSACTION_ERROR_MESSAGES, HTTP_STATUS_CODE, SUCCESS_MESSAGES, USER_SUCCESS_MESSAGES, BANNER_SUCCESS_MESSAGES, APPROVE_REQUEST_SUCCESS_MESSAGES, ADMIN_SUCCESS_MESSAGES, USER_FEE_TYPE_ACCOUNT_SUCCESS_MESSAGES, USER_FEE_TYPE_SUCCESS_MESSAGES, SCHOOL_FEES_COLLECTION_SUCCESS_MESSAGES, FEE_SUCCESS_MESSAGES, INQUIRY_SUCCESS_MESSAGES, INFORMATION_SUPPORT_SUCCESS_MESSAGES, FEEDBACK_SUCCESS_MESSAGES, FEE_TYPE_SUCCESS_MESSAGES, ACCOUNT_RECEIPT_SUCCESS_MESSAGES, BANK_ACCOUNT_DETAILS_SUCCESS_MESSAGES, SUBSCRIPTION_SUCCESS_MESSAGES, SCHOOL_SHIFT_SUCCESS_MESSAGES, FEE_REMINDER_SUCCESS_MESSAGES, FACILITY_SUCCESS_MESSAGES, PAYMENT_TERMS_SUCCESS_MESSAGES, LEAVE_SUCCESS_MESSAGES, MASTER_LEAVE_SUCCESS_MESSAGES, FEE_HISTORY_SUCCESS_MESSAGES, SUBJECT_HAS_FEE_SUCCESS_MESSAGES, USER_HAS_INVENTORY_SUCCESS_MESSAGES, USER_HAS_INVENTORY_HISTORY_SUCCESS_MESSAGES, INVENTORY_SUCCESS_MESSAGES, INVENTORY_HISTORY_SUCCESS_MESSAGES, CATEGORY_SUCCESS_MESSAGES, OFFER_SUCCESS_MESSAGES, FEESCOLLECTION_SUCCESS_MESSAGES, FEEREMINDER_SUCCESS_MESSAGES, FEE_REMINDER_SETTING_SUCCESS_MESSAGES, USER_HAS_OFFER_SUCCESS_MESSAGES, USER_HAS_ROLL_NUMBER_SUCCESS_MESSAGES, HOLIDAY_SUCCESS_MESSAGES, EVENT_SUCCESS_MESSAGES, ACADEMIC_CALENDAR_SUCCESS_MESSAGES, BATCH_SUCCESS_MESSAGES, CLASSROOM_SUCCESS_MESSAGES, ROLE_SUCCESS_MESSAGES, MODULE_SUCCESS_MESSAGES, INSTITUTE_SUCCESS_MESSAGES, WORKING_DAYS_SUCCESS_MESSAGES, INSTITUTE_ENTITY_SUCCESS_MESSAGES, INSTITUTE_ENTITY_TYPE_SUCCESS_MESSAGES, USER_INSTITUTE_META_SUCCESS_MESSAGES, PARENTS_SUCCESS_MESSAGES, TYPE_MANAGEMENT_SUCCESS_MESSAGES, ANNOUCEMENT_SUCCESS_MESSAGES, EXAM_SUCCESS_MESSAGES, EXAM_HAS_ANSWER_SHEET_SUCCESS_MESSAGES, ATTENDANCE_SUCCESS_MESSAGES, USER_SCHOOL_METADATA_SUCCESS_MESSAGES, LECTURE_SUCCESS_MESSAGES, TRIP_SUCCESS_MESSAGES, SLOT_SUCCESS_MESSAGES, TO_DO_SUCCESS_MESSAGES, COURSE_SUCCESS_MESSAGES, USER_HAS_COURSE_SUCCESS_MESSAGES, GREETING_SUCCESS_MESSAGES, PDC_CHEQUE_SUCCESS_MESSAGES, TESTIMONIAL_SUCCESS_MESSAGES, VIDEO_ANALYST_SUCCESS_MESSAGES, BLOG_SUCCESS_MESSAGES, DRIVER_SUCCESS_MESSAGES, SUBJECT_INDEX_SUCCESS_MESSAGES, USER_PAYOUT_SUCCESS_MESSAGES, USER_PAYOUT_HISTORY_SUCCESS_MESSAGES, PLANNER_SUCCESS_MESSAGES, EXAM_GROUP_SUCCESS_MESSAGES, TASK_MANAGEMENT_SUCCESS_MESSAGES, BATCH_SUBJECT_BOOK_ASSESSMENT_SUCCESS_MESSAGES, USER_BOOK_ASSESSMENT_SUCCESS_MESSAGES, BATCH_SUBJECT_PROJECT_ASSESSMENT_SUCCESS_MESSAGES, VEHICLE_SUCCESS_MESSAGES, GENERATE_ID_CARD_SUCCESS_MESSAGES, CONTACT_FEED_BACK_SUCCESS_MESSAGES, PHOTO_GALLERY_SUCCESS_MESSAGES, NOTIFICATION_SUCCESS_MESSAGES, CUSTOME_NOTIFICATION_SUCCESS_MESSAGES, RULE_REGULATION_SUCCESS_MESSAGES, CAREER_SUCCESS_MESSAGES, FLOOR_MANAGEMENT_SUCCESS_MESSAGES, SUBSCRIPTION_PLAN_SUCCESS_MESSAGES, CLOUD_STORAGE_SUCCESS_MESSAGES, HOME_WORK_SUCCESS_MESSAGES, USER_HAS_HOME_WORK_SUCCESS_MESSAGES, DAILY_BOOK_SUCCESS_MESSAGES, SYLLABUS_SUCCESS_MESSAGES, COIN_PURCHASE_OFFER_SUCCESS_MESSAGES, VENDOR_MANAGEMENT_SUCCESS_MESSAGES, SUB_CATEGORY_SUCCESS_MESSAGES, PRODUCT_SUCCESS_MESSAGES, INVOICE_SUCCESS_MESSAGES, COLUMN_SUCCESS_MESSAGES, PDC_HISTORY_SUCCESS_MESSAGES, DASHBOARD_MANAGEMENT_SUCCESS_MESSAGES, CERTIFICATES_MANAGEMENT_SUCCESS_MESSAGES, CERTIFICATES_HISTORY_SUCCESS_MESSAGES, REPLACE_TEACHER_SUCCESS_MESSAGES, WALLET_SUCCESS_MESSAGES, WALLET_HISTORY_SUCCESS_MESSAGES, WALLET_TRANSACTION_SUCCESS_MESSAGES, INSTITUTE_SUBSCRIPTION_PLAN_SUCCESS_MESSAGES, USER_HAS_STORAGE_SUCCESS_MESSAGES, ENTITY_GROUP_SUCCESS_MESSAGES, JOB_APPLY_SUCCESS_MESSAGES, USER_REQUIRED_STEPS_SUCCESS_MESSAGES, PAYMENT_TRANSACTION_SUCCESS_MESSAGES, ApprovalRequestModel, AttendanceModel, BlogModel, CareerModel, CertificatesHistoryModel, CertificatesManagementModel, ColumnModel, DailyBookModel, DashboardManagementModel, EventModel, ExamGroupModel, ExamHasAnswerSheetModel, ExamModel, FeeReminderTypeModel, FeedBackModel, GenerateIdCardModel, HolidayModel, InformationSupportModel, InquiryModel, InvoiceModel, JobApplyModel, PhotosGalleryModel, PlannerModel, ReplaceTeacherModel, SchoolFeeModel, SubjectIndexModel, SubscriptionPlanModel, TaskManagementModel, UniqueNumberCounterModel, UserDetailsModel, UserSchoolInfoSchema, IUserDoc, UserDoc, UserInstituteMetaModel, UserSchoolMetaModel, VideoAnalystModel, WalletTransactionModel, SubCategoriesModel, AcademicCalendarModel, AccountHasReceiptDetailsModel, AnnouncementModel, AreaModel, BankAccountDetailsModel, BannerModel, BatchModel, BatchSubjectBookAssessmentModel, BatchSubjectProjectAssessmentModel, BookAssessmentDateModel, CategoriesModel, CityModel, ClassRoomModel, CloudStorageModel, CoinPurchaseOfferModel, ContactFeedBackModel, CountryModel, CourseHasVisitorsModel, CourseModel, DriverModel, EntityGroupModel, FacilityModel, FeatureActionModel, FeeHistoryDetailsModel, FeeHistoryModel, FeeReminderModel, FeeReminderSettingModel, FeeTypeHasTermsModel, FeeTypeModel, FeesCollectionModel, FileStorageModel, FloorManagementModel, GreetingsModel, HomeWorkModel, InstituteEntityModel, InstituteEntityTypeModel, InstituteModel, InstituteSubscriptionPlanModel, InventoryHistoryModel, InventoryModel, LectureHistoryModel, LectureModel, MasterLeaveModel, ModuleFeatureModel, ModuleModel, OfferModel, PaymentTermsModel, PdcChequeModel, PdcHistoryModel, PincodeModel, ProductModel, ProjectAssessmentOptionModel, RoleModel, RulesRegulationModel, SchoolFeeCollectionModel, SchoolOfferModel, SendNotificationModel, SlotModel, StateModel, SubjectHasFeeModel, SubjectHasPayFeeHistoryModel, SyllabusModel, TestimonialModel, ToDoModel, TokenModel, TripModel, TypeManagementModel, UserBookAssessmentModel, UserFeeTypeByAccountModel, UserFeeTypeModel, UserHasAnnouncementModel, UserHasBatchModel, UserHasCourseModel, UserHasDeviceModel, UserHasFeeTermsModel, UserHasFileModel, UserHasHomeWorkModel, UserHasInventoryHistoryModel, UserHasInventoryModel, UserHasLeaveHistoryModel, UserHasLeaveModel, UserHasOfferModel, UserHasParentModel, UserHasRoleModel, UserHasRollNumberModel, UserHasStorageModel, UserHasSubjectFeeModel, UserLeaveRequestModel, UserModel, UserPayoutDetailsModel, UserPayoutHistoryModel, UserPayoutModel, UserProjectAssessmentOptionModel, UserRequiredStepsModel, VehicleModel, VendorManagementModel, WalletHistoryModel, WalletModel, WorkingDayModel, WorkingShiftModel, sequelize, Sequelize, db, connectMongo };
|
package/dist/index.js
CHANGED
|
@@ -747,5 +747,5 @@ const psql_1 = require("./models/psql");
|
|
|
747
747
|
Object.defineProperty(exports, "sequelize", { enumerable: true, get: function () { return psql_1.sequelize; } });
|
|
748
748
|
Object.defineProperty(exports, "db", { enumerable: true, get: function () { return psql_1.db; } });
|
|
749
749
|
Object.defineProperty(exports, "Sequelize", { enumerable: true, get: function () { return psql_1.Sequelize; } });
|
|
750
|
-
const mongodb_1 = require("db/mongodb");
|
|
751
|
-
|
|
750
|
+
const mongodb_1 = __importDefault(require("./db/mongodb"));
|
|
751
|
+
exports.connectMongo = mongodb_1.default;
|