@wise/dynamic-flow-types 3.14.1 → 3.15.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.
@@ -4,6 +4,7 @@ import type { Image } from '../misc/Image';
4
4
  import type { SummaryProvider } from '../feature/SummaryProvider';
5
5
  import type { Media } from '../misc/media/Media';
6
6
  import type { AlertLayout } from '../layout/AlertLayout';
7
+ import type { Layout } from '../layout/Layout';
7
8
  /**
8
9
  * Represents a constant value in the submission.
9
10
  */
@@ -75,4 +76,8 @@ export type ConstSchema = {
75
76
  * [com.wise.dynamicflow.feature.Action] for server-side validation.
76
77
  */
77
78
  alert?: AlertLayout;
79
+ /**
80
+ * An array of layouts representing the schema.
81
+ */
82
+ layout?: Layout[];
78
83
  };
@@ -1204,6 +1204,7 @@ export const constSchemaSchema: z.ZodSchema<ConstSchema> = z.lazy(() =>
1204
1204
  disabled: z.boolean().optional(),
1205
1205
  media: mediaSchema.optional(),
1206
1206
  alert: alertLayoutSchema.optional(),
1207
+ layout: z.array(layoutSchema).optional(),
1207
1208
  }),
1208
1209
  );
1209
1210
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-types",
3
- "version": "3.14.1",
3
+ "version": "3.15.0",
4
4
  "description": "Dynamic Flow TypeScript Types",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {