@replyke/core 7.0.0-beta.19 → 7.0.0-beta.20

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.
Files changed (51) hide show
  1. package/dist/cjs/hooks/collections/index.d.ts +1 -0
  2. package/dist/cjs/hooks/collections/index.js +3 -1
  3. package/dist/cjs/hooks/collections/index.js.map +1 -1
  4. package/dist/cjs/hooks/collections/useCollections.d.ts +8 -1
  5. package/dist/cjs/hooks/collections/useCollections.js +44 -7
  6. package/dist/cjs/hooks/collections/useCollections.js.map +1 -1
  7. package/dist/cjs/hooks/collections/useCollectionsActions.js +6 -12
  8. package/dist/cjs/hooks/collections/useCollectionsActions.js.map +1 -1
  9. package/dist/cjs/hooks/collections/useFetchCollectionEntities.d.ts +21 -0
  10. package/dist/cjs/hooks/collections/useFetchCollectionEntities.js +209 -0
  11. package/dist/cjs/hooks/collections/useFetchCollectionEntities.js.map +1 -0
  12. package/dist/cjs/interfaces/models/Collection.d.ts +1 -3
  13. package/dist/cjs/store/api/appNotificationsApi.d.ts +181 -181
  14. package/dist/cjs/store/api/baseApi.d.ts +1 -1
  15. package/dist/cjs/store/api/baseApi.js +1 -0
  16. package/dist/cjs/store/api/baseApi.js.map +1 -1
  17. package/dist/cjs/store/api/collectionsApi.d.ts +1532 -555
  18. package/dist/cjs/store/api/collectionsApi.js +34 -78
  19. package/dist/cjs/store/api/collectionsApi.js.map +1 -1
  20. package/dist/cjs/store/api/entityListsApi.d.ts +107 -107
  21. package/dist/cjs/store/api/spacesApi.d.ts +950 -950
  22. package/dist/cjs/store/api/userApi.d.ts +3 -3
  23. package/dist/cjs/store/index.d.ts +2 -2
  24. package/dist/cjs/store/rootReducer.d.ts +2 -2
  25. package/dist/cjs/store/slices/collectionsSlice.d.ts +14 -1498
  26. package/dist/esm/hooks/collections/index.d.ts +1 -0
  27. package/dist/esm/hooks/collections/index.js +1 -0
  28. package/dist/esm/hooks/collections/index.js.map +1 -1
  29. package/dist/esm/hooks/collections/useCollections.d.ts +8 -1
  30. package/dist/esm/hooks/collections/useCollections.js +44 -7
  31. package/dist/esm/hooks/collections/useCollections.js.map +1 -1
  32. package/dist/esm/hooks/collections/useCollectionsActions.js +7 -13
  33. package/dist/esm/hooks/collections/useCollectionsActions.js.map +1 -1
  34. package/dist/esm/hooks/collections/useFetchCollectionEntities.d.ts +21 -0
  35. package/dist/esm/hooks/collections/useFetchCollectionEntities.js +204 -0
  36. package/dist/esm/hooks/collections/useFetchCollectionEntities.js.map +1 -0
  37. package/dist/esm/interfaces/models/Collection.d.ts +1 -3
  38. package/dist/esm/store/api/appNotificationsApi.d.ts +181 -181
  39. package/dist/esm/store/api/baseApi.d.ts +1 -1
  40. package/dist/esm/store/api/baseApi.js +1 -0
  41. package/dist/esm/store/api/baseApi.js.map +1 -1
  42. package/dist/esm/store/api/collectionsApi.d.ts +1532 -555
  43. package/dist/esm/store/api/collectionsApi.js +33 -77
  44. package/dist/esm/store/api/collectionsApi.js.map +1 -1
  45. package/dist/esm/store/api/entityListsApi.d.ts +107 -107
  46. package/dist/esm/store/api/spacesApi.d.ts +950 -950
  47. package/dist/esm/store/api/userApi.d.ts +3 -3
  48. package/dist/esm/store/index.d.ts +2 -2
  49. package/dist/esm/store/rootReducer.d.ts +2 -2
  50. package/dist/esm/store/slices/collectionsSlice.d.ts +14 -1498
  51. package/package.json +1 -1
@@ -21,113 +21,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
21
21
  userId: string;
22
22
  parentId: string | null;
23
23
  name: string;
24
- entityIds: string[];
25
- entities: {
26
- id?: string | undefined;
27
- foreignId?: string | null | undefined;
28
- shortId?: string | undefined;
29
- projectId?: string | undefined;
30
- sourceId?: string | null | undefined;
31
- spaceId?: string | null | undefined;
32
- space?: {
33
- id: string;
34
- projectId: string;
35
- shortId: string;
36
- slug: string | null;
37
- name: string;
38
- description: string | null;
39
- avatar: string | null;
40
- banner: string | null;
41
- userId: string;
42
- readingPermission: import("../..").ReadingPermission;
43
- postingPermission: import("../..").PostingPermission;
44
- requireJoinApproval: boolean;
45
- parentSpaceId: string | null;
46
- depth: number;
47
- metadata: {
48
- [x: string]: any;
49
- };
50
- createdAt: Date;
51
- updatedAt: Date;
52
- deletedAt: Date | null;
53
- membersCount: number;
54
- childSpacesCount: number;
55
- isMember?: boolean | undefined;
56
- } | null | undefined;
57
- user?: {
58
- id: string;
59
- projectId: string;
60
- foreignId: string | null;
61
- role: import("../..").UserRole;
62
- name: string | null;
63
- username: string | null;
64
- avatar: string | null;
65
- bio: string | null;
66
- birthdate: Date | null;
67
- metadata: {
68
- [x: string]: any;
69
- };
70
- reputation: number;
71
- createdAt: Date;
72
- location: {
73
- type: "Point";
74
- coordinates: [number, number];
75
- } | null;
76
- } | null | undefined;
77
- title?: string | null | undefined;
78
- content?: string | null | undefined;
79
- mentions?: {
80
- id: string;
81
- foreignId?: string | null | undefined;
82
- username: string;
83
- }[] | undefined;
84
- attachments?: {
85
- [x: string]: any;
86
- }[] | undefined;
87
- keywords?: string[] | undefined;
88
- upvotes?: string[] | undefined;
89
- downvotes?: string[] | undefined;
90
- repliesCount?: number | undefined;
91
- views?: number | undefined;
92
- score?: number | undefined;
93
- scoreUpdatedAt?: Date | undefined;
94
- location?: {
95
- type: "Point";
96
- coordinates: [number, number];
97
- } | null | undefined;
98
- metadata?: {
99
- [x: string]: any;
100
- } | undefined;
101
- topComment?: {
102
- id: string;
103
- user: {
104
- id: string;
105
- projectId: string;
106
- foreignId: string | null;
107
- role: import("../..").UserRole;
108
- name: string | null;
109
- username: string | null;
110
- avatar: string | null;
111
- bio: string | null;
112
- birthdate: Date | null;
113
- metadata: {
114
- [x: string]: any;
115
- };
116
- reputation: number;
117
- createdAt: Date;
118
- location: {
119
- type: "Point";
120
- coordinates: [number, number];
121
- } | null;
122
- };
123
- upvotesCount: number;
124
- content: string;
125
- createdAt: string;
126
- } | null | undefined;
127
- createdAt?: Date | undefined;
128
- updatedAt?: Date | undefined;
129
- deletedAt?: Date | null | undefined;
130
- }[];
24
+ entityCount?: number | undefined;
131
25
  createdAt: Date;
