mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
* Add mockery config file * Move basic file/folder structs to models * Fix hack due to import loop * Move file interfaces to models * Move folder interfaces to models * Move scene interfaces to models * Move scene marker interfaces to models * Move image interfaces to models * Move gallery interfaces to models * Move gallery chapter interfaces to models * Move studio interfaces to models * Move movie interfaces to models * Move performer interfaces to models * Move tag interfaces to models * Move autotag interfaces to models * Regenerate mocks
28 lines
1.0 KiB
Go
28 lines
1.0 KiB
Go
package models
|
|
|
|
type MovieFilterType struct {
|
|
Name *StringCriterionInput `json:"name"`
|
|
Director *StringCriterionInput `json:"director"`
|
|
Synopsis *StringCriterionInput `json:"synopsis"`
|
|
// Filter by duration (in seconds)
|
|
Duration *IntCriterionInput `json:"duration"`
|
|
// Filter by rating expressed as 1-5
|
|
Rating *IntCriterionInput `json:"rating"`
|
|
// Filter by rating expressed as 1-100
|
|
Rating100 *IntCriterionInput `json:"rating100"`
|
|
// Filter to only include movies with this studio
|
|
Studios *HierarchicalMultiCriterionInput `json:"studios"`
|
|
// Filter to only include movies missing this property
|
|
IsMissing *string `json:"is_missing"`
|
|
// Filter by url
|
|
URL *StringCriterionInput `json:"url"`
|
|
// Filter to only include movies where performer appears in a scene
|
|
Performers *MultiCriterionInput `json:"performers"`
|
|
// Filter by date
|
|
Date *DateCriterionInput `json:"date"`
|
|
// Filter by created at
|
|
CreatedAt *TimestampCriterionInput `json:"created_at"`
|
|
// Filter by updated at
|
|
UpdatedAt *TimestampCriterionInput `json:"updated_at"`
|
|
}
|