Add --state and --contract-ended flags to CLI user list

Replace the --active boolean flag with two explicit filters:
--state (ACTIVE/INACTIVE) and --contract-ended (true/false).
Also add state filter support to the console GraphQL API.

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-24 11:55:49 +04:00
parent 272f63828f
commit 5988070a42
3 changed files with 35 additions and 12 deletions

View File

@@ -53,6 +53,7 @@ input ProfileOrder
input ProfileFilter {
contractEnded: Boolean
state: ProfileState
}
type ProfileConnection