@develit-io/backend-sdk 7.0.2 → 8.0.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/dist/index.mjs +20 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -189,6 +189,26 @@ const paginationSchema = new z.$ZodObject({
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
|
|
192
|
+
z$1.object({
|
|
193
|
+
status: z$1.enum([
|
|
194
|
+
"queued",
|
|
195
|
+
// means that instance is waiting to be started (see concurrency limits)
|
|
196
|
+
"running",
|
|
197
|
+
"paused",
|
|
198
|
+
"errored",
|
|
199
|
+
"terminated",
|
|
200
|
+
// user terminated the instance while it was running
|
|
201
|
+
"complete",
|
|
202
|
+
"waiting",
|
|
203
|
+
// instance is hibernating and waiting for sleep or event to finish
|
|
204
|
+
"waitingForPause",
|
|
205
|
+
// instance is finishing the current work to pause
|
|
206
|
+
"unknown"
|
|
207
|
+
]),
|
|
208
|
+
error: z$1.string().optional(),
|
|
209
|
+
output: z$1.unknown().optional()
|
|
210
|
+
});
|
|
211
|
+
|
|
192
212
|
const handleActionResponse = ({
|
|
193
213
|
error,
|
|
194
214
|
status,
|