From 5b329fa90692295a8085c21828a04b55ab3a66dc Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Thu, 27 Aug 2020 17:41:48 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Shared=20Types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/round/src/types.ts | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) 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 };