summaryrefslogtreecommitdiff
path: root/internal/db/list.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/list.go')
-rw-r--r--internal/db/list.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/db/list.go b/internal/db/list.go
index 4ce0ff988..2e74329f1 100644
--- a/internal/db/list.go
+++ b/internal/db/list.go
@@ -34,6 +34,9 @@ type List interface {
// GetListsByAccountID gets all lists owned by the given accountID.
GetListsByAccountID(ctx context.Context, accountID string) ([]*gtsmodel.List, error)
+ // GetListIDsByAccountID gets the IDs of all lists owned by the given accountID.
+ GetListIDsByAccountID(ctx context.Context, accountID string) ([]string, error)
+
// CountListsByAccountID counts the number of lists owned by the given accountID.
CountListsByAccountID(ctx context.Context, accountID string) (int, error)