UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

12 lines 995 B
import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController'; import { ArchivedChannelPaginationController } from './ArchivedChannelPaginationController'; export declare class ArchivedChannelLiveCollectionController extends LiveCollectionController<'archivedChannel', Amity.ArchivedChannelLiveCollection, Amity.Channel, ArchivedChannelPaginationController> { private queryStreamController; constructor(query: Amity.ArchivedChannelLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Channel>); protected setup(): void; protected persistModel(response: Amity.ArchivedChannelPayload): Promise<void>; protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'archivedChannel'>): void; startSubscription(): Amity.Unsubscriber[]; notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void; } //# sourceMappingURL=ArchivedChannelLiveCollectionController.d.ts.map