@taiger-common/model 1.0.42 → 1.0.45
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/cjs/model/Application.js +2 -1
- package/dist/cjs/model/Program.js +3 -5
- package/dist/cjs/model/index.js +0 -1
- package/dist/esm/model/Application.js +2 -1
- package/dist/esm/model/Program.js +3 -5
- package/dist/esm/model/index.js +0 -1
- package/dist/types/model/Allcourse.d.ts +4 -26
- package/dist/types/model/Application.d.ts +51 -157
- package/dist/types/model/Audit.d.ts +15 -43
- package/dist/types/model/Basedocumentationslink.d.ts +11 -16
- package/dist/types/model/Communication.d.ts +20 -71
- package/dist/types/model/Complaint.d.ts +24 -170
- package/dist/types/model/Course.d.ts +23 -49
- package/dist/types/model/Docspage.d.ts +14 -37
- package/dist/types/model/Documentation.d.ts +15 -28
- package/dist/types/model/Documentthread.d.ts +32 -181
- package/dist/types/model/Event.d.ts +14 -54
- package/dist/types/model/Internaldoc.d.ts +15 -28
- package/dist/types/model/Interval.d.ts +13 -26
- package/dist/types/model/Interview.d.ts +18 -50
- package/dist/types/model/InterviewSurveyResponse.d.ts +17 -62
- package/dist/types/model/Keywordset.d.ts +14 -44
- package/dist/types/model/Note.d.ts +10 -13
- package/dist/types/model/Permission.d.ts +20 -56
- package/dist/types/model/Program.d.ts +85 -255
- package/dist/types/model/Programrequirement.d.ts +37 -140
- package/dist/types/model/ResponseTime.d.ts +10 -17
- package/dist/types/model/SurveyInput.d.ts +21 -90
- package/dist/types/model/Template.d.ts +8 -13
- package/dist/types/model/Tenant.d.ts +10 -13
- package/dist/types/model/Ticket.d.ts +14 -38
- package/dist/types/model/Token.d.ts +9 -12
- package/dist/types/model/User.d.ts +199 -1
- package/dist/types/model/index.d.ts +0 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -24,177 +24,31 @@
|
|
|
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
|
-
createdAt
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
status: string;
|
|
92
|
-
category: string;
|
|
93
|
-
requester_id: import("mongoose").Types.ObjectId;
|
|
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;
|
|
27
|
+
export interface IComplaintMessageFile {
|
|
28
|
+
name: string;
|
|
29
|
+
path: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IComplaintMessage {
|
|
32
|
+
user_id?: Schema.Types.ObjectId;
|
|
33
|
+
message?: string;
|
|
34
|
+
createdAt?: Date;
|
|
35
|
+
file?: IComplaintMessageFile[];
|
|
36
|
+
ignore_message?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface IComplaint {
|
|
39
|
+
requester_id: Schema.Types.ObjectId;
|
|
40
|
+
status?: string;
|
|
41
|
+
title?: string;
|
|
42
|
+
category?: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
messages?: IComplaintMessage[];
|
|
45
|
+
createdAt?: Date;
|
|
46
|
+
}
|
|
47
|
+
export declare const complaintSchema: Schema<IComplaint, import("mongoose").Model<IComplaint, any, any, any, import("mongoose").Document<unknown, any, IComplaint> & IComplaint & {
|
|
48
|
+
_id: import("mongoose").Types.ObjectId;
|
|
144
49
|
} & {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
status: string;
|
|
148
|
-
category: string;
|
|
149
|
-
requester_id: import("mongoose").Types.ObjectId;
|
|
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
|
-
}> & {
|
|
50
|
+
__v: number;
|
|
51
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IComplaint, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IComplaint>> & import("mongoose").FlatRecord<IComplaint> & {
|
|
198
52
|
_id: import("mongoose").Types.ObjectId;
|
|
199
53
|
} & {
|
|
200
54
|
__v: number;
|
|
@@ -24,55 +24,29 @@
|
|
|
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
|
-
|
|
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
|
-
}> & {
|
|
27
|
+
export interface ICourseAnalysis {
|
|
28
|
+
path?: string;
|
|
29
|
+
analyzed_course?: string[];
|
|
30
|
+
isAnalysed?: boolean;
|
|
31
|
+
isAnalysedV2?: boolean;
|
|
32
|
+
pathV2?: string;
|
|
33
|
+
updatedAtV2?: Date;
|
|
34
|
+
updatedAt?: Date;
|
|
35
|
+
}
|
|
36
|
+
export interface ICourse {
|
|
37
|
+
student_id?: Schema.Types.ObjectId;
|
|
38
|
+
name?: string;
|
|
39
|
+
table_data_string?: string;
|
|
40
|
+
table_data_string_locked?: boolean;
|
|
41
|
+
table_data_string_taiger_guided?: string;
|
|
42
|
+
updatedAt?: Date;
|
|
43
|
+
analysis?: ICourseAnalysis;
|
|
44
|
+
}
|
|
45
|
+
export declare const coursesSchema: Schema<ICourse, import("mongoose").Model<ICourse, any, any, any, import("mongoose").Document<unknown, any, ICourse> & ICourse & {
|
|
46
|
+
_id: import("mongoose").Types.ObjectId;
|
|
47
|
+
} & {
|
|
48
|
+
__v: number;
|
|
49
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICourse, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ICourse>> & import("mongoose").FlatRecord<ICourse> & {
|
|
76
50
|
_id: import("mongoose").Types.ObjectId;
|
|
77
51
|
} & {
|
|
78
52
|
__v: number;
|
|
@@ -24,44 +24,21 @@
|
|
|
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 IDocspage {
|
|
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
|
-
|
|
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
|
-
}> & {
|
|
37
|
+
export declare const docspagesSchema: Schema<IDocspage, import("mongoose").Model<IDocspage, any, any, any, import("mongoose").Document<unknown, any, IDocspage> & IDocspage & {
|
|
38
|
+
_id: import("mongoose").Types.ObjectId;
|
|
39
|
+
} & {
|
|
40
|
+
__v: number;
|
|
41
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDocspage, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IDocspage>> & import("mongoose").FlatRecord<IDocspage> & {
|
|
65
42
|
_id: import("mongoose").Types.ObjectId;
|
|
66
43
|
} & {
|
|
67
44
|
__v: number;
|
|
@@ -24,34 +24,21 @@
|
|
|
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
|
-
|
|
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
|
-
}> & {
|
|
27
|
+
export interface IDocumentation {
|
|
28
|
+
name?: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
category?: string;
|
|
31
|
+
author?: string;
|
|
32
|
+
prop?: string;
|
|
33
|
+
text?: string;
|
|
34
|
+
country?: string;
|
|
35
|
+
updatedAt?: Date;
|
|
36
|
+
}
|
|
37
|
+
export declare const documentationsSchema: Schema<IDocumentation, import("mongoose").Model<IDocumentation, any, any, any, import("mongoose").Document<unknown, any, IDocumentation> & IDocumentation & {
|
|
38
|
+
_id: import("mongoose").Types.ObjectId;
|
|
39
|
+
} & {
|
|
40
|
+
__v: number;
|
|
41
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDocumentation, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IDocumentation>> & import("mongoose").FlatRecord<IDocumentation> & {
|
|
55
42
|
_id: import("mongoose").Types.ObjectId;
|
|
56
43
|
} & {
|
|
57
44
|
__v: number;
|
|
@@ -24,187 +24,38 @@
|
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}> & {
|
|
60
|
-
message: string;
|
|
61
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
62
|
-
name: string;
|
|
63
|
-
path: string;
|
|
64
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
65
|
-
name: string;
|
|
66
|
-
path: string;
|
|
67
|
-
}> & {
|
|
68
|
-
name: string;
|
|
69
|
-
path: string;
|
|
70
|
-
}>;
|
|
71
|
-
createdAt?: NativeDate | null | undefined;
|
|
72
|
-
ignore_message?: boolean | null | undefined;
|
|
73
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
74
|
-
}>;
|
|
75
|
-
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
76
|
-
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
77
|
-
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
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
|
-
application_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
85
|
-
file_type?: string | null | undefined;
|
|
86
|
-
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
87
|
-
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
88
|
-
isFinalVersion: boolean;
|
|
89
|
-
messages: import("mongoose").Types.DocumentArray<{
|
|
90
|
-
message: string;
|
|
91
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
92
|
-
name: string;
|
|
93
|
-
path: string;
|
|
94
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
95
|
-
name: string;
|
|
96
|
-
path: string;
|
|
97
|
-
}> & {
|
|
98
|
-
name: string;
|
|
99
|
-
path: string;
|
|
100
|
-
}>;
|
|
101
|
-
createdAt?: NativeDate | null | undefined;
|
|
102
|
-
ignore_message?: boolean | null | undefined;
|
|
103
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
104
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
105
|
-
message: string;
|
|
106
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
107
|
-
name: string;
|
|
108
|
-
path: string;
|
|
109
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
110
|
-
name: string;
|
|
111
|
-
path: string;
|
|
112
|
-
}> & {
|
|
113
|
-
name: string;
|
|
114
|
-
path: string;
|
|
115
|
-
}>;
|
|
116
|
-
createdAt?: NativeDate | null | undefined;
|
|
117
|
-
ignore_message?: boolean | null | undefined;
|
|
118
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
119
|
-
}> & {
|
|
120
|
-
message: string;
|
|
121
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
122
|
-
name: string;
|
|
123
|
-
path: string;
|
|
124
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
125
|
-
name: string;
|
|
126
|
-
path: string;
|
|
127
|
-
}> & {
|
|
128
|
-
name: string;
|
|
129
|
-
path: string;
|
|
130
|
-
}>;
|
|
131
|
-
createdAt?: NativeDate | null | undefined;
|
|
132
|
-
ignore_message?: boolean | null | undefined;
|
|
133
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
134
|
-
}>;
|
|
135
|
-
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
136
|
-
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
137
|
-
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
138
|
-
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
139
|
-
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
140
|
-
updatedAt?: NativeDate | null | undefined;
|
|
141
|
-
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
142
|
-
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
143
|
-
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
144
|
-
application_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
145
|
-
file_type?: string | null | undefined;
|
|
146
|
-
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
147
|
-
}>> & import("mongoose").FlatRecord<{
|
|
148
|
-
isFinalVersion: boolean;
|
|
149
|
-
messages: import("mongoose").Types.DocumentArray<{
|
|
150
|
-
message: string;
|
|
151
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
152
|
-
name: string;
|
|
153
|
-
path: string;
|
|
154
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
155
|
-
name: string;
|
|
156
|
-
path: string;
|
|
157
|
-
}> & {
|
|
158
|
-
name: string;
|
|
159
|
-
path: string;
|
|
160
|
-
}>;
|
|
161
|
-
createdAt?: NativeDate | null | undefined;
|
|
162
|
-
ignore_message?: boolean | null | undefined;
|
|
163
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
164
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
165
|
-
message: string;
|
|
166
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
167
|
-
name: string;
|
|
168
|
-
path: string;
|
|
169
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
170
|
-
name: string;
|
|
171
|
-
path: string;
|
|
172
|
-
}> & {
|
|
173
|
-
name: string;
|
|
174
|
-
path: string;
|
|
175
|
-
}>;
|
|
176
|
-
createdAt?: NativeDate | null | undefined;
|
|
177
|
-
ignore_message?: boolean | null | undefined;
|
|
178
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
179
|
-
}> & {
|
|
180
|
-
message: string;
|
|
181
|
-
file: import("mongoose").Types.DocumentArray<{
|
|
182
|
-
name: string;
|
|
183
|
-
path: string;
|
|
184
|
-
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
185
|
-
name: string;
|
|
186
|
-
path: string;
|
|
187
|
-
}> & {
|
|
188
|
-
name: string;
|
|
189
|
-
path: string;
|
|
190
|
-
}>;
|
|
191
|
-
createdAt?: NativeDate | null | undefined;
|
|
192
|
-
ignore_message?: boolean | null | undefined;
|
|
193
|
-
user_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
194
|
-
}>;
|
|
195
|
-
outsourced_user_id: import("mongoose").Types.ObjectId[];
|
|
196
|
-
pin_by_user_id: import("mongoose").Types.ObjectId[];
|
|
197
|
-
flag_by_user_id: import("mongoose").Types.ObjectId[];
|
|
198
|
-
isOriginAuthorDeclarationConfirmedByStudent: boolean;
|
|
199
|
-
essayConsultantIds: import("mongoose").Types.ObjectId[];
|
|
200
|
-
updatedAt?: NativeDate | null | undefined;
|
|
201
|
-
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
202
|
-
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: NativeDate | null | undefined;
|
|
203
|
-
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
204
|
-
application_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
205
|
-
file_type?: string | null | undefined;
|
|
206
|
-
isEssayConsultantNeeded?: boolean | null | undefined;
|
|
207
|
-
}> & {
|
|
27
|
+
export interface IDocumentthreadMessageFile {
|
|
28
|
+
name: string;
|
|
29
|
+
path: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IDocumentthreadMessage {
|
|
32
|
+
user_id?: Schema.Types.ObjectId;
|
|
33
|
+
message?: string;
|
|
34
|
+
createdAt?: Date;
|
|
35
|
+
file?: IDocumentthreadMessageFile[];
|
|
36
|
+
ignore_message?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface IDocumentthread {
|
|
39
|
+
student_id: Schema.Types.ObjectId;
|
|
40
|
+
program_id?: Schema.Types.ObjectId;
|
|
41
|
+
application_id?: Schema.Types.ObjectId;
|
|
42
|
+
outsourced_user_id?: Schema.Types.ObjectId[];
|
|
43
|
+
pin_by_user_id?: Schema.Types.ObjectId[];
|
|
44
|
+
flag_by_user_id?: Schema.Types.ObjectId[];
|
|
45
|
+
file_type: string;
|
|
46
|
+
isFinalVersion?: boolean;
|
|
47
|
+
isOriginAuthorDeclarationConfirmedByStudent?: boolean;
|
|
48
|
+
isOriginAuthorDeclarationConfirmedByStudentTimestamp?: Date;
|
|
49
|
+
messages?: IDocumentthreadMessage[];
|
|
50
|
+
isEssayConsultantNeeded?: boolean;
|
|
51
|
+
essayConsultantIds?: Schema.Types.ObjectId[];
|
|
52
|
+
updatedAt?: Date;
|
|
53
|
+
}
|
|
54
|
+
export declare const documentThreadsSchema: Schema<IDocumentthread, import("mongoose").Model<IDocumentthread, any, any, any, import("mongoose").Document<unknown, any, IDocumentthread> & IDocumentthread & {
|
|
55
|
+
_id: import("mongoose").Types.ObjectId;
|
|
56
|
+
} & {
|
|
57
|
+
__v: number;
|
|
58
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDocumentthread, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IDocumentthread>> & import("mongoose").FlatRecord<IDocumentthread> & {
|
|
208
59
|
_id: import("mongoose").Types.ObjectId;
|
|
209
60
|
} & {
|
|
210
61
|
__v: number;
|