@kipicore/dbcore 1.1.468 → 1.1.470
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.
|
@@ -8,15 +8,12 @@ export interface ICommonBannerAndSlimSchema {
|
|
|
8
8
|
}
|
|
9
9
|
export interface ITimeDurationSchema {
|
|
10
10
|
startTime: Date;
|
|
11
|
-
|
|
11
|
+
endTime: Date;
|
|
12
12
|
}
|
|
13
13
|
export interface IAdvertisementModelAttributes extends IDefaultAttributes, Document {
|
|
14
14
|
id: string;
|
|
15
15
|
title: string;
|
|
16
|
-
appType: string;
|
|
17
|
-
userType: string;
|
|
18
16
|
frequency: number;
|
|
19
|
-
instituteId: string;
|
|
20
17
|
description: string;
|
|
21
18
|
status: COMMAN_STATUS;
|
|
22
19
|
banner?: ICommonBannerAndSlimSchema[];
|
|
@@ -61,6 +61,7 @@ export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Docume
|
|
|
61
61
|
isFeeCarryForward: boolean;
|
|
62
62
|
isFeeCollectionCreated: boolean;
|
|
63
63
|
designationId?: string;
|
|
64
|
+
studentProfileImage?: string;
|
|
64
65
|
}
|
|
65
66
|
export interface IUserWiseData {
|
|
66
67
|
userId: string;
|
|
@@ -42,7 +42,7 @@ const CommonForBannerAndSlim = new mongoose_1.Schema({
|
|
|
42
42
|
}, { _id: false });
|
|
43
43
|
const TimeDurationSchema = new mongoose_1.Schema({
|
|
44
44
|
startTime: { type: Date, required: false },
|
|
45
|
-
|
|
45
|
+
endTime: { type: Date, required: false },
|
|
46
46
|
}, { _id: false });
|
|
47
47
|
const advertisementSchema = new mongoose_1.Schema({
|
|
48
48
|
title: {
|
|
@@ -50,18 +50,6 @@ const advertisementSchema = new mongoose_1.Schema({
|
|
|
50
50
|
required: false,
|
|
51
51
|
trim: true,
|
|
52
52
|
},
|
|
53
|
-
instituteId: {
|
|
54
|
-
type: String,
|
|
55
|
-
trim: true,
|
|
56
|
-
},
|
|
57
|
-
appType: {
|
|
58
|
-
type: String,
|
|
59
|
-
required: false,
|
|
60
|
-
},
|
|
61
|
-
userType: {
|
|
62
|
-
type: String,
|
|
63
|
-
required: false,
|
|
64
|
-
},
|
|
65
53
|
description: {
|
|
66
54
|
type: String,
|
|
67
55
|
required: false,
|
package/package.json
CHANGED