132
26
  updatedAt: Date;
133
27
  };
@@ -148,113 +42,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
148
42
  userId: string;
149
43
  parentId: string | null;
150
44
  name: string;
151
- entityIds: string[];
152
- entities: {
153
- id?: string | undefined;
154
- foreignId?: string | null | undefined;
155
- shortId?: string | undefined;
156
- projectId?: string | undefined;
157
- sourceId?: string | null | undefined;
158
- spaceId?: string | null | undefined;
159
- space?: {
160
- id: string;
161
- projectId: string;
162
- shortId: string;
163
- slug: string | null;
164
- name: string;
165
- description: string | null;
166
- avatar: string | null;
167
- banner: string | null;
168
- userId: string;
169
- readingPermission: import("../..").ReadingPermission;
170
- postingPermission: import("../..").PostingPermission;
171
- requireJoinApproval: boolean;
172
- parentSpaceId: string | null;
173
- depth: number;
174
- metadata: {
175
- [x: string]: any;
176
- };
177
- createdAt: Date;
178
- updatedAt: Date;
179
- deletedAt: Date | null;
180
- membersCount: number;
181
- childSpacesCount: number;
182
- isMember?: boolean | undefined;
183
- } | null | undefined;
184
- user?: {
185
- id: string;
186
- projectId: string;
187
- foreignId: string | null;
188
- role: import("../..").UserRole;
189
- name: string | null;
190
- username: string | null;
191
- avatar: string | null;
192
- bio: string | null;
193
- birthdate: Date | null;
194
- metadata: {
195
- [x: string]: any;
196
- };
197
- reputation: number;
198
- createdAt: Date;
199
- location: {
200
- type: "Point";
201
- coordinates: [number, number];
202
- } | null;
203
- } | null | undefined;
204
- title?: string | null | undefined;
205
- content?: string | null | undefined;
206
- mentions?: {
207
- id: string;
208
- foreignId?: string | null | undefined;
209
- username: string;
210
- }[] | undefined;
211
- attachments?: {
212
- [x: string]: any;
213
- }[] | undefined;
214
- keywords?: string[] | undefined;
215
- upvotes?: string[] | undefined;
216
- downvotes?: string[] | undefined;
217
- repliesCount?: number | undefined;
218
- views?: number | undefined;
219
- score?: number | undefined;
220
- scoreUpdatedAt?: Date | undefined;
221
- location?: {
222
- type: "Point";
223
- coordinates: [number, number];
224
- } | null | undefined;
225
- metadata?: {
226
- [x: string]: any;
227
- } | undefined;
228
- topComment?: {
229
- id: string;
230
- user: {
231
- id: string;
232
- projectId: string;
233
- foreignId: string | null;
234
- role: import("../..").UserRole;
235
- name: string | null;
236
- username: string | null;
237
- avatar: string | null;
238
- bio: string | null;
239
- birthdate: Date | null;
240
- metadata: {
241
- [x: string]: any;
242
- };
243
- reputation: number;
244
- createdAt: Date;
245
- location: {
246
- type: "Point";
247
- coordinates: [number, number];
248
- } | null;
249
- };
250
- upvotesCount: number;
251
- content: string;
252
- createdAt: string;
253
- } | null | undefined;
254
- createdAt?: Date | undefined;
255
- updatedAt?: Date | undefined;
256
- deletedAt?: Date | null | undefined;
257
- }[];
45
+ entityCount?: number | undefined;
258
46
  createdAt: Date;
259
47
  updatedAt: Date;
260
48
  };
@@ -275,113 +63,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
275
63
  userId: string;
276
64
  parentId: string | null;
277
65
  name: string;
278
- entityIds: string[];
279
- entities: {
280
- id?: string | undefined;
281
- foreignId?: string | null | undefined;
282
- shortId?: string | undefined;
283
- projectId?: string | undefined;
284
- sourceId?: string | null | undefined;
285
- spaceId?: string | null | undefined;
286
- space?: {
287
- id: string;
288
- projectId: string;
289
- shortId: string;
290
- slug: string | null;
291
- name: string;
292
- description: string | null;
293
- avatar: string | null;
294
- banner: string | null;
295
- userId: string;
296
- readingPermission: import("../..").ReadingPermission;
297
- postingPermission: import("../..").PostingPermission;
298
- requireJoinApproval: boolean;
299
- parentSpaceId: string | null;
300
- depth: number;
301
- metadata: {
302
- [x: string]: any;
303
- };
304
- createdAt: Date;
305
- updatedAt: Date;
306
- deletedAt: Date | null;
307
- membersCount: number;
308
- childSpacesCount: number;
309
- isMember?: boolean | undefined;
310
- } | null | undefined;
311
- user?: {
312
- id: string;
313
- projectId: string;
314
- foreignId: string | null;
315
- role: import("../..").UserRole;
316
- name: string | null;
317
- username: string | null;
318
- avatar: string | null;
319
- bio: string | null;
320
- birthdate: Date | null;
321
- metadata: {
322
- [x: string]: any;
323
- };
324
- reputation: number;
325
- createdAt: Date;
326
- location: {
327
- type: "Point";
328
- coordinates: [number, number];
329
- } | null;
330
- } | null | undefined;
331
- title?: string | null | undefined;
332
- content?: string | null | undefined;
333
- mentions?: {
334
- id: string;
335
- foreignId?: string | null | undefined;
336
- username: string;
337
- }[] | undefined;
338
- attachments?: {
339
- [x: string]: any;
340
- }[] | undefined;
341
- keywords?: string[] | undefined;
342
- upvotes?: string[] | undefined;
343
- downvotes?: string[] | undefined;
344
- repliesCount?: number | undefined;
345
- views?: number | undefined;
346
- score?: number | undefined;
347
- scoreUpdatedAt?: Date | undefined;
348
- location?: {
349
- type: "Point";
350
- coordinates: [number, number];
351
- } | null | undefined;
352
- metadata?: {
353
- [x: string]: any;
354
- } | undefined;
355
- topComment?: {
356
- id: string;
357
- user: {
358
- id: string;
359
- projectId: string;
360
- foreignId: string | null;
361
- role: import("../..").UserRole;
362
- name: string | null;
363
- username: string | null;
364
- avatar: string | null;
365
- bio: string | null;
366
- birthdate: Date | null;
367
- metadata: {
368
- [x: string]: any;
369
- };
370
- reputation: number;
371
- createdAt: Date;
372
- location: {
373
- type: "Point";
374
- coordinates: [number, number];
375
- } | null;
376
- };
377
- upvotesCount: number;
378
- content: string;
379
- createdAt: string;
380
- } | null | undefined;
381
- createdAt?: Date | undefined;
382
- updatedAt?: Date | undefined;
383
- deletedAt?: Date | null | undefined;
384
- }[];
66
+ entityCount?: number | undefined;
385
67
  createdAt: Date;
