zeus-api-types 1.0.81 → 1.0.83

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 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';
@@ -119,7 +119,13 @@ export interface AIPreferences {
119
119
  * Model stack preferences for narrative and dialog generation
120
120
  */
121
121
  modelPrefs?: ModelStackPreferences;
122
+ myVoiceId?: string;
122
123
  }
124
+ /**
125
+ * Maximum allowed genre age rating for filtering.
126
+ * Genres above this threshold should be hidden from the user.
127
+ */
128
+ export type MaxAgeRating = 'U' | 'PG' | '12' | '12A' | '15' | '18' | 'R18';
123
129
  /**
124
130
  * User profile and identity preferences
125
131
  */
@@ -132,11 +138,11 @@ export interface UserProfilePreferences {
132
138
  */
133
139
  language?: string;
134
140
  /**
135
- * Whether NSFW content is allowed for the user.
136
- * If not set, defaults to false .
137
- * Must have had at least one age verification to enable.
141
+ * Maximum allowed genre age rating for browsing and filtering.
142
+ * Genres above this threshold should be excluded.
143
+ * If not set, consumers should default to '15'.
138
144
  */
139
- NSFWContentAllowed?: boolean;
145
+ max_age_rating?: MaxAgeRating;
140
146
  }
141
147
  /**
142
148
  * User preferences stored in preferences.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zeus-api-types",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
4
4
  "description": "Shared API types for Wagtales - SSE payloads, error types, and common interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",