UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

13 lines 1.01 kB
import { CustomRankingGlobalFeedPaginationController } from './PaginationController'; import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController'; export declare class CustomRankingGlobalFeedLiveCollectionController extends LiveCollectionController<'post', Amity.CustomRankingGlobalFeedLiveCollection, Amity.Post, CustomRankingGlobalFeedPaginationController> { private queryStreamController; private query; constructor(query: Amity.CustomRankingGlobalFeedLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Post>); protected setup(): void; protected persistModel(queryPayload: Amity.PostPayload & Amity.Pagination): Promise<void>; protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'post'>): void; startSubscription(): Amity.Unsubscriber[]; notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void; } //# sourceMappingURL=LiveCollectionController.d.ts.map