386
68
  updatedAt: Date;
387
69
  };
@@ -402,113 +84,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
402
84
  userId: string;
403
85
  parentId: string | null;
404
86
  name: string;
405
- entityIds: string[];
406
- entities: {
407
- id?: string | undefined;
408
- foreignId?: string | null | undefined;
409
- shortId?: string | undefined;
410
- projectId?: string | undefined;
411
- sourceId?: string | null | undefined;
412
- spaceId?: string | null | undefined;
413
- space?: {
414
- id: string;
415
- projectId: string;
416
- shortId: string;
417
- slug: string | null;
418
- name: string;
419
- description: string | null;
420
- avatar: string | null;
421
- banner: string | null;
422
- userId: string;
423
- readingPermission: import("../..").ReadingPermission;
424
- postingPermission: import("../..").PostingPermission;
425
- requireJoinApproval: boolean;
426
- parentSpaceId: string | null;
427
- depth: number;
428
- metadata: {
429
- [x: string]: any;
430
- };
431
- createdAt: Date;
432
- updatedAt: Date;
433
- deletedAt: Date | null;
434
- membersCount: number;
435
- childSpacesCount: number;
436
- isMember?: boolean | undefined;
437
- } | null | undefined;
438
- user?: {
439
- id: string;
440
- projectId: string;
441
- foreignId: string | null;
442
- role: import("../..").UserRole;
443
- name: string | null;
444
- username: string | null;
445
- avatar: string | null;
446
- bio: string | null;
447
- birthdate: Date | null;
448
- metadata: {
449
- [x: string]: any;
450
- };
451
- reputation: number;
452
- createdAt: Date;
453
- location: {
454
- type: "Point";
455
- coordinates: [number, number];
456
- } | null;
457
- } | null | undefined;
458
- title?: string | null | undefined;
459
- content?: string | null | undefined;
460
- mentions?: {
461
- id: string;
462
- foreignId?: string | null | undefined;
463
- username: string;
464
- }[] | undefined;
465
- attachments?: {
466
- [x: string]: any;
467
- }[] | undefined;
468
- keywords?: string[] | undefined;
469
- upvotes?: string[] | undefined;
470
- downvotes?: string[] | undefined;
471
- repliesCount?: number | undefined;
472
- views?: number | undefined;
473
- score?: number | undefined;
474
- scoreUpdatedAt?: Date | undefined;
475
- location?: {
476
- type: "Point";
477
- coordinates: [number, number];
478
- } | null | undefined;
479
- metadata?: {
480
- [x: string]: any;
481
- } | undefined;
482
- topComment?: {
483
- id: string;
484
- user: {
485
- id: string;
486
- projectId: string;
487
- foreignId: string | null;
488
- role: import("../..").UserRole;
489
- name: string | null;
490
- username: string | null;
491
- avatar: string | null;
492
- bio: string | null;
493
- birthdate: Date | null;
494
- metadata: {
495
- [x: string]: any;
496
- };
497
- reputation: number;
498
- createdAt: Date;
499
- location: {
500
- type: "Point";
501
- coordinates: [number, number];
502
- } | null;
503
- };
504
- upvotesCount: number;
505
- content: string;
506
- createdAt: string;
507
- } | null | undefined;
508
- createdAt?: Date | undefined;
509
- updatedAt?: Date | undefined;
510
- deletedAt?: Date | null | undefined;
511
- }[];
87
+ entityCount?: number | undefined;
512
88
  createdAt: Date;
513
89
  updatedAt: Date;
514
90
  };
@@ -529,113 +105,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
529
105
  userId: string;
530
106
  parentId: string | null;
531
107
  name: string;
532
- entityIds: string[];
533
- entities: {
534
- id?: string | undefined;
535
- foreignId?: string | null | undefined;
536
- shortId?: string | undefined;
537
- projectId?: string | undefined;
538
- sourceId?: string | null | undefined;
539
- spaceId?: string | null | undefined;
540
- space?: {
541
- id: string;
542
- projectId: string;
543
- shortId: string;
544
- slug: string | null;
545
- name: string;
546
- description: string | null;
547
- avatar: string | null;
548
- banner: string | null;
549
- userId: string;
550
- readingPermission: import("../..").ReadingPermission;
551
- postingPermission: import("../..").PostingPermission;
552
- requireJoinApproval: boolean;
553
- parentSpaceId: string | null;
554
- depth: number;
555
- metadata: {
556
- [x: string]: any;
557
- };
558
- createdAt: Date;
559
- updatedAt: Date;
560
- deletedAt: Date | null;
561
- membersCount: number;
562
- childSpacesCount: number;
563
- isMember?: boolean | undefined;
564
- } | null | undefined;
565
- user?: {
566
- id: string;
567
- projectId: string;
568
- foreignId: string | null;
569
- role: import("../..").UserRole;
570
- name: string | null;
571
- username: string | null;
572
- avatar: string | null;
573
- bio: string | null;
574
- birthdate: Date | null;
575
- metadata: {
576
- [x: string]: any;
577
- };
578
- reputation: number;
579
- createdAt: Date;
580
- location: {
581
- type: "Point";
582
- coordinates: [number, number];
583
- } | null;
584
- } | null | undefined;
585
- title?: string | null | undefined;
586
- content?: string | null | undefined;
587
- mentions?: {
588
- id: string;
589
- foreignId?: string | null | undefined;
590
- username: string;
591
- }[] | undefined;
592
- attachments?: {
593
- [x: string]: any;
594
- }[] | undefined;
595
- keywords?: string[] | undefined;
596
- upvotes?: string[] | undefined;
597
- downvotes?: string[] | undefined;
598
- repliesCount?: number | undefined;
599
- views?: number | undefined;
600
- score?: number | undefined;
601
- scoreUpdatedAt?: Date | undefined;
602
- location?: {
603
- type: "Point";
604
- coordinates: [number, number];
605
- } | null | undefined;
606
- metadata?: {
607
- [x: string]: any;
608
- } | undefined;
609
- topComment?: {
610
- id: string;
611
- user: {
612
- id: string;
613
- projectId: string;
614
- foreignId: string | null;
615
- role: import("../..").UserRole;
616
- name: string | null;
617
- username: string | null;
618
- avatar: string | null;
619
- bio: string | null;
620
- birthdate: Date | null;
621
- metadata: {
622
- [x: string]: any;
623
- };
624
- reputation: number;
625
- createdAt: Date;
626
- location: {
627
- type: "Point";
628
- coordinates: [number, number];
629
- } | null;
630
- };
631
- upvotesCount: number;
632
- content: string;
633
- createdAt: string;
634
- } | null | undefined;
635
- createdAt?: Date | undefined;
636
- updatedAt?: Date | undefined;
637
- deletedAt?: Date | null | undefined;
638
- }[];
108
+ entityCount?: number | undefined;
639
109
  createdAt: Date;
