@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
13 lines • 943 B
TypeScript
import { GlobalFeedPaginationController } from './PaginationController';
import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
export declare class GlobalFeedLiveCollectionController extends LiveCollectionController<'post', Amity.GlobalFeedLiveCollection, Amity.Post, GlobalFeedPaginationController> {
private queryStreamController;
private query;
constructor(query: Amity.GlobalFeedLiveCollection, 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