@decocms/bindings 1.1.2 → 1.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/bindings",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "check": "tsc --noEmit",
@@ -137,6 +137,16 @@ export const StepSchema = z.object({
137
137
  "Optional JSON Schema describing the expected output of the step.",
138
138
  ),
139
139
  config: StepConfigSchema.optional().describe("Retry and timeout settings"),
140
+ forEach: z
141
+ .object({
142
+ ref: z.string().describe("@ ref to the step to iterate over"),
143
+ concurrency: z
144
+ .number()
145
+ .optional()
146
+ .default(1)
147
+ .describe("max parallel iterations. default is 1 (sequential)"),
148
+ })
149
+ .optional(),
140
150
  });
141
151
 
142
152
  export type Step = z.infer<typeof StepSchema>;
@@ -216,6 +226,10 @@ export const WorkflowExecutionSchema = BaseCollectionEntitySchema.extend({
216
226
  })
217
227
  .optional()
218
228
  .describe("Names of the steps that were completed and their status"),
229
+ running_steps: z
230
+ .array(z.string())
231
+ .optional()
232
+ .describe("Names of the steps that are currently running"),
219
233
  });
220
234
  export type WorkflowExecution = z.infer<typeof WorkflowExecutionSchema>;
221
235