640
110
  updatedAt: Date;
641
111
  };
@@ -656,113 +126,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
656
126
  userId: string;
657
127
  parentId: string | null;
658
128
  name: string;
659
- entityIds: string[];
660
- entities: {
661
- id?: string | undefined;
662
- foreignId?: string | null | undefined;
663
- shortId?: string | undefined;
664
- projectId?: string | undefined;
665
- sourceId?: string | null | undefined;
666
- spaceId?: string | null | undefined;
667
- space?: {
668
- id: string;
669
- projectId: string;
670
- shortId: string;
671
- slug: string | null;
672
- name: string;
673
- description: string | null;
674
- avatar: string | null;
675
- banner: string | null;
676
- userId: string;
677
- readingPermission: import("../..").ReadingPermission;
678
- postingPermission: import("../..").PostingPermission;
679
- requireJoinApproval: boolean;
680
- parentSpaceId: string | null;
681
- depth: number;
682
- metadata: {
683
- [x: string]: any;
684
- };
685
- createdAt: Date;
686
- updatedAt: Date;
687
- deletedAt: Date | null;
688
- membersCount: number;
689
- childSpacesCount: number;
690
- isMember?: boolean | undefined;
691
- } | null | undefined;
692
- user?: {
693
- id: string;
694
- projectId: string;
695
- foreignId: string | null;
696
- role: import("../..").UserRole;
697
- name: string | null;
698
- username: string | null;
699
- avatar: string | null;
700
- bio: string | null;
701
- birthdate: Date | null;
702
- metadata: {
703
- [x: string]: any;
704
- };
705
- reputation: number;
706
- createdAt: Date;
707
- location: {
708
- type: "Point";
709
- coordinates: [number, number];
710
- } | null;
711
- } | null | undefined;
712
- title?: string | null | undefined;
713
- content?: string | null | undefined;
714
- mentions?: {
715
- id: string;
716
- foreignId?: string | null | undefined;
717
- username: string;
718
- }[] | undefined;
719
- attachments?: {
720
- [x: string]: any;
721
- }[] | undefined;
722
- keywords?: string[] | undefined;
723
- upvotes?: string[] | undefined;
724
- downvotes?: string[] | undefined;
725
- repliesCount?: number | undefined;
726
- views?: number | undefined;
727
- score?: number | undefined;
728
- scoreUpdatedAt?: Date | undefined;
729
- location?: {
730
- type: "Point";
731
- coordinates: [number, number];
732
- } | null | undefined;
733
- metadata?: {
734
- [x: string]: any;
735
- } | undefined;
736
- topComment?: {
737
- id: string;
738
- user: {
739
- id: string;
740
- projectId: string;
741
- foreignId: string | null;
742
- role: import("../..").UserRole;
743
- name: string | null;
744
- username: string | null;
745
- avatar: string | null;
746
- bio: string | null;
747
- birthdate: Date | null;
748
- metadata: {
749
- [x: string]: any;
750
- };
751
- reputation: number;
752
- createdAt: Date;
753
- location: {
754
- type: "Point";
755
- coordinates: [number, number];
756
- } | null;
757
- };
758
- upvotesCount: number;
759
- content: string;
760
- createdAt: string;
761
- } | null | undefined;
762
- createdAt?: Date | undefined;
763
- updatedAt?: Date | undefined;
764
- deletedAt?: Date | null | undefined;
765
- }[];
129
+ entityCount?: number | undefined;
766
130
  createdAt: Date;
767
131
  updatedAt: Date;
768
132
  };
@@ -783,113 +147,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
783
147
  userId: string;
784
148
  parentId: string | null;
785
149
  name: string;
786
- entityIds: string[];
787
- entities: {
788
- id?: string | undefined;
789
- foreignId?: string | null | undefined;
790
- shortId?: string | undefined;
791
- projectId?: string | undefined;
792
- sourceId?: string | null | undefined;
793
- spaceId?: string | null | undefined;
794
- space?: {
795
- id: string;
796
- projectId: string;
797
- shortId: string;
798
- slug: string | null;
799
- name: string;
800
- description: string | null;
801
- avatar: string | null;
802
- banner: string | null;
803
- userId: string;
804
- readingPermission: import("../..").ReadingPermission;
805
- postingPermission: import("../..").PostingPermission;
806
- requireJoinApproval: boolean;
807
- parentSpaceId: string | null;
808
- depth: number;
809
- metadata: {
810
- [x: string]: any;
811
- };
812
- createdAt: Date;
813
- updatedAt: Date;
814
- deletedAt: Date | null;
815
- membersCount: number;
816
- childSpacesCount: number;
817
- isMember?: boolean | undefined;
818
- } | null | undefined;
819
- user?: {
820
- id: string;
821
- projectId: string;
822
- foreignId: string | null;
823
- role: import("../..").UserRole;
824
- name: string | null;
825
- username: string | null;
826
- avatar: string | null;
827
- bio: string | null;
828
- birthdate: Date | null;
829
- metadata: {
830
- [x: string]: any;
831
- };
832
- reputation: number;
833
- createdAt: Date;
834
- location: {
835
- type: "Point";
836
- coordinates: [number, number];
837
- } | null;
838
- } | null | undefined;
839
- title?: string | null | undefined;
840
- content?: string | null | undefined;
841
- mentions?: {
842
- id: string;
843
- foreignId?: string | null | undefined;
844
- username: string;
845
- }[] | undefined;
846
- attachments?: {
847
- [x: string]: any;
848
- }[] | undefined;
849
- keywords?: string[] | undefined;
850
- upvotes?: string[] | undefined;
851
- downvotes?: string[] | undefined;
852
- repliesCount?: number | undefined;
853
- views?: number | undefined;
854
- score?: number | undefined;
855
- scoreUpdatedAt?: Date | undefined;
856
- location?: {
857
- type: "Point";
858
- coordinates: [number, number];
859
- } | null | undefined;
860
- metadata?: {
861
- [x: string]: any;
862
- } | undefined;
863
- topComment?: {
864
- id: string;
865
- user: {
866
- id: string;
867
- projectId: string;
868
- foreignId: string | null;
869
- role: import("../..").UserRole;
870
- name: string | null;
871
- username: string | null;
872
- avatar: string | null;
873
- bio: string | null;
874
- birthdate: Date | null;
875
- metadata: {
876
- [x: string]: any;
877
- };
878
- reputation: number;
879
- createdAt: Date;
880
- location: {
881
- type: "Point";
882
- coordinates: [number, number];
883
- } | null;
884
- };
885
- upvotesCount: number;
886
- content: string;
887
- createdAt: string;
888
- } | null | undefined;
889
- createdAt?: Date | undefined;
890
- updatedAt?: Date | undefined;
891
- deletedAt?: Date | null | undefined;
892
- }[];
150
+ entityCount?: number | undefined;
893
151
  createdAt: Date;
