teableio/teable

View on GitHub
packages/openapi/src/comment/reaction/constant.ts

Summary

Maintainability
A
0 mins
Test Coverage
export enum EmojiSymbol {
  thumbsup = `👍`,
  thumbsdown = `👎`,
  smile = `😄`,
  heart = `❤️`,
  eyes = `👀`,
  rocket = `🚀`,
  tada = `🎉`,
}

export const SUPPORT_EMOJIS = [
  EmojiSymbol.thumbsup,
  EmojiSymbol.thumbsdown,
  EmojiSymbol.smile,
  EmojiSymbol.heart,
  EmojiSymbol.eyes,
  EmojiSymbol.rocket,
  EmojiSymbol.tada,
];

export const Emojis = [
  {
    key: 'thumbsup',
    value: EmojiSymbol.thumbsup,
    unified: '1f44d',
    unifiedWithoutSkinTone: '1f44d',
  },
  {
    key: 'thumbsdown',
    value: EmojiSymbol.thumbsdown,
    unified: '1f44e',
    unifiedWithoutSkinTone: '1f44e',
  },
  {
    key: 'smile',
    value: EmojiSymbol.smile,
    unified: '1f604',
    unifiedWithoutSkinTone: '1f604',
  },
  {
    key: 'heart',
    value: EmojiSymbol.heart,
    unified: '2764-fe0f',
    unifiedWithoutSkinTone: '2764-fe0f',
  },
  {
    key: 'eyes',
    value: EmojiSymbol.eyes,
    unified: '1f440',
    unifiedWithoutSkinTone: '1f440',
  },
  {
    key: 'rocket',
    value: EmojiSymbol.rocket,
    unified: '1f680',
    unifiedWithoutSkinTone: '1f680',
  },
  {
    key: 'tada',
    value: EmojiSymbol.tada,
    unified: '1f389',
    unifiedWithoutSkinTone: '1f389',
  },
];