@escapenavigator/types 2.0.20 → 2.0.21

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,12 +1,14 @@
1
- import { AttractionContentCard, AttractionFunFact } from '../city-attraction/attraction-content';
2
1
  /**
3
- * Partial override of attraction guide content for a route stop.
4
- * Null/omitted fields inherit from the attraction locale.
2
+ * Route-flavoured override of attraction guide content for a stop.
3
+ *
4
+ * Only the narrative differs between the free-roam attraction and the route
5
+ * stop: hook and guideTalk (route dramaturgy, navigation, cliffhangers).
6
+ * The canonical fact set (cards, funFact, lookFor) always comes from the
7
+ * attraction locale via relation and cannot be overridden — see
8
+ * docs/content-playbook.md, section 2. Null/omitted fields inherit from
9
+ * the attraction locale too.
5
10
  */
6
11
  export type ReadyRouteStopContentOverride = {
7
12
  hook?: string | null;
8
- cards?: AttractionContentCard[] | null;
9
13
  guideTalk?: string | null;
10
- funFact?: AttractionFunFact | null;
11
- lookFor?: string[] | null;
12
14
  };
@@ -89,6 +89,11 @@ export type CityPlayerAttractionMapItemRO = {
89
89
  cards: CityPlayerAttractionCardRO[];
90
90
  funFact: CityPlayerAttractionFunFactRO | null;
91
91
  lookFor: string[];
92
+ /**
93
+ * Нормированная значимость места 0..1 (fame + mustSee + wow).
94
+ * Управляет размером маркера на карте: топ-вехи крупнее.
95
+ */
96
+ importance: number;
92
97
  /** Люди, связанные с этим местом (для маркеров рядом с точкой). */
93
98
  people: CityPlayerAttractionPersonRO[];
94
99
  };
@@ -1,4 +1,5 @@
1
1
  import { AttractionContent } from '../../city-attraction/attraction-content';
2
+ import { CityPlayerAttractionPersonRO } from './city-explore.ro';
2
3
  export type CityPlayerReadyRouteListItemRO = {
3
4
  routeId: number;
4
5
  title: string;
@@ -32,6 +33,13 @@ export type CityPlayerReadyRouteStopRO = {
32
33
  /** Озвучка guideTalk стопа (маршрутная, не аудио самой точки). */
33
34
  guideAudioUrl: string | null;
34
35
  guideAudioDurationSec: number | null;
36
+ /**
37
+ * Нормированная значимость места 0..1 (fame + mustSee + wow).
38
+ * Управляет размером маркера на карте: топ-вехи крупнее.
39
+ */
40
+ importance: number;
41
+ /** Личности, связанные с точкой стопа. */
42
+ people: CityPlayerAttractionPersonRO[];
35
43
  };
36
44
  export type CityPlayerReadyRouteDetailRO = {
37
45
  routeId: number;
@@ -13,6 +13,13 @@ export declare class StartCityPipelineDto {
13
13
  * (по умолчанию генерим RU + EN).
14
14
  */
15
15
  withEnglish?: boolean;
16
+ /**
17
+ * false — режим «скелет»: только импорт → ресёрч → триаж → обогащение →
18
+ * автосвязи, без генерации текстов (content-ru/content-en). Используется,
19
+ * когда тексты пишет редактор/агент по плейбуку, а конвейер отвечает
20
+ * только за инвентаризацию города. По умолчанию true (старое поведение).
21
+ */
22
+ withContent?: boolean;
16
23
  /**
17
24
  * @deprecated Use withEnglish. Kept for older admin clients:
18
25
  * withRussian=false means skip non-base localization (EN).
@@ -40,6 +40,12 @@ __decorate([
40
40
  (0, class_transformer_1.Expose)(),
41
41
  __metadata("design:type", Boolean)
42
42
  ], StartCityPipelineDto.prototype, "withEnglish", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsOptional)(),
45
+ (0, class_validator_1.IsBoolean)(),
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", Boolean)
48
+ ], StartCityPipelineDto.prototype, "withContent", void 0);
43
49
  __decorate([
44
50
  (0, class_validator_1.IsOptional)(),
45
51
  (0, class_validator_1.IsBoolean)(),