@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
13 lines • 583 B
TypeScript
import { EnumPostActions } from '~/postRepository/observers/enums';
export declare const generateCommentSubscriptions: ({ cacheKey, resolveId, }: {
cacheKey: Amity.CacheKey;
resolveId?: ((id: string) => string) | undefined;
}) => {
fn: (callback: Amity.Listener<Amity.InternalPost<any>>) => Amity.Unsubscriber;
action: EnumPostActions;
}[];
export declare const getPostSubscription: (cacheKey: Amity.CacheKey) => {
fn: (callback: Amity.Listener<Amity.InternalPost<any>>) => Amity.Unsubscriber;
action: EnumPostActions;
}[];
//# sourceMappingURL=utils.d.ts.map