894
152
  updatedAt: Date;
895
153
  };
@@ -913,113 +171,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
913
171
  userId: string;
914
172
  parentId: string | null;
915
173
  name: string;
916
- entityIds: string[];
917
- entities: {
918
- id?: string | undefined;
919
- foreignId?: string | null | undefined;
920
- shortId?: string | undefined;
921
- projectId?: string | undefined;
922
- sourceId?: string | null | undefined;
923
- spaceId?: string | null | undefined;
924
- space?: {
925
- id: string;
926
- projectId: string;
927
- shortId: string;
928
- slug: string | null;
929
- name: string;
930
- description: string | null;
931
- avatar: string | null;
932
- banner: string | null;
933
- userId: string;
934
- readingPermission: import("../..").ReadingPermission;
935
- postingPermission: import("../..").PostingPermission;
936
- requireJoinApproval: boolean;
937
- parentSpaceId: string | null;
938
- depth: number;
939
- metadata: {
940
- [x: string]: any;
941
- };
942
- createdAt: Date;
943
- updatedAt: Date;
944
- deletedAt: Date | null;
945
- membersCount: number;
946
- childSpacesCount: number;
947
- isMember?: boolean | undefined;
948
- } | null | undefined;
949
- user?: {
950
- id: string;
951
- projectId: string;
952
- foreignId: string | null;
953
- role: import("../..").UserRole;
954
- name: string | null;
955
- username: string | null;
956
- avatar: string | null;
957
- bio: string | null;
958
- birthdate: Date | null;
959
- metadata: {
960
- [x: string]: any;
961
- };
962
- reputation: number;
963
- createdAt: Date;
964
- location: {
965
- type: "Point";
966
- coordinates: [number, number];
967
- } | null;
968
- } | null | undefined;
969
- title?: string | null | undefined;
970
- content?: string | null | undefined;
971
- mentions?: {
972
- id: string;
973
- foreignId?: string | null | undefined;
974
- username: string;
975
- }[] | undefined;
976
- attachments?: {
977
- [x: string]: any;
978
- }[] | undefined;
979
- keywords?: string[] | undefined;
980
- upvotes?: string[] | undefined;
981
- downvotes?: string[] | undefined;
982
- repliesCount?: number | undefined;
983
- views?: number | undefined;
984
- score?: number | undefined;
985
- scoreUpdatedAt?: Date | undefined;
986
- location?: {
987
- type: "Point";
988
- coordinates: [number, number];
989
- } | null | undefined;
990
- metadata?: {
991
- [x: string]: any;
992
- } | undefined;
993
- topComment?: {
994
- id: string;
995
- user: {
996
- id: string;
997
- projectId: string;
998
- foreignId: string | null;
999
- role: import("../..").UserRole;
1000
- name: string | null;
1001
- username: string | null;
1002
- avatar: string | null;
1003
- bio: string | null;
1004
- birthdate: Date | null;
1005
- metadata: {
1006
- [x: string]: any;
1007
- };
1008
- reputation: number;
1009
- createdAt: Date;
1010
- location: {
1011
- type: "Point";
1012
- coordinates: [number, number];
1013
- } | null;
1014
- };
1015
- upvotesCount: number;
1016
- content: string;
1017
- createdAt: string;
1018
- } | null | undefined;
1019
- createdAt?: Date | undefined;
1020
- updatedAt?: Date | undefined;
1021
- deletedAt?: Date | null | undefined;
1022
- }[];
174
+ entityCount?: number | undefined;
1023
175
  createdAt: Date;
1024
176
  updatedAt: Date;
1025
177
  };
@@ -1040,113 +192,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
1040
192
  userId: string;
1041
193
  parentId: string | null;
1042
194
  name: string;
1043
- entityIds: string[];
1044
- entities: {
1045
- id?: string | undefined;
1046
- foreignId?: string | null | undefined;
1047
- shortId?: string | undefined;
1048
- projectId?: string | undefined;
1049
- sourceId?: string | null | undefined;
1050
- spaceId?: string | null | undefined;
1051
- space?: {
1052
- id: string;
1053
- projectId: string;
1054
- shortId: string;
1055
- slug: string | null;
1056
- name: string;
1057
- description: string | null;
1058
- avatar: string | null;
1059
- banner: string | null;
1060
- userId: string;
1061
- readingPermission: import("../..").ReadingPermission;
1062
- postingPermission: import("../..").PostingPermission;
1063
- requireJoinApproval: boolean;
1064
- parentSpaceId: string | null;
1065
- depth: number;
1066
- metadata: {
1067
- [x: string]: any;
1068
- };
1069
- createdAt: Date;
1070
- updatedAt: Date;
1071
- deletedAt: Date | null;
1072
- membersCount: number;
1073
- childSpacesCount: number;
1074
- isMember?: boolean | undefined;
1075
- } | null | undefined;
1076
- user?: {
1077
- id: string;
1078
- projectId: string;
1079
- foreignId: string | null;
1080
- role: import("../..").UserRole;
1081
- name: string | null;
1082
- username: string | null;
1083
- avatar: string | null;
1084
- bio: string | null;
1085
- birthdate: Date | null;
1086
- metadata: {
1087
- [x: string]: any;
1088
- };
1089
- reputation: number;
1090
- createdAt: Date;
1091
- location: {
1092
- type: "Point";
1093
- coordinates: [number, number];
1094
- } | null;
1095
- } | null | undefined;
1096
- title?: string | null | undefined;
1097
- content?: string | null | undefined;
1098
- mentions?: {
1099
- id: string;
1100
- foreignId?: string | null | undefined;
1101
- username: string;
1102
- }[] | undefined;
1103
- attachments?: {
1104
- [x: string]: any;
1105
- }[] | undefined;
1106
- keywords?: string[] | undefined;
1107
- upvotes?: string[] | undefined;
1108
- downvotes?: string[] | undefined;
1109
- repliesCount?: number | undefined;
1110
- views?: number | undefined;
1111
- score?: number | undefined;
1112
- scoreUpdatedAt?: Date | undefined;
1113
- location?: {
1114
- type: "Point";
1115
- coordinates: [number, number];
1116
- } | null | undefined;
1117
- metadata?: {
1118
- [x: string]: any;
1119
- } | undefined;
1120
- topComment?: {
1121
- id: string;
1122
- user: {
1123
- id: string;
1124
- projectId: string;
1125
- foreignId: string | null;
1126
- role: import("../..").UserRole;
1127
- name: string | null;
1128
- username: string | null;
1129
- avatar: string | null;
1130
- bio: string | null;
1131
- birthdate: Date | null;
1132
- metadata: {
1133
- [x: string]: any;
1134
- };
1135
- reputation: number;
1136
- createdAt: Date;
1137
- location: {
1138
- type: "Point";
1139
- coordinates: [number, number];
1140
- } | null;
1141
- };
1142
- upvotesCount: number;
1143
- content: string;
1144
- createdAt: string;
1145
- } | null | undefined;
1146
- createdAt?: Date | undefined;
1147
- updatedAt?: Date | undefined;
1148
- deletedAt?: Date | null | undefined;
1149
- }[];
195
+ entityCount?: number | undefined;
1150
196
  createdAt: Date;
