mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 14:41:28 -07:00
Issue #14: add isDeveloper/isModerator CLI commands
This commit is contained in:
@@ -82,11 +82,17 @@ export interface Account {
|
||||
*/
|
||||
passwordHash?: string
|
||||
/**
|
||||
* Whether this account holds the developer role (backs GET /role/developer/:id).
|
||||
* Not set by any player-facing flow — only an operator grants it, via
|
||||
* `runx admin grant-developer`. Absent/false means no developer role.
|
||||
* Whether this account holds the developer role (backs GET /role/developer/:id
|
||||
* and the token's `role` claim). Not set by any player-facing flow — only an
|
||||
* operator grants it, via `runx admin grant-developer`. Absent/false means no role.
|
||||
*/
|
||||
isDeveloper?: boolean
|
||||
/**
|
||||
* Whether this account holds the moderator role (backs GET /role/moderator/:id
|
||||
* and the token's `role` claim). Operator-granted only, via
|
||||
* `runx admin grant-moderator`. Absent/false means no role.
|
||||
*/
|
||||
isModerator?: boolean
|
||||
}
|
||||
|
||||
interface AccountRow {
|
||||
|
||||
Reference in New Issue
Block a user