feat: link shopping list items
This commit is contained in:
parent
6c704828ce
commit
64e2e80e80
5 changed files with 181 additions and 12 deletions
|
|
@ -20,6 +20,11 @@ type ListItem struct {
|
|||
UpdatedAt time.Time `db:"updated_at"`
|
||||
}
|
||||
|
||||
type ListWithUncheckedItems struct {
|
||||
List *ShoppingList
|
||||
Items []*ListItem
|
||||
}
|
||||
|
||||
type ListCardData struct {
|
||||
List *ShoppingList
|
||||
Items []*ListItem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue