categorisation for gifs
This commit is contained in:
parent
5e18bd3830
commit
d0669bdc5e
15 changed files with 468 additions and 49 deletions
|
|
@ -27,6 +27,9 @@ type GifCatalogStore interface {
|
|||
SetGifCatalogEnabled(ctx context.Context, id int64, enabled bool) (bool, error)
|
||||
// SetGifCatalogSortOrder rewrites an entry's display position.
|
||||
SetGifCatalogSortOrder(ctx context.Context, id int64, order int) (bool, error)
|
||||
// SetGifCatalogCategory sets (or clears, via "") an entry's category.
|
||||
// changed=false if the id doesn't exist.
|
||||
SetGifCatalogCategory(ctx context.Context, id int64, category string) (bool, error)
|
||||
// DeleteGifCatalogEntry removes an entry. The referenced document is left
|
||||
// alone -- catalog membership, not the document itself, is what's deleted.
|
||||
DeleteGifCatalogEntry(ctx context.Context, id int64) (bool, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue