jazz-tools 0.14.2 → 0.14.4
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-WLOZKDOH.js → chunk-6QMAFVZO.js} +3 -1
- package/dist/{chunk-WLOZKDOH.js.map → chunk-6QMAFVZO.js.map} +1 -1
- package/dist/implementation/zodSchema/runtimeConverters/zodFieldToCoFieldDef.d.ts.map +1 -1
- package/dist/implementation/zodSchema/typeConverters/InstanceOrPrimitiveOfSchema.d.ts +1 -1
- package/dist/implementation/zodSchema/typeConverters/InstanceOrPrimitiveOfSchema.d.ts.map +1 -1
- package/dist/implementation/zodSchema/typeConverters/InstanceOrPrimitiveOfSchemaCoValuesNullable.d.ts +1 -1
- package/dist/implementation/zodSchema/typeConverters/InstanceOrPrimitiveOfSchemaCoValuesNullable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/dist/tests/coMap.record.test-d.d.ts +2 -0
- package/dist/tests/coMap.record.test-d.d.ts.map +1 -0
- package/dist/tests/coMap.test-d.d.ts +2 -0
- package/dist/tests/coMap.test-d.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/implementation/zodSchema/runtimeConverters/zodFieldToCoFieldDef.ts +3 -0
- package/src/implementation/zodSchema/typeConverters/InstanceOrPrimitiveOfSchema.ts +3 -1
- package/src/implementation/zodSchema/typeConverters/InstanceOrPrimitiveOfSchemaCoValuesNullable.ts +3 -1
- package/src/tests/coList.test.ts +9 -0
- package/src/tests/coMap.record.test-d.ts +149 -0
- package/src/tests/coMap.record.test.ts +11 -0
- package/src/tests/coMap.test-d.ts +348 -0
- package/src/tests/coMap.test.ts +8 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> jazz-tools@0.14.
|
2
|
+
> jazz-tools@0.14.4 build /home/runner/_work/jazz/jazz/packages/jazz-tools
|
3
3
|
> tsup && pnpm types
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
|
@@ -9,14 +9,14 @@
|
|
9
9
|
[34mCLI[39m Target: es2021
|
10
10
|
[34mCLI[39m Cleaning output folder
|
11
11
|
[34mESM[39m Build start
|
12
|
-
[32mESM[39m [1mdist/index.js [22m[32m11.03 KB[39m
|
13
12
|
[32mESM[39m [1mdist/testing.js [22m[32m6.31 KB[39m
|
14
|
-
[32mESM[39m [1mdist/
|
15
|
-
[32mESM[39m [1mdist/
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m11.03 KB[39m
|
14
|
+
[32mESM[39m [1mdist/chunk-6QMAFVZO.js [22m[32m130.54 KB[39m
|
16
15
|
[32mESM[39m [1mdist/testing.js.map [22m[32m12.57 KB[39m
|
17
|
-
[32mESM[39m [1mdist/
|
18
|
-
[32mESM[39m
|
16
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m20.74 KB[39m
|
17
|
+
[32mESM[39m [1mdist/chunk-6QMAFVZO.js.map [22m[32m304.41 KB[39m
|
18
|
+
[32mESM[39m ⚡️ Build success in 51ms
|
19
19
|
|
20
|
-
> jazz-tools@0.14.
|
20
|
+
> jazz-tools@0.14.4 types /home/runner/_work/jazz/jazz/packages/jazz-tools
|
21
21
|
> tsc --outDir dist
|
22
22
|
|
package/CHANGELOG.md
CHANGED
@@ -3682,6 +3682,8 @@ function zodFieldToCoFieldDef(schema) {
|
|
3682
3682
|
return coField.boolean;
|
3683
3683
|
} else if (schema._zod.def.type === "null") {
|
3684
3684
|
return coField.null;
|
3685
|
+
} else if (schema._zod.def.type === "enum") {
|
3686
|
+
return coField.string;
|
3685
3687
|
} else if (schema._zod.def.type === "date") {
|
3686
3688
|
return coField.Date;
|
3687
3689
|
} else if (schema._zod.def.type === "literal") {
|
@@ -4536,4 +4538,4 @@ export {
|
|
4536
4538
|
JazzContextManager
|
4537
4539
|
};
|
4538
4540
|
/* istanbul ignore file -- @preserve */
|
4539
|
-
//# sourceMappingURL=chunk-
|
4541
|
+
//# sourceMappingURL=chunk-6QMAFVZO.js.map
|