@sibilance.is/client v0.1.0-alpha.4
@sibilance.is/client / index / SurveyConfig
Interface: SurveyConfig
Defined in: CmdPr/sibilance/client/src/types.ts:90
Survey configuration for Sibilance client.
Contains the complete survey definition including markdown, steps, and diagram. Can be provided directly (editor/test mode) or fetched from backend (production mode).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
markdown | string | Survey markdown content (source of truth) | CmdPr/sibilance/client/src/types.ts:92 |
steps | SurveyStep[] | Parsed survey steps | CmdPr/sibilance/client/src/types.ts:94 |
mermaidDiagram | string | Mermaid diagram for flow visualization | CmdPr/sibilance/client/src/types.ts:96 |
surveyName | string | Survey name/title | CmdPr/sibilance/client/src/types.ts:98 |
surveyDescription? | string | Survey description/goal | CmdPr/sibilance/client/src/types.ts:100 |
startStepId? | string | Starting step ID (optional, defaults to first step) | CmdPr/sibilance/client/src/types.ts:102 |
previousSteps? | PreviousStepContext[] | Previous steps with mock responses (for test mode) | CmdPr/sibilance/client/src/types.ts:104 |
voiceId? | string | InWorld TTS voice ID (from survey settings) | CmdPr/sibilance/client/src/types.ts:106 |
speakingRate? | number | InWorld TTS speaking rate (from survey settings) | CmdPr/sibilance/client/src/types.ts:108 |