@amityco/ts-sdk
Version:
Amity Social Cloud Typescript SDK
13 lines • 1.03 kB
TypeScript
import { QueryStreamController } from '~/core/liveCollection/QueryStreamController';
export declare class ArchivedChannelQueryStreamController extends QueryStreamController<Amity.ArchivedChannelPayload, Amity.ArchivedChannelLiveCollection> {
private notifyChange;
constructor(query: Amity.ArchivedChannelLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void);
saveToMainDB(_response: Amity.ArchivedChannelPayload): Promise<void>;
appendToQueryStream(response: Amity.ArchivedChannelPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
reactor(action: Amity.ChannelActionType): (channelIds: Amity.Channel['channelId'][]) => void;
subscribeRTE(createSubscriber: {
fn: (reactor: (channelIds: Amity.Channel['channelId'][]) => void) => Amity.Unsubscriber;
action: Amity.ChannelActionType;
}[]): Amity.Unsubscriber[];
}
//# sourceMappingURL=ArchivedChannelQueryStreamController.d.ts.map