1151
197
  updatedAt: Date;
1152
198
  };
@@ -1167,113 +213,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
1167
213
  userId: string;
1168
214
  parentId: string | null;
1169
215
  name: string;
1170
- entityIds: string[];
1171
- entities: {
1172
- id?: string | undefined;
1173
- foreignId?: string | null | undefined;
1174
- shortId?: string | undefined;
1175
- projectId?: string | undefined;
1176
- sourceId?: string | null | undefined;
1177
- spaceId?: string | null | undefined;
1178
- space?: {
1179
- id: string;
1180
- projectId: string;
1181
- shortId: string;
1182
- slug: string | null;
1183
- name: string;
1184
- description: string | null;
1185
- avatar: string | null;
1186
- banner: string | null;
1187
- userId: string;
1188
- readingPermission: import("../..").ReadingPermission;
1189
- postingPermission: import("../..").PostingPermission;
1190
- requireJoinApproval: boolean;
1191
- parentSpaceId: string | null;
1192
- depth: number;
1193
- metadata: {
1194
- [x: string]: any;
1195
- };
1196
- createdAt: Date;
1197
- updatedAt: Date;
1198
- deletedAt: Date | null;
1199
- membersCount: number;
1200
- childSpacesCount: number;
1201
- isMember?: boolean | undefined;
1202
- } | null | undefined;
1203
- user?: {
1204
- id: string;
1205
- projectId: string;
1206
- foreignId: string | null;
1207
- role: import("../..").UserRole;
1208
- name: string | null;
1209
- username: string | null;
1210
- avatar: string | null;
1211
- bio: string | null;
1212
- birthdate: Date | null;
1213
- metadata: {
1214
- [x: string]: any;
1215
- };
1216
- reputation: number;
1217
- createdAt: Date;
1218
- location: {
1219
- type: "Point";
1220
- coordinates: [number, number];
1221
- } | null;
1222
- } | null | undefined;
1223
- title?: string | null | undefined;
1224
- content?: string | null | undefined;
1225
- mentions?: {
1226
- id: string;
1227
- foreignId?: string | null | undefined;
1228
- username: string;
1229
- }[] | undefined;
1230
- attachments?: {
1231
- [x: string]: any;
1232
- }[] | undefined;
1233
- keywords?: string[] | undefined;
1234
- upvotes?: string[] | undefined;
1235
- downvotes?: string[] | undefined;
1236
- repliesCount?: number | undefined;
1237
- views?: number | undefined;
1238
- score?: number | undefined;
1239
- scoreUpdatedAt?: Date | undefined;
1240
- location?: {
1241
- type: "Point";
1242
- coordinates: [number, number];
1243
- } | null | undefined;
1244
- metadata?: {
1245
- [x: string]: any;
1246
- } | undefined;
1247
- topComment?: {
1248
- id: string;
1249
- user: {
1250
- id: string;
1251
- projectId: string;
1252
- foreignId: string | null;
1253
- role: import("../..").UserRole;
1254
- name: string | null;
1255
- username: string | null;
1256
- avatar: string | null;
1257
- bio: string | null;
1258
- birthdate: Date | null;
1259
- metadata: {
1260
- [x: string]: any;
1261
- };
1262
- reputation: number;
1263
- createdAt: Date;
1264
- location: {
1265
- type: "Point";
1266
- coordinates: [number, number];
1267
- } | null;
1268
- };
1269
- upvotesCount: number;
1270
- content: string;
1271
- createdAt: string;
1272
- } | null | undefined;
1273
- createdAt?: Date | undefined;
1274
- updatedAt?: Date | undefined;
1275
- deletedAt?: Date | null | undefined;
1276
- }[];
216
+ entityCount?: number | undefined;
1277
217
  createdAt: Date;
1278
218
  updatedAt: Date;
1279
219
  };
@@ -1294,113 +234,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
1294
234
  userId: string;
1295
235
  parentId: string | null;
1296
236
  name: string;
