[feature] Allow users to export data via the settings panel (#3140)

* [feature] Allow users to export data via the settings panel

* rename/move some stuff
This commit is contained in:
tobi 2024-07-31 16:03:34 +02:00 committed by GitHub
commit 38f041cea1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 2102 additions and 7 deletions

View file

@ -33,6 +33,9 @@ type List interface {
// GetListsForAccountID gets all lists owned by the given accountID.
GetListsForAccountID(ctx context.Context, accountID string) ([]*gtsmodel.List, error)
// CountListsForAccountID counts the number of lists owned by the given accountID.
CountListsForAccountID(ctx context.Context, accountID string) (int, error)
// PopulateList ensures that the list's struct fields are populated.
PopulateList(ctx context.Context, list *gtsmodel.List) error