@taiger-common/model 1.0.57 → 1.0.58
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/LICENSE +21 -21
- package/README.md +23 -23
- package/dist/cjs/index.js +0 -2
- package/dist/cjs/model/Documentthread.js +4 -2
- package/dist/cjs/model/Program.js +83 -331
- package/dist/cjs/model/User.js +139 -78
- package/dist/cjs/model/index.js +1 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/model/Documentthread.js +4 -2
- package/dist/esm/model/Program.js +78 -326
- package/dist/esm/model/User.js +124 -62
- package/dist/esm/model/index.js +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/model/Allcourse.d.ts +27 -6
- package/dist/types/model/Audit.d.ts +43 -18
- package/dist/types/model/Basedocumentationslink.d.ts +16 -11
- package/dist/types/model/Communication.d.ts +71 -22
- package/dist/types/model/Complaint.d.ts +170 -25
- package/dist/types/model/Course.d.ts +49 -23
- package/dist/types/model/Docspage.d.ts +37 -14
- package/dist/types/model/Documentation.d.ts +28 -15
- package/dist/types/model/Documentthread.d.ts +178 -35
- package/dist/types/model/Event.d.ts +54 -15
- package/dist/types/model/Internaldoc.d.ts +28 -15
- package/dist/types/model/Interval.d.ts +26 -13
- package/dist/types/model/Interview.d.ts +50 -23
- package/dist/types/model/InterviewSurveyResponse.d.ts +62 -20
- package/dist/types/model/Keywordset.d.ts +44 -14
- package/dist/types/model/Note.d.ts +13 -11
- package/dist/types/model/Permission.d.ts +56 -21
- package/dist/types/model/Program.d.ts +232 -387
- package/dist/types/model/Programrequirement.d.ts +140 -37
- package/dist/types/model/ResponseTime.d.ts +17 -12
- package/dist/types/model/SurveyInput.d.ts +90 -23
- package/dist/types/model/Template.d.ts +13 -8
- package/dist/types/model/Tenant.d.ts +13 -10
- package/dist/types/model/Ticket.d.ts +38 -16
- package/dist/types/model/Token.d.ts +12 -10
- package/dist/types/model/User.d.ts +1 -2148
- package/dist/types/model/index.d.ts +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/account.js +0 -35
- package/dist/cjs/api/applications.js +0 -46
- package/dist/cjs/api/audit.js +0 -8
- package/dist/cjs/api/auth.js +0 -19
- package/dist/cjs/api/common.js +0 -32
- package/dist/cjs/api/communications.js +0 -15
- package/dist/cjs/api/courses.js +0 -23
- package/dist/cjs/api/crm.js +0 -87
- package/dist/cjs/api/documentThreads.js +0 -44
- package/dist/cjs/api/documentations.js +0 -33
- package/dist/cjs/api/events.js +0 -22
- package/dist/cjs/api/index.js +0 -41
- package/dist/cjs/api/interviews.js +0 -35
- package/dist/cjs/api/meetings.js +0 -20
- package/dist/cjs/api/notes.js +0 -8
- package/dist/cjs/api/permissions.js +0 -9
- package/dist/cjs/api/portals.js +0 -24
- package/dist/cjs/api/programRequirements.js +0 -26
- package/dist/cjs/api/programs.js +0 -93
- package/dist/cjs/api/search.js +0 -24
- package/dist/cjs/api/serialized.js +0 -50
- package/dist/cjs/api/students.js +0 -29
- package/dist/cjs/api/teams.js +0 -48
- package/dist/cjs/api/tickets.js +0 -21
- package/dist/cjs/api/users.js +0 -42
- package/dist/cjs/api/widgets.js +0 -21
- package/dist/cjs/constants/users.js +0 -12
- package/dist/cjs/model/Application.js +0 -78
- package/dist/cjs/schema/index.js +0 -22
- package/dist/cjs/schema/models.js +0 -523
- package/dist/cjs/schema/serialized.js +0 -202
- package/dist/esm/api/account.js +0 -32
- package/dist/esm/api/applications.js +0 -43
- package/dist/esm/api/audit.js +0 -5
- package/dist/esm/api/auth.js +0 -16
- package/dist/esm/api/common.js +0 -27
- package/dist/esm/api/communications.js +0 -12
- package/dist/esm/api/courses.js +0 -20
- package/dist/esm/api/crm.js +0 -84
- package/dist/esm/api/documentThreads.js +0 -41
- package/dist/esm/api/documentations.js +0 -30
- package/dist/esm/api/events.js +0 -19
- package/dist/esm/api/index.js +0 -25
- package/dist/esm/api/interviews.js +0 -32
- package/dist/esm/api/meetings.js +0 -17
- package/dist/esm/api/notes.js +0 -5
- package/dist/esm/api/permissions.js +0 -6
- package/dist/esm/api/portals.js +0 -21
- package/dist/esm/api/programRequirements.js +0 -23
- package/dist/esm/api/programs.js +0 -90
- package/dist/esm/api/search.js +0 -21
- package/dist/esm/api/serialized.js +0 -13
- package/dist/esm/api/students.js +0 -26
- package/dist/esm/api/teams.js +0 -45
- package/dist/esm/api/tickets.js +0 -18
- package/dist/esm/api/users.js +0 -39
- package/dist/esm/api/widgets.js +0 -18
- package/dist/esm/constants/users.js +0 -9
- package/dist/esm/model/Application.js +0 -75
- package/dist/esm/schema/index.js +0 -6
- package/dist/esm/schema/models.js +0 -520
- package/dist/esm/schema/serialized.js +0 -199
- package/dist/types/api/account.d.ts +0 -503
- package/dist/types/api/applications.d.ts +0 -3417
- package/dist/types/api/audit.d.ts +0 -89
- package/dist/types/api/auth.d.ts +0 -3411
- package/dist/types/api/common.d.ts +0 -90
- package/dist/types/api/communications.d.ts +0 -617
- package/dist/types/api/courses.d.ts +0 -849
- package/dist/types/api/crm.d.ts +0 -1113
- package/dist/types/api/documentThreads.d.ts +0 -38257
- package/dist/types/api/documentations.d.ts +0 -933
- package/dist/types/api/events.d.ts +0 -7209
- package/dist/types/api/index.d.ts +0 -25
- package/dist/types/api/interviews.d.ts +0 -802
- package/dist/types/api/meetings.d.ts +0 -49
- package/dist/types/api/notes.d.ts +0 -85
- package/dist/types/api/permissions.d.ts +0 -195
- package/dist/types/api/portals.d.ts +0 -770
- package/dist/types/api/programRequirements.d.ts +0 -2685
- package/dist/types/api/programs.d.ts +0 -3046
- package/dist/types/api/search.d.ts +0 -292
- package/dist/types/api/serialized.d.ts +0 -7
- package/dist/types/api/students.d.ts +0 -307
- package/dist/types/api/teams.d.ts +0 -3671
- package/dist/types/api/tickets.d.ts +0 -960
- package/dist/types/api/users.d.ts +0 -6960
- package/dist/types/api/widgets.d.ts +0 -234
- package/dist/types/constants/users.d.ts +0 -9
- package/dist/types/model/Application.d.ts +0 -85
- package/dist/types/schema/index.d.ts +0 -6
- package/dist/types/schema/models.d.ts +0 -2038
- package/dist/types/schema/serialized.d.ts +0 -8823
|
@@ -24,41 +24,184 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
|
|
30
|
-
import
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
27
|
+
export declare const documentThreadsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
messages: import("mongoose").Types.DocumentArray<{
|
|
29
|
+
message: string;
|
|
30
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
31
|
+
name: string;
|
|
32
|
+
path: string;
|
|
33
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
34
|
+
name: string;
|
|
35
|
+
path: string;
|
|
36
|
+
}> & {
|
|
37
|
+
name: string;
|
|
38
|
+
path: string;
|
|
39
|
+
}>;
|
|
40
|
+
createdAt?: NativeDate | null | undefined;
|
|
41
|
+
ignore_message?: boolean | null | undefined;
|
|
42
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
43
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
44
|
+
message: string;
|
|
45
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
46
|
+
name: string;
|
|
47
|
+
path: string;
|
|
48
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
49
|
+
name: string;
|
|
50
|
+
path: string;
|
|
51
|
+
}> & {
|
|
52
|
+
name: string;
|
|
53
|
+
path: string;
|
|
54
|
+
}>;
|
|
55
|
+
createdAt?: NativeDate | null | undefined;
|
|
56
|
+
ignore_message?: boolean | null | undefined;
|
|
57
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
58
|
+
}> & {
|
|
59
|
+
message: string;
|
|
60
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
61
|
+
name: string;
|
|
62
|
+
path: string;
|
|
63
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
64
|
+
name: string;
|
|
65
|
+
path: string;
|
|
66
|
+
}> & {
|
|
67
|
+
name: string;
|
|
68
|
+
path: string;
|
|
69
|
+
}>;
|
|
70
|
+
createdAt?: NativeDate | null | undefined;
|
|
71
|
+
ignore_message?: boolean | null | undefined;
|
|
72
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
75
|
+
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
76
|
+
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
77
|
+
isFinalVersion: boolean;
|
|
78
|
+
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
79
|
+
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
80
|
+
updatedAt?: NativeDate | null | undefined;
|
|
81
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
82
|
+
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
83
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
84
|
+
file_type?: string | null | undefined;
|
|
85
|
+
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
86
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
87
|
+
messages: import("mongoose").Types.DocumentArray<{
|
|
88
|
+
message: string;
|
|
89
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
90
|
+
name: string;
|
|
91
|
+
path: string;
|
|
92
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
93
|
+
name: string;
|
|
94
|
+
path: string;
|
|
95
|
+
}> & {
|
|
96
|
+
name: string;
|
|
97
|
+
path: string;
|
|
98
|
+
}>;
|
|
99
|
+
createdAt?: NativeDate | null | undefined;
|
|
100
|
+
ignore_message?: boolean | null | undefined;
|
|
101
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
102
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
103
|
+
message: string;
|
|
104
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
105
|
+
name: string;
|
|
106
|
+
path: string;
|
|
107
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
108
|
+
name: string;
|
|
109
|
+
path: string;
|
|
110
|
+
}> & {
|
|
111
|
+
name: string;
|
|
112
|
+
path: string;
|
|
113
|
+
}>;
|
|
114
|
+
createdAt?: NativeDate | null | undefined;
|
|
115
|
+
ignore_message?: boolean | null | undefined;
|
|
116
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
117
|
+
}> & {
|
|
118
|
+
message: string;
|
|
119
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
120
|
+
name: string;
|
|
121
|
+
path: string;
|
|
122
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
123
|
+
name: string;
|
|
124
|
+
path: string;
|
|
125
|
+
}> & {
|
|
126
|
+
name: string;
|
|
127
|
+
path: string;
|
|
128
|
+
}>;
|
|
129
|
+
createdAt?: NativeDate | null | undefined;
|
|
130
|
+
ignore_message?: boolean | null | undefined;
|
|
131
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
134
|
+
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
135
|
+
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
136
|
+
isFinalVersion: boolean;
|
|
137
|
+
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
138
|
+
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
139
|
+
updatedAt?: NativeDate | null | undefined;
|
|
140
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
141
|
+
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
142
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
143
|
+
file_type?: string | null | undefined;
|
|
144
|
+
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
145
|
+
}>> & import("mongoose").FlatRecord<{
|
|
146
|
+
messages: import("mongoose").Types.DocumentArray<{
|
|
147
|
+
message: string;
|
|
148
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
149
|
+
name: string;
|
|
150
|
+
path: string;
|
|
151
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
152
|
+
name: string;
|
|
153
|
+
path: string;
|
|
154
|
+
}> & {
|
|
155
|
+
name: string;
|
|
156
|
+
path: string;
|
|
157
|
+
}>;
|
|
158
|
+
createdAt?: NativeDate | null | undefined;
|
|
159
|
+
ignore_message?: boolean | null | undefined;
|
|
160
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
161
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
162
|
+
message: string;
|
|
163
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
164
|
+
name: string;
|
|
165
|
+
path: string;
|
|
166
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
167
|
+
name: string;
|
|
168
|
+
path: string;
|
|
169
|
+
}> & {
|
|
170
|
+
name: string;
|
|
171
|
+
path: string;
|
|
172
|
+
}>;
|
|
173
|
+
createdAt?: NativeDate | null | undefined;
|
|
174
|
+
ignore_message?: boolean | null | undefined;
|
|
175
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
176
|
+
}> & {
|
|
177
|
+
message: string;
|
|
178
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
179
|
+
name: string;
|
|
180
|
+
path: string;
|
|
181
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
182
|
+
name: string;
|
|
183
|
+
path: string;
|
|
184
|
+
}> & {
|
|
185
|
+
name: string;
|
|
186
|
+
path: string;
|
|
187
|
+
}>;
|
|
188
|
+
createdAt?: NativeDate | null | undefined;
|
|
189
|
+
ignore_message?: boolean | null | undefined;
|
|
190
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
191
|
+
}>;
|
|
192
|
+
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
193
|
+
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
194
|
+
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
195
|
+
isFinalVersion: boolean;
|
|
196
|
+
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
197
|
+
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
198
|
+
updatedAt?: NativeDate | null | undefined;
|
|
199
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
200
|
+
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
201
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
202
|
+
file_type?: string | null | undefined;
|
|
203
|
+
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
204
|
+
}> & {
|
|
62
205
|
_id: import("mongoose").Types.ObjectId;
|
|
63
206
|
} & {
|
|
64
207
|
__v: number;
|
|
@@ -24,24 +24,63 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import { IUser } from './User';
|
|
28
27
|
export interface IEvent {
|
|
29
|
-
requester_id
|
|
30
|
-
receiver_id
|
|
31
|
-
isConfirmedRequester
|
|
32
|
-
isConfirmedReceiver
|
|
33
|
-
meetingLink
|
|
34
|
-
event_type
|
|
35
|
-
title
|
|
36
|
-
description
|
|
37
|
-
start
|
|
38
|
-
end
|
|
28
|
+
requester_id: string[];
|
|
29
|
+
receiver_id: string[];
|
|
30
|
+
isConfirmedRequester: boolean;
|
|
31
|
+
isConfirmedReceiver: boolean;
|
|
32
|
+
meetingLink: string;
|
|
33
|
+
event_type: string;
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
start: Date;
|
|
37
|
+
end: Date;
|
|
39
38
|
}
|
|
40
|
-
export declare const EventSchema: Schema<
|
|
41
|
-
|
|
39
|
+
export declare const EventSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
40
|
+
timestamps: true;
|
|
41
|
+
}, {
|
|
42
|
+
createdAt: NativeDate;
|
|
43
|
+
updatedAt: NativeDate;
|
|
42
44
|
} & {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
description: string;
|
|
46
|
+
requester_id: import("mongoose").Types.ObjectId[];
|
|
47
|
+
receiver_id: import("mongoose").Types.ObjectId[];
|
|
48
|
+
isConfirmedRequester: boolean;
|
|
49
|
+
isConfirmedReceiver: boolean;
|
|
50
|
+
meetingLink: string;
|
|
51
|
+
start: NativeDate;
|
|
52
|
+
title?: string | null | undefined;
|
|
53
|
+
event_type?: string | null | undefined;
|
|
54
|
+
end?: NativeDate | null | undefined;
|
|
55
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
56
|
+
createdAt: NativeDate;
|
|
57
|
+
updatedAt: NativeDate;
|
|
58
|
+
} & {
|
|
59
|
+
description: string;
|
|
60
|
+
requester_id: import("mongoose").Types.ObjectId[];
|
|
61
|
+
receiver_id: import("mongoose").Types.ObjectId[];
|
|
62
|
+
isConfirmedRequester: boolean;
|
|
63
|
+
isConfirmedReceiver: boolean;
|
|
64
|
+
meetingLink: string;
|
|
65
|
+
start: NativeDate;
|
|
66
|
+
title?: string | null | undefined;
|
|
67
|
+
event_type?: string | null | undefined;
|
|
68
|
+
end?: NativeDate | null | undefined;
|
|
69
|
+
}>> & import("mongoose").FlatRecord<{
|
|
70
|
+
createdAt: NativeDate;
|
|
71
|
+
updatedAt: NativeDate;
|
|
72
|
+
} & {
|
|
73
|
+
description: string;
|
|
74
|
+
requester_id: import("mongoose").Types.ObjectId[];
|
|
75
|
+
receiver_id: import("mongoose").Types.ObjectId[];
|
|
76
|
+
isConfirmedRequester: boolean;
|
|
77
|
+
isConfirmedReceiver: boolean;
|
|
78
|
+
meetingLink: string;
|
|
79
|
+
start: NativeDate;
|
|
80
|
+
title?: string | null | undefined;
|
|
81
|
+
event_type?: string | null | undefined;
|
|
82
|
+
end?: NativeDate | null | undefined;
|
|
83
|
+
}> & {
|
|
45
84
|
_id: import("mongoose").Types.ObjectId;
|
|
46
85
|
} & {
|
|
47
86
|
__v: number;
|
|
@@ -24,21 +24,34 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
category
|
|
31
|
-
|
|
32
|
-
author
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
updatedAt?:
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
27
|
+
export declare const internaldocsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
text: string;
|
|
29
|
+
name: string;
|
|
30
|
+
category: string;
|
|
31
|
+
title: string;
|
|
32
|
+
author: string;
|
|
33
|
+
country: string;
|
|
34
|
+
internal: boolean;
|
|
35
|
+
updatedAt?: NativeDate | null | undefined;
|
|
36
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
37
|
+
text: string;
|
|
38
|
+
name: string;
|
|
39
|
+
category: string;
|
|
40
|
+
title: string;
|
|
41
|
+
author: string;
|
|
42
|
+
country: string;
|
|
43
|
+
internal: boolean;
|
|
44
|
+
updatedAt?: NativeDate | null | undefined;
|
|
45
|
+
}>> & import("mongoose").FlatRecord<{
|
|
46
|
+
text: string;
|
|
47
|
+
name: string;
|
|
48
|
+
category: string;
|
|
49
|
+
title: string;
|
|
50
|
+
author: string;
|
|
51
|
+
country: string;
|
|
52
|
+
internal: boolean;
|
|
53
|
+
updatedAt?: NativeDate | null | undefined;
|
|
54
|
+
}> & {
|
|
42
55
|
_id: import("mongoose").Types.ObjectId;
|
|
43
56
|
} & {
|
|
44
57
|
__v: number;
|
|
@@ -24,21 +24,34 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
message_2_id: Schema.Types.ObjectId;
|
|
27
|
+
export declare const intervalSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
updatedAt: NativeDate;
|
|
29
|
+
message_1_id: import("mongoose").Types.ObjectId;
|
|
30
|
+
message_2_id: import("mongoose").Types.ObjectId;
|
|
32
31
|
interval_type: string;
|
|
33
32
|
interval: number;
|
|
34
|
-
intervalStartAt:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
intervalStartAt: NativeDate;
|
|
34
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
35
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
36
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
37
|
+
updatedAt: NativeDate;
|
|
38
|
+
message_1_id: import("mongoose").Types.ObjectId;
|
|
39
|
+
message_2_id: import("mongoose").Types.ObjectId;
|
|
40
|
+
interval_type: string;
|
|
41
|
+
interval: number;
|
|
42
|
+
intervalStartAt: NativeDate;
|
|
43
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
44
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
45
|
+
}>> & import("mongoose").FlatRecord<{
|
|
46
|
+
updatedAt: NativeDate;
|
|
47
|
+
message_1_id: import("mongoose").Types.ObjectId;
|
|
48
|
+
message_2_id: import("mongoose").Types.ObjectId;
|
|
49
|
+
interval_type: string;
|
|
50
|
+
interval: number;
|
|
51
|
+
intervalStartAt: NativeDate;
|
|
52
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
53
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
54
|
+
}> & {
|
|
42
55
|
_id: import("mongoose").Types.ObjectId;
|
|
43
56
|
} & {
|
|
44
57
|
__v: number;
|
|
@@ -24,30 +24,57 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export interface IInterview {
|
|
33
|
-
student_id?: IStudent | Schema.Types.ObjectId | string;
|
|
34
|
-
trainer_id?: IUser[] | Schema.Types.ObjectId[] | string[];
|
|
35
|
-
thread_id?: IDocumentthread | Schema.Types.ObjectId | string;
|
|
36
|
-
program_id?: IProgram | Schema.Types.ObjectId | string;
|
|
37
|
-
event_id?: IEvent | Schema.Types.ObjectId | string;
|
|
38
|
-
interview_description?: string;
|
|
39
|
-
interviewer?: string;
|
|
40
|
-
interview_duration?: string;
|
|
41
|
-
interview_date?: Date;
|
|
42
|
-
isClosed?: boolean;
|
|
43
|
-
start?: Date;
|
|
44
|
-
end?: Date;
|
|
45
|
-
}
|
|
46
|
-
export declare const interviewsSchema: Schema<IInterview, import("mongoose").Model<IInterview, any, any, any, import("mongoose").Document<unknown, any, IInterview> & IInterview & {
|
|
47
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const interviewsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
48
32
|
} & {
|
|
49
|
-
|
|
50
|
-
|
|
33
|
+
trainer_id: import("mongoose").Types.ObjectId[];
|
|
34
|
+
interview_description: string;
|
|
35
|
+
interviewer: string;
|
|
36
|
+
interview_duration: string;
|
|
37
|
+
isClosed: boolean;
|
|
38
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
39
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
40
|
+
start?: NativeDate | null | undefined;
|
|
41
|
+
end?: NativeDate | null | undefined;
|
|
42
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
43
|
+
event_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
44
|
+
interview_date?: NativeDate | null | undefined;
|
|
45
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
46
|
+
createdAt: NativeDate;
|
|
47
|
+
updatedAt: NativeDate;
|
|
48
|
+
} & {
|
|
49
|
+
trainer_id: import("mongoose").Types.ObjectId[];
|
|
50
|
+
interview_description: string;
|
|
51
|
+
interviewer: string;
|
|
52
|
+
interview_duration: string;
|
|
53
|
+
isClosed: boolean;
|
|
54
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
55
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
56
|
+
start?: NativeDate | null | undefined;
|
|
57
|
+
end?: NativeDate | null | undefined;
|
|
58
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
59
|
+
event_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
60
|
+
interview_date?: NativeDate | null | undefined;
|
|
61
|
+
}>> & import("mongoose").FlatRecord<{
|
|
62
|
+
createdAt: NativeDate;
|
|
63
|
+
updatedAt: NativeDate;
|
|
64
|
+
} & {
|
|
65
|
+
trainer_id: import("mongoose").Types.ObjectId[];
|
|
66
|
+
interview_description: string;
|
|
67
|
+
interviewer: string;
|
|
68
|
+
interview_duration: string;
|
|
69
|
+
isClosed: boolean;
|
|
70
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
71
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
72
|
+
start?: NativeDate | null | undefined;
|
|
73
|
+
end?: NativeDate | null | undefined;
|
|
74
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
75
|
+
event_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
76
|
+
interview_date?: NativeDate | null | undefined;
|
|
77
|
+
}> & {
|
|
51
78
|
_id: import("mongoose").Types.ObjectId;
|
|
52
79
|
} & {
|
|
53
80
|
__v: number;
|
|
@@ -24,27 +24,69 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
answer?: number;
|
|
33
|
-
}
|
|
34
|
-
export interface IInterviewSurveyResponse {
|
|
35
|
-
student_id?: IStudent | Schema.Types.ObjectId | string;
|
|
36
|
-
interview_id?: IInterview | Schema.Types.ObjectId | string;
|
|
37
|
-
program_id?: IProgram | Schema.Types.ObjectId | string;
|
|
38
|
-
responses?: IInterviewSurveyResponseResponse[];
|
|
39
|
-
isFinal?: boolean;
|
|
40
|
-
interviewQuestions?: string;
|
|
41
|
-
interviewFeedback?: string;
|
|
42
|
-
}
|
|
43
|
-
export declare const interviewSurveyResponseSchema: Schema<IInterviewSurveyResponse, import("mongoose").Model<IInterviewSurveyResponse, any, any, any, import("mongoose").Document<unknown, any, IInterviewSurveyResponse> & IInterviewSurveyResponse & {
|
|
44
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const interviewSurveyResponseSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
45
32
|
} & {
|
|
46
|
-
|
|
47
|
-
|
|
33
|
+
responses: import("mongoose").Types.DocumentArray<{
|
|
34
|
+
questionId?: string | null | undefined;
|
|
35
|
+
answer?: number | null | undefined;
|
|
36
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
37
|
+
questionId?: string | null | undefined;
|
|
38
|
+
answer?: number | null | undefined;
|
|
39
|
+
}> & {
|
|
40
|
+
questionId?: string | null | undefined;
|
|
41
|
+
answer?: number | null | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
44
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
45
|
+
interview_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
46
|
+
isFinal?: boolean | null | undefined;
|
|
47
|
+
interviewQuestions?: string | null | undefined;
|
|
48
|
+
interviewFeedback?: string | null | undefined;
|
|
49
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
50
|
+
createdAt: NativeDate;
|
|
51
|
+
updatedAt: NativeDate;
|
|
52
|
+
} & {
|
|
53
|
+
responses: import("mongoose").Types.DocumentArray<{
|
|
54
|
+
questionId?: string | null | undefined;
|
|
55
|
+
answer?: number | null | undefined;
|
|
56
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
57
|
+
questionId?: string | null | undefined;
|
|
58
|
+
answer?: number | null | undefined;
|
|
59
|
+
}> & {
|
|
60
|
+
questionId?: string | null | undefined;
|
|
61
|
+
answer?: number | null | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
64
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
65
|
+
interview_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
66
|
+
isFinal?: boolean | null | undefined;
|
|
67
|
+
interviewQuestions?: string | null | undefined;
|
|
68
|
+
interviewFeedback?: string | null | undefined;
|
|
69
|
+
}>> & import("mongoose").FlatRecord<{
|
|
70
|
+
createdAt: NativeDate;
|
|
71
|
+
updatedAt: NativeDate;
|
|
72
|
+
} & {
|
|
73
|
+
responses: import("mongoose").Types.DocumentArray<{
|
|
74
|
+
questionId?: string | null | undefined;
|
|
75
|
+
answer?: number | null | undefined;
|
|
76
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
77
|
+
questionId?: string | null | undefined;
|
|
78
|
+
answer?: number | null | undefined;
|
|
79
|
+
}> & {
|
|
80
|
+
questionId?: string | null | undefined;
|
|
81
|
+
answer?: number | null | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
84
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
85
|
+
interview_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
86
|
+
isFinal?: boolean | null | undefined;
|
|
87
|
+
interviewQuestions?: string | null | undefined;
|
|
88
|
+
interviewFeedback?: string | null | undefined;
|
|
89
|
+
}> & {
|
|
48
90
|
_id: import("mongoose").Types.ObjectId;
|
|
49
91
|
} & {
|
|
50
92
|
__v: number;
|
|
@@ -24,21 +24,51 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
categoryName?: string;
|
|
33
|
-
description?: string;
|
|
34
|
-
keywords?: IKeywordsetKeywords;
|
|
35
|
-
antiKeywords?: IKeywordsetKeywords;
|
|
36
|
-
}
|
|
37
|
-
export declare const keywordSetSchema: Schema<IKeywordset, import("mongoose").Model<IKeywordset, any, any, any, import("mongoose").Document<unknown, any, IKeywordset> & IKeywordset & {
|
|
38
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const keywordSetSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
39
32
|
} & {
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
description: string;
|
|
34
|
+
categoryName?: string | null | undefined;
|
|
35
|
+
keywords?: {
|
|
36
|
+
zh: string[];
|
|
37
|
+
en: string[];
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
antiKeywords?: {
|
|
40
|
+
zh: string[];
|
|
41
|
+
en: string[];
|
|
42
|
+
} | null | undefined;
|
|
43
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
44
|
+
createdAt: NativeDate;
|
|
45
|
+
updatedAt: NativeDate;
|
|
46
|
+
} & {
|
|
47
|
+
description: string;
|
|
48
|
+
categoryName?: string | null | undefined;
|
|
49
|
+
keywords?: {
|
|
50
|
+
zh: string[];
|
|
51
|
+
en: string[];
|
|
52
|
+
} | null | undefined;
|
|
53
|
+
antiKeywords?: {
|
|
54
|
+
zh: string[];
|
|
55
|
+
en: string[];
|
|
56
|
+
} | null | undefined;
|
|
57
|
+
}>> & import("mongoose").FlatRecord<{
|
|
58
|
+
createdAt: NativeDate;
|
|
59
|
+
updatedAt: NativeDate;
|
|
60
|
+
} & {
|
|
61
|
+
description: string;
|
|
62
|
+
categoryName?: string | null | undefined;
|
|
63
|
+
keywords?: {
|
|
64
|
+
zh: string[];
|
|
65
|
+
en: string[];
|
|
66
|
+
} | null | undefined;
|
|
67
|
+
antiKeywords?: {
|
|
68
|
+
zh: string[];
|
|
69
|
+
en: string[];
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
}> & {
|
|
42
72
|
_id: import("mongoose").Types.ObjectId;
|
|
43
73
|
} & {
|
|
44
74
|
__v: number;
|