s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Messages · Components

EmailFilterManager

No summary has been written for EmailFilterManager. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { EmailFilterManager } from '@happyvertical/smrt-messages/svelte';
Import path
@happyvertical/smrt-messages/svelte
Props
7
Props described
7 of 7
Bindable state
0
Callback events
4
Verified release
0.44.0

Props

NameTypeRequiredDescription
whitelistWhitelistEntry[]YesArray of allowed email addresses, domains, or patterns.
blacklistBlacklistEntry[]YesArray of blocked email addresses, domains, or patterns.
readonlybooleanNoDisables editing and deletion when true; view-only mode.
onaddwhitelist(data: Omit<WhitelistEntry, 'id'>) => Promise<void>NoCalled when user adds an address to the whitelist.
onremovewhitelist(entry: WhitelistEntry) => Promise<void>NoCalled when user removes an address from the whitelist.
onaddblacklist(data: Omit<BlacklistEntry, 'id'>) => Promise<void>NoCalled when user adds an address to the blacklist.
onremoveblacklist(entry: BlacklistEntry) => Promise<void>NoCalled when user removes an address from the blacklist.

Bindable state

This component has no bindable public state.

Callback events

  • onaddwhitelist(data: Omit<WhitelistEntry, 'id'>) => Promise<void>
  • onremovewhitelist(entry: WhitelistEntry) => Promise<void>
  • onaddblacklist(data: Omit<BlacklistEntry, 'id'>) => Promise<void>
  • onremoveblacklist(entry: BlacklistEntry) => Promise<void>

Examples and explanation