Refactor: Move data-access code to Typescript w/ shared interface

This commit is contained in:
Scott Nonnenberg 2020-04-01 11:59:11 -07:00
parent 9ab54b9b83
commit 6b094e1514
35 changed files with 1695 additions and 598 deletions

View file

@ -1,6 +1,8 @@
import { take, uniq } from 'lodash';
import { EmojiPickDataType } from '../../components/emoji/EmojiPicker';
import { updateEmojiUsage } from '../../../js/modules/data';
import dataInterface from '../../sql/Client';
const { updateEmojiUsage } = dataInterface;
// State