@wise/dynamic-flow-types 2.11.0 → 2.12.0-experimental-b041af5
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/README.md +6 -0
- package/build/index.d.ts +1 -0
- package/build/main.js +4510 -0
- package/build/main.min.js +1 -0
- package/build/main.mjs +4490 -0
- package/build/zod/json.type.d.ts +10 -0
- package/build/zod/schemas.d.ts +3652 -0
- package/build/zod/schemas.ts +914 -0
- package/build/zod/validators.d.ts +9 -0
- package/package.json +9 -4
package/README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
# Dynamic Flow TypeScript Types
|
|
2
2
|
|
|
3
3
|
This package contains the Dynamic Flow TypeScript types which are used in @wise/dynamic-flow-client and other packages.
|
|
4
|
+
|
|
5
|
+
## Building
|
|
6
|
+
|
|
7
|
+
The types in `src/next/` are generated from our Backend Library. The Zod
|
|
8
|
+
schemas we use to create our validation functions are generated by running
|
|
9
|
+
`./src/zod/build_zod.sh`, or just `pnpm build` within the types package.
|
package/build/index.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export * from './spec/Step';
|
|
|
13
13
|
export * from './spec/ValidationAsync';
|
|
14
14
|
export * from './spec/Search';
|
|
15
15
|
export type { FileUploadSchema, CameraDirection } from './spec/FileUploadSchema';
|
|
16
|
+
export { validateStep, validateActionResponse, validateErrorResponse } from './zod/validators';
|