@pie-players/pie-assessment-toolkit 0.3.49 → 0.3.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ import { FrameworkErrorBus, type FrameworkErrorListener } from "./framework-erro
23
23
  import { HighlightCoordinator } from "./HighlightCoordinator.js";
24
24
  import { ToolCoordinator } from "./ToolCoordinator.js";
25
25
  import { TTSService } from "./TTSService.js";
26
- import { type TTSLayoutMode } from "./tts-runtime-config.js";
26
+ import { type TTSSpeedOption, type TTSLayoutMode } from "./tts-runtime-config.js";
27
27
  import type { SREMathSpeechOptions } from "./tts/math-speech.js";
28
28
  import { ToolProviderRegistry } from "./tool-providers/index.js";
29
29
  import type { ToolProviderApi } from "./tool-providers/ToolProviderApi.js";
@@ -71,8 +71,9 @@ export interface TTSToolConfig extends ToolConfig {
71
71
  * - Omitted/non-array: default speed buttons are shown.
72
72
  * - Empty array: hide speed buttons.
73
73
  * - Arrays that sanitize to no valid values: default speed buttons are shown.
74
+ * - Object entries can customize button text while preserving numeric rates.
74
75
  */
75
- speedOptions?: number[];
76
+ speedOptions?: TTSSpeedOption[];
76
77
  layoutMode?: TTSLayoutMode;
77
78
  /** Speech Rule Engine options for generated MathML speech. */
78
79
  mathSpeech?: SREMathSpeechOptions;