zeus-api-types 1.0.80 → 1.0.82
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/game-state.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/user-preferences.d.ts +9 -4
- package/package.json +1 -1
package/dist/game-state.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ export interface Player extends WorldEntity {
|
|
|
98
98
|
name: string;
|
|
99
99
|
description: string;
|
|
100
100
|
tone?: string;
|
|
101
|
+
voiceId?: string;
|
|
101
102
|
}
|
|
102
103
|
/**
|
|
103
104
|
* Non-Player Character
|
|
@@ -108,6 +109,7 @@ export interface NPC extends WorldEntity {
|
|
|
108
109
|
discovered: boolean;
|
|
109
110
|
playable: boolean;
|
|
110
111
|
tone?: string;
|
|
112
|
+
voiceId?: string;
|
|
111
113
|
}
|
|
112
114
|
export interface NpcExistingOrNewOp {
|
|
113
115
|
target: string;
|
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, TtsPreferences, UserMetadata, UserPreferences } from './user-preferences';
|
|
8
|
+
export type { AIPreferences, MaxAgeRating, ModelEntry, ModelStack, ModelStackPreferences, ModelStackPreset, NarrativeFontPreferences, SoundPreferences, SystemModelPresets, TtsPreferences, UserMetadata, UserPreferences, UserProfilePreferences } from './user-preferences';
|
|
9
9
|
export type { CreatePresetRequest, CreatePresetResponse, DeletePresetResponse, ListPresetsResponse, PaginatedPresetsResponse, PaginationMetadata, PresetIndex, PresetMetadata, UpdatePresetRequest, UpdatePresetResponse } from './preset';
|
|
@@ -120,6 +120,11 @@ export interface AIPreferences {
|
|
|
120
120
|
*/
|
|
121
121
|
modelPrefs?: ModelStackPreferences;
|
|
122
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Maximum allowed genre age rating for filtering.
|
|
125
|
+
* Genres above this threshold should be hidden from the user.
|
|
126
|
+
*/
|
|
127
|
+
export type MaxAgeRating = 'U' | 'PG' | '12' | '12A' | '15' | '18' | 'R18';
|
|
123
128
|
/**
|
|
124
129
|
* User profile and identity preferences
|
|
125
130
|
*/
|
|
@@ -132,11 +137,11 @@ export interface UserProfilePreferences {
|
|
|
132
137
|
*/
|
|
133
138
|
language?: string;
|
|
134
139
|
/**
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
140
|
+
* Maximum allowed genre age rating for browsing and filtering.
|
|
141
|
+
* Genres above this threshold should be excluded.
|
|
142
|
+
* If not set, consumers should default to '15'.
|
|
138
143
|
*/
|
|
139
|
-
|
|
144
|
+
max_age_rating?: MaxAgeRating;
|
|
140
145
|
}
|
|
141
146
|
/**
|
|
142
147
|
* User preferences stored in preferences.json
|