@junobuild/functions-tools 0.4.5 → 0.4.6
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 -6
- package/dist/node/index.mjs +52 -43
- package/dist/node/index.mjs.map +3 -3
- package/dist/types/converters/_types.d.ts +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Returns:
|
|
|
36
36
|
|
|
37
37
|
An object containing the generated IDL type and the base type name.
|
|
38
38
|
|
|
39
|
-
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-idl.ts#
|
|
39
|
+
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-idl.ts#L72)
|
|
40
40
|
|
|
41
41
|
#### :gear: zodToRust
|
|
42
42
|
|
|
@@ -56,7 +56,7 @@ Returns:
|
|
|
56
56
|
|
|
57
57
|
An object containing the generated Rust code and the base type name.
|
|
58
58
|
|
|
59
|
-
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-rust.ts#
|
|
59
|
+
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-rust.ts#L265)
|
|
60
60
|
|
|
61
61
|
#### :gear: zodToCandid
|
|
62
62
|
|
|
@@ -76,7 +76,7 @@ Returns:
|
|
|
76
76
|
|
|
77
77
|
An object containing the generated Candid type declaration and the base type name.
|
|
78
78
|
|
|
79
|
-
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-candid.ts#
|
|
79
|
+
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-candid.ts#L71)
|
|
80
80
|
|
|
81
81
|
### :tropical_drink: Interfaces
|
|
82
82
|
|
|
@@ -91,7 +91,7 @@ An object containing the generated Candid type declaration and the base type nam
|
|
|
91
91
|
| `baseName` | `string` | |
|
|
92
92
|
| `idl` | `IDL.Type` | |
|
|
93
93
|
|
|
94
|
-
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-idl.ts#
|
|
94
|
+
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-idl.ts#L44)
|
|
95
95
|
|
|
96
96
|
#### :gear: RustResult
|
|
97
97
|
|
|
@@ -100,7 +100,7 @@ An object containing the generated Candid type declaration and the base type nam
|
|
|
100
100
|
| `baseName` | `string` | |
|
|
101
101
|
| `code` | `string` | |
|
|
102
102
|
|
|
103
|
-
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-rust.ts#
|
|
103
|
+
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-rust.ts#L234)
|
|
104
104
|
|
|
105
105
|
#### :gear: CandidResult
|
|
106
106
|
|
|
@@ -109,7 +109,7 @@ An object containing the generated Candid type declaration and the base type nam
|
|
|
109
109
|
| `baseName` | `string` | |
|
|
110
110
|
| `code` | `string` | |
|
|
111
111
|
|
|
112
|
-
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-candid.ts#
|
|
112
|
+
[:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/functions-tools/src/converters/zod-to-candid.ts#L43)
|
|
113
113
|
|
|
114
114
|
<!-- TSDOC_END -->
|
|
115
115
|
|