10 lines
368 B
Go
10 lines
368 B
Go
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
|
|
}
|