zeus-api-types 1.0.77 → 1.0.79
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.
- package/dist/index.d.ts +1 -1
- package/dist/user-preferences.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export type { BaseDeckCard, DeckDefinition, FixtureSet, MultiDeckDefinition, Nar
|
|
|
5
5
|
export type { BaseEvent, DeterministicEvent, EventHistoryEntry, EventPropagation, ProbabilisticEvent, ScheduledEvent, WorldEvents } from './events';
|
|
6
6
|
export { ALL_METADATA_PROMPT_TARGETS, buildMetadataPromptIncludeMask, computeTimeString, formatTimeHuman, hasMetadataPromptTarget, MetadataPromptTargets } from './game-state';
|
|
7
7
|
export type { BaseImmutableState, DialogContext, DialogMessage, GameMetadata, GameState, GameStateReduced, GenreImmutableState, HistoryEntry, ImmutableState, Location, Metadata, MetadataCustomDataShape, MetadataCustomDataShapeEntry, MetadataCustomDataShapeValue, MetadataVisibilityCondition, MetadataVisibilityConditionEntry, MetadataVisibilityConditions, MetadataVisibilityOperatorValue, MetadataVisibilityTargetPath, MetadataPromptTargetKey, MetadataPromptTargetMask, NPC, NpcExistingOrNewOp, Player, PresentationCache, PresentationChoiceMeta, PromptVariables, Session, StateSnapshot, Tag, TimeState, World, WorldEntity, WorldReduced } from './game-state';
|
|
8
|
-
export type { AIPreferences, ModelEntry, ModelStack, ModelStackPreferences, ModelStackPreset, NarrativeFontPreferences, SoundPreferences, SystemModelPresets, UserMetadata, UserPreferences } from './user-preferences';
|
|
8
|
+
export type { AIPreferences, ModelEntry, ModelStack, ModelStackPreferences, ModelStackPreset, NarrativeFontPreferences, SoundPreferences, SystemModelPresets, TtsPreferences, UserMetadata, UserPreferences } from './user-preferences';
|
|
9
9
|
export type { CreatePresetRequest, CreatePresetResponse, DeletePresetResponse, ListPresetsResponse, PaginatedPresetsResponse, PaginationMetadata, PresetIndex, PresetMetadata, UpdatePresetRequest, UpdatePresetResponse } from './preset';
|
|
@@ -39,6 +39,15 @@ export interface SoundPreferences {
|
|
|
39
39
|
/** Enable haptic feedback (vibration) when narrative ends */
|
|
40
40
|
hapticsOnNarrativeEnd?: boolean;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Text-to-speech preferences
|
|
44
|
+
*/
|
|
45
|
+
export interface TtsPreferences {
|
|
46
|
+
/** Preferred ElevenLabs voice ID for manual narration playback */
|
|
47
|
+
voiceId?: string;
|
|
48
|
+
/** Preferred ElevenLabs model ID for TTS playback */
|
|
49
|
+
modelId?: string;
|
|
50
|
+
}
|
|
42
51
|
/**
|
|
43
52
|
* Preset identifiers for model stacks
|
|
44
53
|
*/
|
|
@@ -138,6 +147,7 @@ export interface UserPreferences {
|
|
|
138
147
|
profile?: UserProfilePreferences;
|
|
139
148
|
narrativeFont: NarrativeFontPreferences;
|
|
140
149
|
sound?: SoundPreferences;
|
|
150
|
+
tts?: TtsPreferences;
|
|
141
151
|
ai?: AIPreferences;
|
|
142
152
|
}
|
|
143
153
|
/**
|