@@ -0,0 +1,9 @@
|
||||
package storage
|
||||
|
||||
// TaskTemplateOptOutModelInterface records per-plant suppression of automatic
|
||||
// task generation from a species template.
|
||||
type TaskTemplateOptOutModelInterface interface {
|
||||
IsOptedOut(gardenID, plantID, templateID int) (bool, error)
|
||||
GetAllForPlant(gardenID, plantID int) ([]int, error)
|
||||
Set(gardenID, plantID, templateID int, optedOut bool) error
|
||||
}
|
||||
Reference in New Issue
Block a user