@amityco/ts-sdk
Version:
Amity Social Cloud Typescript SDK
13 lines • 935 B
TypeScript
import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
import { ForYouFeedPaginationController } from './PaginationController';
export declare const FOR_YOU_FEED_CACHE_KEY: string[];
export declare class ForYouFeedLiveCollectionController extends LiveCollectionController<'post', Amity.ForYouFeedLiveCollection, Amity.Post, ForYouFeedPaginationController> {
private queryStreamController;
constructor(callback: Amity.LiveCollectionCallback<Amity.Post>);
protected setup(): void;
protected persistModel(payload: 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