diff --git a/packages/round/src/types.ts b/packages/round/src/types.ts index 8f12a535..26d128d8 100644 --- a/packages/round/src/types.ts +++ b/packages/round/src/types.ts @@ -1,3 +1,5 @@ +import { Config } from "common/src/types"; + interface ColorSchema { [name: string]: { base: string; @@ -8,29 +10,4 @@ interface ColorSchema { }; } -type AnimatedCursors = { - readonly [name: string]: { - readonly frames: number; - }; -}; - -type AnimatedClip = { - readonly x: number; - readonly y: number; - readonly width: number; - readonly height: number; -}; - -interface Config { - staticCursors: Array; - bitmapsDir: string; - svgsDir: string; - animatedCursors: AnimatedCursors; - animatedClip: AnimatedClip; -} - -interface Configs { - [name: string]: Config; -} - -export { ColorSchema, Config, Configs }; +export { ColorSchema, Config };