@intentius/terragucci 0.4.0 → 0.4.2

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.
@@ -190,7 +190,18 @@
190
190
  "required": ["branch", "path"],
191
191
  "properties": { "branch": { "type": "string" }, "path": { "type": "string" } }
192
192
  },
193
- "waiting_since": { "type": "string", "description": "On a waiting wave, when it began waiting for an approval of this digest (minor 8)." }
193
+ "waiting_since": { "type": "string", "description": "On a waiting wave, when it began waiting for an approval of this digest (minor 8)." },
194
+ "refused": {
195
+ "type": "object",
196
+ "description": "Why a tf-apply wave applied nothing although it planned: its plans changed after an approval, a review or an override, or the policy denied a root (minor 11).",
197
+ "required": ["reason", "roots"],
198
+ "properties": {
199
+ "reason": { "enum": ["approval", "review", "override", "policy"] },
200
+ "approved": { "type": "string" },
201
+ "by": { "type": "string" },
202
+ "roots": { "type": "array", "items": { "type": "string" } }
203
+ }
204
+ }
194
205
  }
195
206
  }
196
207
  },
@@ -238,6 +249,33 @@
238
249
  "overriders": { "type": "array", "items": { "type": "string" }, "description": "Who may override a denial, from policy.override at base (minor 10)." }
239
250
  }
240
251
  },
252
+ "cost": {
253
+ "description": "The cost estimate of a tf-plan run, when cost is on (minor 12): each root's monthly cost from the estimator, and the sums over the roots estimated.",
254
+ "type": "object",
255
+ "required": ["estimator", "currency", "monthly_delta", "monthly_total", "past_monthly_total", "roots"],
256
+ "properties": {
257
+ "estimator": { "type": "string" },
258
+ "currency": { "type": "string" },
259
+ "monthly_delta": { "type": ["number", "null"] },
260
+ "monthly_total": { "type": ["number", "null"] },
261
+ "past_monthly_total": { "type": ["number", "null"] },
262
+ "roots": {
263
+ "type": "array",
264
+ "items": {
265
+ "type": "object",
266
+ "required": ["root", "monthly_delta", "monthly_total", "past_monthly_total"],
267
+ "properties": {
268
+ "root": { "type": "string" },
269
+ "monthly_delta": { "type": ["number", "null"] },
270
+ "monthly_total": { "type": ["number", "null"] },
271
+ "past_monthly_total": { "type": ["number", "null"] },
272
+ "output": { "type": "string" },
273
+ "error": { "type": "string" }
274
+ }
275
+ }
276
+ }
277
+ }
278
+ },
241
279
  "intent": {
242
280
  "description": "The description check's decision (minor 5). Written by respond description; absent when it did not run.",
243
281
  "type": "object",