feat: add wishlist
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export interface NoteRow {
|
||||
id: number
|
||||
Datum: string | null
|
||||
Notes: string | null
|
||||
}
|
||||
|
||||
export function toNote(row: NoteRow): Note {
|
||||
return {
|
||||
id: row.id,
|
||||
date: row.Datum ?? '',
|
||||
text: (row.Notes ?? '').trim()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user