@kipicore/dbcore 1.1.568 → 1.1.570
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/constants/app.d.ts +21 -1
- package/dist/constants/app.js +20 -0
- package/dist/types/academicCalendarType.d.ts +8 -0
- package/dist/types/accountHasReceiptDetailsType.d.ts +9 -0
- package/dist/types/additionalPayoutType.d.ts +12 -0
- package/dist/types/additionalPayoutTypeType.d.ts +6 -0
- package/dist/types/announcementType.d.ts +9 -0
- package/dist/types/appointmentHistoryType.d.ts +5 -0
- package/dist/types/appointmentType.d.ts +5 -0
- package/dist/types/bankAccountDetailsType.d.ts +9 -0
- package/dist/types/bannerType.d.ts +6 -0
- package/dist/types/batchSubjectBookAssessmentType.d.ts +10 -0
- package/dist/types/batchSubjectProjectAssessmentType.d.ts +9 -0
- package/dist/types/batchType.d.ts +10 -0
- package/dist/types/bookAssessmentDateType.d.ts +6 -1
- package/dist/types/categoriesType.d.ts +7 -0
- package/dist/types/classRoomCollectionType.d.ts +11 -0
- package/dist/types/classRoomEventType.d.ts +8 -0
- package/dist/types/classRoomType.d.ts +11 -0
- package/dist/types/cloneListType.d.ts +7 -0
- package/dist/types/cloudStorageType.d.ts +6 -0
- package/dist/types/coinPurchaseOfferType.d.ts +6 -0
- package/dist/types/contactFeedBackType.d.ts +10 -0
- package/dist/types/courseHasVisitorsType.d.ts +7 -0
- package/dist/types/courseType.d.ts +11 -0
- package/dist/types/designationType.d.ts +7 -0
- package/dist/types/driverType.d.ts +13 -0
- package/dist/types/entityGroupType.d.ts +8 -0
- package/dist/types/entityWiseCalendarType.d.ts +7 -0
- package/dist/types/facilityType.d.ts +8 -0
- package/dist/types/featureActionType.d.ts +7 -0
- package/dist/types/feeReminderSettingType.d.ts +9 -0
- package/dist/types/feeReminderType.d.ts +9 -0
- package/dist/types/feeSubmissionTrackType.d.ts +10 -0
- package/dist/types/feeType1Type.d.ts +10 -0
- package/dist/types/floormanagementType.d.ts +9 -0
- package/dist/types/grantAndDonationType.d.ts +1 -2
- package/dist/types/greetingsType.d.ts +4 -1
- package/dist/types/holidayType.js +0 -1
- package/dist/types/homeWorkType.d.ts +10 -0
- package/dist/types/incomeExpenseType.d.ts +8 -0
- package/dist/types/instituteEntityType.d.ts +6 -0
- package/dist/types/instituteOwnershipHistoryType.d.ts +9 -0
- package/dist/types/institutePartnersType.d.ts +8 -0
- package/dist/types/instituteSubscriptionPlanType.d.ts +9 -0
- package/dist/types/instituteType.d.ts +15 -0
- package/dist/types/inventoryType.d.ts +8 -0
- package/package.json +1 -1
package/dist/constants/app.d.ts
CHANGED
|
@@ -805,7 +805,27 @@ export declare enum NOTIFICATION_MODULE_TYPE {
|
|
|
805
805
|
GENERAL_REGISTER = "GENERAL_REGISTER",
|
|
806
806
|
BLOG = "BLOG",
|
|
807
807
|
FEEDBACK = "FEEDBACK",
|
|
808
|
-
SEATING_ARRANGEMENT = "SEATING_ARRANGEMENT"
|
|
808
|
+
SEATING_ARRANGEMENT = "SEATING_ARRANGEMENT",
|
|
809
|
+
PROFILE_UPDATE = "PROFILE_UPDATE",
|
|
810
|
+
ASSIGN_ROLL_NUMBER = "ASSIGN_ROLL_NUMBER",
|
|
811
|
+
PROJECT_ASSESSMENT = "PROJECT_ASSESSMENT",
|
|
812
|
+
LOST_AND_FOUND = "LOST_AND_FOUND",
|
|
813
|
+
OFFLINE_EXAM = "OFFLINE_EXAM",
|
|
814
|
+
ATTENDANCE = "ATTENDANCE",
|
|
815
|
+
ACADEMIC_CALENDAR = "ACADEMIC_CALENDAR",
|
|
816
|
+
ATTENDANCE_UPDATE = "ATTENDANCE_UPDATE",
|
|
817
|
+
FILE_STORAGE_LIMIT = "FILE_STORAGE_LIMIT",
|
|
818
|
+
ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION",
|
|
819
|
+
CAMPUS_CARNIVAL = "CAMPUS_CARNIVAL",
|
|
820
|
+
HOMEWORK = "HOMEWORK",
|
|
821
|
+
CERTIFICATE = "CERTIFICATE",
|
|
822
|
+
CERTIFICATE_REQUEST = "CERTIFICATE_REQUEST",
|
|
823
|
+
LECTURE_REMINDER = "LECTURE_REMINDER",
|
|
824
|
+
TODO = "TODO",
|
|
825
|
+
FEE_HISTORY = "FEE_HISTORY",
|
|
826
|
+
FEE_COLLECTION = "FEE_COLLECTION",
|
|
827
|
+
STUDENT_JOIN = "STUDENT_JOIN",
|
|
828
|
+
CHEQUE_CLEAR = "CHEQUE_CLEAR"
|
|
809
829
|
}
|
|
810
830
|
export declare enum NOTIFICATION_ACTION {
|
|
811
831
|
PUSH = "PUSH",
|
package/dist/constants/app.js
CHANGED
|
@@ -1016,6 +1016,26 @@ var NOTIFICATION_MODULE_TYPE;
|
|
|
1016
1016
|
NOTIFICATION_MODULE_TYPE["BLOG"] = "BLOG";
|
|
1017
1017
|
NOTIFICATION_MODULE_TYPE["FEEDBACK"] = "FEEDBACK";
|
|
1018
1018
|
NOTIFICATION_MODULE_TYPE["SEATING_ARRANGEMENT"] = "SEATING_ARRANGEMENT";
|
|
1019
|
+
NOTIFICATION_MODULE_TYPE["PROFILE_UPDATE"] = "PROFILE_UPDATE";
|
|
1020
|
+
NOTIFICATION_MODULE_TYPE["ASSIGN_ROLL_NUMBER"] = "ASSIGN_ROLL_NUMBER";
|
|
1021
|
+
NOTIFICATION_MODULE_TYPE["PROJECT_ASSESSMENT"] = "PROJECT_ASSESSMENT";
|
|
1022
|
+
NOTIFICATION_MODULE_TYPE["LOST_AND_FOUND"] = "LOST_AND_FOUND";
|
|
1023
|
+
NOTIFICATION_MODULE_TYPE["OFFLINE_EXAM"] = "OFFLINE_EXAM";
|
|
1024
|
+
NOTIFICATION_MODULE_TYPE["ATTENDANCE"] = "ATTENDANCE";
|
|
1025
|
+
NOTIFICATION_MODULE_TYPE["ACADEMIC_CALENDAR"] = "ACADEMIC_CALENDAR";
|
|
1026
|
+
NOTIFICATION_MODULE_TYPE["ATTENDANCE_UPDATE"] = "ATTENDANCE_UPDATE";
|
|
1027
|
+
NOTIFICATION_MODULE_TYPE["FILE_STORAGE_LIMIT"] = "FILE_STORAGE_LIMIT";
|
|
1028
|
+
NOTIFICATION_MODULE_TYPE["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
|
|
1029
|
+
NOTIFICATION_MODULE_TYPE["CAMPUS_CARNIVAL"] = "CAMPUS_CARNIVAL";
|
|
1030
|
+
NOTIFICATION_MODULE_TYPE["HOMEWORK"] = "HOMEWORK";
|
|
1031
|
+
NOTIFICATION_MODULE_TYPE["CERTIFICATE"] = "CERTIFICATE";
|
|
1032
|
+
NOTIFICATION_MODULE_TYPE["CERTIFICATE_REQUEST"] = "CERTIFICATE_REQUEST";
|
|
1033
|
+
NOTIFICATION_MODULE_TYPE["LECTURE_REMINDER"] = "LECTURE_REMINDER";
|
|
1034
|
+
NOTIFICATION_MODULE_TYPE["TODO"] = "TODO";
|
|
1035
|
+
NOTIFICATION_MODULE_TYPE["FEE_HISTORY"] = "FEE_HISTORY";
|
|
1036
|
+
NOTIFICATION_MODULE_TYPE["FEE_COLLECTION"] = "FEE_COLLECTION";
|
|
1037
|
+
NOTIFICATION_MODULE_TYPE["STUDENT_JOIN"] = "STUDENT_JOIN";
|
|
1038
|
+
NOTIFICATION_MODULE_TYPE["CHEQUE_CLEAR"] = "CHEQUE_CLEAR";
|
|
1019
1039
|
})(NOTIFICATION_MODULE_TYPE || (exports.NOTIFICATION_MODULE_TYPE = NOTIFICATION_MODULE_TYPE = {}));
|
|
1020
1040
|
var NOTIFICATION_ACTION;
|
|
1021
1041
|
(function (NOTIFICATION_ACTION) {
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAcademicCalendarModelAttributes } from '../interfaces/academicCalendarInterface';
|
|
3
|
+
import { IInstituteAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAcademicCalendarModelCreationAttributes = Optional<IAcademicCalendarModelAttributes, 'id'>;
|
|
4
5
|
export interface TUpdateAcademicCalenderStatusParams {
|
|
5
6
|
instituteId?: string | null;
|
|
6
7
|
}
|
|
8
|
+
export type TAcademicCalendarModelWithAssociations = IAcademicCalendarModelAttributes & {
|
|
9
|
+
academicCalendarInstitute?: IInstituteAttributes;
|
|
10
|
+
createdByUser?: IUserAttributes;
|
|
11
|
+
updatedByUser?: IUserAttributes;
|
|
12
|
+
deletedByUser?: IUserAttributes;
|
|
13
|
+
academicCalendarEntity?: IInstituteEntityAttributes;
|
|
14
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAccountHasReceiptDetailsInterfaceModelAttributes } from '../interfaces/accountHasReceiptDetailsInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IBankAccountDetailsInterfaceModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TAccountHasReceiptDetailsModelCreationAttributes = Optional<IAccountHasReceiptDetailsInterfaceModelAttributes, 'id'>;
|
|
5
6
|
export type TAccountHasReceiptDetailAttributesWithassociate = IAccountHasReceiptDetailsInterfaceModelAttributes & {
|
|
6
7
|
accountHasReceiptDetailsProfileImage?: IFileStorageAttributes;
|
|
7
8
|
};
|
|
9
|
+
export type TAccountHasReceiptDetailsModelWithAssociations = IAccountHasReceiptDetailsInterfaceModelAttributes & {
|
|
10
|
+
receiptInstitute?: IInstituteAttributes;
|
|
11
|
+
receiptProfileImage?: IFileStorageAttributes;
|
|
12
|
+
accountHasReceiptBank?: IBankAccountDetailsInterfaceModelAttributes;
|
|
13
|
+
createdByUser?: IUserAttributes;
|
|
14
|
+
updatedByUser?: IUserAttributes;
|
|
15
|
+
deletedByUser?: IUserAttributes;
|
|
16
|
+
};
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAdditionalPayoutModelAttributes } from '../interfaces/additionalPayoutInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IAdditionalPayoutTypeModelAttributes, IInstituteAttributes, ILoanEmiModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAdditionalPayoutModelCreationAttributes = Optional<IAdditionalPayoutModelAttributes, 'id'>;
|
|
5
|
+
export type TAdditionalPayoutModelWithAssociations = IAdditionalPayoutModelAttributes & {
|
|
6
|
+
payoutAccountDetails?: IAdditionalPayoutModelAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
user?: IUserAttributes;
|
|
11
|
+
institute?: IInstituteAttributes;
|
|
12
|
+
additionalPayoutType?: IAdditionalPayoutTypeModelAttributes;
|
|
13
|
+
academicCalendar?: IAcademicCalendarModelAttributes;
|
|
14
|
+
loanEmi?: ILoanEmiModelAttributes;
|
|
15
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAdditionalPayoutTypeModelAttributes } from '../interfaces/additionalPayoutTypeInterface';
|
|
3
|
+
import { IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAdditionalPayoutTypeModelCreationAttributes = Optional<IAdditionalPayoutTypeModelAttributes, 'id'>;
|
|
5
|
+
export type TAdditionalPayoutTypeModelWithAssociations = IAdditionalPayoutTypeModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAnnouncementModelAttributes } from '../interfaces/announcementInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IFileStorageAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAnnouncementModelCreationAttributes = Optional<IAnnouncementModelAttributes, 'id'>;
|
|
4
5
|
export type TAnnouncementCreateParams = {
|
|
5
6
|
announcementId?: string;
|
|
6
7
|
academicCalendarId?: string;
|
|
7
8
|
};
|
|
9
|
+
export type TAnnouncementModelWithAssociations = IAnnouncementModelAttributes & {
|
|
10
|
+
createdByUser?: IUserAttributes;
|
|
11
|
+
updatedByUser?: IUserAttributes;
|
|
12
|
+
deletedByUser?: IUserAttributes;
|
|
13
|
+
institute?: IInstituteAttributes;
|
|
14
|
+
announcementFileStorage?: IFileStorageAttributes;
|
|
15
|
+
announcementAcademicCal?: IAcademicCalendarModelAttributes;
|
|
16
|
+
};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import { IUserAttributes } from "../interfaces";
|
|
1
2
|
import { IAppointmentHistoryModelAttributes } from "../interfaces/appointmentHistoryInterface";
|
|
2
3
|
export type TAppointmentHistoryAttributes = Omit<IAppointmentHistoryModelAttributes, 'id'>;
|
|
4
|
+
export type TAppointmentHistoryWithRefJoin = TAppointmentHistoryAttributes & {
|
|
5
|
+
appointor?: IUserAttributes;
|
|
6
|
+
appointee?: IUserAttributes;
|
|
7
|
+
};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import { IUserAttributes } from "../interfaces";
|
|
1
2
|
import { IAppointmentModelAttributes } from "../interfaces/appointmentInterface";
|
|
2
3
|
export type TAppointmentAttributes = Omit<IAppointmentModelAttributes, 'id'>;
|
|
4
|
+
export type TAppointmentWithRefJoin = TAppointmentAttributes & {
|
|
5
|
+
appointor?: IUserAttributes;
|
|
6
|
+
appointee?: IUserAttributes;
|
|
7
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBankAccountDetailsInterfaceModelAttributes } from '../interfaces/bankAccountDetailsInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TBankAccountDetailsModelCreationAttributes = Optional<IBankAccountDetailsInterfaceModelAttributes, 'id'>;
|
|
5
|
+
export type TBankAccountDetailsWithAssociation = IBankAccountDetailsInterfaceModelAttributes & {
|
|
6
|
+
bankAccountDetailsInstitute?: IInstituteAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
bankAccDAcademicCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
parentBankAccDetails?: IBankAccountDetailsInterfaceModelAttributes;
|
|
12
|
+
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBannerModelAttributes } from '../interfaces/bannerInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBannerModelCreationAttributes = Optional<IBannerModelAttributes, 'id'>;
|
|
5
6
|
export type TBannerAttributesWithassociate = IBannerModelAttributes & {
|
|
6
7
|
bannerFileStorage?: IFileStorageAttributes;
|
|
8
|
+
bannerInstitute?: IInstituteAttributes;
|
|
9
|
+
bannerAcaCal?: IAcademicCalendarModelAttributes;
|
|
10
|
+
createdByUser?: IUserAttributes;
|
|
11
|
+
updatedByUser?: IUserAttributes;
|
|
12
|
+
deletedByUser?: IUserAttributes;
|
|
7
13
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBatchSubjectBookAssessmentModelAttributes } from '../interfaces/batchSubjectBookAssessmentInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IBatchModelAttributes, IInstituteAttributes, IInstituteEntityAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBatchSubjectBookAssessmentModelCreationAttributes = Optional<IBatchSubjectBookAssessmentModelAttributes, 'id'>;
|
|
5
6
|
export type TBatchSubjectBookAssessmentAttributesWithassociate = IBatchSubjectBookAssessmentModelAttributes & {
|
|
6
7
|
batchSubjectBookAssessmentFileStorage?: IFileStorageAttributes;
|
|
8
|
+
subjectBookAssessmentInstitute?: IInstituteAttributes;
|
|
9
|
+
subjectBookAssessmentBatch?: IBatchModelAttributes;
|
|
10
|
+
subjectBookAssessmentType?: ITypeManagementModelAttributes;
|
|
11
|
+
bookAssessmentSubject?: IInstituteEntityAttributes;
|
|
12
|
+
bookAssessmentStandard?: IInstituteEntityAttributes;
|
|
13
|
+
createdByUser?: IUserAttributes;
|
|
14
|
+
updatedByUser?: IUserAttributes;
|
|
15
|
+
deletedByUser?: IUserAttributes;
|
|
16
|
+
batchSubBAAcaCal?: IAcademicCalendarModelAttributes;
|
|
7
17
|
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBatchSubjectProjectAssessmentModelAttributes } from '../interfaces/batchSubjectProjectAssessmentInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IBatchModelAttributes, IInstituteAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBatchSubjectProjectAssessmentModelCreationAttributes = Optional<IBatchSubjectProjectAssessmentModelAttributes, 'id'>;
|
|
5
6
|
export type TBatchSubjectProjectAssessmentAttributesWithassociate = IBatchSubjectProjectAssessmentModelAttributes & {
|
|
6
7
|
batchSubjectProjectAssessmentFileStorage?: IFileStorageAttributes;
|
|
8
|
+
subjectProjectAssessmentInstitute?: IInstituteAttributes;
|
|
9
|
+
subjectProjectAssessmentBatch?: IBatchModelAttributes;
|
|
10
|
+
projectAssessmentSubject?: IInstituteEntityAttributes;
|
|
11
|
+
projectAssessmentStandard?: IInstituteEntityAttributes;
|
|
12
|
+
batchSubProAssesAcaCal?: IAcademicCalendarModelAttributes;
|
|
13
|
+
createdByUser?: IUserAttributes;
|
|
14
|
+
updatedByUser?: IUserAttributes;
|
|
15
|
+
deletedByUser?: IUserAttributes;
|
|
7
16
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBatchModelAttributes } from '../interfaces/batchInterface';
|
|
3
3
|
import { ILectureModelAttributes } from '../interfaces/lectureInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, ISlotModelAttributes, IUserAttributes, IWorkingShiftAttributes } from '../interfaces';
|
|
4
5
|
export type TBatchModelCreationAttributes = Optional<IBatchModelAttributes, 'id'>;
|
|
5
6
|
export type TBatchWithassociateAttributes = IBatchModelAttributes & {
|
|
6
7
|
batchHasLectures?: ILectureModelAttributes[];
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
batchType?: IBatchModelAttributes;
|
|
12
|
+
institute?: IInstituteAttributes;
|
|
13
|
+
batchTeacher?: IUserAttributes;
|
|
14
|
+
shiftBatch?: IWorkingShiftAttributes;
|
|
15
|
+
slotBatch?: ISlotModelAttributes;
|
|
16
|
+
batchAcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
7
17
|
};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBookAssessmentDateModelAttributes } from '../interfaces/bookAssessmentDateInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IBatchSubjectBookAssessmentModelAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBookAssessmentDateModelCreationAttributes = Optional<IBookAssessmentDateModelAttributes, 'id'>;
|
|
5
|
-
export type
|
|
6
|
+
export type TBookAssessmentDateAttributesWithAssociate = IBookAssessmentDateModelAttributes & {
|
|
6
7
|
bookAssessmentDateFileStorage?: IFileStorageAttributes;
|
|
8
|
+
assessmentBook?: IBatchSubjectBookAssessmentModelAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
7
12
|
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICategoriesModelAttributes } from '../interfaces/categoriesInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCategoriesModelCreationAttributes = Optional<ICategoriesModelAttributes, 'id'>;
|
|
5
|
+
export type TCategoriesModelAttributesWithAssociates = ICategoriesModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
institute?: IInstituteAttributes;
|
|
10
|
+
};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IClassRoomCollectionModelAttributes } from '../interfaces/classRoomCollectionInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IClassRoomEventModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TClassRoomCollectionModelCreationAttributes = Optional<IClassRoomCollectionModelAttributes, 'id'>;
|
|
5
|
+
export type TClassRoomCollectionModelWithAssociates = IClassRoomCollectionModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
classRCollectionInst?: IInstituteAttributes;
|
|
10
|
+
classRColAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
collectorClassRCol?: IUserAttributes;
|
|
12
|
+
ClassRColUser?: IUserAttributes;
|
|
13
|
+
ClassRColClassEvent?: IClassRoomEventModelAttributes;
|
|
14
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IClassRoomEventModelAttributes } from "../interfaces/classRoomEventInterface";
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TClassRoomEventModelCreationAttributes = Optional<IClassRoomEventModelAttributes, 'id'>;
|
|
5
|
+
export type TClassRoomEventModelAttributesWithAssociates = IClassRoomEventModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
classRoomEventInstitute?: IInstituteAttributes;
|
|
10
|
+
classRoomEventAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IClassRoomModelAttributes } from '../interfaces/classRoomInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IFloorManagementModelAttributes, IInstituteAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TClassRoomModelCreationAttributes = Optional<IClassRoomModelAttributes, 'id'>;
|
|
5
|
+
export type TClassRoomModelUpdateAttributesWithAssociates = IClassRoomModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
classType?: ITypeManagementModelAttributes;
|
|
10
|
+
institute?: IInstituteAttributes;
|
|
11
|
+
floordetails?: IFloorManagementModelAttributes;
|
|
12
|
+
classroomAcademicCal?: IAcademicCalendarModelAttributes;
|
|
13
|
+
classRoomParent?: IClassRoomModelAttributes;
|
|
14
|
+
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICloneListModelAttributes } from '../interfaces/cloneListInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCloneListModelCreationAttributes = Optional<ICloneListModelAttributes, 'id'>;
|
|
5
|
+
export type TCloneListModelAttributesWithAssociation = ICloneListModelAttributes & {
|
|
6
|
+
instituteCloneList?: IInstituteAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICloudStorageModelAttributes } from '../interfaces/cloudStorageInterface';
|
|
3
|
+
import { IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCloudStorageModelCreationAttributes = Optional<ICloudStorageModelAttributes, 'id'>;
|
|
5
|
+
export type TCloudStorageModelAttributesWithAssociation = ICloudStorageModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICoinPurchaseOfferModelAttributes } from '../interfaces/coinPurchaseOfferInterface';
|
|
3
|
+
import { IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCoinPurchaseOfferModelCreationAttributes = Optional<ICoinPurchaseOfferModelAttributes, 'id'>;
|
|
5
|
+
export type TCoinPurchaseOfferModelAttributes = ICoinPurchaseOfferModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IContactFeedBackAttributes } from '../interfaces/contactFeedBackInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TContactFeedBackModelCreationAttributes = Optional<IContactFeedBackAttributes, 'id'>;
|
|
5
|
+
export type TContactFeedBackModelAttributesWithAssociation = IContactFeedBackAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
contactFeedBackInstitute?: IInstituteAttributes;
|
|
10
|
+
contactFeedBackGivenInstitute?: IInstituteAttributes;
|
|
11
|
+
contactFeedBackUser?: IUserAttributes;
|
|
12
|
+
contactFeedBackAcCalendar?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import { ICourseModelAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { ICourseHasVisitorsModelAttributes } from '../interfaces/courseHasVisitorsInterface';
|
|
2
3
|
export type TCourseHasVisitorsModelCreationAttributes = Partial<ICourseHasVisitorsModelAttributes>;
|
|
4
|
+
export type TCourseHasVisitorsModelAttributesWithAssociation = ICourseHasVisitorsModelAttributes & {
|
|
5
|
+
createdByUser?: IUserAttributes;
|
|
6
|
+
updatedByUser?: IUserAttributes;
|
|
7
|
+
deletedByUser?: IUserAttributes;
|
|
8
|
+
visitorCourse?: ICourseModelAttributes;
|
|
9
|
+
};
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import { IFileStorageAttributes, IInstituteAttributes, IInstituteEntityAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { ICourseModelAttributes } from '../interfaces/courseInterface';
|
|
2
3
|
export type TCourseModelCreationAttributes = Partial<ICourseModelAttributes>;
|
|
4
|
+
export type TCourseModelAttributesWithAssociation = ICourseModelAttributes & {
|
|
5
|
+
createdByUser?: IUserAttributes;
|
|
6
|
+
updatedByUser?: IUserAttributes;
|
|
7
|
+
deletedByUser?: IUserAttributes;
|
|
8
|
+
courseInstitute?: IInstituteAttributes;
|
|
9
|
+
courseSubject?: IInstituteEntityAttributes;
|
|
10
|
+
courseMaterialType?: ITypeManagementModelAttributes;
|
|
11
|
+
courseThumbNail?: IFileStorageAttributes;
|
|
12
|
+
courseIntroVideo?: IFileStorageAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IDesignationAttributes } from '../interfaces/designationInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TDesignationCreationAttributes = Optional<IDesignationAttributes, 'id'>;
|
|
5
|
+
export type TDesignationAttributesWithAssociation = IDesignationAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
designationInstitute?: IInstituteAttributes;
|
|
10
|
+
};
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
import { IAcademicCalendarModelAttributes, ICampusAttributes, ICountryAttributes, IFileStorageAttributes, IInstituteAttributes, IStateAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { IDriverModelAttributes } from '../interfaces/driverInterface';
|
|
2
3
|
import { IWorkingDayAttributes } from '../interfaces/workingDayInterface';
|
|
3
4
|
export type TDriverModelCreationAttributes = Partial<IDriverModelAttributes>;
|
|
4
5
|
export type TDriverWithAssociation = IDriverModelAttributes & {
|
|
5
6
|
workingDay: IWorkingDayAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
countryDetails?: ICountryAttributes;
|
|
11
|
+
stateDetails?: IStateAttributes;
|
|
12
|
+
cityDetails?: IStateAttributes;
|
|
13
|
+
drivingLicenseDetails?: IFileStorageAttributes;
|
|
14
|
+
aadharCardDetails?: IFileStorageAttributes;
|
|
15
|
+
drivingProfileImage?: IFileStorageAttributes;
|
|
16
|
+
driverInstitute?: IInstituteAttributes;
|
|
17
|
+
driverCampus?: ICampusAttributes;
|
|
18
|
+
driverAcademic?: IAcademicCalendarModelAttributes;
|
|
6
19
|
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IEntityGroupModelAttributes } from '../interfaces/entityGroupInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TEntityGroupModelCreationAttributes = Optional<IEntityGroupModelAttributes, 'id'>;
|
|
5
|
+
export type TEntityGroupWithAssociation = IEntityGroupModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
standardEntityGroup?: IInstituteEntityAttributes;
|
|
10
|
+
academicEntityGroup?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import { IAcademicCalendarModelAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { IEntityWiseCalendarModelAttributes } from '../interfaces/entityWiseCalendarInterface';
|
|
2
3
|
export type TEntityWiseCalendarModelCreationAttributes = Partial<IEntityWiseCalendarModelAttributes>;
|
|
4
|
+
export type TEntityGroupModelCreationAttributesWithAssociation = IEntityWiseCalendarModelAttributes & {
|
|
5
|
+
createdByUser?: IUserAttributes;
|
|
6
|
+
updatedByUser?: IUserAttributes;
|
|
7
|
+
deletedByUser?: IUserAttributes;
|
|
8
|
+
entityWiseCalendarEntity?: IAcademicCalendarModelAttributes;
|
|
9
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFacilityAttributes } from '../interfaces/facilityInterface';
|
|
3
|
+
import { IInstituteAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFacilityCreationAttributes = Optional<IFacilityAttributes, 'id'>;
|
|
5
|
+
export type TFacilityCreationAttributesWithAssociation = IFacilityAttributes & {
|
|
6
|
+
facilityInstitute?: IInstituteAttributes;
|
|
7
|
+
facilityType?: ITypeManagementModelAttributes;
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeatureActionAttributes } from '../interfaces/featureActionInterface';
|
|
3
|
+
import { IRoleAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeatureActionCreationAttributes = Optional<IFeatureActionAttributes, 'id'>;
|
|
5
|
+
export type TFeatureActionCreationAttributesWithAssociation = IFeatureActionAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
role?: IRoleAttributes;
|
|
10
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeReminderSettingModelAttributes } from '../interfaces/feeReminderSettingInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeReminderSettingModelCreationAttributes = Optional<IFeeReminderSettingModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeReminderSettingModelCreationAttributesWithAssociation = IFeeReminderSettingModelAttributes & {
|
|
6
|
+
settingInstitute?: IInstituteAttributes;
|
|
7
|
+
settingAcademic?: IAcademicCalendarModelAttributes;
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
reminderSettingParent?: IFeeReminderSettingModelAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeReminderModelAttributes } from '../interfaces/feeReminderInterface';
|
|
3
|
+
import { IFeeReminderSettingModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeReminderModelCreationAttributes = Optional<IFeeReminderModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeReminderModelCreationAttributesWithAssociation = IFeeReminderModelAttributes & {
|
|
6
|
+
reminderUser?: IUserAttributes;
|
|
7
|
+
reminderTemplate?: IFeeReminderSettingModelAttributes;
|
|
8
|
+
reminderInstitute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeSubmissionTrackModelAttributes } from '../interfaces/feeSubmissionTrackInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeSubmissionTrackModelCreationAttributes = Optional<IFeeSubmissionTrackModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeSubmissionTrackModelCreationAttributesWithAssociation = IFeeSubmissionTrackModelAttributes & {
|
|
6
|
+
feeSubmissionTrackCollector?: IUserAttributes;
|
|
7
|
+
submittedByUser?: IUserAttributes;
|
|
8
|
+
feeSubmissionTrackInstitute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
acaCalFeeSubmissionTrack?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeType1ModelAttributes } from '../interfaces/feeType1Interface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IBankAccountDetailsInterfaceModelAttributes, IInstituteAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeType1ModelCreationAttributes = Optional<IFeeType1ModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeType1ModelCreationAttributesWithAssociation = IFeeType1ModelAttributes & {
|
|
6
|
+
accountFeeType1?: IBankAccountDetailsInterfaceModelAttributes;
|
|
7
|
+
typeManagementFeeType?: ITypeManagementModelAttributes;
|
|
8
|
+
instituteFeeType1?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
feeType1AcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFloorManagementModelAttributes } from '../interfaces/floorManagementInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFloorManagementCreationAttributs = Optional<IFloorManagementModelAttributes, 'id'>;
|
|
5
|
+
export type TFloorManagementCreationAttributesWithAssociation = IFloorManagementModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
floorInstitute?: IInstituteAttributes;
|
|
10
|
+
floorAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
parentFloorList?: IFloorManagementModelAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { Optional } from 'sequelize';
|
|
2
1
|
import { IGrantAndDonationAttributes } from '../interfaces/grantAndDonationInterface';
|
|
3
|
-
export type TGrantAndDonationCreationAttributes =
|
|
2
|
+
export type TGrantAndDonationCreationAttributes = Omit<IGrantAndDonationAttributes, 'id'>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes } from '../interfaces';
|
|
1
2
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
2
3
|
import { IGreetingsModelAttributes } from '../interfaces/greetingsInterface';
|
|
3
4
|
export type TGreetingsModelCreationAttributes = Partial<IGreetingsModelAttributes>;
|
|
4
|
-
export type
|
|
5
|
+
export type TGreetingAttributesWithAssociation = IGreetingsModelAttributes & {
|
|
5
6
|
greetingsImage?: IFileStorageAttributes;
|
|
7
|
+
greetingsInstitute?: IInstituteAttributes;
|
|
8
|
+
GreetingsAcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
6
9
|
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IHomeWorkModelAttributes } from '../interfaces/homeworkInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IBatchModelAttributes, IInstituteAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type THomeWorkModelCreationAttributes = Optional<IHomeWorkModelAttributes, 'id'>;
|
|
5
|
+
export type THomeWorkModelCreationAttributesWithAssociation = IHomeWorkModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
batch?: IBatchModelAttributes;
|
|
10
|
+
institute?: IInstituteAttributes;
|
|
11
|
+
homeWorkSubject?: IInstituteEntityAttributes;
|
|
12
|
+
homeWorkAcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IIncomeExpenseModelAttributes } from '../interfaces/incomeExpenseInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TIncomeExpenseModelCreationAttributes = Optional<IIncomeExpenseModelAttributes, 'id'>;
|
|
5
|
+
export type TIncomeExpenseModelCreationAttributesWithAssociation = IIncomeExpenseModelAttributes & {
|
|
6
|
+
incomeExpenseInstitute?: IInstituteAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
incomeExpenseAcademicCalender?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteEntityAttributes } from '../interfaces/instituteEntityInterface';
|
|
3
|
+
import { IInstituteAttributes, IInstituteEntityTypeAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteEntityCreationAttributes = Optional<IInstituteEntityAttributes, 'id'>;
|
|
4
5
|
export type TInstituteEntityWithAssociation = IInstituteEntityAttributes & {
|
|
5
6
|
entities?: IInstituteEntityAttributes[];
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
entityType?: IInstituteEntityTypeAttributes;
|
|
11
|
+
instituteEntities?: IInstituteAttributes;
|
|
6
12
|
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteOwnershipHistoryAttributes } from '../interfaces/instituteOwnershipHistoryInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteOwnershipHistoryCreationAttributes = Optional<IInstituteOwnershipHistoryAttributes, 'id'>;
|
|
5
|
+
export type TInstituteOwnershipHistoryCreationAttributesWithAssociation = IInstituteOwnershipHistoryAttributes & {
|
|
6
|
+
oldOwnerUser?: IUserAttributes;
|
|
7
|
+
newOwnerUser?: IUserAttributes;
|
|
8
|
+
institute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstitutePartnersAttributes } from '../interfaces/institutePartnersInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstitutePartnersCreationAttributes = Optional<IInstitutePartnersAttributes, 'id'>;
|
|
5
|
+
export type TInstitutePartnersWithAssociation = IInstitutePartnersAttributes & {
|
|
6
|
+
partnerUser?: IUserAttributes;
|
|
7
|
+
institute?: IInstituteAttributes;
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteSubscriptionPlanModelAttributes } from '../interfaces/instituteSubscriptionPlanInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes, IWalletModelAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteSubscriptionPlanModelCreationAttributes = Optional<IInstituteSubscriptionPlanModelAttributes, 'id'>;
|
|
5
|
+
export type TInstituteSubscriptionPlanWithAssociation = IInstituteSubscriptionPlanModelAttributes & {
|
|
6
|
+
user?: IUserAttributes;
|
|
7
|
+
wallet?: IWalletModelAttributes;
|
|
8
|
+
institute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteAttributes } from '../interfaces/instituteInterface';
|
|
3
|
+
import { ICityAttributes, ICountryAttributes, IFileStorageAttributes, IStateAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteCreationAttributes = Optional<IInstituteAttributes, 'id'>;
|
|
5
|
+
export type TInstituteCreationWithAssociation = IInstituteAttributes & {
|
|
6
|
+
countryDetails?: ICountryAttributes;
|
|
7
|
+
stateDetails?: IStateAttributes;
|
|
8
|
+
cityDetails?: ICityAttributes;
|
|
9
|
+
coverImageDetails?: IFileStorageAttributes;
|
|
10
|
+
brochureDetails?: IFileStorageAttributes;
|
|
11
|
+
profileImageDetails?: IFileStorageAttributes;
|
|
12
|
+
pdfDetails?: IFileStorageAttributes;
|
|
13
|
+
institute?: IInstituteAttributes;
|
|
14
|
+
createdByUser?: IUserAttributes;
|
|
15
|
+
updatedByUser?: IUserAttributes;
|
|
16
|
+
deletedByUser?: IUserAttributes;
|
|
17
|
+
campusDetails?: IUserAttributes;
|
|
18
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInventoryModelAttributes } from '../interfaces/inventoryInterface';
|
|
3
|
+
import { ICategoriesModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInventoryModelCreationAttributes = Optional<IInventoryModelAttributes, 'id'>;
|
|
5
|
+
export type TInventoryModelWithAssociation = IInventoryModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
institute?: IInstituteAttributes;
|
|
10
|
+
category?: ICategoriesModelAttributes;
|
|
11
|
+
};
|
package/package.json
CHANGED