@amityco/ts-sdk-react-native 6.32.5-4306d45.0 → 6.32.5
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/.env +26 -26
- package/dist/index.cjs.js +5 -5
- package/dist/index.esm.js +5 -5
- package/dist/index.umd.js +3 -3
- package/dist/utils/tests/dummy/comment.d.ts +1 -1
- package/dist/utils/tests/dummy/post.d.ts +3 -3
- package/package.json +1 -1
- package/src/channelRepository/observers/getChannels/ChannelLiveCollectionController.ts +2 -2
|
@@ -18,7 +18,7 @@ export declare const generateComment: (params?: Partial<Amity.InternalComment>)
|
|
|
18
18
|
editedAt: string;
|
|
19
19
|
attachments?: Amity.Attachment[] | undefined;
|
|
20
20
|
targetId: string;
|
|
21
|
-
targetType: "
|
|
21
|
+
targetType: "community" | "user" | "content";
|
|
22
22
|
referenceId: string;
|
|
23
23
|
referenceType: Amity.CommentReferenceType;
|
|
24
24
|
dataType?: any;
|
|
@@ -28,21 +28,21 @@ export declare const emptyPostPayload: {
|
|
|
28
28
|
files: never[];
|
|
29
29
|
};
|
|
30
30
|
export declare const postQueryResponse: {
|
|
31
|
-
data: Omit<Amity.PostPayload<any>, "
|
|
31
|
+
data: Omit<Amity.PostPayload<any>, "communityUsers" | "communities" | "posts"> & {
|
|
32
32
|
posts: Amity.InternalPost<any>[];
|
|
33
33
|
communities: Amity.Community[];
|
|
34
34
|
communityUsers: Amity.Membership<"community">[];
|
|
35
35
|
} & Amity.Pagination;
|
|
36
36
|
};
|
|
37
37
|
export declare const postQueryResponse2: {
|
|
38
|
-
data: Omit<Amity.PostPayload<any>, "
|
|
38
|
+
data: Omit<Amity.PostPayload<any>, "communityUsers" | "communities" | "posts"> & {
|
|
39
39
|
posts: Amity.InternalPost<any>[];
|
|
40
40
|
communities: Amity.Community[];
|
|
41
41
|
communityUsers: Amity.Membership<"community">[];
|
|
42
42
|
} & Amity.Pagination;
|
|
43
43
|
};
|
|
44
44
|
export declare const postQueryResponsePage2: {
|
|
45
|
-
data: Omit<Amity.PostPayload<any>, "
|
|
45
|
+
data: Omit<Amity.PostPayload<any>, "communityUsers" | "communities" | "posts"> & {
|
|
46
46
|
posts: Amity.InternalPost<any>[];
|
|
47
47
|
communities: Amity.Community[];
|
|
48
48
|
communityUsers: Amity.Membership<"community">[];
|
package/package.json
CHANGED
|
@@ -269,7 +269,7 @@ export class ChannelLiveCollectionController extends LiveCollectionController<
|
|
|
269
269
|
}
|
|
270
270
|
});
|
|
271
271
|
},
|
|
272
|
-
'
|
|
272
|
+
'channelId',
|
|
273
273
|
'channel',
|
|
274
274
|
),
|
|
275
275
|
action: Amity.ChannelActionType.OnUpdate,
|
|
@@ -293,7 +293,7 @@ export class ChannelLiveCollectionController extends LiveCollectionController<
|
|
|
293
293
|
callback(message);
|
|
294
294
|
});
|
|
295
295
|
},
|
|
296
|
-
'
|
|
296
|
+
'channelId',
|
|
297
297
|
'channel',
|
|
298
298
|
),
|
|
299
299
|
action: Amity.ChannelActionType.OnUpdate,
|