hvp-shared 7.9.0 → 7.9.1

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.
@@ -77,6 +77,9 @@ export interface DocumentSummaryResponse {
77
77
  *
78
78
  * Full version row. Returned by the viewer, version history, and
79
79
  * acknowledgment lookups.
80
+ *
81
+ * A version has a single meaningful date — `publishedAt` — which is null while
82
+ * the version is draft / in_review and set when it transitions to `current`.
80
83
  */
81
84
  export interface DocumentVersionResponse {
82
85
  id: string;
@@ -91,10 +94,11 @@ export interface DocumentVersionResponse {
91
94
  } | null;
92
95
  changeType: ChangeType;
93
96
  changeNotes: string | null;
94
- createdAt: string;
95
- createdBy: string;
97
+ /** Set only when the version reached `current` (or was demoted to `superseded`). Null for draft / in_review. */
96
98
  publishedAt: string | null;
97
99
  publishedBy: string | null;
100
+ /** Author of this version row (typically who started the draft). */
101
+ createdBy?: string;
98
102
  }
99
103
  /**
100
104
  * Document Acknowledgment Response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hvp-shared",
3
- "version": "7.9.0",
3
+ "version": "7.9.1",
4
4
  "description": "Shared types and utilities for HVP backend and frontend",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",