@amityco/ts-sdk 0.0.1-beta.43 → 0.0.1-beta.43.1
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/community/observers/liveCommunities.d.ts.map +1 -1
- package/dist/core/query/filtering.d.ts +11 -0
- package/dist/core/query/filtering.d.ts.map +1 -1
- package/dist/index.cjs.js +47 -15
- package/dist/index.esm.js +47 -16
- package/dist/index.umd.js +3 -3
- package/dist/message/api/queryMessages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/community/observers/liveCommunities.ts +4 -7
- package/src/community/observers/tests/liveCommunities.test.ts +0 -87
- package/src/community/observers/tests/liveCommunity.test.ts +4 -4
- package/src/core/query/filtering.ts +41 -0
- package/src/core/query/query.ts +4 -4
- package/src/message/api/queryMessages.ts +7 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveCommunities.d.ts","sourceRoot":"","sources":["../../../src/community/observers/liveCommunities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"liveCommunities.d.ts","sourceRoot":"","sources":["../../../src/community/observers/liveCommunities.ts"],"names":[],"mappings":"AA+BA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,eAAe,WAClB,MAAM,uBAAuB,YAC3B,MAAM,sBAAsB,CAAC,MAAM,SAAS,CAAC,WAC9C,MAAM,oBAAoB,eA0IpC,CAAC"}
|
|
@@ -31,4 +31,15 @@ export declare const filterByChannelMembership: (collection: Amity.Channel[], me
|
|
|
31
31
|
* @hidden
|
|
32
32
|
*/
|
|
33
33
|
export declare const filterByFeedType: <T extends Amity.Post<any>>(collection: T[], feedType: Amity.Feed['feedType']) => T[];
|
|
34
|
+
/**
|
|
35
|
+
* Filter a community collection by membership of the userId
|
|
36
|
+
*
|
|
37
|
+
* @param collection the community to filter
|
|
38
|
+
* @param membership the membership to be filtered by
|
|
39
|
+
* @param userId user id to be filtered by
|
|
40
|
+
* @returns a filtered collection with items only matching the criteria
|
|
41
|
+
*
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
export declare const filterByCommunityMembership: <T extends Amity.Community>(collection: T[], membership: Amity.CommunityLiveCollection['membership'], userId: Amity.Membership<'community'>['userId']) => T[];
|
|
34
45
|
//# sourceMappingURL=filtering.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["../../../src/core/query/filtering.ts"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,sEAGxB,GAAG,QAC4E,CAAC;AAEzF,eAAO,MAAM,qBAAqB,sEAGzB,GAAG,EAAE,GAAG,SAAS,QACoE,CAAC;AAE/F;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,eACxB,MAAM,OAAO,EAAE,cACf,MAAM,qBAAqB,CAAC,YAAY,CAAC,UAC7C,MAAM,UAAU,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAC5C,MAAM,OAAO,EAyBf,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,yDAEjB,MAAM,IAAI,CAAC,UAAU,CAAC,QAgBjC,CAAC"}
|
|
1
|
+
{"version":3,"file":"filtering.d.ts","sourceRoot":"","sources":["../../../src/core/query/filtering.ts"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,sEAGxB,GAAG,QAC4E,CAAC;AAEzF,eAAO,MAAM,qBAAqB,sEAGzB,GAAG,EAAE,GAAG,SAAS,QACoE,CAAC;AAE/F;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,eACxB,MAAM,OAAO,EAAE,cACf,MAAM,qBAAqB,CAAC,YAAY,CAAC,UAC7C,MAAM,UAAU,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAC5C,MAAM,OAAO,EAyBf,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,yDAEjB,MAAM,IAAI,CAAC,UAAU,CAAC,QAgBjC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,2DAE1B,MAAM,uBAAuB,CAAC,YAAY,CAAC,UAC/C,MAAM,UAAU,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,QA0BhD,CAAC"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -95,8 +95,8 @@ const PostContentType = Object.freeze({
|
|
|
95
95
|
|
|
96
96
|
function getVersion() {
|
|
97
97
|
try {
|
|
98
|
-
// the string ''v0.0.1-beta.43-cjs'' should be replaced by actual value by @rollup/plugin-replace
|
|
99
|
-
return 'v0.0.1-beta.43-cjs';
|
|
98
|
+
// the string ''v0.0.1-beta.43.1-cjs'' should be replaced by actual value by @rollup/plugin-replace
|
|
99
|
+
return 'v0.0.1-beta.43.1-cjs';
|
|
100
100
|
}
|
|
101
101
|
catch (error) {
|
|
102
102
|
return '__dev__';
|
|
@@ -451,8 +451,8 @@ const queryOptions = (policy, lifeSpan = CACHE_LIFESPAN) => {
|
|
|
451
451
|
* @category Query
|
|
452
452
|
*/
|
|
453
453
|
const runQuery = ({ func, args }, callback, options = queryOptions('cache_then_server')) => {
|
|
454
|
-
console.
|
|
455
|
-
console.
|
|
454
|
+
console.info('Deprecation Notice: By Q3, CreateQuery/RunQuery will no longer be exported from the SDK. You will be able to use the API without either methods.');
|
|
455
|
+
console.info('Deprecation Notice: From v6.0.0, individual module imports will no longer be supported. All public APIs will need to be imported from their respective repositories. Ex: CommunityRepository, UserRepository, etc.');
|
|
456
456
|
let local;
|
|
457
457
|
const { lifeSpan } = queryOptions('cache_then_server', options.lifeSpan);
|
|
458
458
|
// offline first
|
|
@@ -1141,6 +1141,39 @@ const filterByFeedType = (collection, feedType) => {
|
|
|
1141
1141
|
])) === null || _a === void 0 ? void 0 : _a.data;
|
|
1142
1142
|
return feed && feed.feedType === feedType;
|
|
1143
1143
|
});
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* Filter a community collection by membership of the userId
|
|
1147
|
+
*
|
|
1148
|
+
* @param collection the community to filter
|
|
1149
|
+
* @param membership the membership to be filtered by
|
|
1150
|
+
* @param userId user id to be filtered by
|
|
1151
|
+
* @returns a filtered collection with items only matching the criteria
|
|
1152
|
+
*
|
|
1153
|
+
* @hidden
|
|
1154
|
+
*/
|
|
1155
|
+
const filterByCommunityMembership = (collection, membership, userId) => {
|
|
1156
|
+
if (membership === 'all') {
|
|
1157
|
+
return collection;
|
|
1158
|
+
}
|
|
1159
|
+
return collection.filter(c => {
|
|
1160
|
+
var _a;
|
|
1161
|
+
// get resolver for the community by user
|
|
1162
|
+
const communityUserCacheKey = getResolver('communityUsers')({
|
|
1163
|
+
communityId: c.communityId,
|
|
1164
|
+
userId,
|
|
1165
|
+
});
|
|
1166
|
+
const communityUser = (_a = pullFromCache([
|
|
1167
|
+
'communityUsers',
|
|
1168
|
+
'get',
|
|
1169
|
+
communityUserCacheKey,
|
|
1170
|
+
])) === null || _a === void 0 ? void 0 : _a.data;
|
|
1171
|
+
if (membership === 'member') {
|
|
1172
|
+
return communityUser && communityUser.communityMembership === 'member';
|
|
1173
|
+
}
|
|
1174
|
+
// only membership value remainging is 'notMember'
|
|
1175
|
+
return !communityUser || communityUser.communityMembership !== 'none';
|
|
1176
|
+
});
|
|
1144
1177
|
};
|
|
1145
1178
|
|
|
1146
1179
|
// Note:
|
|
@@ -23482,11 +23515,12 @@ const queryMessages = async (query) => {
|
|
|
23482
23515
|
const data = await prepareMessagePayload(payload);
|
|
23483
23516
|
const { messages } = data;
|
|
23484
23517
|
const cachedAt = client.cache && Date.now();
|
|
23485
|
-
if (client.cache) {
|
|
23486
|
-
|
|
23487
|
-
|
|
23488
|
-
|
|
23489
|
-
}
|
|
23518
|
+
// if (client.cache) {
|
|
23519
|
+
// ingestInCache(data, { cachedAt });
|
|
23520
|
+
//
|
|
23521
|
+
// const cacheKey = ['message', 'query', params as Amity.Serializable];
|
|
23522
|
+
// pushToCache(cacheKey, { messages: messages.map(getResolver('message')), paging });
|
|
23523
|
+
// }
|
|
23490
23524
|
fireEvent('local.message.fetched', { messages });
|
|
23491
23525
|
const nextPage = toPageRaw(paging.next);
|
|
23492
23526
|
const prevPage = toPageRaw(paging.previous);
|
|
@@ -28917,7 +28951,7 @@ const observeCommunity = (communityId, callback) => {
|
|
|
28917
28951
|
* @category Community Live Collection
|
|
28918
28952
|
*/
|
|
28919
28953
|
const liveCommunities = (params, callback, config) => {
|
|
28920
|
-
const { log, cache } = getActiveClient();
|
|
28954
|
+
const { log, cache, userId } = getActiveClient();
|
|
28921
28955
|
if (!cache) {
|
|
28922
28956
|
console.log(ENABLE_CACHE_MESSAGE);
|
|
28923
28957
|
}
|
|
@@ -28944,11 +28978,8 @@ const liveCommunities = (params, callback, config) => {
|
|
|
28944
28978
|
if (params.tags) {
|
|
28945
28979
|
communities = communities.filter(c => { var _a; return (_a = c.tags) === null || _a === void 0 ? void 0 : _a.some(t => { var _a; return (_a = params.tags) === null || _a === void 0 ? void 0 : _a.includes(t); }); });
|
|
28946
28980
|
}
|
|
28947
|
-
if (params.membership
|
|
28948
|
-
communities =
|
|
28949
|
-
}
|
|
28950
|
-
if (params.membership === 'notMember') {
|
|
28951
|
-
communities = filterByPropEquality(communities, 'isJoined', false);
|
|
28981
|
+
if (params.membership && userId) {
|
|
28982
|
+
communities = filterByCommunityMembership(communities, params.membership, userId);
|
|
28952
28983
|
}
|
|
28953
28984
|
const sortBy = params.sortBy || 'lastCreated';
|
|
28954
28985
|
if (sortBy === 'lastCreated' || sortBy === 'firstCreated') {
|
|
@@ -31397,6 +31428,7 @@ exports.dropFromCache = dropFromCache;
|
|
|
31397
31428
|
exports.enableCache = enableCache;
|
|
31398
31429
|
exports.fileUrlWithSize = fileUrlWithSize;
|
|
31399
31430
|
exports.filterByChannelMembership = filterByChannelMembership;
|
|
31431
|
+
exports.filterByCommunityMembership = filterByCommunityMembership;
|
|
31400
31432
|
exports.filterByFeedType = filterByFeedType;
|
|
31401
31433
|
exports.filterByPropEquality = filterByPropEquality;
|
|
31402
31434
|
exports.filterByPropInclusion = filterByPropInclusion;
|
package/dist/index.esm.js
CHANGED
|
@@ -81,8 +81,8 @@ const PostContentType = Object.freeze({
|
|
|
81
81
|
|
|
82
82
|
function getVersion() {
|
|
83
83
|
try {
|
|
84
|
-
// the string ''v0.0.1-beta.43-esm'' should be replaced by actual value by @rollup/plugin-replace
|
|
85
|
-
return 'v0.0.1-beta.43-esm';
|
|
84
|
+
// the string ''v0.0.1-beta.43.1-esm'' should be replaced by actual value by @rollup/plugin-replace
|
|
85
|
+
return 'v0.0.1-beta.43.1-esm';
|
|
86
86
|
}
|
|
87
87
|
catch (error) {
|
|
88
88
|
return '__dev__';
|
|
@@ -437,8 +437,8 @@ const queryOptions = (policy, lifeSpan = CACHE_LIFESPAN) => {
|
|
|
437
437
|
* @category Query
|
|
438
438
|
*/
|
|
439
439
|
const runQuery = ({ func, args }, callback, options = queryOptions('cache_then_server')) => {
|
|
440
|
-
console.
|
|
441
|
-
console.
|
|
440
|
+
console.info('Deprecation Notice: By Q3, CreateQuery/RunQuery will no longer be exported from the SDK. You will be able to use the API without either methods.');
|
|
441
|
+
console.info('Deprecation Notice: From v6.0.0, individual module imports will no longer be supported. All public APIs will need to be imported from their respective repositories. Ex: CommunityRepository, UserRepository, etc.');
|
|
442
442
|
let local;
|
|
443
443
|
const { lifeSpan } = queryOptions('cache_then_server', options.lifeSpan);
|
|
444
444
|
// offline first
|
|
@@ -1127,6 +1127,39 @@ const filterByFeedType = (collection, feedType) => {
|
|
|
1127
1127
|
])) === null || _a === void 0 ? void 0 : _a.data;
|
|
1128
1128
|
return feed && feed.feedType === feedType;
|
|
1129
1129
|
});
|
|
1130
|
+
};
|
|
1131
|
+
/**
|
|
1132
|
+
* Filter a community collection by membership of the userId
|
|
1133
|
+
*
|
|
1134
|
+
* @param collection the community to filter
|
|
1135
|
+
* @param membership the membership to be filtered by
|
|
1136
|
+
* @param userId user id to be filtered by
|
|
1137
|
+
* @returns a filtered collection with items only matching the criteria
|
|
1138
|
+
*
|
|
1139
|
+
* @hidden
|
|
1140
|
+
*/
|
|
1141
|
+
const filterByCommunityMembership = (collection, membership, userId) => {
|
|
1142
|
+
if (membership === 'all') {
|
|
1143
|
+
return collection;
|
|
1144
|
+
}
|
|
1145
|
+
return collection.filter(c => {
|
|
1146
|
+
var _a;
|
|
1147
|
+
// get resolver for the community by user
|
|
1148
|
+
const communityUserCacheKey = getResolver('communityUsers')({
|
|
1149
|
+
communityId: c.communityId,
|
|
1150
|
+
userId,
|
|
1151
|
+
});
|
|
1152
|
+
const communityUser = (_a = pullFromCache([
|
|
1153
|
+
'communityUsers',
|
|
1154
|
+
'get',
|
|
1155
|
+
communityUserCacheKey,
|
|
1156
|
+
])) === null || _a === void 0 ? void 0 : _a.data;
|
|
1157
|
+
if (membership === 'member') {
|
|
1158
|
+
return communityUser && communityUser.communityMembership === 'member';
|
|
1159
|
+
}
|
|
1160
|
+
// only membership value remainging is 'notMember'
|
|
1161
|
+
return !communityUser || communityUser.communityMembership !== 'none';
|
|
1162
|
+
});
|
|
1130
1163
|
};
|
|
1131
1164
|
|
|
1132
1165
|
// Note:
|
|
@@ -23468,11 +23501,12 @@ const queryMessages = async (query) => {
|
|
|
23468
23501
|
const data = await prepareMessagePayload(payload);
|
|
23469
23502
|
const { messages } = data;
|
|
23470
23503
|
const cachedAt = client.cache && Date.now();
|
|
23471
|
-
if (client.cache) {
|
|
23472
|
-
|
|
23473
|
-
|
|
23474
|
-
|
|
23475
|
-
}
|
|
23504
|
+
// if (client.cache) {
|
|
23505
|
+
// ingestInCache(data, { cachedAt });
|
|
23506
|
+
//
|
|
23507
|
+
// const cacheKey = ['message', 'query', params as Amity.Serializable];
|
|
23508
|
+
// pushToCache(cacheKey, { messages: messages.map(getResolver('message')), paging });
|
|
23509
|
+
// }
|
|
23476
23510
|
fireEvent('local.message.fetched', { messages });
|
|
23477
23511
|
const nextPage = toPageRaw(paging.next);
|
|
23478
23512
|
const prevPage = toPageRaw(paging.previous);
|
|
@@ -28903,7 +28937,7 @@ const observeCommunity = (communityId, callback) => {
|
|
|
28903
28937
|
* @category Community Live Collection
|
|
28904
28938
|
*/
|
|
28905
28939
|
const liveCommunities = (params, callback, config) => {
|
|
28906
|
-
const { log, cache } = getActiveClient();
|
|
28940
|
+
const { log, cache, userId } = getActiveClient();
|
|
28907
28941
|
if (!cache) {
|
|
28908
28942
|
console.log(ENABLE_CACHE_MESSAGE);
|
|
28909
28943
|
}
|
|
@@ -28930,11 +28964,8 @@ const liveCommunities = (params, callback, config) => {
|
|
|
28930
28964
|
if (params.tags) {
|
|
28931
28965
|
communities = communities.filter(c => { var _a; return (_a = c.tags) === null || _a === void 0 ? void 0 : _a.some(t => { var _a; return (_a = params.tags) === null || _a === void 0 ? void 0 : _a.includes(t); }); });
|
|
28932
28966
|
}
|
|
28933
|
-
if (params.membership
|
|
28934
|
-
communities =
|
|
28935
|
-
}
|
|
28936
|
-
if (params.membership === 'notMember') {
|
|
28937
|
-
communities = filterByPropEquality(communities, 'isJoined', false);
|
|
28967
|
+
if (params.membership && userId) {
|
|
28968
|
+
communities = filterByCommunityMembership(communities, params.membership, userId);
|
|
28938
28969
|
}
|
|
28939
28970
|
const sortBy = params.sortBy || 'lastCreated';
|
|
28940
28971
|
if (sortBy === 'lastCreated' || sortBy === 'firstCreated') {
|
|
@@ -31323,4 +31354,4 @@ const createUserToken = async (apiKey, apiRegion, params) => {
|
|
|
31323
31354
|
return { accessToken: data.accessToken };
|
|
31324
31355
|
};
|
|
31325
31356
|
|
|
31326
|
-
export { API_REGIONS, CommunityPostSettingMaps, CommunityPostSettings, ContentFeedType, DefaultCommunityPostSetting, FileType, MARKER_INCLUDED_SUB_CHANNEL_TYPE, MessageContentType, PostContentType, SubscriptionLevels, VERSION, VideoResolution, VideoSize, VideoTranscodingStatus, acceptFollower, addChannelMembers, addChannelMembersRole, addCommunityMembers, addCommunityMembersRoles, addReaction, approvePost, backupCache, banChannelMembers, closePoll, connectClient, convertFromRaw$1 as convertFromRaw, convertQueryParams, createChannel, createClient, createComment, createCommunity, createFile, createImage, createMessage, createPoll, createPost, createQuery, createReport, createStream, createSubChannel, createUserToken, createVideo, declineFollower, declinePost, deleteChannel, deleteComment, deleteCommunity, deleteFile, deleteMessage, deletePoll, deletePost, deleteReport, deleteStream, deleteSubChannel, disableCache, disconnectClient, disposeStream, dropFromCache, enableCache, fileUrlWithSize, filterByChannelMembership, filterByFeedType, filterByPropEquality, filterByPropInclusion, follow, getActiveClient, getActiveUser, getCategory, getChannel, getChannelMarkers, getChannelTopic, getChannels, getComment, getCommentTopic, getComments, getCommunities, getCommunity, getCommunityTopic, getFeedSettings, getFile, getFollowInfo, getMarkerSyncEvents, getMessage, getMessageMarkers, getMessageTopic, getMessages, getMyFollowersTopic, getMyFollowingsTopic, getNetworkTopic, getPoll, getPost, getPostTopic, getPosts, getRecommendedCommunities, getRole, getSmartFeedChannelTopic, getSmartFeedMessageTopic, getSmartFeedSubChannelTopic, getStream, getSubChannel, getSubChannelMarkers, getSubChannelTopic, getSubChannels, getTopTrendingCommunities, getTotalUnreadCount, getUnreadCount$1 as getUnreadCount, getUser, getUserMarker, getUserTopic, getUsers, isAfterBefore, isAfterBeforeRaw, isCachable, isConnected, isFetcher, isFresh, isLocal, isMutator, isOffline, isPaged, isReportedByMe, isSkip, isUnreadCountSupport$1 as isUnreadCountSupport, joinChannel, joinCommunity, leaveChannel, leaveCommunity, liveCategories, liveChannel, liveChannelMembers, liveChannels, liveComment, liveComments, liveCommunities, liveCommunity, liveCommunityMembers, liveFollowInfo, liveFollowers, liveFollowings, liveMessage, liveMessages, livePost, livePosts, liveReactions, liveSubChannel, liveSubChannels, liveUser, liveUsers, markAsDelivered, markerSync, markerSyncTrigger, mergeInCache, observeChannel, observeChannels, observeComment, observeComments, observeCommunity, observeFile, observeFollowInfo, observeFollowers, observeFollowings, observeMessage, observeMessages, observePoll, observePost, observePosts, observeUser, onChannelCreated, onChannelDeleted, onChannelJoined, onChannelLeft, onChannelMarkerFetched, onChannelMemberAdded, onChannelMemberBanned, onChannelMemberRemoved, onChannelMemberUnbanned, onChannelMuted, onChannelUpdated, onClientBanned, onClientDisconnected, onCommentCreated, onCommentDeleted, onCommentFlagged, onCommentReactionAdded, onCommentReactionRemoved, onCommentUnflagged, onCommentUpdated, onCommunityCreated, onCommunityDeleted, onCommunityJoined, onCommunityLeft, onCommunityUpdated, onCommunityUserAdded, onCommunityUserBanned, onCommunityUserChanged, onCommunityUserRemoved, onCommunityUserRoleAdded, onCommunityUserRoleRemoved, onCommunityUserUnbanned, onConnectionError, onFeedMarkerFetched, onFollowInfoUpdated, onFollowRequestAccepted, onFollowRequestCanceled, onFollowRequestDeclined, onFollowerDeleted, onFollowerRequested, onMessageCreated, onMessageDeleted, onMessageFetched, onMessageFlagCleared, onMessageFlagged, onMessageMarkerFetched, onMessageReactionAdded, onMessageReactionRemoved, onMessageUnflagged, onMessageUpdated, onPollDeleted, onPollUpdated, onPostApproved, onPostCreated, onPostDeclined, onPostDeleted, onPostFlagged, onPostReactionAdded, onPostReactionRemoved, onPostUnflagged, onPostUpdated, onReactionAdded, onReactionRemoved, onReactorAdded, onReactorRemoved, onSessionStateChange, onStreamRecorded, onStreamStarted, onStreamStopped, onSubChannelCreated, onSubChannelDeleted, onSubChannelMarkerFetched, onSubChannelMarkerUpdated, onSubChannelUpdated, onUserDeleted, onUserFlagCleared, onUserFlagged, onUserFollowed, onUserMarkerFetched, onUserUnflagged, onUserUnfollowed, onUserUpdated, prepareSubChannelPayload, pullFromCache, pushMarkerSyncEvent, pushToCache, queryCache, queryCategories, queryChannelMembers, queryChannels, queryComments, queryCommunities, queryCommunityMembers, queryFollowers, queryFollowings, queryGlobalFeed, queryMessages, queryOptions, queryPosts, queryReactions, queryRoles, queryStreams, querySubChannels, queryUsers, removeChannelMembers, removeChannelMembersRole, removeCommunityMembers, removeCommunityMembersRoles, removeReaction, renewal, restoreCache, runQuery, setActiveUser, setMarkerSyncEvents, sortByChannelSegment, sortByDisplayName, sortByFirstCreated, sortByLastActivity, sortByLastCreated, sortByName, sortBySegmentNumber, startReading, startReadingAPI, startUnreadSync, stopReading, stopReadingAPI, stopUnreadSyncing, subscribeTopic, toPage, toPageRaw, toToken, unbanChannelMembers, unfollow, updateChannel, updateComment, updateCommunity, updateMessage, updatePost, updateStream, updateSubChannel, updateSubChannelMarker, updateUser, upsertInCache, votePoll, wipeCache };
|
|
31357
|
+
export { API_REGIONS, CommunityPostSettingMaps, CommunityPostSettings, ContentFeedType, DefaultCommunityPostSetting, FileType, MARKER_INCLUDED_SUB_CHANNEL_TYPE, MessageContentType, PostContentType, SubscriptionLevels, VERSION, VideoResolution, VideoSize, VideoTranscodingStatus, acceptFollower, addChannelMembers, addChannelMembersRole, addCommunityMembers, addCommunityMembersRoles, addReaction, approvePost, backupCache, banChannelMembers, closePoll, connectClient, convertFromRaw$1 as convertFromRaw, convertQueryParams, createChannel, createClient, createComment, createCommunity, createFile, createImage, createMessage, createPoll, createPost, createQuery, createReport, createStream, createSubChannel, createUserToken, createVideo, declineFollower, declinePost, deleteChannel, deleteComment, deleteCommunity, deleteFile, deleteMessage, deletePoll, deletePost, deleteReport, deleteStream, deleteSubChannel, disableCache, disconnectClient, disposeStream, dropFromCache, enableCache, fileUrlWithSize, filterByChannelMembership, filterByCommunityMembership, filterByFeedType, filterByPropEquality, filterByPropInclusion, follow, getActiveClient, getActiveUser, getCategory, getChannel, getChannelMarkers, getChannelTopic, getChannels, getComment, getCommentTopic, getComments, getCommunities, getCommunity, getCommunityTopic, getFeedSettings, getFile, getFollowInfo, getMarkerSyncEvents, getMessage, getMessageMarkers, getMessageTopic, getMessages, getMyFollowersTopic, getMyFollowingsTopic, getNetworkTopic, getPoll, getPost, getPostTopic, getPosts, getRecommendedCommunities, getRole, getSmartFeedChannelTopic, getSmartFeedMessageTopic, getSmartFeedSubChannelTopic, getStream, getSubChannel, getSubChannelMarkers, getSubChannelTopic, getSubChannels, getTopTrendingCommunities, getTotalUnreadCount, getUnreadCount$1 as getUnreadCount, getUser, getUserMarker, getUserTopic, getUsers, isAfterBefore, isAfterBeforeRaw, isCachable, isConnected, isFetcher, isFresh, isLocal, isMutator, isOffline, isPaged, isReportedByMe, isSkip, isUnreadCountSupport$1 as isUnreadCountSupport, joinChannel, joinCommunity, leaveChannel, leaveCommunity, liveCategories, liveChannel, liveChannelMembers, liveChannels, liveComment, liveComments, liveCommunities, liveCommunity, liveCommunityMembers, liveFollowInfo, liveFollowers, liveFollowings, liveMessage, liveMessages, livePost, livePosts, liveReactions, liveSubChannel, liveSubChannels, liveUser, liveUsers, markAsDelivered, markerSync, markerSyncTrigger, mergeInCache, observeChannel, observeChannels, observeComment, observeComments, observeCommunity, observeFile, observeFollowInfo, observeFollowers, observeFollowings, observeMessage, observeMessages, observePoll, observePost, observePosts, observeUser, onChannelCreated, onChannelDeleted, onChannelJoined, onChannelLeft, onChannelMarkerFetched, onChannelMemberAdded, onChannelMemberBanned, onChannelMemberRemoved, onChannelMemberUnbanned, onChannelMuted, onChannelUpdated, onClientBanned, onClientDisconnected, onCommentCreated, onCommentDeleted, onCommentFlagged, onCommentReactionAdded, onCommentReactionRemoved, onCommentUnflagged, onCommentUpdated, onCommunityCreated, onCommunityDeleted, onCommunityJoined, onCommunityLeft, onCommunityUpdated, onCommunityUserAdded, onCommunityUserBanned, onCommunityUserChanged, onCommunityUserRemoved, onCommunityUserRoleAdded, onCommunityUserRoleRemoved, onCommunityUserUnbanned, onConnectionError, onFeedMarkerFetched, onFollowInfoUpdated, onFollowRequestAccepted, onFollowRequestCanceled, onFollowRequestDeclined, onFollowerDeleted, onFollowerRequested, onMessageCreated, onMessageDeleted, onMessageFetched, onMessageFlagCleared, onMessageFlagged, onMessageMarkerFetched, onMessageReactionAdded, onMessageReactionRemoved, onMessageUnflagged, onMessageUpdated, onPollDeleted, onPollUpdated, onPostApproved, onPostCreated, onPostDeclined, onPostDeleted, onPostFlagged, onPostReactionAdded, onPostReactionRemoved, onPostUnflagged, onPostUpdated, onReactionAdded, onReactionRemoved, onReactorAdded, onReactorRemoved, onSessionStateChange, onStreamRecorded, onStreamStarted, onStreamStopped, onSubChannelCreated, onSubChannelDeleted, onSubChannelMarkerFetched, onSubChannelMarkerUpdated, onSubChannelUpdated, onUserDeleted, onUserFlagCleared, onUserFlagged, onUserFollowed, onUserMarkerFetched, onUserUnflagged, onUserUnfollowed, onUserUpdated, prepareSubChannelPayload, pullFromCache, pushMarkerSyncEvent, pushToCache, queryCache, queryCategories, queryChannelMembers, queryChannels, queryComments, queryCommunities, queryCommunityMembers, queryFollowers, queryFollowings, queryGlobalFeed, queryMessages, queryOptions, queryPosts, queryReactions, queryRoles, queryStreams, querySubChannels, queryUsers, removeChannelMembers, removeChannelMembersRole, removeCommunityMembers, removeCommunityMembersRoles, removeReaction, renewal, restoreCache, runQuery, setActiveUser, setMarkerSyncEvents, sortByChannelSegment, sortByDisplayName, sortByFirstCreated, sortByLastActivity, sortByLastCreated, sortByName, sortBySegmentNumber, startReading, startReadingAPI, startUnreadSync, stopReading, stopReadingAPI, stopUnreadSyncing, subscribeTopic, toPage, toPageRaw, toToken, unbanChannelMembers, unfollow, updateChannel, updateComment, updateCommunity, updateMessage, updatePost, updateStream, updateSubChannel, updateSubChannelMarker, updateUser, upsertInCache, votePoll, wipeCache };
|