@workers-community/workers-types 4.20251126.0 → 4.20251128.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.
- package/index.d.ts +5 -2
- package/index.ts +5 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -12248,8 +12248,11 @@ type InstanceStatus = {
|
|
|
12248
12248
|
| "waiting" // instance is hibernating and waiting for sleep or event to finish
|
|
12249
12249
|
| "waitingForPause" // instance is finishing the current work to pause
|
|
12250
12250
|
| "unknown";
|
|
12251
|
-
error?:
|
|
12252
|
-
|
|
12251
|
+
error?: {
|
|
12252
|
+
name: string;
|
|
12253
|
+
message: string;
|
|
12254
|
+
};
|
|
12255
|
+
output?: unknown;
|
|
12253
12256
|
};
|
|
12254
12257
|
interface WorkflowError {
|
|
12255
12258
|
code?: number;
|
package/index.ts
CHANGED
|
@@ -12199,8 +12199,11 @@ export type InstanceStatus = {
|
|
|
12199
12199
|
| "waiting" // instance is hibernating and waiting for sleep or event to finish
|
|
12200
12200
|
| "waitingForPause" // instance is finishing the current work to pause
|
|
12201
12201
|
| "unknown";
|
|
12202
|
-
error?:
|
|
12203
|
-
|
|
12202
|
+
error?: {
|
|
12203
|
+
name: string;
|
|
12204
|
+
message: string;
|
|
12205
|
+
};
|
|
12206
|
+
output?: unknown;
|
|
12204
12207
|
};
|
|
12205
12208
|
export interface WorkflowError {
|
|
12206
12209
|
code?: number;
|