@diagonal-hq/cli 0.10.1 → 0.10.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.
package/dist/cli.mjs CHANGED
@@ -301637,7 +301637,7 @@ var CONFIG_KEYS = /* @__PURE__ */ new Set(["title", "description", "trigger", "r
301637
301637
  var HTTP_METHODS = ["GET", "POST", "PUT", "PATCH", "DELETE"];
301638
301638
  var RECORD_EVENTS = ["created", "updated", "deleted", "restored", "saved"];
301639
301639
  var LIFECYCLE_HOOKS = ["creating", "updating", "saving", "deleting", "restoring"];
301640
- var WORKFLOW_EVENTS = ["execution.success", "execution.error"];
301640
+ var WORKFLOW_EVENTS = ["execution.success", "execution.error", "execution.exception"];
301641
301641
  var SCHEDULE_FIELD_TYPES = /* @__PURE__ */ new Set(["date", "datetime"]);
301642
301642
  var TRIGGERS = {
301643
301643
  request: {
package/dist/index.d.ts CHANGED
@@ -358,7 +358,7 @@ export type WorkflowEventTrigger = {
358
358
  type: 'workflowEvent';
359
359
  /** The path of another workflow, for example `'workflows/welcome.ts'`. */
360
360
  workflow: `workflows/${string}.ts`;
361
- event: 'execution.success' | 'execution.error';
361
+ event: 'execution.success' | 'execution.error' | 'execution.exception';
362
362
  };
363
363
 
364
364
  export type ManualTrigger = { type: 'manual' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {