ui/RoleGrantOfferHistory.svelte view source
import RoleGrantOfferHistory from '@fuzdev/fuz_app/ui/RoleGrantOfferHistory.svelte'; current_actor_id
Used to label a row as sent vs received. When null, direction shows as -.
type
string | nullformat_actor?
type
(from_actor_id: string) => stringoptional default
truncate_uuidsnippet parameters
from_actor_id stringformat_scope?
Display label for an offer's scope. Bypasses format_scope_context
when supplied — return null to fall back to a truncated uuid (or
'global' for null scope_id). Omit to use the context value directly.
type FormatScope
optional
snippet parameters
args { scope_id: string | null; role: string; }format_role?
type
(role: string) => stringoptional default
(role: string) => rolesnippet parameters
role string