1297
- entityIds: string[];
1298
- entities: {
1299
- id?: string | undefined;
1300
- foreignId?: string | null | undefined;
1301
- shortId?: string | undefined;
1302
- projectId?: string | undefined;
1303
- sourceId?: string | null | undefined;
1304
- spaceId?: string | null | undefined;
1305
- space?: {
1306
- id: string;
1307
- projectId: string;
1308
- shortId: string;
1309
- slug: string | null;
1310
- name: string;
1311
- description: string | null;
1312
- avatar: string | null;
1313
- banner: string | null;
1314
- userId: string;
1315
- readingPermission: import("../..").ReadingPermission;
1316
- postingPermission: import("../..").PostingPermission;
1317
- requireJoinApproval: boolean;
1318
- parentSpaceId: string | null;
1319
- depth: number;
1320
- metadata: {
1321
- [x: string]: any;
1322
- };
1323
- createdAt: Date;
1324
- updatedAt: Date;
1325
- deletedAt: Date | null;
1326
- membersCount: number;
1327
- childSpacesCount: number;
1328
- isMember?: boolean | undefined;
1329
- } | null | undefined;
1330
- user?: {
1331
- id: string;
1332
- projectId: string;
1333
- foreignId: string | null;
1334
- role: import("../..").UserRole;
1335
- name: string | null;
1336
- username: string | null;
1337
- avatar: string | null;
1338
- bio: string | null;
1339
- birthdate: Date | null;
1340
- metadata: {
1341
- [x: string]: any;
1342
- };
1343
- reputation: number;
1344
- createdAt: Date;
1345
- location: {
1346
- type: "Point";
1347
- coordinates: [number, number];
1348
- } | null;
1349
- } | null | undefined;
1350
- title?: string | null | undefined;
1351
- content?: string | null | undefined;
1352
- mentions?: {
1353
- id: string;
1354
- foreignId?: string | null | undefined;
1355
- username: string;
1356
- }[] | undefined;
1357
- attachments?: {
1358
- [x: string]: any;
1359
- }[] | undefined;
1360
- keywords?: string[] | undefined;
1361
- upvotes?: string[] | undefined;
1362
- downvotes?: string[] | undefined;
1363
- repliesCount?: number | undefined;
1364
- views?: number | undefined;
1365
- score?: number | undefined;
1366
- scoreUpdatedAt?: Date | undefined;
1367
- location?: {
1368
- type: "Point";
1369
- coordinates: [number, number];
1370
- } | null | undefined;
1371
- metadata?: {
1372
- [x: string]: any;
1373
- } | undefined;
1374
- topComment?: {
1375
- id: string;
1376
- user: {
1377
- id: string;
1378
- projectId: string;
1379
- foreignId: string | null;
1380
- role: import("../..").UserRole;
1381
- name: string | null;
1382
- username: string | null;
1383
- avatar: string | null;
1384
- bio: string | null;
1385
- birthdate: Date | null;
1386
- metadata: {
1387
- [x: string]: any;
1388
- };
1389
- reputation: number;
1390
- createdAt: Date;
1391
- location: {
1392
- type: "Point";
1393
- coordinates: [number, number];
1394
- } | null;
1395
- };
1396
- upvotesCount: number;
1397
- content: string;
1398
- createdAt: string;
1399
- } | null | undefined;
1400
- createdAt?: Date | undefined;
1401
- updatedAt?: Date | undefined;
1402
- deletedAt?: Date | null | undefined;
1403
- }[];
237
+ entityCount?: number | undefined;
1404
238
  createdAt: Date;
1405
239
  updatedAt: Date;
1406
240
  };
@@ -1421,113 +255,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
1421
255
  userId: string;
1422
256
  parentId: string | null;
1423
257
  name: string;
1424
- entityIds: string[];
1425
- entities: {
1426
- id?: string | undefined;
1427
- foreignId?: string | null | undefined;
1428
- shortId?: string | undefined;
1429
- projectId?: string | undefined;
1430
- sourceId?: string | null | undefined;
1431
- spaceId?: string | null | undefined;
1432
- space?: {
1433
- id: string;
1434
- projectId: string;
1435
- shortId: string;
1436
- slug: string | null;
1437
- name: string;
1438
- description: string | null;
1439
- avatar: string | null;
1440
- banner: string | null;
1441
- userId: string;
1442
- readingPermission: import("../..").ReadingPermission;
1443
- postingPermission: import("../..").PostingPermission;
1444
- requireJoinApproval: boolean;
1445
- parentSpaceId: string | null;
1446
- depth: number;
1447
- metadata: {
1448
- [x: string]: any;
1449
- };
1450
- createdAt: Date;
1451
- updatedAt: Date;
1452
- deletedAt: Date | null;
1453
- membersCount: number;
1454
- childSpacesCount: number;
1455
- isMember?: boolean | undefined;
1456
- } | null | undefined;
1457
- user?: {
1458
- id: string;
1459
- projectId: string;
1460
- foreignId: string | null;
1461
- role: import("../..").UserRole;
1462
- name: string | null;
1463
- username: string | null;
1464
- avatar: string | null;
1465
- bio: string | null;
1466
- birthdate: Date | null;
1467
- metadata: {
1468
- [x: string]: any;
1469
- };
1470
- reputation: number;
1471
- createdAt: Date;
1472
- location: {
1473
- type: "Point";
1474
- coordinates: [number, number];
1475
- } | null;
1476
- } | null | undefined;
1477
- title?: string | null | undefined;
1478
- content?: string | null | undefined;
1479
- mentions?: {
1480
- id: string;
1481
- foreignId?: string | null | undefined;
1482
- username: string;
1483
- }[] | undefined;
1484
- attachments?: {
1485
- [x: string]: any;
1486
- }[] | undefined;
1487
- keywords?: string[] | undefined;
1488
- upvotes?: string[] | undefined;
1489
- downvotes?: string[] | undefined;
1490
- repliesCount?: number | undefined;
1491
- views?: number | undefined;
1492
- score?: number | undefined;
1493
- scoreUpdatedAt?: Date | undefined;
1494
- location?: {
1495
- type: "Point";
1496
- coordinates: [number, number];
1497
- } | null | undefined;
1498
- metadata?: {
1499
- [x: string]: any;
1500
- } | undefined;
1501
- topComment?: {
1502
- id: string;
1503
- user: {
1504
- id: string;
1505
- projectId: string;
1506
- foreignId: string | null;
1507
- role: import("../..").UserRole;
1508
- name: string | null;
1509
- username: string | null;
1510
- avatar: string | null;
1511
- bio: string | null;
1512
- birthdate: Date | null;
1513
- metadata: {
1514
- [x: string]: any;
1515
- };
1516
- reputation: number;
1517
- createdAt: Date;
1518
- location: {
1519
- type: "Point";
1520
- coordinates: [number, number];
1521
- } | null;
1522
- };
1523
- upvotesCount: number;
1524
- content: string;
1525
- createdAt: string;
1526
- } | null | undefined;
1527
- createdAt?: Date | undefined;
1528
- updatedAt?: Date | undefined;
1529
- deletedAt?: Date | null | undefined;
1530
- }[];
258
+ entityCount?: number | undefined;
1531
259
  createdAt: Date;
1532
260
  updatedAt: Date;
1533
261
  };
@@ -1551,113 +279,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
1551
279
  userId: string;
1552
280
  parentId: string | null;
1553
281
  name: string;
