mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +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,22 @@
|
||||
package models
|
||||
|
||||
type SceneMarkerFilterType struct {
|
||||
// Filter to only include scene markers with this tag
|
||||
TagID *string `json:"tag_id"`
|
||||
// Filter to only include scene markers with these tags
|
||||
Tags *HierarchicalMultiCriterionInput `json:"tags"`
|
||||
// Filter to only include scene markers attached to a scene with these tags
|
||||
SceneTags *HierarchicalMultiCriterionInput `json:"scene_tags"`
|
||||
// Filter to only include scene markers with these performers
|
||||
Performers *MultiCriterionInput `json:"performers"`
|
||||
}
|
||||
|
||||
type MarkerStringsResultType struct {
|
||||
Count int `json:"count"`
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title"`
|
||||
}
|
||||
|
||||
type SceneMarkerReader interface {
|
||||
Find(id int) (*SceneMarker, error)
|
||||
FindMany(ids []int) ([]*SceneMarker, error)
|
||||
|
||||
Reference in New Issue
Block a user