@intentius/terragucci 0.4.5 → 0.4.7
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/dist/changes.schema.json +28 -1
- package/dist/estate.schema.json +7 -1
- package/dist/history.schema.json +27 -0
- package/dist/report.schema.json +26 -1
- package/dist/terragucci.mjs +580 -568
- package/dist/terragucci.mjs.map +4 -4
- package/package.json +4 -2
package/dist/changes.schema.json
CHANGED
|
@@ -25,9 +25,36 @@
|
|
|
25
25
|
"path": { "type": "string", "description": "The wave's run directory, relative to the project's index.json." },
|
|
26
26
|
"plan_digest": { "type": ["string", "null"], "description": "The root's plan digest: the plan that applied." },
|
|
27
27
|
"set_digest": { "type": ["string", "null"], "description": "The wave's set digest, which its approval binds." },
|
|
28
|
-
"pull_request": { "type": "string" }
|
|
28
|
+
"pull_request": { "type": "string" },
|
|
29
|
+
"record_versions": { "$ref": "#/$defs/record_versions" }
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
}
|
|
33
|
+
},
|
|
34
|
+
"$defs": {
|
|
35
|
+
"record_versions": {
|
|
36
|
+
"description": "For a choudoufu root: its record's versions once the apply finished, newest first, from choudoufu live-history: each version's id, when it was written, and whether it is current or a delete marker, never what it holds. kept is false for a record store that keeps none (local, kubernetes); error is live-history's error as it printed it (minor 32).",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"required": ["read"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"kept": { "type": "boolean" },
|
|
41
|
+
"store": { "type": "string" },
|
|
42
|
+
"versions": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"required": ["version_id", "last_modified", "current", "deleted"],
|
|
47
|
+
"properties": {
|
|
48
|
+
"version_id": { "type": "string" },
|
|
49
|
+
"last_modified": { "type": "string" },
|
|
50
|
+
"current": { "type": "boolean" },
|
|
51
|
+
"deleted": { "type": "boolean" }
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"error": { "type": "string" },
|
|
56
|
+
"read": { "type": "string" }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
32
59
|
}
|
|
33
60
|
}
|
package/dist/estate.schema.json
CHANGED
|
@@ -306,7 +306,13 @@
|
|
|
306
306
|
"address": { "type": "string" },
|
|
307
307
|
"type": { "type": "string" },
|
|
308
308
|
"provider": { "type": "string" },
|
|
309
|
-
"history": { "type": "string", "description": "Its section of history.html, when an apply changed it." }
|
|
309
|
+
"history": { "type": "string", "description": "Its section of history.html, when an apply changed it." },
|
|
310
|
+
"record_versions": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "A choudoufu record's past versions, from its history: count when the store keeps them, kept false when it keeps none (local, kubernetes), error when they were not listed.",
|
|
313
|
+
"required": ["kept"],
|
|
314
|
+
"properties": { "kept": { "type": "boolean" }, "count": { "type": "integer" }, "error": { "type": "string" } }
|
|
315
|
+
}
|
|
310
316
|
}
|
|
311
317
|
}
|
|
312
318
|
}
|
package/dist/history.schema.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"root": { "type": "string" },
|
|
21
21
|
"address": { "type": "string" },
|
|
22
22
|
"type": { "type": "string" },
|
|
23
|
+
"record_versions": { "$ref": "#/$defs/record_versions" },
|
|
23
24
|
"applies": {
|
|
24
25
|
"type": "array",
|
|
25
26
|
"description": "Oldest first.",
|
|
@@ -45,5 +46,31 @@
|
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
}
|
|
49
|
+
},
|
|
50
|
+
"$defs": {
|
|
51
|
+
"record_versions": {
|
|
52
|
+
"description": "For a choudoufu root: its record's versions as the newest apply that changed it listed them, newest first, from choudoufu live-history: each version's id, when it was written, and whether it is current or a delete marker, never what it holds. kept is false for a record store that keeps none (local, kubernetes); error is live-history's error as it printed it.",
|
|
53
|
+
"type": "object",
|
|
54
|
+
"required": ["read"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"kept": { "type": "boolean" },
|
|
57
|
+
"store": { "type": "string" },
|
|
58
|
+
"versions": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"required": ["version_id", "last_modified", "current", "deleted"],
|
|
63
|
+
"properties": {
|
|
64
|
+
"version_id": { "type": "string" },
|
|
65
|
+
"last_modified": { "type": "string" },
|
|
66
|
+
"current": { "type": "boolean" },
|
|
67
|
+
"deleted": { "type": "boolean" }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"error": { "type": "string" },
|
|
72
|
+
"read": { "type": "string" }
|
|
73
|
+
}
|
|
74
|
+
}
|
|
48
75
|
}
|
|
49
76
|
}
|
package/dist/report.schema.json
CHANGED
|
@@ -207,7 +207,8 @@
|
|
|
207
207
|
"type": { "type": "string" },
|
|
208
208
|
"actions": { "type": "array", "items": { "enum": ["create", "update", "replace", "delete", "import", "move", "forget"] } },
|
|
209
209
|
"attributes": { "type": "array", "items": { "type": "string" } },
|
|
210
|
-
"previous_address": { "type": "string" }
|
|
210
|
+
"previous_address": { "type": "string" },
|
|
211
|
+
"record_versions": { "$ref": "#/$defs/record_versions" }
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
214
|
},
|
|
@@ -582,6 +583,30 @@
|
|
|
582
583
|
}
|
|
583
584
|
},
|
|
584
585
|
"$defs": {
|
|
586
|
+
"record_versions": {
|
|
587
|
+
"description": "For a choudoufu root: its record's versions once the apply finished, newest first, from choudoufu live-history: each version's id, when it was written, and whether it is current or a delete marker, never what it holds. kept is false for a record store that keeps none (local, kubernetes); error is live-history's error as it printed it (minor 32).",
|
|
588
|
+
"type": "object",
|
|
589
|
+
"required": ["read"],
|
|
590
|
+
"properties": {
|
|
591
|
+
"kept": { "type": "boolean" },
|
|
592
|
+
"store": { "type": "string" },
|
|
593
|
+
"versions": {
|
|
594
|
+
"type": "array",
|
|
595
|
+
"items": {
|
|
596
|
+
"type": "object",
|
|
597
|
+
"required": ["version_id", "last_modified", "current", "deleted"],
|
|
598
|
+
"properties": {
|
|
599
|
+
"version_id": { "type": "string" },
|
|
600
|
+
"last_modified": { "type": "string" },
|
|
601
|
+
"current": { "type": "boolean" },
|
|
602
|
+
"deleted": { "type": "boolean" }
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
"error": { "type": "string" },
|
|
607
|
+
"read": { "type": "string" }
|
|
608
|
+
}
|
|
609
|
+
},
|
|
585
610
|
"resource": {
|
|
586
611
|
"type": "object",
|
|
587
612
|
"required": ["address", "type", "provider"],
|