ui/admin_accounts_state.svelte.ts

Reactive state for admin account management.

Declarations
#

view source

AdminAccountsState
#

ui/admin_accounts_state.svelte.ts view source

inheritance

extends:

accounts

type Array<AdminAccountEntryJson>

grantable_roles

type Array<string>

granting_keys

type SvelteSet<string>

readonly

revoking_ids

type SvelteSet<string>

readonly

account_count

readonly

fetch

type (): Promise<void>

returns Promise<void>

grant_permit

type (account_id: string, role: string): Promise<void>

account_id
type string
role
type string
returns Promise<void>

revoke_permit

type (account_id: string, permit_id: string): Promise<void>

account_id
type string
permit_id
type string
returns Promise<void>

Depends on
#

Imported by
#