@wise/dynamic-flow-types 2.18.4 → 2.20.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 +4 -1
- package/build/main.min.js +1 -1
- package/build/main.mjs +4 -1
- package/build/next/feature/Navigation.d.ts +0 -1
- package/build/next/feature/NavigationBackBehavior.d.ts +0 -1
- package/build/next/feature/NavigationStackBehavior.d.ts +0 -1
- package/build/next/feature/Polling.d.ts +13 -2
- package/build/next/layout/ImageLayout.d.ts +0 -1
- package/build/next/layout/ModalLayoutContent.d.ts +5 -0
- package/build/spec/LayoutComponent.d.ts +1 -0
- package/build/spec/Navigation.d.ts +2 -0
- package/build/spec/Polling.d.ts +3 -1
- package/build/zod/schemas.d.ts +125 -119
- package/build/zod/schemas.ts +4 -1
- package/package.json +1 -2
package/build/zod/schemas.ts
CHANGED
|
@@ -473,7 +473,9 @@ export const alertLayoutCallToActionSchema = z.object({
|
|
|
473
473
|
|
|
474
474
|
export const pollingSchema = z.object({
|
|
475
475
|
url: z.string(),
|
|
476
|
-
interval: z.number(),
|
|
476
|
+
interval: z.number().optional(),
|
|
477
|
+
delay: z.number().optional(),
|
|
478
|
+
timeout: z.number().optional(),
|
|
477
479
|
maxAttempts: z.number(),
|
|
478
480
|
onError: pollingOnErrorSchema,
|
|
479
481
|
});
|
|
@@ -602,6 +604,7 @@ export const modalLayoutSchema: z.ZodSchema<ModalLayout> = z.lazy(() =>
|
|
|
602
604
|
|
|
603
605
|
export const modalLayoutContentSchema: z.ZodSchema<ModalLayoutContent> = z.lazy(() =>
|
|
604
606
|
z.object({
|
|
607
|
+
title: z.string().optional(),
|
|
605
608
|
components: z.array(layoutSchema),
|
|
606
609
|
}),
|
|
607
610
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
4
4
|
"description": "Dynamic Flow TypeScript Types",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "pnpm tsc --noEmit --watch",
|
|
38
|
-
"test": "pnpm tsc --noEmit",
|
|
39
38
|
"build": "rm -rf build && npm-run-all build:*",
|
|
40
39
|
"build:types": "pnpm tsc --emitDeclarationOnly",
|
|
41
40
|
"build:js": "node ./scripts/build.mjs",
|