ui/audit_log_state.svelte.ts view source
(event: { id: Branded<string, "Uuid">; seq: number; event_type: string; outcome: "success" | "failure"; actor_id: Branded<string, "Uuid"> | null; account_id: Branded<string, "Uuid"> | null; ... 4 more ...; metadata: Record<...> | null; }, filter: AuditLogFilter | undefined): boolean import {audit_log_filter_matches} from '@fuzdev/fuz_app/ui/audit_log_state.svelte.js'; Whether an event passes an AuditLogFilter — the client-side twin of the list query's filter conditions, applied to live stream events.
event
the event to test
filter
the filter; absent or empty fields match everything
AuditLogFilter | undefinedreturns
boolean