@company-semantics/contracts 0.4.0 → 0.5.0
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/package.json +1 -1
- package/system/diagram.ts +7 -2
package/package.json
CHANGED
package/system/diagram.ts
CHANGED
|
@@ -86,6 +86,9 @@ export interface DiagramSpec {
|
|
|
86
86
|
*
|
|
87
87
|
* Backend generates this and pushes to site repo via CI.
|
|
88
88
|
* Includes pre-rendered ASCII so site doesn't need rendering logic.
|
|
89
|
+
*
|
|
90
|
+
* Invariant: The generator declares all write intent via generatedFiles[].
|
|
91
|
+
* CI will never infer or expand intent.
|
|
89
92
|
*/
|
|
90
93
|
export interface DiagramSnapshot {
|
|
91
94
|
/** Pre-rendered ASCII art */
|
|
@@ -94,8 +97,10 @@ export interface DiagramSnapshot {
|
|
|
94
97
|
nodes: DiagramNode[]
|
|
95
98
|
/** ISO timestamp when snapshot was generated */
|
|
96
99
|
generatedAt: string
|
|
97
|
-
/** Version of the source manifest */
|
|
98
|
-
manifestVersion:
|
|
100
|
+
/** Version of the source manifest (stringified for stability) */
|
|
101
|
+
manifestVersion: string
|
|
99
102
|
/** Schema version for forward compatibility */
|
|
100
103
|
specVersion: 'v1'
|
|
104
|
+
/** Files this snapshot will write (manifest-driven automation) */
|
|
105
|
+
generatedFiles: string[]
|
|
101
106
|
}
|