@replyke/core 6.2.0-beta.5 → 7.0.0-beta.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.
Files changed (135) hide show
  1. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js +15 -9
  2. package/dist/cjs/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
  3. package/dist/cjs/hooks/comments/useEntityComments.js +12 -14
  4. package/dist/cjs/hooks/comments/useEntityComments.js.map +1 -1
  5. package/dist/cjs/hooks/comments/useFetchManyComments.d.ts +2 -1
  6. package/dist/cjs/hooks/comments/useFetchManyComments.js.map +1 -1
  7. package/dist/cjs/hooks/comments/useProfileComments.js +12 -14
  8. package/dist/cjs/hooks/comments/useProfileComments.js.map +1 -1
  9. package/dist/cjs/hooks/comments/useReplies.js +6 -3
  10. package/dist/cjs/hooks/comments/useReplies.js.map +1 -1
  11. package/dist/cjs/hooks/entities/useFetchEntity.d.ts +3 -2
  12. package/dist/cjs/hooks/entities/useFetchEntity.js +8 -3
  13. package/dist/cjs/hooks/entities/useFetchEntity.js.map +1 -1
  14. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.d.ts +3 -2
  15. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js +17 -6
  16. package/dist/cjs/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
  17. package/dist/cjs/hooks/entities/useFetchEntityByShortId.d.ts +3 -2
  18. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js +17 -5
  19. package/dist/cjs/hooks/entities/useFetchEntityByShortId.js.map +1 -1
  20. package/dist/cjs/hooks/entities/useFetchManyEntities.d.ts +4 -2
  21. package/dist/cjs/hooks/entities/useFetchManyEntities.js +5 -0
  22. package/dist/cjs/hooks/entities/useFetchManyEntities.js.map +1 -1
  23. package/dist/cjs/hooks/relationships/connections/useFetchConnections.d.ts +3 -2
  24. package/dist/cjs/hooks/relationships/connections/useFetchConnections.js.map +1 -1
  25. package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +3 -2
  26. package/dist/cjs/hooks/relationships/connections/useFetchConnectionsByUserId.js.map +1 -1
  27. package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.d.ts +3 -2
  28. package/dist/cjs/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
  29. package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +3 -2
  30. package/dist/cjs/hooks/relationships/connections/useFetchSentPendingConnections.js.map +1 -1
  31. package/dist/cjs/hooks/relationships/follows/useFetchFollowers.d.ts +2 -12
  32. package/dist/cjs/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
  33. package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.d.ts +2 -12
  34. package/dist/cjs/hooks/relationships/follows/useFetchFollowersByUserId.js.map +1 -1
  35. package/dist/cjs/hooks/relationships/follows/useFetchFollowing.d.ts +2 -12
  36. package/dist/cjs/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
  37. package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.d.ts +2 -12
  38. package/dist/cjs/hooks/relationships/follows/useFetchFollowingByUserId.js.map +1 -1
  39. package/dist/cjs/hooks/reports/useFetchSpaceReports.d.ts +2 -1
  40. package/dist/cjs/hooks/reports/useFetchSpaceReports.js.map +1 -1
  41. package/dist/cjs/hooks/spaces/useFetchManySpaces.d.ts +2 -1
  42. package/dist/cjs/hooks/spaces/useFetchManySpaces.js.map +1 -1
  43. package/dist/cjs/hooks/spaces/useFetchMySpaces.js +1 -1
  44. package/dist/cjs/hooks/spaces/useFetchMySpaces.js.map +1 -1
  45. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.d.ts +2 -1
  46. package/dist/cjs/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
  47. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js +1 -1
  48. package/dist/cjs/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
  49. package/dist/cjs/index.d.ts +2 -1
  50. package/dist/cjs/index.js.map +1 -1
  51. package/dist/cjs/interfaces/IPaginatedResponse.d.ts +11 -0
  52. package/dist/cjs/interfaces/IPaginatedResponse.js +3 -0
  53. package/dist/cjs/interfaces/IPaginatedResponse.js.map +1 -0
  54. package/dist/cjs/interfaces/models/Entity.d.ts +5 -0
  55. package/dist/cjs/interfaces/models/Space.d.ts +2 -11
  56. package/dist/cjs/interfaces/models/SpaceMember.d.ts +1 -1
  57. package/dist/cjs/store/api/appNotificationsApi.d.ts +193 -192
  58. package/dist/cjs/store/api/appNotificationsApi.js +7 -7
  59. package/dist/cjs/store/api/appNotificationsApi.js.map +1 -1
  60. package/dist/cjs/store/api/entityListsApi.d.ts +2 -1
  61. package/dist/cjs/store/api/entityListsApi.js +4 -1
  62. package/dist/cjs/store/api/entityListsApi.js.map +1 -1
  63. package/dist/cjs/store/slices/appNotificationsSlice.d.ts +2 -0
  64. package/dist/cjs/store/slices/appNotificationsSlice.js +3 -5
  65. package/dist/cjs/store/slices/appNotificationsSlice.js.map +1 -1
  66. package/dist/cjs/store/slices/entityListsSlice.d.ts +300 -0
  67. package/dist/cjs/store/slices/listsSlice.d.ts +350 -0
  68. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js +15 -9
  69. package/dist/esm/hooks/app-notifications/useAppNotificationsActions.js.map +1 -1
  70. package/dist/esm/hooks/comments/useEntityComments.js +12 -14
  71. package/dist/esm/hooks/comments/useEntityComments.js.map +1 -1
  72. package/dist/esm/hooks/comments/useFetchManyComments.d.ts +2 -1
  73. package/dist/esm/hooks/comments/useFetchManyComments.js.map +1 -1
  74. package/dist/esm/hooks/comments/useProfileComments.js +12 -14
  75. package/dist/esm/hooks/comments/useProfileComments.js.map +1 -1
  76. package/dist/esm/hooks/comments/useReplies.js +6 -3
  77. package/dist/esm/hooks/comments/useReplies.js.map +1 -1
  78. package/dist/esm/hooks/entities/useFetchEntity.d.ts +3 -2
  79. package/dist/esm/hooks/entities/useFetchEntity.js +8 -3
  80. package/dist/esm/hooks/entities/useFetchEntity.js.map +1 -1
  81. package/dist/esm/hooks/entities/useFetchEntityByForeignId.d.ts +3 -2
  82. package/dist/esm/hooks/entities/useFetchEntityByForeignId.js +17 -6
  83. package/dist/esm/hooks/entities/useFetchEntityByForeignId.js.map +1 -1
  84. package/dist/esm/hooks/entities/useFetchEntityByShortId.d.ts +3 -2
  85. package/dist/esm/hooks/entities/useFetchEntityByShortId.js +17 -5
  86. package/dist/esm/hooks/entities/useFetchEntityByShortId.js.map +1 -1
  87. package/dist/esm/hooks/entities/useFetchManyEntities.d.ts +4 -2
  88. package/dist/esm/hooks/entities/useFetchManyEntities.js +5 -0
  89. package/dist/esm/hooks/entities/useFetchManyEntities.js.map +1 -1
  90. package/dist/esm/hooks/relationships/connections/useFetchConnections.d.ts +3 -2
  91. package/dist/esm/hooks/relationships/connections/useFetchConnections.js.map +1 -1
  92. package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.d.ts +3 -2
  93. package/dist/esm/hooks/relationships/connections/useFetchConnectionsByUserId.js.map +1 -1
  94. package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.d.ts +3 -2
  95. package/dist/esm/hooks/relationships/connections/useFetchReceivedPendingConnections.js.map +1 -1
  96. package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.d.ts +3 -2
  97. package/dist/esm/hooks/relationships/connections/useFetchSentPendingConnections.js.map +1 -1
  98. package/dist/esm/hooks/relationships/follows/useFetchFollowers.d.ts +2 -12
  99. package/dist/esm/hooks/relationships/follows/useFetchFollowers.js.map +1 -1
  100. package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.d.ts +2 -12
  101. package/dist/esm/hooks/relationships/follows/useFetchFollowersByUserId.js.map +1 -1
  102. package/dist/esm/hooks/relationships/follows/useFetchFollowing.d.ts +2 -12
  103. package/dist/esm/hooks/relationships/follows/useFetchFollowing.js.map +1 -1
  104. package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.d.ts +2 -12
  105. package/dist/esm/hooks/relationships/follows/useFetchFollowingByUserId.js.map +1 -1
  106. package/dist/esm/hooks/reports/useFetchSpaceReports.d.ts +2 -1
  107. package/dist/esm/hooks/reports/useFetchSpaceReports.js.map +1 -1
  108. package/dist/esm/hooks/spaces/useFetchManySpaces.d.ts +2 -1
  109. package/dist/esm/hooks/spaces/useFetchManySpaces.js.map +1 -1
  110. package/dist/esm/hooks/spaces/useFetchMySpaces.js +1 -1
  111. package/dist/esm/hooks/spaces/useFetchMySpaces.js.map +1 -1
  112. package/dist/esm/hooks/spaces/useFetchSpaceChildren.d.ts +2 -1
  113. package/dist/esm/hooks/spaces/useFetchSpaceChildren.js.map +1 -1
  114. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js +1 -1
  115. package/dist/esm/hooks/spaces/useFetchSpaceMembers.js.map +1 -1
  116. package/dist/esm/index.d.ts +2 -1
  117. package/dist/esm/index.js.map +1 -1
  118. package/dist/esm/interfaces/IPaginatedResponse.d.ts +11 -0
  119. package/dist/esm/interfaces/IPaginatedResponse.js +2 -0
  120. package/dist/esm/interfaces/IPaginatedResponse.js.map +1 -0
  121. package/dist/esm/interfaces/models/Entity.d.ts +5 -0
  122. package/dist/esm/interfaces/models/Space.d.ts +2 -11
  123. package/dist/esm/interfaces/models/SpaceMember.d.ts +1 -1
  124. package/dist/esm/store/api/appNotificationsApi.d.ts +193 -192
  125. package/dist/esm/store/api/appNotificationsApi.js +7 -7
  126. package/dist/esm/store/api/appNotificationsApi.js.map +1 -1
  127. package/dist/esm/store/api/entityListsApi.d.ts +2 -1
  128. package/dist/esm/store/api/entityListsApi.js +4 -1
  129. package/dist/esm/store/api/entityListsApi.js.map +1 -1
  130. package/dist/esm/store/slices/appNotificationsSlice.d.ts +2 -0
  131. package/dist/esm/store/slices/appNotificationsSlice.js +3 -5
  132. package/dist/esm/store/slices/appNotificationsSlice.js.map +1 -1
  133. package/dist/esm/store/slices/entityListsSlice.d.ts +300 -0
  134. package/dist/esm/store/slices/listsSlice.d.ts +350 -0
  135. package/package.json +1 -1
