Add standalone type definitions

This commit is contained in:
Mitchell McCaffrey
2021-07-08 12:01:02 +10:00
parent 123ebd880a
commit 45a4443dd1
17 changed files with 388 additions and 0 deletions

13
src/types/Note.ts Normal file
View File

@@ -0,0 +1,13 @@
export type Note = {
id: string;
color: string;
lastModified: number;
lastModifiedBy: string;
locked: boolean;
size: number;
text: string;
textOnly: boolean;
visible: boolean;
x: number;
y: number;
};