UNPKG

trello-for-wolves

Version:
31 lines (30 loc) 944 B
import { EmojiRecord, ReactionRecord, TypedFetch } from "../typeDefs"; import { BaseResource } from "./BaseResource"; export declare class Emoji extends BaseResource { getEmoji(params?: { locale: string; spritesheets?: boolean; }): TypedFetch<Record<string, EmojiRecord[]>>; } /** * Reactions give users the option to add an emoji to an action. * @see https://developers.trello.com/reference#reactions * @class */ export declare class Reaction extends BaseResource { getReaction(params?: { member?: boolean; emoji?: boolean; }): TypedFetch<ReactionRecord>; getReactions(params?: { member?: boolean; emoji?: boolean; }): TypedFetch<ReactionRecord[]>; addReaction(params: { shortName?: string; skinVariation?: string; native?: string; unified?: string; }): TypedFetch<ReactionRecord>; deleteReaction(): TypedFetch<unknown>; }