UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

26 lines (20 loc) 645 B
export {}; declare global { namespace Amity { type RawLiveReaction = { userId: string; // user's public ID referenceId: string; // post's internal ID referencePublicId: string; // post's public ID referenceType: string; // 'post' reactionName: string; // 'love // date string in ISO format occurredAt: string; }; type InternalLiveReaction = RawLiveReaction; type LiveReaction = InternalLiveReaction; type CreateLiveReactionRequest = Omit<RawLiveReaction, 'userId' | 'referenceId' | 'occurredAt'>; type CreateLiveReactionResponse = { addedIds: string[]; }; } }