diff --git a/packages/common/src/types.ts b/packages/common/src/types.ts new file mode 100644 index 00000000..06d5c268 --- /dev/null +++ b/packages/common/src/types.ts @@ -0,0 +1,23 @@ +// --------------------------- Types +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; +} + +export { Config };