@prismatic-io/spectral 7.8.2 → 7.8.4

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.
@@ -63,6 +63,7 @@ export interface ActionContext {
63
63
  user: User;
64
64
  integration: Integration;
65
65
  flow: Flow;
66
+ startedAt: string;
66
67
  }
67
68
  declare type TriggerOptionChoice = "invalid" | "valid" | "required";
68
69
  export interface TriggerPayload {
@@ -86,6 +87,7 @@ export interface TriggerPayload {
86
87
  user: User;
87
88
  integration: Integration;
88
89
  flow: Flow;
90
+ startedAt: string;
89
91
  }
90
92
  interface HttpResponse {
91
93
  statusCode: number;
package/dist/testing.js CHANGED
@@ -77,6 +77,7 @@ const baseActionContext = {
77
77
  id: "flowId",
78
78
  name: "Flow 1",
79
79
  },
80
+ startedAt: new Date().toISOString(),
80
81
  };
81
82
  /**
82
83
  * Invokes specified ActionDefinition perform function using supplied params
@@ -142,6 +143,7 @@ const defaultTriggerPayload = () => {
142
143
  id: "flowId",
143
144
  name: "Flow 1",
144
145
  },
146
+ startedAt: new Date().toISOString(),
145
147
  };
146
148
  };
147
149
  exports.defaultTriggerPayload = defaultTriggerPayload;
@@ -33,4 +33,6 @@ export interface ActionContext {
33
33
  integration: Integration;
34
34
  /** Contains attributes of the Flow that is being executed. */
35
35
  flow: Flow;
36
+ /** The time in UTC that execution started. */
37
+ startedAt: string;
36
38
  }
@@ -38,4 +38,6 @@ export interface TriggerPayload {
38
38
  integration: Integration;
39
39
  /** Contains attributes of the Flow that is being executed. */
40
40
  flow: Flow;
41
+ /** The time in UTC that execution started. */
42
+ startedAt: string;
41
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "7.8.2",
3
+ "version": "7.8.4",
4
4
  "description": "Utility library for building Prismatic components",
5
5
  "keywords": [
6
6
  "prismatic"