refactor(notes): add shared types and component interfaces folders
This commit is contained in:
1 parent
10a888a089
commit
2975b80a94
5 files changed
+52
No files matched your search
@@ -0,0 +1,7 @@
|
||||
export interface Note {
|
||||
id: number
|
||||
title: string
|
||||
content: string
|
||||
}
|
||||
|
||||
export type NotePatch = Partial<Pick<Note, 'title' | 'content'>>
|
||||
Reference in new issue
Block a user