Skip to content

Commit

Permalink
Add types.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Dec 7, 2024
1 parent 9a7dc0f commit af5ca2a
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/data/vi/compact.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CompactEmoji } from 'emojibase';

declare const data: CompactEmoji[];

export default data;
5 changes: 5 additions & 0 deletions packages/data/vi/data.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Emoji } from 'emojibase';

declare const data: Emoji[];

export default data;
5 changes: 5 additions & 0 deletions packages/data/vi/messages.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { MessagesDataset } from 'emojibase';

declare const data: MessagesDataset;

export default data;
5 changes: 5 additions & 0 deletions packages/data/vi/shortcodes/cldr-native.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { ShortcodesDataset } from 'emojibase';

declare const data: ShortcodesDataset;

export default data;
5 changes: 5 additions & 0 deletions packages/data/vi/shortcodes/cldr.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { ShortcodesDataset } from 'emojibase';

declare const data: ShortcodesDataset;

export default data;
7 changes: 6 additions & 1 deletion website/docs/datasets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ Sorted by original size in ascending order.
| pt/data.json | 751.02 kB | 94.34 kB |
| hu/data.json | 761.02 kB | 93.98 kB |
| ko/data.json | 761.63 kB | 100.11 kB |
| vi/data.json | 762.17 kB | 87.89 kB |
| fr/data.json | 764.67 kB | 95.29 kB |
| de/data.json | 768.58 kB | 97.99 kB |
| pl/data.json | 772.79 kB | 96.72 kB |
Expand Down Expand Up @@ -362,6 +363,7 @@ Sorted by original size in ascending order.
| pt/compact.json | 556.57 kB | 84.61 kB |
| hu/compact.json | 566.57 kB | 83.95 kB |
| ko/compact.json | 567.17 kB | 89.51 kB |
| vi/compact.json | 567.72 kB | 78.07 kB |
| fr/compact.json | 570.22 kB | 85.5 kB |
| de/compact.json | 574.13 kB | 87.44 kB |
| pl/compact.json | 578.34 kB | 86.66 kB |
Expand Down Expand Up @@ -423,6 +425,7 @@ Sorted by original size in ascending order.
| fi/shortcodes/cldr.json | 153.47 kB | 27.39 kB |
| nl/shortcodes/cldr.json | 156.87 kB | 27.49 kB |
| ja/shortcodes/cldr-native.json | 156.96 kB | 28.82 kB |
| vi/shortcodes/cldr.json | 157.32 kB | 26.44 kB |
| de/shortcodes/cldr.json | 157.47 kB | 27.62 kB |
| zh/shortcodes/cldr.json | 157.57 kB | 25.7 kB |
| en/shortcodes/emojibase.json | 157.82 kB | 30.03 kB |
Expand All @@ -441,8 +444,9 @@ Sorted by original size in ascending order.
| es/shortcodes/cldr.json | 165.87 kB | 27.99 kB |
| ko/shortcodes/cldr.json | 166.01 kB | 27.46 kB |
| uk/shortcodes/cldr.json | 172.82 kB | 29.26 kB |
| en/shortcodes/joypixels.json | 209.17 kB | 33.55 kB |
| vi/shortcodes/cldr-native.json | 178.58 kB | 29.13 kB |
| ru/shortcodes/cldr-native.json | 212.58 kB | 31.13 kB |
| en/shortcodes/joypixels.json | 223.11 kB | 34.54 kB |
| th/shortcodes/cldr-native.json | 235 kB | 31.32 kB |
| uk/shortcodes/cldr-native.json | 238.37 kB | 32.93 kB |
| hi/shortcodes/cldr-native.json | 269.67 kB | 33.37 kB |
Expand Down Expand Up @@ -474,6 +478,7 @@ Sorted by original size in ascending order.
| ja/messages.json | 6.78 kB | 2.24 kB |
| fr/messages.json | 6.78 kB | 1.91 kB |
| hu/messages.json | 6.81 kB | 2 kB |
| vi/messages.json | 6.85 kB | 2.12 kB |
| lt/messages.json | 6.85 kB | 1.95 kB |
| ru/messages.json | 7.84 kB | 2.33 kB |
| uk/messages.json | 7.91 kB | 2.38 kB |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/regex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ import PROPERTY_EMOJI_REGEX from 'emojibase-regex/property';
| property/emoji.js | 103 B | 93 B |
| property/index.js | 115 B | 102 B |
| emoticon.js | 463 B | 244 B |
| shortcode-native.js | 652 B | 411 B |
| shortcode-native.js | 692 B | 425 B |
| text.js | 1.55 kB | 627 B |
| codepoint/text.js | 1.89 kB | 648 B |
| emoji.js | 11.87 kB | 2.41 kB |
Expand Down

0 comments on commit af5ca2a

Please sign in to comment.