streamby-core 0.9.22 → 0.10.0
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/db/initProjectModel.d.ts +240 -240
- package/dist/index.d.ts +4 -3
- package/dist/index.js +12 -7
- package/dist/middleware/createRouter.js +18 -9
- package/dist/services/auth.d.ts +1 -0
- package/dist/services/auth.js +9 -0
- package/package.json +5 -2
|
@@ -3,9 +3,11 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
3
3
|
createdAt: NativeDate;
|
|
4
4
|
updatedAt: NativeDate;
|
|
5
5
|
} & {
|
|
6
|
-
name: string;
|
|
7
6
|
rootFolders: mongoose.Types.DocumentArray<{
|
|
8
7
|
children: mongoose.Types.DocumentArray<{
|
|
8
|
+
entries?: {} | null | undefined;
|
|
9
|
+
keys?: {} | null | undefined;
|
|
10
|
+
values?: {} | null | undefined;
|
|
9
11
|
prototype?: {
|
|
10
12
|
toString?: {} | null | undefined;
|
|
11
13
|
toLocaleString?: {} | null | undefined;
|
|
@@ -13,9 +15,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
13
15
|
constructor?: {
|
|
14
16
|
name?: unknown;
|
|
15
17
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
16
|
-
prototype?: unknown;
|
|
17
18
|
length?: unknown;
|
|
18
19
|
toString?: {} | null | undefined;
|
|
20
|
+
prototype?: unknown;
|
|
19
21
|
apply?: {} | null | undefined;
|
|
20
22
|
call?: {} | null | undefined;
|
|
21
23
|
bind?: {} | null | undefined;
|
|
@@ -26,9 +28,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
26
28
|
isPrototypeOf?: {} | null | undefined;
|
|
27
29
|
propertyIsEnumerable?: {} | null | undefined;
|
|
28
30
|
} | null | undefined;
|
|
29
|
-
entries?: {} | null | undefined;
|
|
30
|
-
keys?: {} | null | undefined;
|
|
31
|
-
values?: {} | null | undefined;
|
|
32
31
|
getPrototypeOf?: {} | null | undefined;
|
|
33
32
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
34
33
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -48,6 +47,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
48
47
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
49
48
|
fromEntries?: {} | null | undefined;
|
|
50
49
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
50
|
+
entries?: {} | null | undefined;
|
|
51
|
+
keys?: {} | null | undefined;
|
|
52
|
+
values?: {} | null | undefined;
|
|
51
53
|
prototype?: {
|
|
52
54
|
toString?: {} | null | undefined;
|
|
53
55
|
toLocaleString?: {} | null | undefined;
|
|
@@ -55,9 +57,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
55
57
|
constructor?: {
|
|
56
58
|
name?: unknown;
|
|
57
59
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
58
|
-
prototype?: unknown;
|
|
59
60
|
length?: unknown;
|
|
60
61
|
toString?: {} | null | undefined;
|
|
62
|
+
prototype?: unknown;
|
|
61
63
|
apply?: {} | null | undefined;
|
|
62
64
|
call?: {} | null | undefined;
|
|
63
65
|
bind?: {} | null | undefined;
|
|
@@ -68,9 +70,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
68
70
|
isPrototypeOf?: {} | null | undefined;
|
|
69
71
|
propertyIsEnumerable?: {} | null | undefined;
|
|
70
72
|
} | null | undefined;
|
|
71
|
-
entries?: {} | null | undefined;
|
|
72
|
-
keys?: {} | null | undefined;
|
|
73
|
-
values?: {} | null | undefined;
|
|
74
73
|
getPrototypeOf?: {} | null | undefined;
|
|
75
74
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
76
75
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -90,6 +89,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
90
89
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
91
90
|
fromEntries?: {} | null | undefined;
|
|
92
91
|
}> & {
|
|
92
|
+
entries?: {} | null | undefined;
|
|
93
|
+
keys?: {} | null | undefined;
|
|
94
|
+
values?: {} | null | undefined;
|
|
93
95
|
prototype?: {
|
|
94
96
|
toString?: {} | null | undefined;
|
|
95
97
|
toLocaleString?: {} | null | undefined;
|
|
@@ -97,9 +99,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
97
99
|
constructor?: {
|
|
98
100
|
name?: unknown;
|
|
99
101
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
100
|
-
prototype?: unknown;
|
|
101
102
|
length?: unknown;
|
|
102
103
|
toString?: {} | null | undefined;
|
|
104
|
+
prototype?: unknown;
|
|
103
105
|
apply?: {} | null | undefined;
|
|
104
106
|
call?: {} | null | undefined;
|
|
105
107
|
bind?: {} | null | undefined;
|
|
@@ -110,9 +112,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
110
112
|
isPrototypeOf?: {} | null | undefined;
|
|
111
113
|
propertyIsEnumerable?: {} | null | undefined;
|
|
112
114
|
} | null | undefined;
|
|
113
|
-
entries?: {} | null | undefined;
|
|
114
|
-
keys?: {} | null | undefined;
|
|
115
|
-
values?: {} | null | undefined;
|
|
116
115
|
getPrototypeOf?: {} | null | undefined;
|
|
117
116
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
118
117
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -136,6 +135,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
136
135
|
name?: string | null | undefined;
|
|
137
136
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
138
137
|
children: mongoose.Types.DocumentArray<{
|
|
138
|
+
entries?: {} | null | undefined;
|
|
139
|
+
keys?: {} | null | undefined;
|
|
140
|
+
values?: {} | null | undefined;
|
|
139
141
|
prototype?: {
|
|
140
142
|
toString?: {} | null | undefined;
|
|
141
143
|
toLocaleString?: {} | null | undefined;
|
|
@@ -143,9 +145,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
143
145
|
constructor?: {
|
|
144
146
|
name?: unknown;
|
|
145
147
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
146
|
-
prototype?: unknown;
|
|
147
148
|
length?: unknown;
|
|
148
149
|
toString?: {} | null | undefined;
|
|
150
|
+
prototype?: unknown;
|
|
149
151
|
apply?: {} | null | undefined;
|
|
150
152
|
call?: {} | null | undefined;
|
|
151
153
|
bind?: {} | null | undefined;
|
|
@@ -156,9 +158,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
156
158
|
isPrototypeOf?: {} | null | undefined;
|
|
157
159
|
propertyIsEnumerable?: {} | null | undefined;
|
|
158
160
|
} | null | undefined;
|
|
159
|
-
entries?: {} | null | undefined;
|
|
160
|
-
keys?: {} | null | undefined;
|
|
161
|
-
values?: {} | null | undefined;
|
|
162
161
|
getPrototypeOf?: {} | null | undefined;
|
|
163
162
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
164
163
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -178,6 +177,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
178
177
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
179
178
|
fromEntries?: {} | null | undefined;
|
|
180
179
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
180
|
+
entries?: {} | null | undefined;
|
|
181
|
+
keys?: {} | null | undefined;
|
|
182
|
+
values?: {} | null | undefined;
|
|
181
183
|
prototype?: {
|
|
182
184
|
toString?: {} | null | undefined;
|
|
183
185
|
toLocaleString?: {} | null | undefined;
|
|
@@ -185,9 +187,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
185
187
|
constructor?: {
|
|
186
188
|
name?: unknown;
|
|
187
189
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
188
|
-
prototype?: unknown;
|
|
189
190
|
length?: unknown;
|
|
190
191
|
toString?: {} | null | undefined;
|
|
192
|
+
prototype?: unknown;
|
|
191
193
|
apply?: {} | null | undefined;
|
|
192
194
|
call?: {} | null | undefined;
|
|
193
195
|
bind?: {} | null | undefined;
|
|
@@ -198,9 +200,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
198
200
|
isPrototypeOf?: {} | null | undefined;
|
|
199
201
|
propertyIsEnumerable?: {} | null | undefined;
|
|
200
202
|
} | null | undefined;
|
|
201
|
-
entries?: {} | null | undefined;
|
|
202
|
-
keys?: {} | null | undefined;
|
|
203
|
-
values?: {} | null | undefined;
|
|
204
203
|
getPrototypeOf?: {} | null | undefined;
|
|
205
204
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
206
205
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -220,6 +219,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
220
219
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
221
220
|
fromEntries?: {} | null | undefined;
|
|
222
221
|
}> & {
|
|
222
|
+
entries?: {} | null | undefined;
|
|
223
|
+
keys?: {} | null | undefined;
|
|
224
|
+
values?: {} | null | undefined;
|
|
223
225
|
prototype?: {
|
|
224
226
|
toString?: {} | null | undefined;
|
|
225
227
|
toLocaleString?: {} | null | undefined;
|
|
@@ -227,9 +229,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
227
229
|
constructor?: {
|
|
228
230
|
name?: unknown;
|
|
229
231
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
230
|
-
prototype?: unknown;
|
|
231
232
|
length?: unknown;
|
|
232
233
|
toString?: {} | null | undefined;
|
|
234
|
+
prototype?: unknown;
|
|
233
235
|
apply?: {} | null | undefined;
|
|
234
236
|
call?: {} | null | undefined;
|
|
235
237
|
bind?: {} | null | undefined;
|
|
@@ -240,9 +242,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
240
242
|
isPrototypeOf?: {} | null | undefined;
|
|
241
243
|
propertyIsEnumerable?: {} | null | undefined;
|
|
242
244
|
} | null | undefined;
|
|
243
|
-
entries?: {} | null | undefined;
|
|
244
|
-
keys?: {} | null | undefined;
|
|
245
|
-
values?: {} | null | undefined;
|
|
246
245
|
getPrototypeOf?: {} | null | undefined;
|
|
247
246
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
248
247
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -266,6 +265,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
266
265
|
name?: string | null | undefined;
|
|
267
266
|
}> & {
|
|
268
267
|
children: mongoose.Types.DocumentArray<{
|
|
268
|
+
entries?: {} | null | undefined;
|
|
269
|
+
keys?: {} | null | undefined;
|
|
270
|
+
values?: {} | null | undefined;
|
|
269
271
|
prototype?: {
|
|
270
272
|
toString?: {} | null | undefined;
|
|
271
273
|
toLocaleString?: {} | null | undefined;
|
|
@@ -273,9 +275,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
273
275
|
constructor?: {
|
|
274
276
|
name?: unknown;
|
|
275
277
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
276
|
-
prototype?: unknown;
|
|
277
278
|
length?: unknown;
|
|
278
279
|
toString?: {} | null | undefined;
|
|
280
|
+
prototype?: unknown;
|
|
279
281
|
apply?: {} | null | undefined;
|
|
280
282
|
call?: {} | null | undefined;
|
|
281
283
|
bind?: {} | null | undefined;
|
|
@@ -286,9 +288,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
286
288
|
isPrototypeOf?: {} | null | undefined;
|
|
287
289
|
propertyIsEnumerable?: {} | null | undefined;
|
|
288
290
|
} | null | undefined;
|
|
289
|
-
entries?: {} | null | undefined;
|
|
290
|
-
keys?: {} | null | undefined;
|
|
291
|
-
values?: {} | null | undefined;
|
|
292
291
|
getPrototypeOf?: {} | null | undefined;
|
|
293
292
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
294
293
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -308,6 +307,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
308
307
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
309
308
|
fromEntries?: {} | null | undefined;
|
|
310
309
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
310
|
+
entries?: {} | null | undefined;
|
|
311
|
+
keys?: {} | null | undefined;
|
|
312
|
+
values?: {} | null | undefined;
|
|
311
313
|
prototype?: {
|
|
312
314
|
toString?: {} | null | undefined;
|
|
313
315
|
toLocaleString?: {} | null | undefined;
|
|
@@ -315,9 +317,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
315
317
|
constructor?: {
|
|
316
318
|
name?: unknown;
|
|
317
319
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
318
|
-
prototype?: unknown;
|
|
319
320
|
length?: unknown;
|
|
320
321
|
toString?: {} | null | undefined;
|
|
322
|
+
prototype?: unknown;
|
|
321
323
|
apply?: {} | null | undefined;
|
|
322
324
|
call?: {} | null | undefined;
|
|
323
325
|
bind?: {} | null | undefined;
|
|
@@ -328,9 +330,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
328
330
|
isPrototypeOf?: {} | null | undefined;
|
|
329
331
|
propertyIsEnumerable?: {} | null | undefined;
|
|
330
332
|
} | null | undefined;
|
|
331
|
-
entries?: {} | null | undefined;
|
|
332
|
-
keys?: {} | null | undefined;
|
|
333
|
-
values?: {} | null | undefined;
|
|
334
333
|
getPrototypeOf?: {} | null | undefined;
|
|
335
334
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
336
335
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -350,6 +349,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
350
349
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
351
350
|
fromEntries?: {} | null | undefined;
|
|
352
351
|
}> & {
|
|
352
|
+
entries?: {} | null | undefined;
|
|
353
|
+
keys?: {} | null | undefined;
|
|
354
|
+
values?: {} | null | undefined;
|
|
353
355
|
prototype?: {
|
|
354
356
|
toString?: {} | null | undefined;
|
|
355
357
|
toLocaleString?: {} | null | undefined;
|
|
@@ -357,9 +359,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
357
359
|
constructor?: {
|
|
358
360
|
name?: unknown;
|
|
359
361
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
360
|
-
prototype?: unknown;
|
|
361
362
|
length?: unknown;
|
|
362
363
|
toString?: {} | null | undefined;
|
|
364
|
+
prototype?: unknown;
|
|
363
365
|
apply?: {} | null | undefined;
|
|
364
366
|
call?: {} | null | undefined;
|
|
365
367
|
bind?: {} | null | undefined;
|
|
@@ -370,9 +372,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
370
372
|
isPrototypeOf?: {} | null | undefined;
|
|
371
373
|
propertyIsEnumerable?: {} | null | undefined;
|
|
372
374
|
} | null | undefined;
|
|
373
|
-
entries?: {} | null | undefined;
|
|
374
|
-
keys?: {} | null | undefined;
|
|
375
|
-
values?: {} | null | undefined;
|
|
376
375
|
getPrototypeOf?: {} | null | undefined;
|
|
377
376
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
378
377
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -395,8 +394,7 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
395
394
|
id?: string | null | undefined;
|
|
396
395
|
name?: string | null | undefined;
|
|
397
396
|
}>;
|
|
398
|
-
|
|
399
|
-
allowSharing: boolean;
|
|
397
|
+
name: string;
|
|
400
398
|
members: mongoose.Types.DocumentArray<{
|
|
401
399
|
userId: mongoose.Types.ObjectId;
|
|
402
400
|
role: "viewer" | "editor" | "admin";
|
|
@@ -407,15 +405,19 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
407
405
|
userId: mongoose.Types.ObjectId;
|
|
408
406
|
role: "viewer" | "editor" | "admin";
|
|
409
407
|
}>;
|
|
410
|
-
|
|
408
|
+
allowUpload: boolean;
|
|
409
|
+
allowSharing: boolean;
|
|
411
410
|
image?: string | null | undefined;
|
|
411
|
+
description?: string | null | undefined;
|
|
412
412
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
413
413
|
createdAt: NativeDate;
|
|
414
414
|
updatedAt: NativeDate;
|
|
415
415
|
} & {
|
|
416
|
-
name: string;
|
|
417
416
|
rootFolders: mongoose.Types.DocumentArray<{
|
|
418
417
|
children: mongoose.Types.DocumentArray<{
|
|
418
|
+
entries?: {} | null | undefined;
|
|
419
|
+
keys?: {} | null | undefined;
|
|
420
|
+
values?: {} | null | undefined;
|
|
419
421
|
prototype?: {
|
|
420
422
|
toString?: {} | null | undefined;
|
|
421
423
|
toLocaleString?: {} | null | undefined;
|
|
@@ -423,9 +425,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
423
425
|
constructor?: {
|
|
424
426
|
name?: unknown;
|
|
425
427
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
426
|
-
prototype?: unknown;
|
|
427
428
|
length?: unknown;
|
|
428
429
|
toString?: {} | null | undefined;
|
|
430
|
+
prototype?: unknown;
|
|
429
431
|
apply?: {} | null | undefined;
|
|
430
432
|
call?: {} | null | undefined;
|
|
431
433
|
bind?: {} | null | undefined;
|
|
@@ -436,9 +438,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
436
438
|
isPrototypeOf?: {} | null | undefined;
|
|
437
439
|
propertyIsEnumerable?: {} | null | undefined;
|
|
438
440
|
} | null | undefined;
|
|
439
|
-
entries?: {} | null | undefined;
|
|
440
|
-
keys?: {} | null | undefined;
|
|
441
|
-
values?: {} | null | undefined;
|
|
442
441
|
getPrototypeOf?: {} | null | undefined;
|
|
443
442
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
444
443
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -458,6 +457,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
458
457
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
459
458
|
fromEntries?: {} | null | undefined;
|
|
460
459
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
460
|
+
entries?: {} | null | undefined;
|
|
461
|
+
keys?: {} | null | undefined;
|
|
462
|
+
values?: {} | null | undefined;
|
|
461
463
|
prototype?: {
|
|
462
464
|
toString?: {} | null | undefined;
|
|
463
465
|
toLocaleString?: {} | null | undefined;
|
|
@@ -465,9 +467,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
465
467
|
constructor?: {
|
|
466
468
|
name?: unknown;
|
|
467
469
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
468
|
-
prototype?: unknown;
|
|
469
470
|
length?: unknown;
|
|
470
471
|
toString?: {} | null | undefined;
|
|
472
|
+
prototype?: unknown;
|
|
471
473
|
apply?: {} | null | undefined;
|
|
472
474
|
call?: {} | null | undefined;
|
|
473
475
|
bind?: {} | null | undefined;
|
|
@@ -478,9 +480,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
478
480
|
isPrototypeOf?: {} | null | undefined;
|
|
479
481
|
propertyIsEnumerable?: {} | null | undefined;
|
|
480
482
|
} | null | undefined;
|
|
481
|
-
entries?: {} | null | undefined;
|
|
482
|
-
keys?: {} | null | undefined;
|
|
483
|
-
values?: {} | null | undefined;
|
|
484
483
|
getPrototypeOf?: {} | null | undefined;
|
|
485
484
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
486
485
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -500,6 +499,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
500
499
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
501
500
|
fromEntries?: {} | null | undefined;
|
|
502
501
|
}> & {
|
|
502
|
+
entries?: {} | null | undefined;
|
|
503
|
+
keys?: {} | null | undefined;
|
|
504
|
+
values?: {} | null | undefined;
|
|
503
505
|
prototype?: {
|
|
504
506
|
toString?: {} | null | undefined;
|
|
505
507
|
toLocaleString?: {} | null | undefined;
|
|
@@ -507,9 +509,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
507
509
|
constructor?: {
|
|
508
510
|
name?: unknown;
|
|
509
511
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
510
|
-
prototype?: unknown;
|
|
511
512
|
length?: unknown;
|
|
512
513
|
toString?: {} | null | undefined;
|
|
514
|
+
prototype?: unknown;
|
|
513
515
|
apply?: {} | null | undefined;
|
|
514
516
|
call?: {} | null | undefined;
|
|
515
517
|
bind?: {} | null | undefined;
|
|
@@ -520,9 +522,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
520
522
|
isPrototypeOf?: {} | null | undefined;
|
|
521
523
|
propertyIsEnumerable?: {} | null | undefined;
|
|
522
524
|
} | null | undefined;
|
|
523
|
-
entries?: {} | null | undefined;
|
|
524
|
-
keys?: {} | null | undefined;
|
|
525
|
-
values?: {} | null | undefined;
|
|
526
525
|
getPrototypeOf?: {} | null | undefined;
|
|
527
526
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
528
527
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -546,6 +545,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
546
545
|
name?: string | null | undefined;
|
|
547
546
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
548
547
|
children: mongoose.Types.DocumentArray<{
|
|
548
|
+
entries?: {} | null | undefined;
|
|
549
|
+
keys?: {} | null | undefined;
|
|
550
|
+
values?: {} | null | undefined;
|
|
549
551
|
prototype?: {
|
|
550
552
|
toString?: {} | null | undefined;
|
|
551
553
|
toLocaleString?: {} | null | undefined;
|
|
@@ -553,9 +555,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
553
555
|
constructor?: {
|
|
554
556
|
name?: unknown;
|
|
555
557
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
556
|
-
prototype?: unknown;
|
|
557
558
|
length?: unknown;
|
|
558
559
|
toString?: {} | null | undefined;
|
|
560
|
+
prototype?: unknown;
|
|
559
561
|
apply?: {} | null | undefined;
|
|
560
562
|
call?: {} | null | undefined;
|
|
561
563
|
bind?: {} | null | undefined;
|
|
@@ -566,9 +568,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
566
568
|
isPrototypeOf?: {} | null | undefined;
|
|
567
569
|
propertyIsEnumerable?: {} | null | undefined;
|
|
568
570
|
} | null | undefined;
|
|
569
|
-
entries?: {} | null | undefined;
|
|
570
|
-
keys?: {} | null | undefined;
|
|
571
|
-
values?: {} | null | undefined;
|
|
572
571
|
getPrototypeOf?: {} | null | undefined;
|
|
573
572
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
574
573
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -588,6 +587,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
588
587
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
589
588
|
fromEntries?: {} | null | undefined;
|
|
590
589
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
590
|
+
entries?: {} | null | undefined;
|
|
591
|
+
keys?: {} | null | undefined;
|
|
592
|
+
values?: {} | null | undefined;
|
|
591
593
|
prototype?: {
|
|
592
594
|
toString?: {} | null | undefined;
|
|
593
595
|
toLocaleString?: {} | null | undefined;
|
|
@@ -595,9 +597,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
595
597
|
constructor?: {
|
|
596
598
|
name?: unknown;
|
|
597
599
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
598
|
-
prototype?: unknown;
|
|
599
600
|
length?: unknown;
|
|
600
601
|
toString?: {} | null | undefined;
|
|
602
|
+
prototype?: unknown;
|
|
601
603
|
apply?: {} | null | undefined;
|
|
602
604
|
call?: {} | null | undefined;
|
|
603
605
|
bind?: {} | null | undefined;
|
|
@@ -608,9 +610,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
608
610
|
isPrototypeOf?: {} | null | undefined;
|
|
609
611
|
propertyIsEnumerable?: {} | null | undefined;
|
|
610
612
|
} | null | undefined;
|
|
611
|
-
entries?: {} | null | undefined;
|
|
612
|
-
keys?: {} | null | undefined;
|
|
613
|
-
values?: {} | null | undefined;
|
|
614
613
|
getPrototypeOf?: {} | null | undefined;
|
|
615
614
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
616
615
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -630,6 +629,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
630
629
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
631
630
|
fromEntries?: {} | null | undefined;
|
|
632
631
|
}> & {
|
|
632
|
+
entries?: {} | null | undefined;
|
|
633
|
+
keys?: {} | null | undefined;
|
|
634
|
+
values?: {} | null | undefined;
|
|
633
635
|
prototype?: {
|
|
634
636
|
toString?: {} | null | undefined;
|
|
635
637
|
toLocaleString?: {} | null | undefined;
|
|
@@ -637,9 +639,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
637
639
|
constructor?: {
|
|
638
640
|
name?: unknown;
|
|
639
641
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
640
|
-
prototype?: unknown;
|
|
641
642
|
length?: unknown;
|
|
642
643
|
toString?: {} | null | undefined;
|
|
644
|
+
prototype?: unknown;
|
|
643
645
|
apply?: {} | null | undefined;
|
|
644
646
|
call?: {} | null | undefined;
|
|
645
647
|
bind?: {} | null | undefined;
|
|
@@ -650,9 +652,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
650
652
|
isPrototypeOf?: {} | null | undefined;
|
|
651
653
|
propertyIsEnumerable?: {} | null | undefined;
|
|
652
654
|
} | null | undefined;
|
|
653
|
-
entries?: {} | null | undefined;
|
|
654
|
-
keys?: {} | null | undefined;
|
|
655
|
-
values?: {} | null | undefined;
|
|
656
655
|
getPrototypeOf?: {} | null | undefined;
|
|
657
656
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
658
657
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -676,6 +675,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
676
675
|
name?: string | null | undefined;
|
|
677
676
|
}> & {
|
|
678
677
|
children: mongoose.Types.DocumentArray<{
|
|
678
|
+
entries?: {} | null | undefined;
|
|
679
|
+
keys?: {} | null | undefined;
|
|
680
|
+
values?: {} | null | undefined;
|
|
679
681
|
prototype?: {
|
|
680
682
|
toString?: {} | null | undefined;
|
|
681
683
|
toLocaleString?: {} | null | undefined;
|
|
@@ -683,9 +685,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
683
685
|
constructor?: {
|
|
684
686
|
name?: unknown;
|
|
685
687
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
686
|
-
prototype?: unknown;
|
|
687
688
|
length?: unknown;
|
|
688
689
|
toString?: {} | null | undefined;
|
|
690
|
+
prototype?: unknown;
|
|
689
691
|
apply?: {} | null | undefined;
|
|
690
692
|
call?: {} | null | undefined;
|
|
691
693
|
bind?: {} | null | undefined;
|
|
@@ -696,9 +698,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
696
698
|
isPrototypeOf?: {} | null | undefined;
|
|
697
699
|
propertyIsEnumerable?: {} | null | undefined;
|
|
698
700
|
} | null | undefined;
|
|
699
|
-
entries?: {} | null | undefined;
|
|
700
|
-
keys?: {} | null | undefined;
|
|
701
|
-
values?: {} | null | undefined;
|
|
702
701
|
getPrototypeOf?: {} | null | undefined;
|
|
703
702
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
704
703
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -718,6 +717,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
718
717
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
719
718
|
fromEntries?: {} | null | undefined;
|
|
720
719
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
720
|
+
entries?: {} | null | undefined;
|
|
721
|
+
keys?: {} | null | undefined;
|
|
722
|
+
values?: {} | null | undefined;
|
|
721
723
|
prototype?: {
|
|
722
724
|
toString?: {} | null | undefined;
|
|
723
725
|
toLocaleString?: {} | null | undefined;
|
|
@@ -725,9 +727,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
725
727
|
constructor?: {
|
|
726
728
|
name?: unknown;
|
|
727
729
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
728
|
-
prototype?: unknown;
|
|
729
730
|
length?: unknown;
|
|
730
731
|
toString?: {} | null | undefined;
|
|
732
|
+
prototype?: unknown;
|
|
731
733
|
apply?: {} | null | undefined;
|
|
732
734
|
call?: {} | null | undefined;
|
|
733
735
|
bind?: {} | null | undefined;
|
|
@@ -738,9 +740,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
738
740
|
isPrototypeOf?: {} | null | undefined;
|
|
739
741
|
propertyIsEnumerable?: {} | null | undefined;
|
|
740
742
|
} | null | undefined;
|
|
741
|
-
entries?: {} | null | undefined;
|
|
742
|
-
keys?: {} | null | undefined;
|
|
743
|
-
values?: {} | null | undefined;
|
|
744
743
|
getPrototypeOf?: {} | null | undefined;
|
|
745
744
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
746
745
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -760,6 +759,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
760
759
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
761
760
|
fromEntries?: {} | null | undefined;
|
|
762
761
|
}> & {
|
|
762
|
+
entries?: {} | null | undefined;
|
|
763
|
+
keys?: {} | null | undefined;
|
|
764
|
+
values?: {} | null | undefined;
|
|
763
765
|
prototype?: {
|
|
764
766
|
toString?: {} | null | undefined;
|
|
765
767
|
toLocaleString?: {} | null | undefined;
|
|
@@ -767,9 +769,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
767
769
|
constructor?: {
|
|
768
770
|
name?: unknown;
|
|
769
771
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
770
|
-
prototype?: unknown;
|
|
771
772
|
length?: unknown;
|
|
772
773
|
toString?: {} | null | undefined;
|
|
774
|
+
prototype?: unknown;
|
|
773
775
|
apply?: {} | null | undefined;
|
|
774
776
|
call?: {} | null | undefined;
|
|
775
777
|
bind?: {} | null | undefined;
|
|
@@ -780,9 +782,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
780
782
|
isPrototypeOf?: {} | null | undefined;
|
|
781
783
|
propertyIsEnumerable?: {} | null | undefined;
|
|
782
784
|
} | null | undefined;
|
|
783
|
-
entries?: {} | null | undefined;
|
|
784
|
-
keys?: {} | null | undefined;
|
|
785
|
-
values?: {} | null | undefined;
|
|
786
785
|
getPrototypeOf?: {} | null | undefined;
|
|
787
786
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
788
787
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -805,8 +804,7 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
805
804
|
id?: string | null | undefined;
|
|
806
805
|
name?: string | null | undefined;
|
|
807
806
|
}>;
|
|
808
|
-
|
|
809
|
-
allowSharing: boolean;
|
|
807
|
+
name: string;
|
|
810
808
|
members: mongoose.Types.DocumentArray<{
|
|
811
809
|
userId: mongoose.Types.ObjectId;
|
|
812
810
|
role: "viewer" | "editor" | "admin";
|
|
@@ -817,15 +815,19 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
817
815
|
userId: mongoose.Types.ObjectId;
|
|
818
816
|
role: "viewer" | "editor" | "admin";
|
|
819
817
|
}>;
|
|
820
|
-
|
|
818
|
+
allowUpload: boolean;
|
|
819
|
+
allowSharing: boolean;
|
|
821
820
|
image?: string | null | undefined;
|
|
821
|
+
description?: string | null | undefined;
|
|
822
822
|
}> & {
|
|
823
823
|
createdAt: NativeDate;
|
|
824
824
|
updatedAt: NativeDate;
|
|
825
825
|
} & {
|
|
826
|
-
name: string;
|
|
827
826
|
rootFolders: mongoose.Types.DocumentArray<{
|
|
828
827
|
children: mongoose.Types.DocumentArray<{
|
|
828
|
+
entries?: {} | null | undefined;
|
|
829
|
+
keys?: {} | null | undefined;
|
|
830
|
+
values?: {} | null | undefined;
|
|
829
831
|
prototype?: {
|
|
830
832
|
toString?: {} | null | undefined;
|
|
831
833
|
toLocaleString?: {} | null | undefined;
|
|
@@ -833,9 +835,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
833
835
|
constructor?: {
|
|
834
836
|
name?: unknown;
|
|
835
837
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
836
|
-
prototype?: unknown;
|
|
837
838
|
length?: unknown;
|
|
838
839
|
toString?: {} | null | undefined;
|
|
840
|
+
prototype?: unknown;
|
|
839
841
|
apply?: {} | null | undefined;
|
|
840
842
|
call?: {} | null | undefined;
|
|
841
843
|
bind?: {} | null | undefined;
|
|
@@ -846,9 +848,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
846
848
|
isPrototypeOf?: {} | null | undefined;
|
|
847
849
|
propertyIsEnumerable?: {} | null | undefined;
|
|
848
850
|
} | null | undefined;
|
|
849
|
-
entries?: {} | null | undefined;
|
|
850
|
-
keys?: {} | null | undefined;
|
|
851
|
-
values?: {} | null | undefined;
|
|
852
851
|
getPrototypeOf?: {} | null | undefined;
|
|
853
852
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
854
853
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -868,6 +867,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
868
867
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
869
868
|
fromEntries?: {} | null | undefined;
|
|
870
869
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
870
|
+
entries?: {} | null | undefined;
|
|
871
|
+
keys?: {} | null | undefined;
|
|
872
|
+
values?: {} | null | undefined;
|
|
871
873
|
prototype?: {
|
|
872
874
|
toString?: {} | null | undefined;
|
|
873
875
|
toLocaleString?: {} | null | undefined;
|
|
@@ -875,9 +877,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
875
877
|
constructor?: {
|
|
876
878
|
name?: unknown;
|
|
877
879
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
878
|
-
prototype?: unknown;
|
|
879
880
|
length?: unknown;
|
|
880
881
|
toString?: {} | null | undefined;
|
|
882
|
+
prototype?: unknown;
|
|
881
883
|
apply?: {} | null | undefined;
|
|
882
884
|
call?: {} | null | undefined;
|
|
883
885
|
bind?: {} | null | undefined;
|
|
@@ -888,9 +890,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
888
890
|
isPrototypeOf?: {} | null | undefined;
|
|
889
891
|
propertyIsEnumerable?: {} | null | undefined;
|
|
890
892
|
} | null | undefined;
|
|
891
|
-
entries?: {} | null | undefined;
|
|
892
|
-
keys?: {} | null | undefined;
|
|
893
|
-
values?: {} | null | undefined;
|
|
894
893
|
getPrototypeOf?: {} | null | undefined;
|
|
895
894
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
896
895
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -910,6 +909,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
910
909
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
911
910
|
fromEntries?: {} | null | undefined;
|
|
912
911
|
}> & {
|
|
912
|
+
entries?: {} | null | undefined;
|
|
913
|
+
keys?: {} | null | undefined;
|
|
914
|
+
values?: {} | null | undefined;
|
|
913
915
|
prototype?: {
|
|
914
916
|
toString?: {} | null | undefined;
|
|
915
917
|
toLocaleString?: {} | null | undefined;
|
|
@@ -917,9 +919,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
917
919
|
constructor?: {
|
|
918
920
|
name?: unknown;
|
|
919
921
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
920
|
-
prototype?: unknown;
|
|
921
922
|
length?: unknown;
|
|
922
923
|
toString?: {} | null | undefined;
|
|
924
|
+
prototype?: unknown;
|
|
923
925
|
apply?: {} | null | undefined;
|
|
924
926
|
call?: {} | null | undefined;
|
|
925
927
|
bind?: {} | null | undefined;
|
|
@@ -930,9 +932,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
930
932
|
isPrototypeOf?: {} | null | undefined;
|
|
931
933
|
propertyIsEnumerable?: {} | null | undefined;
|
|
932
934
|
} | null | undefined;
|
|
933
|
-
entries?: {} | null | undefined;
|
|
934
|
-
keys?: {} | null | undefined;
|
|
935
|
-
values?: {} | null | undefined;
|
|
936
935
|
getPrototypeOf?: {} | null | undefined;
|
|
937
936
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
938
937
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -956,6 +955,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
956
955
|
name?: string | null | undefined;
|
|
957
956
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
958
957
|
children: mongoose.Types.DocumentArray<{
|
|
958
|
+
entries?: {} | null | undefined;
|
|
959
|
+
keys?: {} | null | undefined;
|
|
960
|
+
values?: {} | null | undefined;
|
|
959
961
|
prototype?: {
|
|
960
962
|
toString?: {} | null | undefined;
|
|
961
963
|
toLocaleString?: {} | null | undefined;
|
|
@@ -963,9 +965,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
963
965
|
constructor?: {
|
|
964
966
|
name?: unknown;
|
|
965
967
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
966
|
-
prototype?: unknown;
|
|
967
968
|
length?: unknown;
|
|
968
969
|
toString?: {} | null | undefined;
|
|
970
|
+
prototype?: unknown;
|
|
969
971
|
apply?: {} | null | undefined;
|
|
970
972
|
call?: {} | null | undefined;
|
|
971
973
|
bind?: {} | null | undefined;
|
|
@@ -976,9 +978,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
976
978
|
isPrototypeOf?: {} | null | undefined;
|
|
977
979
|
propertyIsEnumerable?: {} | null | undefined;
|
|
978
980
|
} | null | undefined;
|
|
979
|
-
entries?: {} | null | undefined;
|
|
980
|
-
keys?: {} | null | undefined;
|
|
981
|
-
values?: {} | null | undefined;
|
|
982
981
|
getPrototypeOf?: {} | null | undefined;
|
|
983
982
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
984
983
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -998,6 +997,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
998
997
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
999
998
|
fromEntries?: {} | null | undefined;
|
|
1000
999
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1000
|
+
entries?: {} | null | undefined;
|
|
1001
|
+
keys?: {} | null | undefined;
|
|
1002
|
+
values?: {} | null | undefined;
|
|
1001
1003
|
prototype?: {
|
|
1002
1004
|
toString?: {} | null | undefined;
|
|
1003
1005
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1005,9 +1007,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1005
1007
|
constructor?: {
|
|
1006
1008
|
name?: unknown;
|
|
1007
1009
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1008
|
-
prototype?: unknown;
|
|
1009
1010
|
length?: unknown;
|
|
1010
1011
|
toString?: {} | null | undefined;
|
|
1012
|
+
prototype?: unknown;
|
|
1011
1013
|
apply?: {} | null | undefined;
|
|
1012
1014
|
call?: {} | null | undefined;
|
|
1013
1015
|
bind?: {} | null | undefined;
|
|
@@ -1018,9 +1020,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1018
1020
|
isPrototypeOf?: {} | null | undefined;
|
|
1019
1021
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1020
1022
|
} | null | undefined;
|
|
1021
|
-
entries?: {} | null | undefined;
|
|
1022
|
-
keys?: {} | null | undefined;
|
|
1023
|
-
values?: {} | null | undefined;
|
|
1024
1023
|
getPrototypeOf?: {} | null | undefined;
|
|
1025
1024
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1026
1025
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1040,6 +1039,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1040
1039
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1041
1040
|
fromEntries?: {} | null | undefined;
|
|
1042
1041
|
}> & {
|
|
1042
|
+
entries?: {} | null | undefined;
|
|
1043
|
+
keys?: {} | null | undefined;
|
|
1044
|
+
values?: {} | null | undefined;
|
|
1043
1045
|
prototype?: {
|
|
1044
1046
|
toString?: {} | null | undefined;
|
|
1045
1047
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1047,9 +1049,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1047
1049
|
constructor?: {
|
|
1048
1050
|
name?: unknown;
|
|
1049
1051
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1050
|
-
prototype?: unknown;
|
|
1051
1052
|
length?: unknown;
|
|
1052
1053
|
toString?: {} | null | undefined;
|
|
1054
|
+
prototype?: unknown;
|
|
1053
1055
|
apply?: {} | null | undefined;
|
|
1054
1056
|
call?: {} | null | undefined;
|
|
1055
1057
|
bind?: {} | null | undefined;
|
|
@@ -1060,9 +1062,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1060
1062
|
isPrototypeOf?: {} | null | undefined;
|
|
1061
1063
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1062
1064
|
} | null | undefined;
|
|
1063
|
-
entries?: {} | null | undefined;
|
|
1064
|
-
keys?: {} | null | undefined;
|
|
1065
|
-
values?: {} | null | undefined;
|
|
1066
1065
|
getPrototypeOf?: {} | null | undefined;
|
|
1067
1066
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1068
1067
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1086,6 +1085,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1086
1085
|
name?: string | null | undefined;
|
|
1087
1086
|
}> & {
|
|
1088
1087
|
children: mongoose.Types.DocumentArray<{
|
|
1088
|
+
entries?: {} | null | undefined;
|
|
1089
|
+
keys?: {} | null | undefined;
|
|
1090
|
+
values?: {} | null | undefined;
|
|
1089
1091
|
prototype?: {
|
|
1090
1092
|
toString?: {} | null | undefined;
|
|
1091
1093
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1093,9 +1095,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1093
1095
|
constructor?: {
|
|
1094
1096
|
name?: unknown;
|
|
1095
1097
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1096
|
-
prototype?: unknown;
|
|
1097
1098
|
length?: unknown;
|
|
1098
1099
|
toString?: {} | null | undefined;
|
|
1100
|
+
prototype?: unknown;
|
|
1099
1101
|
apply?: {} | null | undefined;
|
|
1100
1102
|
call?: {} | null | undefined;
|
|
1101
1103
|
bind?: {} | null | undefined;
|
|
@@ -1106,9 +1108,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1106
1108
|
isPrototypeOf?: {} | null | undefined;
|
|
1107
1109
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1108
1110
|
} | null | undefined;
|
|
1109
|
-
entries?: {} | null | undefined;
|
|
1110
|
-
keys?: {} | null | undefined;
|
|
1111
|
-
values?: {} | null | undefined;
|
|
1112
1111
|
getPrototypeOf?: {} | null | undefined;
|
|
1113
1112
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1114
1113
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1128,6 +1127,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1128
1127
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1129
1128
|
fromEntries?: {} | null | undefined;
|
|
1130
1129
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1130
|
+
entries?: {} | null | undefined;
|
|
1131
|
+
keys?: {} | null | undefined;
|
|
1132
|
+
values?: {} | null | undefined;
|
|
1131
1133
|
prototype?: {
|
|
1132
1134
|
toString?: {} | null | undefined;
|
|
1133
1135
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1135,9 +1137,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1135
1137
|
constructor?: {
|
|
1136
1138
|
name?: unknown;
|
|
1137
1139
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1138
|
-
prototype?: unknown;
|
|
1139
1140
|
length?: unknown;
|
|
1140
1141
|
toString?: {} | null | undefined;
|
|
1142
|
+
prototype?: unknown;
|
|
1141
1143
|
apply?: {} | null | undefined;
|
|
1142
1144
|
call?: {} | null | undefined;
|
|
1143
1145
|
bind?: {} | null | undefined;
|
|
@@ -1148,9 +1150,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1148
1150
|
isPrototypeOf?: {} | null | undefined;
|
|
1149
1151
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1150
1152
|
} | null | undefined;
|
|
1151
|
-
entries?: {} | null | undefined;
|
|
1152
|
-
keys?: {} | null | undefined;
|
|
1153
|
-
values?: {} | null | undefined;
|
|
1154
1153
|
getPrototypeOf?: {} | null | undefined;
|
|
1155
1154
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1156
1155
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1170,6 +1169,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1170
1169
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1171
1170
|
fromEntries?: {} | null | undefined;
|
|
1172
1171
|
}> & {
|
|
1172
|
+
entries?: {} | null | undefined;
|
|
1173
|
+
keys?: {} | null | undefined;
|
|
1174
|
+
values?: {} | null | undefined;
|
|
1173
1175
|
prototype?: {
|
|
1174
1176
|
toString?: {} | null | undefined;
|
|
1175
1177
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1177,9 +1179,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1177
1179
|
constructor?: {
|
|
1178
1180
|
name?: unknown;
|
|
1179
1181
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1180
|
-
prototype?: unknown;
|
|
1181
1182
|
length?: unknown;
|
|
1182
1183
|
toString?: {} | null | undefined;
|
|
1184
|
+
prototype?: unknown;
|
|
1183
1185
|
apply?: {} | null | undefined;
|
|
1184
1186
|
call?: {} | null | undefined;
|
|
1185
1187
|
bind?: {} | null | undefined;
|
|
@@ -1190,9 +1192,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1190
1192
|
isPrototypeOf?: {} | null | undefined;
|
|
1191
1193
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1192
1194
|
} | null | undefined;
|
|
1193
|
-
entries?: {} | null | undefined;
|
|
1194
|
-
keys?: {} | null | undefined;
|
|
1195
|
-
values?: {} | null | undefined;
|
|
1196
1195
|
getPrototypeOf?: {} | null | undefined;
|
|
1197
1196
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1198
1197
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1215,8 +1214,7 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1215
1214
|
id?: string | null | undefined;
|
|
1216
1215
|
name?: string | null | undefined;
|
|
1217
1216
|
}>;
|
|
1218
|
-
|
|
1219
|
-
allowSharing: boolean;
|
|
1217
|
+
name: string;
|
|
1220
1218
|
members: mongoose.Types.DocumentArray<{
|
|
1221
1219
|
userId: mongoose.Types.ObjectId;
|
|
1222
1220
|
role: "viewer" | "editor" | "admin";
|
|
@@ -1227,8 +1225,10 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1227
1225
|
userId: mongoose.Types.ObjectId;
|
|
1228
1226
|
role: "viewer" | "editor" | "admin";
|
|
1229
1227
|
}>;
|
|
1230
|
-
|
|
1228
|
+
allowUpload: boolean;
|
|
1229
|
+
allowSharing: boolean;
|
|
1231
1230
|
image?: string | null | undefined;
|
|
1231
|
+
description?: string | null | undefined;
|
|
1232
1232
|
} & {
|
|
1233
1233
|
_id: mongoose.Types.ObjectId;
|
|
1234
1234
|
} & {
|
|
@@ -1239,9 +1239,11 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1239
1239
|
createdAt: NativeDate;
|
|
1240
1240
|
updatedAt: NativeDate;
|
|
1241
1241
|
} & {
|
|
1242
|
-
name: string;
|
|
1243
1242
|
rootFolders: mongoose.Types.DocumentArray<{
|
|
1244
1243
|
children: mongoose.Types.DocumentArray<{
|
|
1244
|
+
entries?: {} | null | undefined;
|
|
1245
|
+
keys?: {} | null | undefined;
|
|
1246
|
+
values?: {} | null | undefined;
|
|
1245
1247
|
prototype?: {
|
|
1246
1248
|
toString?: {} | null | undefined;
|
|
1247
1249
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1249,9 +1251,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1249
1251
|
constructor?: {
|
|
1250
1252
|
name?: unknown;
|
|
1251
1253
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1252
|
-
prototype?: unknown;
|
|
1253
1254
|
length?: unknown;
|
|
1254
1255
|
toString?: {} | null | undefined;
|
|
1256
|
+
prototype?: unknown;
|
|
1255
1257
|
apply?: {} | null | undefined;
|
|
1256
1258
|
call?: {} | null | undefined;
|
|
1257
1259
|
bind?: {} | null | undefined;
|
|
@@ -1262,9 +1264,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1262
1264
|
isPrototypeOf?: {} | null | undefined;
|
|
1263
1265
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1264
1266
|
} | null | undefined;
|
|
1265
|
-
entries?: {} | null | undefined;
|
|
1266
|
-
keys?: {} | null | undefined;
|
|
1267
|
-
values?: {} | null | undefined;
|
|
1268
1267
|
getPrototypeOf?: {} | null | undefined;
|
|
1269
1268
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1270
1269
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1284,6 +1283,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1284
1283
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1285
1284
|
fromEntries?: {} | null | undefined;
|
|
1286
1285
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1286
|
+
entries?: {} | null | undefined;
|
|
1287
|
+
keys?: {} | null | undefined;
|
|
1288
|
+
values?: {} | null | undefined;
|
|
1287
1289
|
prototype?: {
|
|
1288
1290
|
toString?: {} | null | undefined;
|
|
1289
1291
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1291,9 +1293,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1291
1293
|
constructor?: {
|
|
1292
1294
|
name?: unknown;
|
|
1293
1295
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1294
|
-
prototype?: unknown;
|
|
1295
1296
|
length?: unknown;
|
|
1296
1297
|
toString?: {} | null | undefined;
|
|
1298
|
+
prototype?: unknown;
|
|
1297
1299
|
apply?: {} | null | undefined;
|
|
1298
1300
|
call?: {} | null | undefined;
|
|
1299
1301
|
bind?: {} | null | undefined;
|
|
@@ -1304,9 +1306,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1304
1306
|
isPrototypeOf?: {} | null | undefined;
|
|
1305
1307
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1306
1308
|
} | null | undefined;
|
|
1307
|
-
entries?: {} | null | undefined;
|
|
1308
|
-
keys?: {} | null | undefined;
|
|
1309
|
-
values?: {} | null | undefined;
|
|
1310
1309
|
getPrototypeOf?: {} | null | undefined;
|
|
1311
1310
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1312
1311
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1326,6 +1325,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1326
1325
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1327
1326
|
fromEntries?: {} | null | undefined;
|
|
1328
1327
|
}> & {
|
|
1328
|
+
entries?: {} | null | undefined;
|
|
1329
|
+
keys?: {} | null | undefined;
|
|
1330
|
+
values?: {} | null | undefined;
|
|
1329
1331
|
prototype?: {
|
|
1330
1332
|
toString?: {} | null | undefined;
|
|
1331
1333
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1333,9 +1335,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1333
1335
|
constructor?: {
|
|
1334
1336
|
name?: unknown;
|
|
1335
1337
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1336
|
-
prototype?: unknown;
|
|
1337
1338
|
length?: unknown;
|
|
1338
1339
|
toString?: {} | null | undefined;
|
|
1340
|
+
prototype?: unknown;
|
|
1339
1341
|
apply?: {} | null | undefined;
|
|
1340
1342
|
call?: {} | null | undefined;
|
|
1341
1343
|
bind?: {} | null | undefined;
|
|
@@ -1346,9 +1348,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1346
1348
|
isPrototypeOf?: {} | null | undefined;
|
|
1347
1349
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1348
1350
|
} | null | undefined;
|
|
1349
|
-
entries?: {} | null | undefined;
|
|
1350
|
-
keys?: {} | null | undefined;
|
|
1351
|
-
values?: {} | null | undefined;
|
|
1352
1351
|
getPrototypeOf?: {} | null | undefined;
|
|
1353
1352
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1354
1353
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1372,6 +1371,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1372
1371
|
name?: string | null | undefined;
|
|
1373
1372
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1374
1373
|
children: mongoose.Types.DocumentArray<{
|
|
1374
|
+
entries?: {} | null | undefined;
|
|
1375
|
+
keys?: {} | null | undefined;
|
|
1376
|
+
values?: {} | null | undefined;
|
|
1375
1377
|
prototype?: {
|
|
1376
1378
|
toString?: {} | null | undefined;
|
|
1377
1379
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1379,9 +1381,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1379
1381
|
constructor?: {
|
|
1380
1382
|
name?: unknown;
|
|
1381
1383
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1382
|
-
prototype?: unknown;
|
|
1383
1384
|
length?: unknown;
|
|
1384
1385
|
toString?: {} | null | undefined;
|
|
1386
|
+
prototype?: unknown;
|
|
1385
1387
|
apply?: {} | null | undefined;
|
|
1386
1388
|
call?: {} | null | undefined;
|
|
1387
1389
|
bind?: {} | null | undefined;
|
|
@@ -1392,9 +1394,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1392
1394
|
isPrototypeOf?: {} | null | undefined;
|
|
1393
1395
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1394
1396
|
} | null | undefined;
|
|
1395
|
-
entries?: {} | null | undefined;
|
|
1396
|
-
keys?: {} | null | undefined;
|
|
1397
|
-
values?: {} | null | undefined;
|
|
1398
1397
|
getPrototypeOf?: {} | null | undefined;
|
|
1399
1398
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1400
1399
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1414,6 +1413,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1414
1413
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1415
1414
|
fromEntries?: {} | null | undefined;
|
|
1416
1415
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1416
|
+
entries?: {} | null | undefined;
|
|
1417
|
+
keys?: {} | null | undefined;
|
|
1418
|
+
values?: {} | null | undefined;
|
|
1417
1419
|
prototype?: {
|
|
1418
1420
|
toString?: {} | null | undefined;
|
|
1419
1421
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1421,9 +1423,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1421
1423
|
constructor?: {
|
|
1422
1424
|
name?: unknown;
|
|
1423
1425
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1424
|
-
prototype?: unknown;
|
|
1425
1426
|
length?: unknown;
|
|
1426
1427
|
toString?: {} | null | undefined;
|
|
1428
|
+
prototype?: unknown;
|
|
1427
1429
|
apply?: {} | null | undefined;
|
|
1428
1430
|
call?: {} | null | undefined;
|
|
1429
1431
|
bind?: {} | null | undefined;
|
|
@@ -1434,9 +1436,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1434
1436
|
isPrototypeOf?: {} | null | undefined;
|
|
1435
1437
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1436
1438
|
} | null | undefined;
|
|
1437
|
-
entries?: {} | null | undefined;
|
|
1438
|
-
keys?: {} | null | undefined;
|
|
1439
|
-
values?: {} | null | undefined;
|
|
1440
1439
|
getPrototypeOf?: {} | null | undefined;
|
|
1441
1440
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1442
1441
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1456,6 +1455,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1456
1455
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1457
1456
|
fromEntries?: {} | null | undefined;
|
|
1458
1457
|
}> & {
|
|
1458
|
+
entries?: {} | null | undefined;
|
|
1459
|
+
keys?: {} | null | undefined;
|
|
1460
|
+
values?: {} | null | undefined;
|
|
1459
1461
|
prototype?: {
|
|
1460
1462
|
toString?: {} | null | undefined;
|
|
1461
1463
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1463,9 +1465,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1463
1465
|
constructor?: {
|
|
1464
1466
|
name?: unknown;
|
|
1465
1467
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1466
|
-
prototype?: unknown;
|
|
1467
1468
|
length?: unknown;
|
|
1468
1469
|
toString?: {} | null | undefined;
|
|
1470
|
+
prototype?: unknown;
|
|
1469
1471
|
apply?: {} | null | undefined;
|
|
1470
1472
|
call?: {} | null | undefined;
|
|
1471
1473
|
bind?: {} | null | undefined;
|
|
@@ -1476,9 +1478,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1476
1478
|
isPrototypeOf?: {} | null | undefined;
|
|
1477
1479
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1478
1480
|
} | null | undefined;
|
|
1479
|
-
entries?: {} | null | undefined;
|
|
1480
|
-
keys?: {} | null | undefined;
|
|
1481
|
-
values?: {} | null | undefined;
|
|
1482
1481
|
getPrototypeOf?: {} | null | undefined;
|
|
1483
1482
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1484
1483
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1502,6 +1501,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1502
1501
|
name?: string | null | undefined;
|
|
1503
1502
|
}> & {
|
|
1504
1503
|
children: mongoose.Types.DocumentArray<{
|
|
1504
|
+
entries?: {} | null | undefined;
|
|
1505
|
+
keys?: {} | null | undefined;
|
|
1506
|
+
values?: {} | null | undefined;
|
|
1505
1507
|
prototype?: {
|
|
1506
1508
|
toString?: {} | null | undefined;
|
|
1507
1509
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1509,9 +1511,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1509
1511
|
constructor?: {
|
|
1510
1512
|
name?: unknown;
|
|
1511
1513
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1512
|
-
prototype?: unknown;
|
|
1513
1514
|
length?: unknown;
|
|
1514
1515
|
toString?: {} | null | undefined;
|
|
1516
|
+
prototype?: unknown;
|
|
1515
1517
|
apply?: {} | null | undefined;
|
|
1516
1518
|
call?: {} | null | undefined;
|
|
1517
1519
|
bind?: {} | null | undefined;
|
|
@@ -1522,9 +1524,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1522
1524
|
isPrototypeOf?: {} | null | undefined;
|
|
1523
1525
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1524
1526
|
} | null | undefined;
|
|
1525
|
-
entries?: {} | null | undefined;
|
|
1526
|
-
keys?: {} | null | undefined;
|
|
1527
|
-
values?: {} | null | undefined;
|
|
1528
1527
|
getPrototypeOf?: {} | null | undefined;
|
|
1529
1528
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1530
1529
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1544,6 +1543,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1544
1543
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1545
1544
|
fromEntries?: {} | null | undefined;
|
|
1546
1545
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1546
|
+
entries?: {} | null | undefined;
|
|
1547
|
+
keys?: {} | null | undefined;
|
|
1548
|
+
values?: {} | null | undefined;
|
|
1547
1549
|
prototype?: {
|
|
1548
1550
|
toString?: {} | null | undefined;
|
|
1549
1551
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1551,9 +1553,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1551
1553
|
constructor?: {
|
|
1552
1554
|
name?: unknown;
|
|
1553
1555
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1554
|
-
prototype?: unknown;
|
|
1555
1556
|
length?: unknown;
|
|
1556
1557
|
toString?: {} | null | undefined;
|
|
1558
|
+
prototype?: unknown;
|
|
1557
1559
|
apply?: {} | null | undefined;
|
|
1558
1560
|
call?: {} | null | undefined;
|
|
1559
1561
|
bind?: {} | null | undefined;
|
|
@@ -1564,9 +1566,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1564
1566
|
isPrototypeOf?: {} | null | undefined;
|
|
1565
1567
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1566
1568
|
} | null | undefined;
|
|
1567
|
-
entries?: {} | null | undefined;
|
|
1568
|
-
keys?: {} | null | undefined;
|
|
1569
|
-
values?: {} | null | undefined;
|
|
1570
1569
|
getPrototypeOf?: {} | null | undefined;
|
|
1571
1570
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1572
1571
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1586,6 +1585,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1586
1585
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1587
1586
|
fromEntries?: {} | null | undefined;
|
|
1588
1587
|
}> & {
|
|
1588
|
+
entries?: {} | null | undefined;
|
|
1589
|
+
keys?: {} | null | undefined;
|
|
1590
|
+
values?: {} | null | undefined;
|
|
1589
1591
|
prototype?: {
|
|
1590
1592
|
toString?: {} | null | undefined;
|
|
1591
1593
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1593,9 +1595,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1593
1595
|
constructor?: {
|
|
1594
1596
|
name?: unknown;
|
|
1595
1597
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1596
|
-
prototype?: unknown;
|
|
1597
1598
|
length?: unknown;
|
|
1598
1599
|
toString?: {} | null | undefined;
|
|
1600
|
+
prototype?: unknown;
|
|
1599
1601
|
apply?: {} | null | undefined;
|
|
1600
1602
|
call?: {} | null | undefined;
|
|
1601
1603
|
bind?: {} | null | undefined;
|
|
@@ -1606,9 +1608,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1606
1608
|
isPrototypeOf?: {} | null | undefined;
|
|
1607
1609
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1608
1610
|
} | null | undefined;
|
|
1609
|
-
entries?: {} | null | undefined;
|
|
1610
|
-
keys?: {} | null | undefined;
|
|
1611
|
-
values?: {} | null | undefined;
|
|
1612
1611
|
getPrototypeOf?: {} | null | undefined;
|
|
1613
1612
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1614
1613
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1631,8 +1630,7 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1631
1630
|
id?: string | null | undefined;
|
|
1632
1631
|
name?: string | null | undefined;
|
|
1633
1632
|
}>;
|
|
1634
|
-
|
|
1635
|
-
allowSharing: boolean;
|
|
1633
|
+
name: string;
|
|
1636
1634
|
members: mongoose.Types.DocumentArray<{
|
|
1637
1635
|
userId: mongoose.Types.ObjectId;
|
|
1638
1636
|
role: "viewer" | "editor" | "admin";
|
|
@@ -1643,15 +1641,19 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1643
1641
|
userId: mongoose.Types.ObjectId;
|
|
1644
1642
|
role: "viewer" | "editor" | "admin";
|
|
1645
1643
|
}>;
|
|
1646
|
-
|
|
1644
|
+
allowUpload: boolean;
|
|
1645
|
+
allowSharing: boolean;
|
|
1647
1646
|
image?: string | null | undefined;
|
|
1647
|
+
description?: string | null | undefined;
|
|
1648
1648
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
1649
1649
|
createdAt: NativeDate;
|
|
1650
1650
|
updatedAt: NativeDate;
|
|
1651
1651
|
} & {
|
|
1652
|
-
name: string;
|
|
1653
1652
|
rootFolders: mongoose.Types.DocumentArray<{
|
|
1654
1653
|
children: mongoose.Types.DocumentArray<{
|
|
1654
|
+
entries?: {} | null | undefined;
|
|
1655
|
+
keys?: {} | null | undefined;
|
|
1656
|
+
values?: {} | null | undefined;
|
|
1655
1657
|
prototype?: {
|
|
1656
1658
|
toString?: {} | null | undefined;
|
|
1657
1659
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1659,9 +1661,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1659
1661
|
constructor?: {
|
|
1660
1662
|
name?: unknown;
|
|
1661
1663
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1662
|
-
prototype?: unknown;
|
|
1663
1664
|
length?: unknown;
|
|
1664
1665
|
toString?: {} | null | undefined;
|
|
1666
|
+
prototype?: unknown;
|
|
1665
1667
|
apply?: {} | null | undefined;
|
|
1666
1668
|
call?: {} | null | undefined;
|
|
1667
1669
|
bind?: {} | null | undefined;
|
|
@@ -1672,9 +1674,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1672
1674
|
isPrototypeOf?: {} | null | undefined;
|
|
1673
1675
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1674
1676
|
} | null | undefined;
|
|
1675
|
-
entries?: {} | null | undefined;
|
|
1676
|
-
keys?: {} | null | undefined;
|
|
1677
|
-
values?: {} | null | undefined;
|
|
1678
1677
|
getPrototypeOf?: {} | null | undefined;
|
|
1679
1678
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1680
1679
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1694,6 +1693,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1694
1693
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1695
1694
|
fromEntries?: {} | null | undefined;
|
|
1696
1695
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1696
|
+
entries?: {} | null | undefined;
|
|
1697
|
+
keys?: {} | null | undefined;
|
|
1698
|
+
values?: {} | null | undefined;
|
|
1697
1699
|
prototype?: {
|
|
1698
1700
|
toString?: {} | null | undefined;
|
|
1699
1701
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1701,9 +1703,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1701
1703
|
constructor?: {
|
|
1702
1704
|
name?: unknown;
|
|
1703
1705
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1704
|
-
prototype?: unknown;
|
|
1705
1706
|
length?: unknown;
|
|
1706
1707
|
toString?: {} | null | undefined;
|
|
1708
|
+
prototype?: unknown;
|
|
1707
1709
|
apply?: {} | null | undefined;
|
|
1708
1710
|
call?: {} | null | undefined;
|
|
1709
1711
|
bind?: {} | null | undefined;
|
|
@@ -1714,9 +1716,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1714
1716
|
isPrototypeOf?: {} | null | undefined;
|
|
1715
1717
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1716
1718
|
} | null | undefined;
|
|
1717
|
-
entries?: {} | null | undefined;
|
|
1718
|
-
keys?: {} | null | undefined;
|
|
1719
|
-
values?: {} | null | undefined;
|
|
1720
1719
|
getPrototypeOf?: {} | null | undefined;
|
|
1721
1720
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1722
1721
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1736,6 +1735,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1736
1735
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1737
1736
|
fromEntries?: {} | null | undefined;
|
|
1738
1737
|
}> & {
|
|
1738
|
+
entries?: {} | null | undefined;
|
|
1739
|
+
keys?: {} | null | undefined;
|
|
1740
|
+
values?: {} | null | undefined;
|
|
1739
1741
|
prototype?: {
|
|
1740
1742
|
toString?: {} | null | undefined;
|
|
1741
1743
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1743,9 +1745,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1743
1745
|
constructor?: {
|
|
1744
1746
|
name?: unknown;
|
|
1745
1747
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1746
|
-
prototype?: unknown;
|
|
1747
1748
|
length?: unknown;
|
|
1748
1749
|
toString?: {} | null | undefined;
|
|
1750
|
+
prototype?: unknown;
|
|
1749
1751
|
apply?: {} | null | undefined;
|
|
1750
1752
|
call?: {} | null | undefined;
|
|
1751
1753
|
bind?: {} | null | undefined;
|
|
@@ -1756,9 +1758,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1756
1758
|
isPrototypeOf?: {} | null | undefined;
|
|
1757
1759
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1758
1760
|
} | null | undefined;
|
|
1759
|
-
entries?: {} | null | undefined;
|
|
1760
|
-
keys?: {} | null | undefined;
|
|
1761
|
-
values?: {} | null | undefined;
|
|
1762
1761
|
getPrototypeOf?: {} | null | undefined;
|
|
1763
1762
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1764
1763
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1782,6 +1781,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1782
1781
|
name?: string | null | undefined;
|
|
1783
1782
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1784
1783
|
children: mongoose.Types.DocumentArray<{
|
|
1784
|
+
entries?: {} | null | undefined;
|
|
1785
|
+
keys?: {} | null | undefined;
|
|
1786
|
+
values?: {} | null | undefined;
|
|
1785
1787
|
prototype?: {
|
|
1786
1788
|
toString?: {} | null | undefined;
|
|
1787
1789
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1789,9 +1791,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1789
1791
|
constructor?: {
|
|
1790
1792
|
name?: unknown;
|
|
1791
1793
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1792
|
-
prototype?: unknown;
|
|
1793
1794
|
length?: unknown;
|
|
1794
1795
|
toString?: {} | null | undefined;
|
|
1796
|
+
prototype?: unknown;
|
|
1795
1797
|
apply?: {} | null | undefined;
|
|
1796
1798
|
call?: {} | null | undefined;
|
|
1797
1799
|
bind?: {} | null | undefined;
|
|
@@ -1802,9 +1804,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1802
1804
|
isPrototypeOf?: {} | null | undefined;
|
|
1803
1805
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1804
1806
|
} | null | undefined;
|
|
1805
|
-
entries?: {} | null | undefined;
|
|
1806
|
-
keys?: {} | null | undefined;
|
|
1807
|
-
values?: {} | null | undefined;
|
|
1808
1807
|
getPrototypeOf?: {} | null | undefined;
|
|
1809
1808
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1810
1809
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1824,6 +1823,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1824
1823
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1825
1824
|
fromEntries?: {} | null | undefined;
|
|
1826
1825
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1826
|
+
entries?: {} | null | undefined;
|
|
1827
|
+
keys?: {} | null | undefined;
|
|
1828
|
+
values?: {} | null | undefined;
|
|
1827
1829
|
prototype?: {
|
|
1828
1830
|
toString?: {} | null | undefined;
|
|
1829
1831
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1831,9 +1833,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1831
1833
|
constructor?: {
|
|
1832
1834
|
name?: unknown;
|
|
1833
1835
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1834
|
-
prototype?: unknown;
|
|
1835
1836
|
length?: unknown;
|
|
1836
1837
|
toString?: {} | null | undefined;
|
|
1838
|
+
prototype?: unknown;
|
|
1837
1839
|
apply?: {} | null | undefined;
|
|
1838
1840
|
call?: {} | null | undefined;
|
|
1839
1841
|
bind?: {} | null | undefined;
|
|
@@ -1844,9 +1846,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1844
1846
|
isPrototypeOf?: {} | null | undefined;
|
|
1845
1847
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1846
1848
|
} | null | undefined;
|
|
1847
|
-
entries?: {} | null | undefined;
|
|
1848
|
-
keys?: {} | null | undefined;
|
|
1849
|
-
values?: {} | null | undefined;
|
|
1850
1849
|
getPrototypeOf?: {} | null | undefined;
|
|
1851
1850
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1852
1851
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1866,6 +1865,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1866
1865
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1867
1866
|
fromEntries?: {} | null | undefined;
|
|
1868
1867
|
}> & {
|
|
1868
|
+
entries?: {} | null | undefined;
|
|
1869
|
+
keys?: {} | null | undefined;
|
|
1870
|
+
values?: {} | null | undefined;
|
|
1869
1871
|
prototype?: {
|
|
1870
1872
|
toString?: {} | null | undefined;
|
|
1871
1873
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1873,9 +1875,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1873
1875
|
constructor?: {
|
|
1874
1876
|
name?: unknown;
|
|
1875
1877
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1876
|
-
prototype?: unknown;
|
|
1877
1878
|
length?: unknown;
|
|
1878
1879
|
toString?: {} | null | undefined;
|
|
1880
|
+
prototype?: unknown;
|
|
1879
1881
|
apply?: {} | null | undefined;
|
|
1880
1882
|
call?: {} | null | undefined;
|
|
1881
1883
|
bind?: {} | null | undefined;
|
|
@@ -1886,9 +1888,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1886
1888
|
isPrototypeOf?: {} | null | undefined;
|
|
1887
1889
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1888
1890
|
} | null | undefined;
|
|
1889
|
-
entries?: {} | null | undefined;
|
|
1890
|
-
keys?: {} | null | undefined;
|
|
1891
|
-
values?: {} | null | undefined;
|
|
1892
1891
|
getPrototypeOf?: {} | null | undefined;
|
|
1893
1892
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1894
1893
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1912,6 +1911,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1912
1911
|
name?: string | null | undefined;
|
|
1913
1912
|
}> & {
|
|
1914
1913
|
children: mongoose.Types.DocumentArray<{
|
|
1914
|
+
entries?: {} | null | undefined;
|
|
1915
|
+
keys?: {} | null | undefined;
|
|
1916
|
+
values?: {} | null | undefined;
|
|
1915
1917
|
prototype?: {
|
|
1916
1918
|
toString?: {} | null | undefined;
|
|
1917
1919
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1919,9 +1921,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1919
1921
|
constructor?: {
|
|
1920
1922
|
name?: unknown;
|
|
1921
1923
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1922
|
-
prototype?: unknown;
|
|
1923
1924
|
length?: unknown;
|
|
1924
1925
|
toString?: {} | null | undefined;
|
|
1926
|
+
prototype?: unknown;
|
|
1925
1927
|
apply?: {} | null | undefined;
|
|
1926
1928
|
call?: {} | null | undefined;
|
|
1927
1929
|
bind?: {} | null | undefined;
|
|
@@ -1932,9 +1934,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1932
1934
|
isPrototypeOf?: {} | null | undefined;
|
|
1933
1935
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1934
1936
|
} | null | undefined;
|
|
1935
|
-
entries?: {} | null | undefined;
|
|
1936
|
-
keys?: {} | null | undefined;
|
|
1937
|
-
values?: {} | null | undefined;
|
|
1938
1937
|
getPrototypeOf?: {} | null | undefined;
|
|
1939
1938
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1940
1939
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1954,6 +1953,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1954
1953
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1955
1954
|
fromEntries?: {} | null | undefined;
|
|
1956
1955
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
1956
|
+
entries?: {} | null | undefined;
|
|
1957
|
+
keys?: {} | null | undefined;
|
|
1958
|
+
values?: {} | null | undefined;
|
|
1957
1959
|
prototype?: {
|
|
1958
1960
|
toString?: {} | null | undefined;
|
|
1959
1961
|
toLocaleString?: {} | null | undefined;
|
|
@@ -1961,9 +1963,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1961
1963
|
constructor?: {
|
|
1962
1964
|
name?: unknown;
|
|
1963
1965
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
1964
|
-
prototype?: unknown;
|
|
1965
1966
|
length?: unknown;
|
|
1966
1967
|
toString?: {} | null | undefined;
|
|
1968
|
+
prototype?: unknown;
|
|
1967
1969
|
apply?: {} | null | undefined;
|
|
1968
1970
|
call?: {} | null | undefined;
|
|
1969
1971
|
bind?: {} | null | undefined;
|
|
@@ -1974,9 +1976,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1974
1976
|
isPrototypeOf?: {} | null | undefined;
|
|
1975
1977
|
propertyIsEnumerable?: {} | null | undefined;
|
|
1976
1978
|
} | null | undefined;
|
|
1977
|
-
entries?: {} | null | undefined;
|
|
1978
|
-
keys?: {} | null | undefined;
|
|
1979
|
-
values?: {} | null | undefined;
|
|
1980
1979
|
getPrototypeOf?: {} | null | undefined;
|
|
1981
1980
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
1982
1981
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -1996,6 +1995,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
1996
1995
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
1997
1996
|
fromEntries?: {} | null | undefined;
|
|
1998
1997
|
}> & {
|
|
1998
|
+
entries?: {} | null | undefined;
|
|
1999
|
+
keys?: {} | null | undefined;
|
|
2000
|
+
values?: {} | null | undefined;
|
|
1999
2001
|
prototype?: {
|
|
2000
2002
|
toString?: {} | null | undefined;
|
|
2001
2003
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2003,9 +2005,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2003
2005
|
constructor?: {
|
|
2004
2006
|
name?: unknown;
|
|
2005
2007
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2006
|
-
prototype?: unknown;
|
|
2007
2008
|
length?: unknown;
|
|
2008
2009
|
toString?: {} | null | undefined;
|
|
2010
|
+
prototype?: unknown;
|
|
2009
2011
|
apply?: {} | null | undefined;
|
|
2010
2012
|
call?: {} | null | undefined;
|
|
2011
2013
|
bind?: {} | null | undefined;
|
|
@@ -2016,9 +2018,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2016
2018
|
isPrototypeOf?: {} | null | undefined;
|
|
2017
2019
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2018
2020
|
} | null | undefined;
|
|
2019
|
-
entries?: {} | null | undefined;
|
|
2020
|
-
keys?: {} | null | undefined;
|
|
2021
|
-
values?: {} | null | undefined;
|
|
2022
2021
|
getPrototypeOf?: {} | null | undefined;
|
|
2023
2022
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2024
2023
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2041,8 +2040,7 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2041
2040
|
id?: string | null | undefined;
|
|
2042
2041
|
name?: string | null | undefined;
|
|
2043
2042
|
}>;
|
|
2044
|
-
|
|
2045
|
-
allowSharing: boolean;
|
|
2043
|
+
name: string;
|
|
2046
2044
|
members: mongoose.Types.DocumentArray<{
|
|
2047
2045
|
userId: mongoose.Types.ObjectId;
|
|
2048
2046
|
role: "viewer" | "editor" | "admin";
|
|
@@ -2053,15 +2051,19 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2053
2051
|
userId: mongoose.Types.ObjectId;
|
|
2054
2052
|
role: "viewer" | "editor" | "admin";
|
|
2055
2053
|
}>;
|
|
2056
|
-
|
|
2054
|
+
allowUpload: boolean;
|
|
2055
|
+
allowSharing: boolean;
|
|
2057
2056
|
image?: string | null | undefined;
|
|
2057
|
+
description?: string | null | undefined;
|
|
2058
2058
|
}>> & mongoose.FlatRecord<{
|
|
2059
2059
|
createdAt: NativeDate;
|
|
2060
2060
|
updatedAt: NativeDate;
|
|
2061
2061
|
} & {
|
|
2062
|
-
name: string;
|
|
2063
2062
|
rootFolders: mongoose.Types.DocumentArray<{
|
|
2064
2063
|
children: mongoose.Types.DocumentArray<{
|
|
2064
|
+
entries?: {} | null | undefined;
|
|
2065
|
+
keys?: {} | null | undefined;
|
|
2066
|
+
values?: {} | null | undefined;
|
|
2065
2067
|
prototype?: {
|
|
2066
2068
|
toString?: {} | null | undefined;
|
|
2067
2069
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2069,9 +2071,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2069
2071
|
constructor?: {
|
|
2070
2072
|
name?: unknown;
|
|
2071
2073
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2072
|
-
prototype?: unknown;
|
|
2073
2074
|
length?: unknown;
|
|
2074
2075
|
toString?: {} | null | undefined;
|
|
2076
|
+
prototype?: unknown;
|
|
2075
2077
|
apply?: {} | null | undefined;
|
|
2076
2078
|
call?: {} | null | undefined;
|
|
2077
2079
|
bind?: {} | null | undefined;
|
|
@@ -2082,9 +2084,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2082
2084
|
isPrototypeOf?: {} | null | undefined;
|
|
2083
2085
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2084
2086
|
} | null | undefined;
|
|
2085
|
-
entries?: {} | null | undefined;
|
|
2086
|
-
keys?: {} | null | undefined;
|
|
2087
|
-
values?: {} | null | undefined;
|
|
2088
2087
|
getPrototypeOf?: {} | null | undefined;
|
|
2089
2088
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2090
2089
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2104,6 +2103,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2104
2103
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
2105
2104
|
fromEntries?: {} | null | undefined;
|
|
2106
2105
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2106
|
+
entries?: {} | null | undefined;
|
|
2107
|
+
keys?: {} | null | undefined;
|
|
2108
|
+
values?: {} | null | undefined;
|
|
2107
2109
|
prototype?: {
|
|
2108
2110
|
toString?: {} | null | undefined;
|
|
2109
2111
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2111,9 +2113,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2111
2113
|
constructor?: {
|
|
2112
2114
|
name?: unknown;
|
|
2113
2115
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2114
|
-
prototype?: unknown;
|
|
2115
2116
|
length?: unknown;
|
|
2116
2117
|
toString?: {} | null | undefined;
|
|
2118
|
+
prototype?: unknown;
|
|
2117
2119
|
apply?: {} | null | undefined;
|
|
2118
2120
|
call?: {} | null | undefined;
|
|
2119
2121
|
bind?: {} | null | undefined;
|
|
@@ -2124,9 +2126,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2124
2126
|
isPrototypeOf?: {} | null | undefined;
|
|
2125
2127
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2126
2128
|
} | null | undefined;
|
|
2127
|
-
entries?: {} | null | undefined;
|
|
2128
|
-
keys?: {} | null | undefined;
|
|
2129
|
-
values?: {} | null | undefined;
|
|
2130
2129
|
getPrototypeOf?: {} | null | undefined;
|
|
2131
2130
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2132
2131
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2146,6 +2145,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2146
2145
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
2147
2146
|
fromEntries?: {} | null | undefined;
|
|
2148
2147
|
}> & {
|
|
2148
|
+
entries?: {} | null | undefined;
|
|
2149
|
+
keys?: {} | null | undefined;
|
|
2150
|
+
values?: {} | null | undefined;
|
|
2149
2151
|
prototype?: {
|
|
2150
2152
|
toString?: {} | null | undefined;
|
|
2151
2153
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2153,9 +2155,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2153
2155
|
constructor?: {
|
|
2154
2156
|
name?: unknown;
|
|
2155
2157
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2156
|
-
prototype?: unknown;
|
|
2157
2158
|
length?: unknown;
|
|
2158
2159
|
toString?: {} | null | undefined;
|
|
2160
|
+
prototype?: unknown;
|
|
2159
2161
|
apply?: {} | null | undefined;
|
|
2160
2162
|
call?: {} | null | undefined;
|
|
2161
2163
|
bind?: {} | null | undefined;
|
|
@@ -2166,9 +2168,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2166
2168
|
isPrototypeOf?: {} | null | undefined;
|
|
2167
2169
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2168
2170
|
} | null | undefined;
|
|
2169
|
-
entries?: {} | null | undefined;
|
|
2170
|
-
keys?: {} | null | undefined;
|
|
2171
|
-
values?: {} | null | undefined;
|
|
2172
2171
|
getPrototypeOf?: {} | null | undefined;
|
|
2173
2172
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2174
2173
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2192,6 +2191,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2192
2191
|
name?: string | null | undefined;
|
|
2193
2192
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2194
2193
|
children: mongoose.Types.DocumentArray<{
|
|
2194
|
+
entries?: {} | null | undefined;
|
|
2195
|
+
keys?: {} | null | undefined;
|
|
2196
|
+
values?: {} | null | undefined;
|
|
2195
2197
|
prototype?: {
|
|
2196
2198
|
toString?: {} | null | undefined;
|
|
2197
2199
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2199,9 +2201,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2199
2201
|
constructor?: {
|
|
2200
2202
|
name?: unknown;
|
|
2201
2203
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2202
|
-
prototype?: unknown;
|
|
2203
2204
|
length?: unknown;
|
|
2204
2205
|
toString?: {} | null | undefined;
|
|
2206
|
+
prototype?: unknown;
|
|
2205
2207
|
apply?: {} | null | undefined;
|
|
2206
2208
|
call?: {} | null | undefined;
|
|
2207
2209
|
bind?: {} | null | undefined;
|
|
@@ -2212,9 +2214,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2212
2214
|
isPrototypeOf?: {} | null | undefined;
|
|
2213
2215
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2214
2216
|
} | null | undefined;
|
|
2215
|
-
entries?: {} | null | undefined;
|
|
2216
|
-
keys?: {} | null | undefined;
|
|
2217
|
-
values?: {} | null | undefined;
|
|
2218
2217
|
getPrototypeOf?: {} | null | undefined;
|
|
2219
2218
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2220
2219
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2234,6 +2233,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2234
2233
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
2235
2234
|
fromEntries?: {} | null | undefined;
|
|
2236
2235
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2236
|
+
entries?: {} | null | undefined;
|
|
2237
|
+
keys?: {} | null | undefined;
|
|
2238
|
+
values?: {} | null | undefined;
|
|
2237
2239
|
prototype?: {
|
|
2238
2240
|
toString?: {} | null | undefined;
|
|
2239
2241
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2241,9 +2243,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2241
2243
|
constructor?: {
|
|
2242
2244
|
name?: unknown;
|
|
2243
2245
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2244
|
-
prototype?: unknown;
|
|
2245
2246
|
length?: unknown;
|
|
2246
2247
|
toString?: {} | null | undefined;
|
|
2248
|
+
prototype?: unknown;
|
|
2247
2249
|
apply?: {} | null | undefined;
|
|
2248
2250
|
call?: {} | null | undefined;
|
|
2249
2251
|
bind?: {} | null | undefined;
|
|
@@ -2254,9 +2256,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2254
2256
|
isPrototypeOf?: {} | null | undefined;
|
|
2255
2257
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2256
2258
|
} | null | undefined;
|
|
2257
|
-
entries?: {} | null | undefined;
|
|
2258
|
-
keys?: {} | null | undefined;
|
|
2259
|
-
values?: {} | null | undefined;
|
|
2260
2259
|
getPrototypeOf?: {} | null | undefined;
|
|
2261
2260
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2262
2261
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2276,6 +2275,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2276
2275
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
2277
2276
|
fromEntries?: {} | null | undefined;
|
|
2278
2277
|
}> & {
|
|
2278
|
+
entries?: {} | null | undefined;
|
|
2279
|
+
keys?: {} | null | undefined;
|
|
2280
|
+
values?: {} | null | undefined;
|
|
2279
2281
|
prototype?: {
|
|
2280
2282
|
toString?: {} | null | undefined;
|
|
2281
2283
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2283,9 +2285,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2283
2285
|
constructor?: {
|
|
2284
2286
|
name?: unknown;
|
|
2285
2287
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2286
|
-
prototype?: unknown;
|
|
2287
2288
|
length?: unknown;
|
|
2288
2289
|
toString?: {} | null | undefined;
|
|
2290
|
+
prototype?: unknown;
|
|
2289
2291
|
apply?: {} | null | undefined;
|
|
2290
2292
|
call?: {} | null | undefined;
|
|
2291
2293
|
bind?: {} | null | undefined;
|
|
@@ -2296,9 +2298,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2296
2298
|
isPrototypeOf?: {} | null | undefined;
|
|
2297
2299
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2298
2300
|
} | null | undefined;
|
|
2299
|
-
entries?: {} | null | undefined;
|
|
2300
|
-
keys?: {} | null | undefined;
|
|
2301
|
-
values?: {} | null | undefined;
|
|
2302
2301
|
getPrototypeOf?: {} | null | undefined;
|
|
2303
2302
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2304
2303
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2322,6 +2321,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2322
2321
|
name?: string | null | undefined;
|
|
2323
2322
|
}> & {
|
|
2324
2323
|
children: mongoose.Types.DocumentArray<{
|
|
2324
|
+
entries?: {} | null | undefined;
|
|
2325
|
+
keys?: {} | null | undefined;
|
|
2326
|
+
values?: {} | null | undefined;
|
|
2325
2327
|
prototype?: {
|
|
2326
2328
|
toString?: {} | null | undefined;
|
|
2327
2329
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2329,9 +2331,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2329
2331
|
constructor?: {
|
|
2330
2332
|
name?: unknown;
|
|
2331
2333
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2332
|
-
prototype?: unknown;
|
|
2333
2334
|
length?: unknown;
|
|
2334
2335
|
toString?: {} | null | undefined;
|
|
2336
|
+
prototype?: unknown;
|
|
2335
2337
|
apply?: {} | null | undefined;
|
|
2336
2338
|
call?: {} | null | undefined;
|
|
2337
2339
|
bind?: {} | null | undefined;
|
|
@@ -2342,9 +2344,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2342
2344
|
isPrototypeOf?: {} | null | undefined;
|
|
2343
2345
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2344
2346
|
} | null | undefined;
|
|
2345
|
-
entries?: {} | null | undefined;
|
|
2346
|
-
keys?: {} | null | undefined;
|
|
2347
|
-
values?: {} | null | undefined;
|
|
2348
2347
|
getPrototypeOf?: {} | null | undefined;
|
|
2349
2348
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2350
2349
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2364,6 +2363,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2364
2363
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
2365
2364
|
fromEntries?: {} | null | undefined;
|
|
2366
2365
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
2366
|
+
entries?: {} | null | undefined;
|
|
2367
|
+
keys?: {} | null | undefined;
|
|
2368
|
+
values?: {} | null | undefined;
|
|
2367
2369
|
prototype?: {
|
|
2368
2370
|
toString?: {} | null | undefined;
|
|
2369
2371
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2371,9 +2373,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2371
2373
|
constructor?: {
|
|
2372
2374
|
name?: unknown;
|
|
2373
2375
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2374
|
-
prototype?: unknown;
|
|
2375
2376
|
length?: unknown;
|
|
2376
2377
|
toString?: {} | null | undefined;
|
|
2378
|
+
prototype?: unknown;
|
|
2377
2379
|
apply?: {} | null | undefined;
|
|
2378
2380
|
call?: {} | null | undefined;
|
|
2379
2381
|
bind?: {} | null | undefined;
|
|
@@ -2384,9 +2386,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2384
2386
|
isPrototypeOf?: {} | null | undefined;
|
|
2385
2387
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2386
2388
|
} | null | undefined;
|
|
2387
|
-
entries?: {} | null | undefined;
|
|
2388
|
-
keys?: {} | null | undefined;
|
|
2389
|
-
values?: {} | null | undefined;
|
|
2390
2389
|
getPrototypeOf?: {} | null | undefined;
|
|
2391
2390
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2392
2391
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2406,6 +2405,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2406
2405
|
getOwnPropertyDescriptors?: {} | null | undefined;
|
|
2407
2406
|
fromEntries?: {} | null | undefined;
|
|
2408
2407
|
}> & {
|
|
2408
|
+
entries?: {} | null | undefined;
|
|
2409
|
+
keys?: {} | null | undefined;
|
|
2410
|
+
values?: {} | null | undefined;
|
|
2409
2411
|
prototype?: {
|
|
2410
2412
|
toString?: {} | null | undefined;
|
|
2411
2413
|
toLocaleString?: {} | null | undefined;
|
|
@@ -2413,9 +2415,9 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2413
2415
|
constructor?: {
|
|
2414
2416
|
name?: unknown;
|
|
2415
2417
|
[Symbol.hasInstance]?: {} | null | undefined;
|
|
2416
|
-
prototype?: unknown;
|
|
2417
2418
|
length?: unknown;
|
|
2418
2419
|
toString?: {} | null | undefined;
|
|
2420
|
+
prototype?: unknown;
|
|
2419
2421
|
apply?: {} | null | undefined;
|
|
2420
2422
|
call?: {} | null | undefined;
|
|
2421
2423
|
bind?: {} | null | undefined;
|
|
@@ -2426,9 +2428,6 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2426
2428
|
isPrototypeOf?: {} | null | undefined;
|
|
2427
2429
|
propertyIsEnumerable?: {} | null | undefined;
|
|
2428
2430
|
} | null | undefined;
|
|
2429
|
-
entries?: {} | null | undefined;
|
|
2430
|
-
keys?: {} | null | undefined;
|
|
2431
|
-
values?: {} | null | undefined;
|
|
2432
2431
|
getPrototypeOf?: {} | null | undefined;
|
|
2433
2432
|
getOwnPropertyDescriptor?: {} | null | undefined;
|
|
2434
2433
|
getOwnPropertyNames?: {} | null | undefined;
|
|
@@ -2451,8 +2450,7 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2451
2450
|
id?: string | null | undefined;
|
|
2452
2451
|
name?: string | null | undefined;
|
|
2453
2452
|
}>;
|
|
2454
|
-
|
|
2455
|
-
allowSharing: boolean;
|
|
2453
|
+
name: string;
|
|
2456
2454
|
members: mongoose.Types.DocumentArray<{
|
|
2457
2455
|
userId: mongoose.Types.ObjectId;
|
|
2458
2456
|
role: "viewer" | "editor" | "admin";
|
|
@@ -2463,8 +2461,10 @@ export declare function initProjectModel(connection: mongoose.Connection): mongo
|
|
|
2463
2461
|
userId: mongoose.Types.ObjectId;
|
|
2464
2462
|
role: "viewer" | "editor" | "admin";
|
|
2465
2463
|
}>;
|
|
2466
|
-
|
|
2464
|
+
allowUpload: boolean;
|
|
2465
|
+
allowSharing: boolean;
|
|
2467
2466
|
image?: string | null | undefined;
|
|
2467
|
+
description?: string | null | undefined;
|
|
2468
2468
|
}> & {
|
|
2469
2469
|
_id: mongoose.Types.ObjectId;
|
|
2470
2470
|
} & {
|