chore: move types to @roleypoly/types package

This commit is contained in:
41666 2021-03-12 16:22:56 -05:00
parent 38ee680a33
commit a374030438
46 changed files with 244 additions and 59 deletions

View file

@ -1,8 +1,8 @@
import { numberToChroma } from '@roleypoly/design-system/atoms/colors';
import { Role as RPCRole, RoleSafety } from '@roleypoly/types';
import chroma from 'chroma-js';
import * as React from 'react';
import { FaCheck, FaTimes } from 'react-icons/fa';
import { Role as RPCRole, RoleSafety } from '../../../../src/common/types';
import {
evaluatePermission,
permissions,