stash/pkg/models/repository.go

28 lines
655 B
Go
Raw Normal View History

package models
type Repository interface {
Gallery() GalleryReaderWriter
Image() ImageReaderWriter
Movie() MovieReaderWriter
Performer() PerformerReaderWriter
Scene() SceneReaderWriter
SceneMarker() SceneMarkerReaderWriter
ScrapedItem() ScrapedItemReaderWriter
Studio() StudioReaderWriter
Tag() TagReaderWriter
SavedFilter() SavedFilterReaderWriter
}
type ReaderRepository interface {
Gallery() GalleryReader
Image() ImageReader
Movie() MovieReader
Performer() PerformerReader
Scene() SceneReader
SceneMarker() SceneMarkerReader
ScrapedItem() ScrapedItemReader
Studio() StudioReader
Tag() TagReader
SavedFilter() SavedFilterReader
}