import { type Call } from '@toa.io/types' export async function effect (input: Identity, context: Context): Promise { await context.local.transit({ input: { identity: input.id, role: 'system' } }) } interface Identity { id: string } export interface Context { local: { transit: Call } } interface TransitInput { identity: string role: string }