@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;
|