@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,18 +24,39 @@
|
|
|
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 IAllCourse {
|
|
29
|
-
updatedBy:
|
|
28
|
+
updatedBy: Schema.Types.ObjectId;
|
|
30
29
|
all_course_chinese: string;
|
|
31
30
|
all_course_english: string;
|
|
32
31
|
description: string;
|
|
33
32
|
}
|
|
34
|
-
export declare const allCourseSchema: Schema<
|
|
35
|
-
|
|
33
|
+
export declare const allCourseSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
34
|
+
timestamps: true;
|
|
35
|
+
}, {
|
|
36
|
+
createdAt: NativeDate;
|
|
37
|
+
updatedAt: NativeDate;
|
|
36
38
|
} & {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
+
all_course_chinese: string;
|
|
40
|
+
all_course_english: string;
|
|
41
|
+
updatedBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
42
|
+
description?: string | null | undefined;
|
|
43
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
44
|
+
createdAt: NativeDate;
|
|
45
|
+
updatedAt: NativeDate;
|
|
46
|
+
} & {
|
|
47
|
+
all_course_chinese: string;
|
|
48
|
+
all_course_english: string;
|
|
49
|
+
updatedBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
50
|
+
description?: string | null | undefined;
|
|
51
|
+
}>> & import("mongoose").FlatRecord<{
|
|
52
|
+
createdAt: NativeDate;
|
|
53
|
+
updatedAt: NativeDate;
|
|
54
|
+
} & {
|
|
55
|
+
all_course_chinese: string;
|
|
56
|
+
all_course_english: string;
|
|
57
|
+
updatedBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
58
|
+
description?: string | null | undefined;
|
|
59
|
+
}> & {
|
|
39
60
|
_id: import("mongoose").Types.ObjectId;
|
|
40
61
|
} & {
|
|
41
62
|
__v: number;
|
|
@@ -24,26 +24,51 @@
|
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
export declare const auditSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
32
|
+
} & {
|
|
33
|
+
action?: string | null | undefined;
|
|
34
|
+
field?: string | null | undefined;
|
|
35
|
+
performedBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
36
|
+
targetUserId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
37
|
+
targetDocumentThreadId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
38
|
+
interviewThreadId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
37
39
|
changes?: {
|
|
38
|
-
before?:
|
|
39
|
-
after?:
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
before?: any;
|
|
41
|
+
after?: any;
|
|
42
|
+
} | null | undefined;
|
|
43
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
44
|
+
createdAt: NativeDate;
|
|
45
|
+
updatedAt: NativeDate;
|
|
44
46
|
} & {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
action?: string | null | undefined;
|
|
48
|
+
field?: string | null | undefined;
|
|
49
|
+
performedBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
50
|
+
targetUserId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
51
|
+
targetDocumentThreadId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
52
|
+
interviewThreadId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
53
|
+
changes?: {
|
|
54
|
+
before?: any;
|
|
55
|
+
after?: any;
|
|
56
|
+
} | null | undefined;
|
|
57
|
+
}>> & import("mongoose").FlatRecord<{
|
|
58
|
+
createdAt: NativeDate;
|
|
59
|
+
updatedAt: NativeDate;
|
|
60
|
+
} & {
|
|
61
|
+
action?: string | null | undefined;
|
|
62
|
+
field?: string | null | undefined;
|
|
63
|
+
performedBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
64
|
+
targetUserId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
65
|
+
targetDocumentThreadId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
66
|
+
interviewThreadId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
67
|
+
changes?: {
|
|
68
|
+
before?: any;
|
|
69
|
+
after?: any;
|
|
70
|
+
} | null | undefined;
|
|
71
|
+
}> & {
|
|
47
72
|
_id: import("mongoose").Types.ObjectId;
|
|
48
73
|
} & {
|
|
49
74
|
__v: number;
|
|
@@ -24,17 +24,22 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
28
|
-
key
|
|
29
|
-
category
|
|
30
|
-
link
|
|
31
|
-
updatedAt?:
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
27
|
+
export declare const basedocumentationslinksSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
key: string;
|
|
29
|
+
category: string;
|
|
30
|
+
link: string;
|
|
31
|
+
updatedAt?: NativeDate | null | undefined;
|
|
32
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
33
|
+
key: string;
|
|
34
|
+
category: string;
|
|
35
|
+
link: string;
|
|
36
|
+
updatedAt?: NativeDate | null | undefined;
|
|
37
|
+
}>> & import("mongoose").FlatRecord<{
|
|
38
|
+
key: string;
|
|
39
|
+
category: string;
|
|
40
|
+
link: string;
|
|
41
|
+
updatedAt?: NativeDate | null | undefined;
|
|
42
|
+
}> & {
|
|
38
43
|
_id: import("mongoose").Types.ObjectId;
|
|
39
44
|
} & {
|
|
40
45
|
__v: number;
|
|
@@ -24,29 +24,78 @@
|
|
|
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
|
-
}
|
|
33
|
-
export interface ICommunication {
|
|
34
|
-
student_id?: IStudent | Schema.Types.ObjectId | string;
|
|
35
|
-
user_id?: IUser | Schema.Types.ObjectId | string;
|
|
36
|
-
message?: string;
|
|
37
|
-
readBy?: IUser[] | Schema.Types.ObjectId[] | string[];
|
|
38
|
-
timeStampReadBy?: Schema.Types.Mixed;
|
|
39
|
-
files?: ICommunicationFile[];
|
|
40
|
-
createdAt?: Date;
|
|
41
|
-
ignore_message?: boolean;
|
|
42
|
-
ignoredMessageUpdatedAt?: Date;
|
|
43
|
-
ignoredMessageBy?: IUser | Schema.Types.ObjectId | string;
|
|
44
|
-
}
|
|
45
|
-
export declare const communicationsSchema: Schema<ICommunication, import("mongoose").Model<ICommunication, any, any, any, import("mongoose").Document<unknown, any, ICommunication> & ICommunication & {
|
|
46
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const communicationsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
47
32
|
} & {
|
|
48
|
-
|
|
49
|
-
|
|
33
|
+
message: string;
|
|
34
|
+
readBy: import("mongoose").Types.ObjectId[];
|
|
35
|
+
files: import("mongoose").Types.DocumentArray<{
|
|
36
|
+
name: string;
|
|
37
|
+
path: string;
|
|
38
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
39
|
+
name: string;
|
|
40
|
+
path: string;
|
|
41
|
+
}> & {
|
|
42
|
+
name: string;
|
|
43
|
+
path: string;
|
|
44
|
+
}>;
|
|
45
|
+
createdAt?: NativeDate | null | undefined;
|
|
46
|
+
timeStampReadBy?: any;
|
|
47
|
+
ignore_message?: boolean | null | undefined;
|
|
48
|
+
ignoredMessageUpdatedAt?: NativeDate | null | undefined;
|
|
49
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
50
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
51
|
+
ignoredMessageBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
52
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
53
|
+
createdAt: NativeDate;
|
|
54
|
+
updatedAt: NativeDate;
|
|
55
|
+
} & {
|
|
56
|
+
message: string;
|
|
57
|
+
readBy: import("mongoose").Types.ObjectId[];
|
|
58
|
+
files: import("mongoose").Types.DocumentArray<{
|
|
59
|
+
name: string;
|
|
60
|
+
path: string;
|
|
61
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
62
|
+
name: string;
|
|
63
|
+
path: string;
|
|
64
|
+
}> & {
|
|
65
|
+
name: string;
|
|
66
|
+
path: string;
|
|
67
|
+
}>;
|
|
68
|
+
createdAt?: NativeDate | null | undefined;
|
|
69
|
+
timeStampReadBy?: any;
|
|
70
|
+
ignore_message?: boolean | null | undefined;
|
|
71
|
+
ignoredMessageUpdatedAt?: NativeDate | null | undefined;
|
|
72
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
73
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
74
|
+
ignoredMessageBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
75
|
+
}>> & import("mongoose").FlatRecord<{
|
|
76
|
+
createdAt: NativeDate;
|
|
77
|
+
updatedAt: NativeDate;
|
|
78
|
+
} & {
|
|
79
|
+
message: string;
|
|
80
|
+
readBy: import("mongoose").Types.ObjectId[];
|
|
81
|
+
files: import("mongoose").Types.DocumentArray<{
|
|
82
|
+
name: string;
|
|
83
|
+
path: string;
|
|
84
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
85
|
+
name: string;
|
|
86
|
+
path: string;
|
|
87
|
+
}> & {
|
|
88
|
+
name: string;
|
|
89
|
+
path: string;
|
|
90
|
+
}>;
|
|
91
|
+
createdAt?: NativeDate | null | undefined;
|
|
92
|
+
timeStampReadBy?: any;
|
|
93
|
+
ignore_message?: boolean | null | undefined;
|
|
94
|
+
ignoredMessageUpdatedAt?: NativeDate | null | undefined;
|
|
95
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
96
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
97
|
+
ignoredMessageBy?: import("mongoose").Types.ObjectId | null | undefined;
|
|
98
|
+
}> & {
|
|
50
99
|
_id: import("mongoose").Types.ObjectId;
|
|
51
100
|
} & {
|
|
52
101
|
__v: number;
|
|
@@ -24,32 +24,177 @@
|
|
|
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 IComplaintMessage {
|
|
33
|
-
user_id?: IUser | Schema.Types.ObjectId | string;
|
|
34
|
-
message?: string;
|
|
35
|
-
createdAt?: Date;
|
|
36
|
-
file?: IComplaintMessageFile[];
|
|
37
|
-
ignore_message?: boolean;
|
|
38
|
-
}
|
|
39
|
-
export interface IComplaint {
|
|
40
|
-
requester_id: IUser | Schema.Types.ObjectId | string;
|
|
41
|
-
status?: string;
|
|
42
|
-
title?: string;
|
|
43
|
-
category?: string;
|
|
44
|
-
description?: string;
|
|
45
|
-
messages?: IComplaintMessage[];
|
|
46
|
-
createdAt?: Date;
|
|
47
|
-
}
|
|
48
|
-
export declare const complaintSchema: Schema<IComplaint, import("mongoose").Model<IComplaint, any, any, any, import("mongoose").Document<unknown, any, IComplaint> & IComplaint & {
|
|
49
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const complaintSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
50
32
|
} & {
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
description: string;
|
|
34
|
+
createdAt: NativeDate;
|
|
35
|
+
category: string;
|
|
36
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
37
|
+
status: string;
|
|
38
|
+
title: string;
|
|
39
|
+
messages: import("mongoose").Types.DocumentArray<{
|
|
40
|
+
message: string;
|
|
41
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
42
|
+
name: string;
|
|
43
|
+
path: string;
|
|
44
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
45
|
+
name: string;
|
|
46
|
+
path: string;
|
|
47
|
+
}> & {
|
|
48
|
+
name: string;
|
|
49
|
+
path: string;
|
|
50
|
+
}>;
|
|
51
|
+
createdAt?: NativeDate | null | undefined;
|
|
52
|
+
ignore_message?: boolean | null | undefined;
|
|
53
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
54
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
55
|
+
message: string;
|
|
56
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
57
|
+
name: string;
|
|
58
|
+
path: string;
|
|
59
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
60
|
+
name: string;
|
|
61
|
+
path: string;
|
|
62
|
+
}> & {
|
|
63
|
+
name: string;
|
|
64
|
+
path: string;
|
|
65
|
+
}>;
|
|
66
|
+
createdAt?: NativeDate | null | undefined;
|
|
67
|
+
ignore_message?: boolean | null | undefined;
|
|
68
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
69
|
+
}> & {
|
|
70
|
+
message: string;
|
|
71
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
72
|
+
name: string;
|
|
73
|
+
path: string;
|
|
74
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
75
|
+
name: string;
|
|
76
|
+
path: string;
|
|
77
|
+
}> & {
|
|
78
|
+
name: string;
|
|
79
|
+
path: string;
|
|
80
|
+
}>;
|
|
81
|
+
createdAt?: NativeDate | null | undefined;
|
|
82
|
+
ignore_message?: boolean | null | undefined;
|
|
83
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
84
|
+
}>;
|
|
85
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
86
|
+
createdAt: NativeDate;
|
|
87
|
+
updatedAt: NativeDate;
|
|
88
|
+
} & {
|
|
89
|
+
description: string;
|
|
90
|
+
createdAt: NativeDate;
|
|
91
|
+
category: string;
|
|
92
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
93
|
+
status: string;
|
|
94
|
+
title: string;
|
|
95
|
+
messages: import("mongoose").Types.DocumentArray<{
|
|
96
|
+
message: string;
|
|
97
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
98
|
+
name: string;
|
|
99
|
+
path: string;
|
|
100
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
101
|
+
name: string;
|
|
102
|
+
path: string;
|
|
103
|
+
}> & {
|
|
104
|
+
name: string;
|
|
105
|
+
path: string;
|
|
106
|
+
}>;
|
|
107
|
+
createdAt?: NativeDate | null | undefined;
|
|
108
|
+
ignore_message?: boolean | null | undefined;
|
|
109
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
110
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
111
|
+
message: string;
|
|
112
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
113
|
+
name: string;
|
|
114
|
+
path: string;
|
|
115
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
116
|
+
name: string;
|
|
117
|
+
path: string;
|
|
118
|
+
}> & {
|
|
119
|
+
name: string;
|
|
120
|
+
path: string;
|
|
121
|
+
}>;
|
|
122
|
+
createdAt?: NativeDate | null | undefined;
|
|
123
|
+
ignore_message?: boolean | null | undefined;
|
|
124
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
125
|
+
}> & {
|
|
126
|
+
message: string;
|
|
127
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
128
|
+
name: string;
|
|
129
|
+
path: string;
|
|
130
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
131
|
+
name: string;
|
|
132
|
+
path: string;
|
|
133
|
+
}> & {
|
|
134
|
+
name: string;
|
|
135
|
+
path: string;
|
|
136
|
+
}>;
|
|
137
|
+
createdAt?: NativeDate | null | undefined;
|
|
138
|
+
ignore_message?: boolean | null | undefined;
|
|
139
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
140
|
+
}>;
|
|
141
|
+
}>> & import("mongoose").FlatRecord<{
|
|
142
|
+
createdAt: NativeDate;
|
|
143
|
+
updatedAt: NativeDate;
|
|
144
|
+
} & {
|
|
145
|
+
description: string;
|
|
146
|
+
createdAt: NativeDate;
|
|
147
|
+
category: string;
|
|
148
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
149
|
+
status: string;
|
|
150
|
+
title: string;
|
|
151
|
+
messages: import("mongoose").Types.DocumentArray<{
|
|
152
|
+
message: string;
|
|
153
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
154
|
+
name: string;
|
|
155
|
+
path: string;
|
|
156
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
157
|
+
name: string;
|
|
158
|
+
path: string;
|
|
159
|
+
}> & {
|
|
160
|
+
name: string;
|
|
161
|
+
path: string;
|
|
162
|
+
}>;
|
|
163
|
+
createdAt?: NativeDate | null | undefined;
|
|
164
|
+
ignore_message?: boolean | null | undefined;
|
|
165
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
166
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
167
|
+
message: string;
|
|
168
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
169
|
+
name: string;
|
|
170
|
+
path: string;
|
|
171
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
172
|
+
name: string;
|
|
173
|
+
path: string;
|
|
174
|
+
}> & {
|
|
175
|
+
name: string;
|
|
176
|
+
path: string;
|
|
177
|
+
}>;
|
|
178
|
+
createdAt?: NativeDate | null | undefined;
|
|
179
|
+
ignore_message?: boolean | null | undefined;
|
|
180
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
181
|
+
}> & {
|
|
182
|
+
message: string;
|
|
183
|
+
file: import("mongoose").Types.DocumentArray<{
|
|
184
|
+
name: string;
|
|
185
|
+
path: string;
|
|
186
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
187
|
+
name: string;
|
|
188
|
+
path: string;
|
|
189
|
+
}> & {
|
|
190
|
+
name: string;
|
|
191
|
+
path: string;
|
|
192
|
+
}>;
|
|
193
|
+
createdAt?: NativeDate | null | undefined;
|
|
194
|
+
ignore_message?: boolean | null | undefined;
|
|
195
|
+
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
196
|
+
}>;
|
|
197
|
+
}> & {
|
|
53
198
|
_id: import("mongoose").Types.ObjectId;
|
|
54
199
|
} & {
|
|
55
200
|
__v: number;
|
|
@@ -24,29 +24,55 @@
|
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
27
|
+
export declare const coursesSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
name: string;
|
|
29
|
+
table_data_string: string;
|
|
30
|
+
table_data_string_locked: boolean;
|
|
31
|
+
table_data_string_taiger_guided: string;
|
|
32
|
+
updatedAt?: NativeDate | null | undefined;
|
|
33
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
34
|
+
analysis?: {
|
|
35
|
+
path: string;
|
|
36
|
+
analyzed_course: string[];
|
|
37
|
+
isAnalysed: boolean;
|
|
38
|
+
isAnalysedV2: boolean;
|
|
39
|
+
pathV2: string;
|
|
40
|
+
updatedAt?: NativeDate | null | undefined;
|
|
41
|
+
updatedAtV2?: NativeDate | null | undefined;
|
|
42
|
+
} | null | undefined;
|
|
43
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
44
|
+
name: string;
|
|
45
|
+
table_data_string: string;
|
|
46
|
+
table_data_string_locked: boolean;
|
|
47
|
+
table_data_string_taiger_guided: string;
|
|
48
|
+
updatedAt?: NativeDate | null | undefined;
|
|
49
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
50
|
+
analysis?: {
|
|
51
|
+
path: string;
|
|
52
|
+
analyzed_course: string[];
|
|
53
|
+
isAnalysed: boolean;
|
|
54
|
+
isAnalysedV2: boolean;
|
|
55
|
+
pathV2: string;
|
|
56
|
+
updatedAt?: NativeDate | null | undefined;
|
|
57
|
+
updatedAtV2?: NativeDate | null | undefined;
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
}>> & import("mongoose").FlatRecord<{
|
|
60
|
+
name: string;
|
|
61
|
+
table_data_string: string;
|
|
62
|
+
table_data_string_locked: boolean;
|
|
63
|
+
table_data_string_taiger_guided: string;
|
|
64
|
+
updatedAt?: NativeDate | null | undefined;
|
|
65
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
66
|
+
analysis?: {
|
|
67
|
+
path: string;
|
|
68
|
+
analyzed_course: string[];
|
|
69
|
+
isAnalysed: boolean;
|
|
70
|
+
isAnalysedV2: boolean;
|
|
71
|
+
pathV2: string;
|
|
72
|
+
updatedAt?: NativeDate | null | undefined;
|
|
73
|
+
updatedAtV2?: NativeDate | null | undefined;
|
|
74
|
+
} | null | undefined;
|
|
75
|
+
}> & {
|
|
50
76
|
_id: import("mongoose").Types.ObjectId;
|
|
51
77
|
} & {
|
|
52
78
|
__v: number;
|
|
@@ -24,21 +24,44 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export interface
|
|
28
|
-
name
|
|
29
|
-
title
|
|
30
|
-
category
|
|
31
|
-
prop
|
|
32
|
-
author
|
|
33
|
-
text
|
|
34
|
-
country
|
|
35
|
-
updatedAt
|
|
27
|
+
export interface IDocspages {
|
|
28
|
+
name: string;
|
|
29
|
+
title: string;
|
|
30
|
+
category: string;
|
|
31
|
+
prop: string;
|
|
32
|
+
author: string;
|
|
33
|
+
text: string;
|
|
34
|
+
country: string;
|
|
35
|
+
updatedAt: Date;
|
|
36
36
|
}
|
|
37
|
-
export declare const docspagesSchema: Schema<
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
export declare const docspagesSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
38
|
+
text: string;
|
|
39
|
+
name: string;
|
|
40
|
+
category: string;
|
|
41
|
+
title: string;
|
|
42
|
+
prop: string;
|
|
43
|
+
author: string;
|
|
44
|
+
country: string;
|
|
45
|
+
updatedAt?: NativeDate | null | undefined;
|
|
46
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
47
|
+
text: string;
|
|
48
|
+
name: string;
|
|
49
|
+
category: string;
|
|
50
|
+
title: string;
|
|
51
|
+
prop: string;
|
|
52
|
+
author: string;
|
|
53
|
+
country: string;
|
|
54
|
+
updatedAt?: NativeDate | null | undefined;
|
|
55
|
+
}>> & import("mongoose").FlatRecord<{
|
|
56
|
+
text: string;
|
|
57
|
+
name: string;
|
|
58
|
+
category: string;
|
|
59
|
+
title: string;
|
|
60
|
+
prop: string;
|
|
61
|
+
author: string;
|
|
62
|
+
country: string;
|
|
63
|
+
updatedAt?: NativeDate | null | undefined;
|
|
64
|
+
}> & {
|
|
42
65
|
_id: import("mongoose").Types.ObjectId;
|
|
43
66
|
} & {
|
|
44
67
|
__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
|
-
prop
|
|
33
|
-
|
|
34
|
-
country
|
|
35
|
-
updatedAt?:
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
27
|
+
export declare const documentationsSchema: 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
|
+
prop: string;
|
|
33
|
+
author: string;
|
|
34
|
+
country: string;
|
|
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
|
+
prop: string;
|
|
42
|
+
author: string;
|
|
43
|
+
country: string;
|
|
44
|
+
updatedAt?: NativeDate | null | undefined;
|
|
45
|
+
}>> & import("mongoose").FlatRecord<{
|
|
46
|
+
text: string;
|
|
47
|
+
name: string;
|
|
48
|
+
category: string;
|
|
49
|
+
title: string;
|
|
50
|
+
prop: string;
|
|
51
|
+
author: string;
|
|
52
|
+
country: string;
|
|
53
|
+
updatedAt?: NativeDate | null | undefined;
|
|
54
|
+
}> & {
|
|
42
55
|
_id: import("mongoose").Types.ObjectId;
|
|
43
56
|
} & {
|
|
44
57
|
__v: number;
|