@trpc-panel/core 1.0.3 → 1.0.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/lib/index.js +4 -1
- package/lib/index.mjs +4 -1
- package/lib/react-app/bundle.js +121 -121
- package/lib/react-app/index.css +4 -0
- package/lib/scripts/debug-render.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -13670,7 +13670,10 @@ var parseZodEnumDef = (def, refs) => {
|
|
|
13670
13670
|
|
|
13671
13671
|
// src/parse/input-mappers/zod/parsers/parseZodLiteralDef.tsx
|
|
13672
13672
|
var parseZodLiteralDef = (def, refs) => {
|
|
13673
|
-
|
|
13673
|
+
let value = def.values && def.values.length > 0 ? def.values[0] : def.value;
|
|
13674
|
+
if (typeof value === "bigint") {
|
|
13675
|
+
value = value.toString();
|
|
13676
|
+
}
|
|
13674
13677
|
refs.addDataFunctions.addDescriptionIfExists(def, refs);
|
|
13675
13678
|
return {
|
|
13676
13679
|
type: "literal",
|
package/lib/index.mjs
CHANGED
|
@@ -13632,7 +13632,10 @@ var parseZodEnumDef = (def, refs) => {
|
|
|
13632
13632
|
|
|
13633
13633
|
// src/parse/input-mappers/zod/parsers/parseZodLiteralDef.tsx
|
|
13634
13634
|
var parseZodLiteralDef = (def, refs) => {
|
|
13635
|
-
|
|
13635
|
+
let value = def.values && def.values.length > 0 ? def.values[0] : def.value;
|
|
13636
|
+
if (typeof value === "bigint") {
|
|
13637
|
+
value = value.toString();
|
|
13638
|
+
}
|
|
13636
13639
|
refs.addDataFunctions.addDescriptionIfExists(def, refs);
|
|
13637
13640
|
return {
|
|
13638
13641
|
type: "literal",
|