feat(domain): entité Card et CardInput
This commit is contained in:
1 parent
94cc624364
commit
68a8e1c236
1 file changed
+16
@@ -0,0 +1,16 @@
|
||||
export interface Card {
|
||||
id: string
|
||||
question: string
|
||||
response: string
|
||||
theme: string
|
||||
tags: string[]
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}
|
||||
|
||||
export interface CardInput {
|
||||
question: string
|
||||
response: string
|
||||
theme: string
|
||||
tags?: string[]
|
||||
}
|
||||
Reference in new issue
Block a user