mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +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:
@@ -1,5 +1,10 @@
|
||||
package models
|
||||
|
||||
type StashIDInput struct {
|
||||
Endpoint string `json:"endpoint"`
|
||||
StashID string `json:"stash_id"`
|
||||
}
|
||||
|
||||
func StashIDsFromInput(i []*StashIDInput) []StashID {
|
||||
var ret []StashID
|
||||
for _, stashID := range i {
|
||||
|
||||
Reference in New Issue
Block a user