@prismatic-io/spectral 6.4.1 → 6.5.0
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.
|
@@ -87,6 +87,8 @@ interface TriggerBaseResult {
|
|
|
87
87
|
instanceState?: Record<string, unknown>;
|
|
88
88
|
crossFlowState?: Record<string, unknown>;
|
|
89
89
|
executionState?: Record<string, unknown>;
|
|
90
|
+
failed?: boolean;
|
|
91
|
+
error?: Record<string, unknown>;
|
|
90
92
|
}
|
|
91
93
|
interface TriggerBranchingResult extends TriggerBaseResult {
|
|
92
94
|
branch: string;
|
|
@@ -141,6 +143,8 @@ interface ServerPerformDataStructureReturn {
|
|
|
141
143
|
instanceState?: Record<string, unknown>;
|
|
142
144
|
crossFlowState?: Record<string, unknown>;
|
|
143
145
|
executionState?: Record<string, unknown>;
|
|
146
|
+
failed?: boolean;
|
|
147
|
+
error?: Record<string, unknown>;
|
|
144
148
|
}
|
|
145
149
|
interface ServerPerformDataReturn {
|
|
146
150
|
data: Buffer | string | unknown;
|
|
@@ -149,6 +153,8 @@ interface ServerPerformDataReturn {
|
|
|
149
153
|
instanceState?: Record<string, unknown>;
|
|
150
154
|
crossFlowState?: Record<string, unknown>;
|
|
151
155
|
executionState?: Record<string, unknown>;
|
|
156
|
+
failed?: boolean;
|
|
157
|
+
error?: Record<string, unknown>;
|
|
152
158
|
}
|
|
153
159
|
interface ServerPerformBranchingDataStructureReturn extends ServerPerformDataStructureReturn {
|
|
154
160
|
branch: string;
|
|
@@ -12,6 +12,10 @@ export interface ActionPerformDataReturn<ReturnData> {
|
|
|
12
12
|
crossFlowState?: Record<string, unknown>;
|
|
13
13
|
/** An optional object, the keys and values of which will be persisted in the executionState and available for the duration of the execution */
|
|
14
14
|
executionState?: Record<string, unknown>;
|
|
15
|
+
/** A field populated by the Prismatic platform which indicates whether the trigger failed with an error during execution. */
|
|
16
|
+
failed?: boolean;
|
|
17
|
+
/** A field populated by the Prismatic platform which may refer to an object that contains data about any error that resulted in failure. */
|
|
18
|
+
error?: Record<string, unknown>;
|
|
15
19
|
}
|
|
16
20
|
/** Used to represent a branching return of conventional data and does not require content type to be specified */
|
|
17
21
|
/** Used to represent a binary or serialized data branching return as content type must be specified */
|
|
@@ -12,6 +12,10 @@ export interface TriggerBaseResult {
|
|
|
12
12
|
crossFlowState?: Record<string, unknown>;
|
|
13
13
|
/** An optional object, the keys and values of which will be persisted in the executionState and available for the duration of the execution */
|
|
14
14
|
executionState?: Record<string, unknown>;
|
|
15
|
+
/** A field populated by the Prismatic platform which indicates whether the trigger failed with an error during execution. */
|
|
16
|
+
failed?: boolean;
|
|
17
|
+
/** A field populated by the Prismatic platform which may refer to an object that contains data about any error that resulted in failure. */
|
|
18
|
+
error?: Record<string, unknown>;
|
|
15
19
|
}
|
|
16
20
|
/** Represents the result of a Trigger action that uses branching. */
|
|
17
21
|
export interface TriggerBranchingResult extends TriggerBaseResult {
|