@wise/dynamic-flow-types 3.3.5 → 3.5.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/build/main.js +36 -9
- package/build/main.mjs +36 -9
- package/build/next/feature/Behavior.d.ts +2 -1
- package/build/next/feature/RefreshBehavior.d.ts +9 -0
- package/build/next/index.d.ts +2 -0
- package/build/next/layout/Layout.d.ts +2 -1
- package/build/next/layout/SectionLayout.d.ts +32 -0
- package/build/next/layout/SectionLayoutCallToAction.d.ts +18 -0
- package/build/next/schema/BooleanSchema.d.ts +5 -0
- package/build/next/schema/IntegerSchema.d.ts +5 -0
- package/build/next/schema/NumberSchema.d.ts +5 -0
- package/build/next/schema/OneOfSchema.d.ts +5 -0
- package/build/next/schema/StringSchema.d.ts +5 -0
- package/build/renderers/AlertRendererProps.d.ts +2 -11
- package/build/renderers/CallToAction.d.ts +8 -0
- package/build/renderers/ListRendererProps.d.ts +2 -11
- package/build/renderers/RendererProps.d.ts +38 -37
- package/build/renderers/ReviewRendererProps.d.ts +3 -8
- package/build/renderers/SectionRendererProps.d.ts +13 -0
- package/build/renderers/StatusListRendererProps.d.ts +2 -7
- package/build/renderers/index.d.ts +17 -8
- package/build/zod/schemas.d.ts +11 -2
- package/build/zod/schemas.ts +539 -507
- package/package.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import type { CallToAction } from './CallToAction';
|
|
2
|
+
export type { AlertRendererProps } from './AlertRendererProps';
|
|
2
3
|
export type { BoxRendererProps } from './BoxRendererProps';
|
|
3
4
|
export type { ButtonRendererProps } from './ButtonRendererProps';
|
|
4
5
|
export type { CheckboxInputRendererProps } from './CheckboxInputRendererProps';
|
|
@@ -9,6 +10,7 @@ export type { DecisionOption, DecisionRendererProps } from './DecisionRendererPr
|
|
|
9
10
|
export type { DividerRendererProps } from './DividerRendererProps';
|
|
10
11
|
export type { ExternalConfirmationRendererProps } from './ExternalConfirmationRendererProps';
|
|
11
12
|
export type { FormRendererProps } from './FormRendererProps';
|
|
13
|
+
export type { FormSectionRendererProps } from './FormSectionRendererProps';
|
|
12
14
|
export type { HeadingRendererProps } from './HeadingRendererProps';
|
|
13
15
|
export type { HiddenRendererProps } from './HiddenRendererProps';
|
|
14
16
|
export type { ImageRendererProps } from './ImageRendererProps';
|
|
@@ -23,14 +25,14 @@ export type { MultiSelectInputRendererProps } from './MultiSelectInputRendererPr
|
|
|
23
25
|
export type { MultiUploadInputRendererProps } from './MultiUploadInputRendererProps';
|
|
24
26
|
export type { NumberInputRendererProps } from './NumberInputRendererProps';
|
|
25
27
|
export type { ParagraphRendererProps } from './ParagraphRendererProps';
|
|
26
|
-
export type { RepeatableItemRendererProps, RepeatableRendererProps } from './RepeatableRendererProps';
|
|
27
|
-
export type {
|
|
28
|
+
export type { RepeatableItemRendererProps, RepeatableRendererProps, } from './RepeatableRendererProps';
|
|
29
|
+
export type { ReviewField, ReviewRendererProps } from './ReviewRendererProps';
|
|
28
30
|
export type { RootRendererProps } from './RootRendererProps';
|
|
29
|
-
export type { ErrorSearchState, NoResultsSearchState, PendingSearchState, ResultsSearchState, SearchRendererProps, SearchResult, SearchState } from './SearchRendererProps';
|
|
30
|
-
export type {
|
|
31
|
-
export type { SelectInputRendererOption, SelectInputRendererProps } from './SelectInputRendererProps';
|
|
32
|
-
export type { StatusListItem,
|
|
33
|
-
export type { AnalyticsEventDispatcher, LoadingState, StepRendererProps } from './StepRendererProps';
|
|
31
|
+
export type { ErrorSearchState, NoResultsSearchState, PendingSearchState, ResultsSearchState, SearchRendererProps, SearchResult, SearchState, } from './SearchRendererProps';
|
|
32
|
+
export type { SectionRendererProps } from './SectionRendererProps';
|
|
33
|
+
export type { SelectInputRendererOption, SelectInputRendererProps, } from './SelectInputRendererProps';
|
|
34
|
+
export type { StatusListItem, StatusListItemStatus, StatusListRendererProps, } from './StatusListRendererProps';
|
|
35
|
+
export type { AnalyticsEventDispatcher, LoadingState, StepRendererProps, } from './StepRendererProps';
|
|
34
36
|
export type { TextInputRendererProps } from './TextInputRendererProps';
|
|
35
37
|
export type { UploadInputRendererProps } from './UploadInputRendererProps';
|
|
36
38
|
export type { ValidationResult } from './BaseInputRendererProps';
|
|
@@ -38,3 +40,10 @@ export type { Align, Context, Margin, Size } from './constants';
|
|
|
38
40
|
export type { Icon } from './Icon';
|
|
39
41
|
export type { Image } from './Image';
|
|
40
42
|
export type { Renderer, RendererProps, Renderers, RenderFunction } from './RendererProps';
|
|
43
|
+
export type { CallToAction } from './CallToAction';
|
|
44
|
+
/** @deprecated Please use `CallToAction` instead. */
|
|
45
|
+
export type AlertCallToAction = CallToAction;
|
|
46
|
+
/** @deprecated Please use `CallToAction` instead. */
|
|
47
|
+
export type ReviewCallToAction = CallToAction;
|
|
48
|
+
/** @deprecated Please use `CallToAction` instead. */
|
|
49
|
+
export type StatusListItemCallToAction = CallToAction;
|
package/build/zod/schemas.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { JsonElement, AdditionalInfo, Behavior, ReviewLayoutCallToAction, AlertLayout, AlertLayoutCallToAction, ListLayout, ListLayoutCallToAction, ListLayoutItem, DecisionLayout, DecisionLayoutOption, StatusListLayout, StatusListLayoutItem,
|
|
2
|
+
import type { JsonElement, AdditionalInfo, Behavior, ReviewLayoutCallToAction, AlertLayout, AlertLayoutCallToAction, ListLayout, ListLayoutCallToAction, ListLayoutItem, DecisionLayout, DecisionLayoutOption, SectionLayoutCallToAction, StatusListLayout, StatusListLayoutItem, SectionLayout, Layout, ItemCallToAction, BoxLayout, ButtonLayout, ColumnsLayout, ModalLayout, ReviewLayout, ReviewLayoutField, ModalLayoutContent, ModalResponseBody, Step, Schema, Polling, LinkHandler, AllOfSchema, ArraySchema, BlobSchema, BooleanSchema, ConstSchema, IntegerSchema, NumberSchema, ObjectSchema, OneOfSchema, StringSchema, ArraySchemaList, PersistAsync, ArraySchemaTuple, PollingOnError, ModalBehavior } from '../next';
|
|
3
3
|
export declare const imageSchema: z.ZodObject<{
|
|
4
4
|
text: z.ZodOptional<z.ZodString>;
|
|
5
5
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -636,6 +636,13 @@ export declare const linkBehaviorSchema: z.ZodObject<{
|
|
|
636
636
|
url: string;
|
|
637
637
|
type: "link";
|
|
638
638
|
}>;
|
|
639
|
+
export declare const refreshBehaviorSchema: z.ZodObject<{
|
|
640
|
+
type: z.ZodLiteral<"refresh">;
|
|
641
|
+
}, "strip", z.ZodTypeAny, {
|
|
642
|
+
type: "refresh";
|
|
643
|
+
}, {
|
|
644
|
+
type: "refresh";
|
|
645
|
+
}>;
|
|
639
646
|
export declare const linkSchema: z.ZodObject<{
|
|
640
647
|
url: z.ZodString;
|
|
641
648
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2213,10 +2220,12 @@ export declare const listLayoutCallToActionSchema: z.ZodSchema<ListLayoutCallToA
|
|
|
2213
2220
|
export declare const listLayoutItemSchema: z.ZodSchema<ListLayoutItem>;
|
|
2214
2221
|
export declare const decisionLayoutSchema: z.ZodSchema<DecisionLayout>;
|
|
2215
2222
|
export declare const decisionLayoutOptionSchema: z.ZodSchema<DecisionLayoutOption>;
|
|
2223
|
+
export declare const sectionLayoutCallToActionSchema: z.ZodSchema<SectionLayoutCallToAction>;
|
|
2216
2224
|
export declare const statusListLayoutSchema: z.ZodSchema<StatusListLayout>;
|
|
2217
2225
|
export declare const statusListLayoutItemSchema: z.ZodSchema<StatusListLayoutItem>;
|
|
2218
|
-
export declare const
|
|
2226
|
+
export declare const sectionLayoutSchema: z.ZodSchema<SectionLayout>;
|
|
2219
2227
|
export declare const layoutSchema: z.ZodSchema<Layout>;
|
|
2228
|
+
export declare const itemCallToActionSchema: z.ZodSchema<ItemCallToAction>;
|
|
2220
2229
|
export declare const boxLayoutSchema: z.ZodSchema<BoxLayout>;
|
|
2221
2230
|
export declare const buttonLayoutSchema: z.ZodSchema<ButtonLayout>;
|
|
2222
2231
|
export declare const columnsLayoutSchema: z.ZodSchema<ColumnsLayout>;
|