trello-for-wolves
Version:
Node.js wrapper for Trello API...for wolves.
31 lines (30 loc) • 944 B
TypeScript
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>;
}