@wise/dynamic-flow-types 2.11.0 → 2.12.0-experimental-6654c72

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Unfortunately we need this because ts-to-zod can't generate a valid
3
+ * schema for our exported version of this type. So, we add this manually
4
+ * during the schema generation because it is equivalent, but can be converted
5
+ * by ts-to-zod. (We can't use this type anywhere else because we get infinitely
6
+ * nesting types.)
7
+ */
8
+ export type JsonElement = string | number | boolean | null | {
9
+ [x: string]: JsonElement;
10
+ } | JsonElement[];