Skip to main content

@dialstack/sdk-dev / react/src/dial-plan

react/src/dial-plan

<DialPlan> — the visual dial-plan editor.

Its own entry point because it is the only component needing @xyflow/react and dagre, and it renders ~4k lines of canvas UI. Reached through a root barrel it made every consumer's bundler treat those dependencies as live, even an app rendering only a softphone.

ListResourcesOptions and ResourceType are also exported from the root, on purpose: they type the listResources callback a host passes in, and a host wiring that callback may never import this module.

Despite rendering its own canvas rather than a custom element, this is the heaviest consumer of the instance in the package — 14 distinct calls across 10 resources — so it needs <DialstackComponentsProvider> from @dialstack/sdk-react.

Interfaces

Type Aliases

Variables

References

DialPlanData

Renames and re-exports DialPlan


DialPlanHandle

Re-exports DialPlanHandle


DialPlanMode

Re-exports DialPlanMode


DialPlanNode

Re-exports DialPlanNode


DialPlanNodeType

Re-exports DialPlanNodeType


ExternalDialNode

Re-exports ExternalDialNode


ExternalDialNodeConfig

Re-exports ExternalDialNodeConfig


InternalDialNode

Re-exports InternalDialNode


InternalDialNodeConfig

Re-exports InternalDialNodeConfig


RingAllUsersNode

Re-exports RingAllUsersNode


RingAllUsersNodeConfig

Re-exports RingAllUsersNodeConfig


ScheduleNode

Re-exports ScheduleNode


ScheduleNodeConfig

Re-exports ScheduleNodeConfig


VoiceAppNodeData

Re-exports VoiceAppNodeData