mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-23 03:26:58 -04:00
🚛 Export types
This commit is contained in:
parent
a65f58e1ef
commit
4bf6ed63fa
1 changed files with 23 additions and 0 deletions
23
packages/common/src/types.ts
Normal file
23
packages/common/src/types.ts
Normal file
|
@ -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<string>;
|
||||||
|
bitmapsDir: string;
|
||||||
|
svgsDir: string;
|
||||||
|
animatedCursors: AnimatedCursors;
|
||||||
|
animatedClip: AnimatedClip;
|
||||||
|
}
|
||||||
|
|
||||||
|
export { Config };
|
Loading…
Add table
Add a link
Reference in a new issue