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

Messages · Components

MessagingSettingsPanel

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

Public export

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

Props

NameTypeRequiredDescription
personaIdstringYesPersona ID to configure messaging settings for.
profileIdstringNoCurrent user's profile, attached to destinations created by this panel.
providersPublicProvider[]YesAvailable messaging providers to choose from.
accountsMessagingAccountView[]YesConfigured messaging accounts to display and manage.
endpointsMessagingEndpointView[]YesConfigured message endpoints for sending.
routesPersonaMessageRoute[]YesConfigured routing rules mapping message types to endpoints.
onSaveAccount(input: MessagingAccountInput) => Promise<void>NoCalled when user saves account settings.
onSaveEndpoint(input: MessagingEndpointInput) => Promise<void>NoCalled when user saves endpoint settings.
onSaveRoute(input: PersonaMessageRouteInput) => Promise<void>NoCalled when user saves message route settings.
readonlybooleanNoDisables editing when true; view-only mode.

Bindable state

This component has no bindable public state.

Callback events

  • onSaveAccount(input: MessagingAccountInput) => Promise<void>
  • onSaveEndpoint(input: MessagingEndpointInput) => Promise<void>
  • onSaveRoute(input: PersonaMessageRouteInput) => Promise<void>

Examples and explanation