Type Alias: ToastPayload
Makaio Framework / contracts/toast / ToastPayload
Type Alias: ToastPayload
Section titled “Type Alias: ToastPayload”ToastPayload =
z.infer<typeofToastPayloadSchema>
Defined in: ../../../packages/contracts/src/toast/schemas.ts:63
Inferred TypeScript type for toast payload
Type Composition
Section titled “Type Composition”ToastPayloadz.infer<typeof ToastPayloadSchema>typeof ToastPayloadSchema
Resolved Shape
Section titled “Resolved Shape”type ToastPayload = { level: 'success' | 'error' | 'info' | 'warning'; message: string; title?: string | undefined; durationMs?: number | null | undefined; actions?: Array<{ id: string; label: string; variant?: 'default' | 'destructive' | 'outline' | undefined; }> | undefined; toastId?: string | undefined;};