@wise/dynamic-flow-types 2.14.0 → 2.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.
|
@@ -24,10 +24,6 @@ export type Step = {
|
|
|
24
24
|
*/
|
|
25
25
|
type?: string;
|
|
26
26
|
/**
|
|
27
|
-
* @deprecated Please replace step description with a paragraph in your layout.
|
|
28
|
-
*/
|
|
29
|
-
description?: string;
|
|
30
|
-
/**
|
|
31
27
|
* @deprecated Please define actions inside Button components.
|
|
32
28
|
*/
|
|
33
29
|
actions?: Action[];
|
|
@@ -44,6 +40,10 @@ export type Step = {
|
|
|
44
40
|
*/
|
|
45
41
|
title: string;
|
|
46
42
|
/**
|
|
43
|
+
* A user-facing subtitle.
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
47
|
* An array of schemas describing the data for the user to input. Each root schemas which should be displayed to the
|
|
48
48
|
* user must be referenced by a [com.wise.dynamicflow.layout.FormLayout] in the `layout` property. If a schema is
|
|
49
49
|
* not referenced by a [com.wise.dynamicflow.layout.FormLayout], it won't be displayed, but it will still be submitted.
|
package/build/zod/schemas.ts
CHANGED
|
@@ -542,11 +542,11 @@ export const stepSchema: z.ZodSchema<Step> = z.lazy(() =>
|
|
|
542
542
|
z.object({
|
|
543
543
|
key: z.string().optional(),
|
|
544
544
|
type: z.string().optional(),
|
|
545
|
-
description: z.string().optional(),
|
|
546
545
|
actions: z.array(actionSchema).optional(),
|
|
547
546
|
refreshFormUrl: z.string().optional(),
|
|
548
547
|
id: z.string(),
|
|
549
548
|
title: z.string(),
|
|
549
|
+
description: z.string().optional(),
|
|
550
550
|
schemas: z.array(schemaSchema),
|
|
551
551
|
layout: z.array(layoutSchema),
|
|
552
552
|
model: jsonElementSchema.optional(),
|