@@ -29,6 +29,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
29
29
  projectId?: string | undefined;
30
30
  sourceId?: string | null | undefined;
31
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;
32
57
  user?: {
33
58
  id: string;
34
59
  projectId: string;
@@ -131,6 +156,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
131
156
  projectId?: string | undefined;
132
157
  sourceId?: string | null | undefined;
133
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;
134
184
  user?: {
135
185
  id: string;
136
186
  projectId: string;
@@ -233,6 +283,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
233
283
  projectId?: string | undefined;
234
284
  sourceId?: string | null | undefined;
235
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;
236
311
  user?: {
237
312
  id: string;
238
313
  projectId: string;
@@ -335,6 +410,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
335
410
  projectId?: string | undefined;
336
411
  sourceId?: string | null | undefined;
337
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;
338
438
  user?: {
339
439
  id: string;
340
440
  projectId: string;
@@ -437,6 +537,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
437
537
  projectId?: string | undefined;
438
538
  sourceId?: string | null | undefined;
439
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;
440
565
  user?: {
441
566
  id: string;
442
567
  projectId: string;
@@ -539,6 +664,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
539
664
  projectId?: string | undefined;
540
665
  sourceId?: string | null | undefined;
541
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;
542
692
  user?: {
543
693
  id: string;
544
694
  projectId: string;
@@ -641,6 +791,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
641
791
  projectId?: string | undefined;
642
792
  sourceId?: string | null | undefined;
643
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;
644
819
  user?: {
645
820
  id: string;
646
821
  projectId: string;
@@ -746,6 +921,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
746
921
  projectId?: string | undefined;
747
922
  sourceId?: string | null | undefined;
748
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;
749
949
  user?: {
750
950
  id: string;
751
951
  projectId: string;
@@ -848,6 +1048,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
848
1048
  projectId?: string | undefined;
849
1049
  sourceId?: string | null | undefined;
850
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;
851
1076
  user?: {
852
1077
  id: string;
853
1078
  projectId: string;
@@ -950,6 +1175,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
950
1175
  projectId?: string | undefined;
951
1176
  sourceId?: string | null | undefined;
952
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;
953
1203
  user?: {
954
1204
  id: string;
955
1205
  projectId: string;
@@ -1052,6 +1302,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
1052
1302
  projectId?: string | undefined;
1053
1303
  sourceId?: string | null | undefined;
1054
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;
1055
1330
  user?: {
1056
1331
  id: string;
1057
1332
  projectId: string;
@@ -1154,6 +1429,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
1154
1429
  projectId?: string | undefined;
1155
1430
  sourceId?: string | null | undefined;
1156
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;
1157
1457
  user?: {
1158
1458
  id: string;
1159
1459
  projectId: string;
@@ -1259,6 +1559,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
1259
1559
  projectId?: string | undefined;
1260
1560
  sourceId?: string | null | undefined;
1261
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;
1262
1587
  user?: {
1263
1588
  id: string;
1264
1589
  projectId: string;
@@ -1361,6 +1686,31 @@ export declare const listsSlice: import("@reduxjs/toolkit").Slice<ListsState, {
1361
1686
  projectId?: string | undefined;
1362
1687
  sourceId?: string | null | undefined;
1363
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;
1364
1714
  user?: {
1365
1715
  id: string;
1366
1716
  projectId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replyke/core",
3
- "version": "6.2.0-beta.5",
3
+ "version": "7.0.0-beta.0",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "author": "Replyke, maintained by Yanay Tsabary",