mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add a route to return used tags
This is part of the `/insights` route without queries for file usage.
This commit is contained in:
@ -27,6 +27,8 @@ trait OCollective[F[_]] {
|
||||
|
||||
def insights(collective: Ident): F[InsightData]
|
||||
|
||||
def tagCloud(collective: Ident): F[List[TagCount]]
|
||||
|
||||
def changePassword(
|
||||
accountId: AccountId,
|
||||
current: Password,
|
||||
@ -116,6 +118,9 @@ object OCollective {
|
||||
def insights(collective: Ident): F[InsightData] =
|
||||
store.transact(QCollective.getInsights(collective))
|
||||
|
||||
def tagCloud(collective: Ident): F[List[TagCount]] =
|
||||
store.transact(QCollective.tagCloud(collective))
|
||||
|
||||
def changePassword(
|
||||
accountId: AccountId,
|
||||
current: Password,
|
||||
|
Reference in New Issue
Block a user