attempted to refactor db seed, still needs more updating

This commit is contained in:
Mikayla Dobson
2022-11-26 18:26:32 -06:00
parent 9bd1704da9
commit 9d0c8a8782
22 changed files with 340 additions and 68 deletions

View File

@@ -31,21 +31,22 @@ export interface IRecipe extends HasHistory, CanDeactivate {
name: string
description?: string
preptime: string
authoruserid: IUser["id"]
authoruserid: string | number
}
export interface IIngredient extends HasHistory {
name: string
description?: string
createdbyid: string | number
}
export interface ICollection extends HasHistory, CanDeactivate {
name: string
ismaincollection: boolean
ownerid: IUser["id"]
ownerid: string | number
}
export interface IGroceryList extends HasHistory, CanDeactivate {
name: string
ownerid: IUser["id"]
ownerid: string | number
}