@escapenavigator/types 2.0.9 → 2.0.10

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.
@@ -1,6 +1,6 @@
1
- import { Languages } from '../../shared/enum/languages.enum';
2
1
  import { CityQuestPlayPhaseEnum } from '../../city-quest/enum/city-quest-play-phase.enum';
3
2
  import { CityQuestSessionStatusEnum } from '../../city-quest/enum/city-quest-session-status.enum';
3
+ import { Languages } from '../../shared/enum/languages.enum';
4
4
  /**
5
5
  * Публичные (безопасные) представления контента для игрока.
6
6
  * Формируются сервером вручную — accepted_answers и будущие
@@ -74,6 +74,12 @@ export type PlayFinaleRO = {
74
74
  label: string;
75
75
  }>;
76
76
  };
77
+ export type PlayPrologueRO = {
78
+ /** Экраны вступления (prologue.screen_1..N) в порядке номеров. */
79
+ screens: string[];
80
+ /** Миссия команды (prologue.team_mission) — показывается последней. */
81
+ teamMission?: string;
82
+ };
77
83
  export type PlayResultRO = {
78
84
  score: number;
79
85
  bonusPoints: number;
@@ -107,6 +113,12 @@ export type PlayStateRO = {
107
113
  artifactState?: string | null;
108
114
  artifactAsset?: PlayAssetRO | null;
109
115
  currentStop?: PlayStopRO | null;
116
+ /**
117
+ * Вступление игры (что произошло, миссия команды). Клиент показывает
118
+ * его перед первой точкой; отдаём всегда — чтобы можно было
119
+ * перечитать из меню.
120
+ */
121
+ prologue?: PlayPrologueRO | null;
110
122
  /** Событие маршрута, ожидающее реакции игрока. */
111
123
  pendingRouteEvent?: PlayRouteEventRO | null;
112
124
  finale?: PlayFinaleRO | null;