1554
- entityIds: string[];
1555
- entities: {
1556
- id?: string | undefined;
1557
- foreignId?: string | null | undefined;
1558
- shortId?: string | undefined;
1559
- projectId?: string | undefined;
1560
- sourceId?: string | null | undefined;
1561
- spaceId?: string | null | undefined;
1562
- space?: {
1563
- id: string;
1564
- projectId: string;
1565
- shortId: string;
1566
- slug: string | null;
1567
- name: string;
1568
- description: string | null;
1569
- avatar: string | null;
1570
- banner: string | null;
1571
- userId: string;
1572
- readingPermission: import("../..").ReadingPermission;
1573
- postingPermission: import("../..").PostingPermission;
1574
- requireJoinApproval: boolean;
1575
- parentSpaceId: string | null;
1576
- depth: number;
1577
- metadata: {
1578
- [x: string]: any;
1579
- };
1580
- createdAt: Date;
1581
- updatedAt: Date;
1582
- deletedAt: Date | null;
1583
- membersCount: number;
1584
- childSpacesCount: number;
1585
- isMember?: boolean | undefined;
1586
- } | null | undefined;
1587
- user?: {
1588
- id: string;
1589
- projectId: string;
1590
- foreignId: string | null;
1591
- role: import("../..").UserRole;
1592
- name: string | null;
1593
- username: string | null;
1594
- avatar: string | null;
1595
- bio: string | null;
1596
- birthdate: Date | null;
1597
- metadata: {
1598
- [x: string]: any;
1599
- };
1600
- reputation: number;
1601
- createdAt: Date;
1602
- location: {
1603
- type: "Point";
1604
- coordinates: [number, number];
1605
- } | null;
1606
- } | null | undefined;
1607
- title?: string | null | undefined;
1608
- content?: string | null | undefined;
1609
- mentions?: {
1610
- id: string;
1611
- foreignId?: string | null | undefined;
1612
- username: string;
1613
- }[] | undefined;
1614
- attachments?: {
1615
- [x: string]: any;
1616
- }[] | undefined;
1617
- keywords?: string[] | undefined;
1618
- upvotes?: string[] | undefined;
1619
- downvotes?: string[] | undefined;
1620
- repliesCount?: number | undefined;
1621
- views?: number | undefined;
1622
- score?: number | undefined;
1623
- scoreUpdatedAt?: Date | undefined;
1624
- location?: {
1625
- type: "Point";
1626
- coordinates: [number, number];
1627
- } | null | undefined;
1628
- metadata?: {
1629
- [x: string]: any;
1630
- } | undefined;
1631
- topComment?: {
1632
- id: string;
1633
- user: {
1634
- id: string;
1635
- projectId: string;
1636
- foreignId: string | null;
1637
- role: import("../..").UserRole;
1638
- name: string | null;
1639
- username: string | null;
1640
- avatar: string | null;
1641
- bio: string | null;
1642
- birthdate: Date | null;
1643
- metadata: {
1644
- [x: string]: any;
1645
- };
1646
- reputation: number;
1647
- createdAt: Date;
1648
- location: {
1649
- type: "Point";
1650
- coordinates: [number, number];
1651
- } | null;
1652
- };
1653
- upvotesCount: number;
1654
- content: string;
1655
- createdAt: string;
1656
- } | null | undefined;
1657
- createdAt?: Date | undefined;
1658
- updatedAt?: Date | undefined;
1659
- deletedAt?: Date | null | undefined;
1660
- }[];
282
+ entityCount?: number | undefined;
1661
283
  createdAt: Date;
1662
284
  updatedAt: Date;
1663
285
  };
@@ -1678,113 +300,7 @@ export declare const collectionsSlice: import("@reduxjs/toolkit").Slice<Collecti
1678
300
  userId: string;
1679
301
  parentId: string | null;
1680
302
  name: string;
1681
- entityIds: string[];
1682
- entities: {
1683
- id?: string | undefined;
1684
- foreignId?: string | null | undefined;
1685
- shortId?: string | undefined;
1686
- projectId?: string | undefined;
1687
- sourceId?: string | null | undefined;
1688
- spaceId?: string | null | undefined;
1689
- space?: {
1690
- id: string;
1691
- projectId: string;
1692
- shortId: string;
1693
- slug: string | null;
1694
- name: string;
1695
- description: string | null;
1696
- avatar: string | null;
1697
- banner: string | null;
1698
- userId: string;
1699
- readingPermission: import("../..").ReadingPermission;
1700
- postingPermission: import("../..").PostingPermission;
1701
- requireJoinApproval: boolean;
1702
- parentSpaceId: string | null;
1703
- depth: number;
1704
- metadata: {
1705
- [x: string]: any;
1706
- };
1707
- createdAt: Date;
1708
- updatedAt: Date;
1709
- deletedAt: Date | null;
1710
- membersCount: number;
1711
- childSpacesCount: number;
1712
- isMember?: boolean | undefined;
1713
- } | null | undefined;
1714
- user?: {
1715
- id: string;
1716
- projectId: string;
1717
- foreignId: string | null;
1718
- role: import("../..").UserRole;
1719
- name: string | null;
1720
- username: string | null;
1721
- avatar: string | null;
1722
- bio: string | null;
1723
- birthdate: Date | null;
1724
- metadata: {
1725
- [x: string]: any;
1726
- };
1727
- reputation: number;
1728
- createdAt: Date;
1729
- location: {
1730
- type: "Point";
1731
- coordinates: [number, number];
1732
- } | null;
1733
- } | null | undefined;
1734
- title?: string | null | undefined;
1735
- content?: string | null | undefined;
1736
- mentions?: {
1737
- id: string;
1738
- foreignId?: string | null | undefined;
1739
- username: string;
1740
- }[] | undefined;
1741
- attachments?: {
1742
- [x: string]: any;
1743
- }[] | undefined;
1744
- keywords?: string[] | undefined;
1745
- upvotes?: string[] | undefined;
1746
- downvotes?: string[] | undefined;
1747
- repliesCount?: number | undefined;
1748
- views?: number | undefined;
1749
- score?: number | undefined;
1750
- scoreUpdatedAt?: Date | undefined;
1751
- location?: {
1752
- type: "Point";
1753
- coordinates: [number, number];
1754
- } | null | undefined;
1755
- metadata?: {
1756
- [x: string]: any;
1757
- } | undefined;
1758
- topComment?: {
1759
- id: string;
1760
- user: {
1761
- id: string;
1762
- projectId: string;
1763
- foreignId: string | null;
1764
- role: import("../..").UserRole;
1765
- name: string | null;
1766
- username: string | null;
1767
- avatar: string | null;
1768
- bio: string | null;
1769
- birthdate: Date | null;
1770
- metadata: {
1771
- [x: string]: any;
1772
- };
1773
- reputation: number;
1774
- createdAt: Date;
1775
- location: {
1776
- type: "Point";
1777
- coordinates: [number, number];
1778
- } | null;
1779
- };
1780
- upvotesCount: number;
1781
- content: string;
1782
- createdAt: string;
1783
- } | null | undefined;
1784
- createdAt?: Date | undefined;
1785
- updatedAt?: Date | undefined;
1786
- deletedAt?: Date | null | undefined;
1787
- }[];
303
+ entityCount?: number | undefined;
1788
304
  createdAt: Date;
1789
305
  updatedAt: Date;
1790
306
  };