2021-01-18 01:23:20 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
type Repository interface {
|
|
|
|
Gallery() GalleryReaderWriter
|
|
|
|
Image() ImageReaderWriter
|
|
|
|
Movie() MovieReaderWriter
|
|
|
|
Performer() PerformerReaderWriter
|
|
|
|
Scene() SceneReaderWriter
|
|
|
|
SceneMarker() SceneMarkerReaderWriter
|
|
|
|
ScrapedItem() ScrapedItemReaderWriter
|
|
|
|
Studio() StudioReaderWriter
|
|
|
|
Tag() TagReaderWriter
|
2021-06-16 04:53:32 +00:00
|
|
|
SavedFilter() SavedFilterReaderWriter
|
2021-01-18 01:23:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ReaderRepository interface {
|
|
|
|
Gallery() GalleryReader
|
|
|
|
Image() ImageReader
|
|
|
|
Movie() MovieReader
|
|
|
|
Performer() PerformerReader
|
|
|
|
Scene() SceneReader
|
|
|
|
SceneMarker() SceneMarkerReader
|
|
|
|
ScrapedItem() ScrapedItemReader
|
|
|
|
Studio() StudioReader
|
|
|
|
Tag() TagReader
|
2021-06-16 04:53:32 +00:00
|
|
|
SavedFilter() SavedFilterReader
|
2021-01-18 01:23:20 +00:00
|
|
|
}
|