WIP: Added method to get categories that should get created on the server

This commit is contained in:
Philipp Häfelfinger 2019-04-04 16:12:10 +02:00
parent a364dc7a8a
commit 42009730b1

View File

@ -49,6 +49,7 @@ type CategoryProvider interface {
SaveCategory(category CategoryData) error SaveCategory(category CategoryData) error
GetCategoryByPiwigoId(id int) (CategoryData, error) GetCategoryByPiwigoId(id int) (CategoryData, error)
GetCategoryByKey(key string) (CategoryData, error) GetCategoryByKey(key string) (CategoryData, error)
GetCategoriesToCreate()([]CategoryData, error)
} }
type ImageMetadataProvider interface { type ImageMetadataProvider interface {