mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Separate graphql API from rest of the system (#2503)
* Move graphql generated files to api * Refactor identify options * Remove models.StashBoxes * Move ScraperSource to scraper package * Rename field strategy enums * Rename identify.TaskOptions to Options
This commit is contained in:
@@ -6,6 +6,12 @@ import (
|
||||
"github.com/stashapp/stash/pkg/plugin/common"
|
||||
)
|
||||
|
||||
type PluginTask struct {
|
||||
Name string `json:"name"`
|
||||
Description *string `json:"description"`
|
||||
Plugin *Plugin `json:"plugin"`
|
||||
}
|
||||
|
||||
// Task is the interface that handles management of a single plugin task.
|
||||
type Task interface {
|
||||
// Start starts the plugin task. Returns an error if task could not be
|
||||
|
||||
Reference in New Issue
Block a user