18 lines
377 B
TypeScript
18 lines
377 B
TypeScript
/**
|
|
* State progression for grocery shopping lists
|
|
*/
|
|
export enum ShoppingListStatus {
|
|
ACTIVE = 'active',
|
|
SHOPPING = 'shopping',
|
|
COMPLETED = 'completed',
|
|
ARCHIVED = 'archived',
|
|
}
|
|
|
|
/**
|
|
* Identifies the genesis of a generated shopping list
|
|
*/
|
|
export enum ShoppingListSourceType {
|
|
MEAL_PLAN = 'meal_plan',
|
|
MANUAL = 'manual',
|
|
PANTRY_RESTOCK = 'pantry_restock',
|
|
}
|