zeus-api-types 1.0.81 → 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/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
- * 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.
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
- NSFWContentAllowed?: boolean;
144
+ max_age_rating?: MaxAgeRating;
140
145
  }
141
146
  /**
142
147
  * 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.82",
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",