zeus-api-types 1.0.45 → 1.0.47

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,3 +1,10 @@
1
+ /**
2
+ * World container - reduced version without events (for frontend)
3
+ */
4
+ export interface WorldReduced {
5
+ locations: Record<string, Location>;
6
+ npcs: Record<string, NPC>;
7
+ }
1
8
  /**
2
9
  * Game State Types
3
10
  *
@@ -63,13 +70,6 @@ export interface Location extends WorldEntity {
63
70
  name: string;
64
71
  description: string;
65
72
  }
66
- /**
67
- * World container - reduced version without events (for frontend)
68
- */
69
- export interface WorldReduced {
70
- locations: Record<string, Location>;
71
- npcs: Record<string, NPC>;
72
- }
73
73
  export interface DialogMessage {
74
74
  speaker: string;
75
75
  message: string;
@@ -89,6 +89,7 @@ export interface HistoryEntry {
89
89
  meta?: unknown;
90
90
  };
91
91
  charactersPresent?: NpcExistingOrNewOp[];
92
+ dialogHistory?: DialogMessage[];
92
93
  }
93
94
  export interface PresentationCache {
94
95
  turn: number;
@@ -1,8 +1,2 @@
1
1
  "use strict";
2
- /**
3
- * Game State Types
4
- *
5
- * Core game state interfaces shared between middle-layer and frontend.
6
- * Extracted from middle-layer/src/core/GameState.ts
7
- */
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zeus-api-types",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
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",
@@ -20,7 +20,7 @@
20
20
  "build": "tsc",
21
21
  "clean": "rimraf dist",
22
22
  "prepublishOnly": "npm run build",
23
- "publish": "npm version patch && npm publish"
23
+ "release": "npm version patch && npm publish"
24
24
  },
25
25
  "keywords": [
26
26
  "wagtales",