@nullix/zod-mongoose-studio 3.3.1 → 3.3.3
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{BCIlnd0g.js → 5ZXm4f56.js} +1 -1
- package/.output/public/_nuxt/{DcJ7oPvZ.js → B2fcLSyW.js} +1 -1
- package/.output/public/_nuxt/{B0N6xv5E.js → BBN7l5Hn.js} +1 -1
- package/.output/public/_nuxt/BBTTtb8r.js +41 -0
- package/.output/public/_nuxt/{5Tu2WUJz.js → BDbISGvP.js} +1 -1
- package/.output/public/_nuxt/{D87QMS6j.js → BijI4RNx.js} +1 -1
- package/.output/public/_nuxt/{C2BHp-MG.js → Bp9qkJ9m.js} +1 -1
- package/.output/public/_nuxt/{I3Ucam2s.js → Bu3-sqCf.js} +1 -1
- package/.output/public/_nuxt/{BO4hqv6q.js → C-FtTvwz.js} +1 -1
- package/.output/public/_nuxt/C02JV0Aj.js +1 -0
- package/.output/public/_nuxt/{sKEJiAHO.js → C1UkIsDc.js} +1 -1
- package/.output/public/_nuxt/{CKULsFUz.js → CJT28r6J.js} +1 -1
- package/.output/public/_nuxt/{BNDnV2op.js → CL7qtgl2.js} +3 -3
- package/.output/public/_nuxt/{DA0pQuyP.js → CRMd2YH2.js} +3 -3
- package/.output/public/_nuxt/{DpKrXpkK.js → CRkdQgFz.js} +1 -1
- package/.output/public/_nuxt/{B0cUlOSM.js → Cw1XFOz5.js} +1 -1
- package/.output/public/_nuxt/{CzbCpNnc.js → D5yWk6Ly.js} +1 -1
- package/.output/public/_nuxt/{BOsJJ_ZU.js → DA9GjKpR.js} +1 -1
- package/.output/public/_nuxt/{Dce9SnGa.js → DaWAlZhp.js} +1 -1
- package/.output/public/_nuxt/{tqQNlhT9.js → DafLMUHo.js} +1 -1
- package/.output/public/_nuxt/{ypRHVLFO.js → Dyaldc-t.js} +1 -1
- package/.output/public/_nuxt/{o-NCh2rp.js → UU9fpRNQ.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/717459d8-0da1-42ed-af0b-9ec5395e8fdc.json +1 -0
- package/.output/public/_nuxt/entry.CDPplHzk.css +1 -0
- package/.output/public/_nuxt/error-404.hPtlUQpd.css +1 -0
- package/.output/public/_nuxt/error-500.E-PXUb6B.css +1 -0
- package/.output/public/_nuxt/{CMH9iX_E.js → kFZJW2-u.js} +2 -2
- package/.output/public/_nuxt/{DsnIpnT9.js → u3DlT5Mh.js} +1 -1
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/parse-request.mjs +29 -0
- package/.output/server/chunks/_/parse-request.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/{error-404-KRkA0DPI.mjs → error-404-aQ5PiVuX.mjs} +6 -12
- package/.output/server/chunks/build/error-404-aQ5PiVuX.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs.map +1 -0
- package/.output/server/chunks/build/{error-500-DIIFf55p.mjs → error-500-BY6ZAZZ2.mjs} +6 -12
- package/.output/server/chunks/build/error-500-BY6ZAZZ2.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs.map +1 -0
- package/.output/server/chunks/build/index-57_mtIua.mjs +235 -0
- package/.output/server/chunks/build/index-57_mtIua.mjs.map +1 -0
- package/.output/server/chunks/build/{index-CB1N4gax.mjs → index-Qa-4KqCB.mjs} +7 -13
- package/.output/server/chunks/build/index-Qa-4KqCB.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +3913 -3378
- package/.output/server/chunks/build/server.mjs.map +1 -1
- package/.output/server/chunks/build/styles.mjs +4 -4
- package/.output/server/chunks/nitro/nitro.mjs +652 -2278
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/editor-types.get.mjs +91 -28
- package/.output/server/chunks/routes/api/editor-types.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/parse.post.mjs +1599 -7
- package/.output/server/chunks/routes/api/parse.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/resolve.get.mjs +0 -6
- package/.output/server/chunks/routes/api/resolve.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/studio/run.post.mjs +50 -12
- package/.output/server/chunks/routes/api/studio/run.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +21 -44
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/index.mjs +1 -7
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/package.json +58 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/package.json +57 -0
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/dist/reactivity.cjs.prod.js +1905 -0
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/package.json +55 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/dist/runtime-core.cjs.prod.js +7006 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/package.json +52 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/dist/runtime-dom.cjs.prod.js +1867 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/package.json +60 -0
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/dist/shared.cjs.prod.js +655 -0
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/package.json +47 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/array-set.js +121 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64.js +67 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/binary-search.js +111 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/quick-sort.js +141 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-consumer.js +1236 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-generator.js +446 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-node.js +420 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/util.js +594 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/package.json +71 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/source-map.js +8 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/index.js +7 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/index.mjs +1 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/package.json +112 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +55 -21
- package/.output/server/node_modules/@babel/parser/package.json +7 -7
- package/.output/server/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/.output/server/node_modules/@esbuild/linux-x64/package.json +1 -1
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +19 -16
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +16 -16
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +11 -14
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +13 -16
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +2 -5
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +4 -5
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +9 -11
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +12 -18
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +5 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +1 -8
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +11 -12
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +5 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +7 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +2 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +5 -9
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +2 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +7 -8
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +10 -15
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +21 -13
- package/.output/server/node_modules/@iconify/utils/lib/index.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +3 -3
- package/.output/server/node_modules/@iconify/utils/lib/loader/hmr-utils.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +22 -22
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +7 -22
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +60 -16
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +9 -11
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +5 -4
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +2 -3
- package/.output/server/node_modules/@iconify/utils/package.json +15 -13
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +8 -1
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +34 -13
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -6
- package/.output/server/node_modules/devalue/index.js +15 -2
- package/.output/server/node_modules/devalue/package.json +5 -3
- package/.output/server/node_modules/devalue/src/base64.js +46 -96
- package/.output/server/node_modules/devalue/src/constants.js +5 -0
- package/.output/server/node_modules/devalue/src/operations.js +221 -0
- package/.output/server/node_modules/devalue/src/parse.js +76 -62
- package/.output/server/node_modules/devalue/src/stringify.js +164 -81
- package/.output/server/node_modules/devalue/src/uneval.js +312 -104
- package/.output/server/node_modules/devalue/src/utils.js +61 -19
- package/.output/server/node_modules/esbuild/lib/main.js +12 -8
- package/.output/server/node_modules/esbuild/package.json +50 -50
- package/.output/server/node_modules/hookable/dist/index.mjs +2 -11
- package/.output/server/node_modules/hookable/package.json +23 -22
- package/.output/server/node_modules/ip-address/dist/ipv4.js +7 -0
- package/.output/server/node_modules/ip-address/package.json +1 -1
- package/.output/server/node_modules/zod/package.json +20 -8
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -1
- package/.output/server/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +44 -35
- package/.output/server/node_modules/zod/v4/classic/external.js +5 -8
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +375 -78
- package/.output/server/node_modules/zod/v4/classic/in-out.js +36 -0
- package/.output/server/node_modules/zod/v4/classic/index.js +2 -2
- package/.output/server/node_modules/zod/v4/classic/iso.js +2 -17
- package/.output/server/node_modules/zod/v4/classic/package.json +2 -1
- package/.output/server/node_modules/zod/v4/classic/parse.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +601 -223
- package/.output/server/node_modules/zod/v4/core/api.js +51 -26
- package/.output/server/node_modules/zod/v4/core/checks.js +68 -127
- package/.output/server/node_modules/zod/v4/core/compile.js +1858 -0
- package/.output/server/node_modules/zod/v4/core/core.js +87 -22
- package/.output/server/node_modules/zod/v4/core/doc.js +12 -9
- package/.output/server/node_modules/zod/v4/core/errors.js +127 -42
- package/.output/server/node_modules/zod/v4/core/index.js +3 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +6 -2
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +413 -175
- package/.output/server/node_modules/zod/v4/core/memoizer.js +311 -0
- package/.output/server/node_modules/zod/v4/core/package.json +2 -1
- package/.output/server/node_modules/zod/v4/core/parse.js +130 -48
- package/.output/server/node_modules/zod/v4/core/regexes.js +39 -16
- package/.output/server/node_modules/zod/v4/core/registries.js +2 -2
- package/.output/server/node_modules/zod/v4/core/schemas.js +895 -382
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +253 -39
- package/.output/server/node_modules/zod/v4/core/util.js +383 -175
- package/.output/server/node_modules/zod/v4/core/versions.js +2 -2
- package/.output/server/node_modules/zod/v4/core/visit.js +169 -0
- package/.output/server/node_modules/zod/v4/index.js +3 -2
- package/.output/server/node_modules/zod/v4/locales/ar.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +12 -0
- package/.output/server/node_modules/zod/v4/locales/bg.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/bn.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ckb.js +133 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/da.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/de.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/el.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +20 -4
- package/.output/server/node_modules/zod/v4/locales/eo.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +38 -17
- package/.output/server/node_modules/zod/v4/locales/gu.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +7 -0
- package/.output/server/node_modules/zod/v4/locales/hi.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/hr.js +126 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/hy.js +11 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +14 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +6 -1
- package/.output/server/node_modules/zod/v4/locales/ja.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ka.js +13 -8
- package/.output/server/node_modules/zod/v4/locales/km.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/kn.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/lt.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ne.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/nn.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/ota.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/package.json +2 -1
- package/.output/server/node_modules/zod/v4/locales/pl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +89 -55
- package/.output/server/node_modules/zod/v4/locales/ro.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +12 -0
- package/.output/server/node_modules/zod/v4/locales/sk.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/ta.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/tg.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/tk.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uk.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uz.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/yo.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +5 -0
- package/.output/server/node_modules/zod/v4/package.json +2 -1
- package/.output/server/package.json +18 -18
- package/README.md +12 -1
- package/package.json +10 -9
- package/server/api/editor-types.get.ts +2 -23
- package/server/api/studio/run.post.ts +18 -6
- package/server/utils/editor-types.json +1 -0
- package/.output/public/_nuxt/B9paGgN0.js +0 -33
- package/.output/public/_nuxt/builds/meta/51f1351c-0667-4235-9ddc-16582a51ce03.json +0 -1
- package/.output/public/_nuxt/entry.B-vs1tRH.css +0 -1
- package/.output/public/_nuxt/error-404.CTSXlFYa.css +0 -1
- package/.output/public/_nuxt/error-500.DqEfQnVZ.css +0 -1
- package/.output/server/chunks/build/error-404-KRkA0DPI.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs +0 -8
- package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-DIIFf55p.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs +0 -8
- package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs.map +0 -1
- package/.output/server/chunks/build/index-CB1N4gax.mjs.map +0 -1
- /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/dist/compiler-core.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/dist/compiler-dom.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/dist/reactivity.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/dist/runtime-core.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/dist/runtime-dom.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/dist/shared.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/array-set.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64-vlq.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/binary-search.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/mapping-list.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/quick-sort.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-consumer.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-generator.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-node.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/util.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/package.json +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/source-map.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.mjs +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.43}/server-renderer/index.mjs +0 -0
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "ไบต์", verb: "ควรมี" },
|
|
6
6
|
array: { unit: "รายการ", verb: "ควรมี" },
|
|
7
7
|
set: { unit: "รายการ", verb: "ควรมี" },
|
|
8
|
+
map: { unit: "รายการ", verb: "ควรมี" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ช่วงเวลาแบบ ISO",
|
|
31
32
|
ipv4: "ที่อยู่ IPv4",
|
|
32
33
|
ipv6: "ที่อยู่ IPv6",
|
|
34
|
+
mac: "ที่อยู่ MAC",
|
|
33
35
|
cidrv4: "ช่วง IP แบบ IPv4",
|
|
34
36
|
cidrv6: "ช่วง IP แบบ IPv6",
|
|
35
37
|
base64: "ข้อความแบบ Base64",
|
|
36
38
|
base64url: "ข้อความแบบ Base64 สำหรับ URL",
|
|
37
39
|
json_string: "ข้อความแบบ JSON",
|
|
38
40
|
e164: "เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",
|
|
41
|
+
credit_card: "หมายเลขบัตรเครดิต",
|
|
42
|
+
currency_code: "รหัสสกุลเงิน",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "โทเคน JWT",
|
|
40
45
|
template_literal: "ข้อมูลที่ป้อน",
|
|
41
46
|
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as util from "../core/util.js";
|
|
2
|
+
const error = () => {
|
|
3
|
+
const Sizable = {
|
|
4
|
+
string: { unit: "simwol", verb: "bolmaly" },
|
|
5
|
+
file: { unit: "baýt", verb: "bolmaly" },
|
|
6
|
+
array: { unit: "elementler", verb: "bolmaly" },
|
|
7
|
+
set: { unit: "elementler", verb: "bolmaly" },
|
|
8
|
+
map: { unit: "elementler", verb: "bolmaly" },
|
|
9
|
+
};
|
|
10
|
+
function getSizing(origin) {
|
|
11
|
+
return Sizable[origin] ?? null;
|
|
12
|
+
}
|
|
13
|
+
const FormatDictionary = {
|
|
14
|
+
regex: "giriş",
|
|
15
|
+
email: "e-poçta salgysy",
|
|
16
|
+
url: "URL",
|
|
17
|
+
emoji: "emoji",
|
|
18
|
+
uuid: "UUID",
|
|
19
|
+
uuidv4: "UUIDv4",
|
|
20
|
+
uuidv6: "UUIDv6",
|
|
21
|
+
nanoid: "nanoid",
|
|
22
|
+
guid: "GUID",
|
|
23
|
+
cuid: "cuid",
|
|
24
|
+
cuid2: "cuid2",
|
|
25
|
+
ulid: "ULID",
|
|
26
|
+
xid: "XID",
|
|
27
|
+
ksuid: "KSUID",
|
|
28
|
+
datetime: "ISO sene we wagt",
|
|
29
|
+
date: "ISO sene",
|
|
30
|
+
time: "ISO wagt",
|
|
31
|
+
duration: "ISO wagt aralygy",
|
|
32
|
+
ipv4: "IPv4 salgysy",
|
|
33
|
+
ipv6: "IPv6 salgysy",
|
|
34
|
+
mac: "MAC salgysy",
|
|
35
|
+
cidrv4: "IPv4 aralygy",
|
|
36
|
+
cidrv6: "IPv6 aralygy",
|
|
37
|
+
base64: "base64 bilen şifrlenen setir",
|
|
38
|
+
base64url: "base64url bilen şifrlenen setir",
|
|
39
|
+
json_string: "JSON setiri",
|
|
40
|
+
e164: "E.164 nomeri",
|
|
41
|
+
credit_card: "kredit kartynyň nomeri",
|
|
42
|
+
currency_code: "walýuta kody",
|
|
43
|
+
iban: "IBAN",
|
|
44
|
+
jwt: "JWT",
|
|
45
|
+
template_literal: "şablon",
|
|
46
|
+
};
|
|
47
|
+
const TypeDictionary = {
|
|
48
|
+
nan: "NaN",
|
|
49
|
+
};
|
|
50
|
+
return (issue) => {
|
|
51
|
+
switch (issue.code) {
|
|
52
|
+
case "invalid_type": {
|
|
53
|
+
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
54
|
+
const receivedType = util.parsedType(issue.input);
|
|
55
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
56
|
+
return `Nädogry baha: garaşylan ${expected} ýerine ${received} alyndy`;
|
|
57
|
+
}
|
|
58
|
+
case "invalid_value":
|
|
59
|
+
if (issue.values.length === 1)
|
|
60
|
+
return `Nädogry baha: ${util.stringifyPrimitive(issue.values[0])} bolmaly`;
|
|
61
|
+
return `Nädogry saýlaw: aşakdakylardan biri bolmaly: ${util.joinValues(issue.values, "|")}`;
|
|
62
|
+
case "too_big": {
|
|
63
|
+
const adj = issue.inclusive ? "<=" : "<";
|
|
64
|
+
const sizing = getSizing(issue.origin);
|
|
65
|
+
if (sizing)
|
|
66
|
+
return `Has uly: garaşylýan ${issue.origin ?? "baha"} ${adj} ${issue.maximum.toString()} ${sizing.unit ?? "element"}`;
|
|
67
|
+
return `Has uly: garaşylýan ${issue.origin ?? "baha"} ${adj} ${issue.maximum.toString()}`;
|
|
68
|
+
}
|
|
69
|
+
case "too_small": {
|
|
70
|
+
const adj = issue.inclusive ? ">=" : ">";
|
|
71
|
+
const sizing = getSizing(issue.origin);
|
|
72
|
+
if (sizing)
|
|
73
|
+
return `Has kiçi: garaşylýan ${issue.origin} ${adj} ${issue.minimum.toString()} ${sizing.unit}`;
|
|
74
|
+
return `Has kiçi: garaşylýan ${issue.origin} ${adj} ${issue.minimum.toString()}`;
|
|
75
|
+
}
|
|
76
|
+
case "invalid_format": {
|
|
77
|
+
const _issue = issue;
|
|
78
|
+
if (_issue.format === "starts_with")
|
|
79
|
+
return `Nädogry setir: "${_issue.prefix}" bilen başlamaly`;
|
|
80
|
+
if (_issue.format === "ends_with")
|
|
81
|
+
return `Nädogry setir: "${_issue.suffix}" bilen gutarmaly`;
|
|
82
|
+
if (_issue.format === "includes")
|
|
83
|
+
return `Nädogry setir: "${_issue.includes}" saklamaly`;
|
|
84
|
+
if (_issue.format === "regex")
|
|
85
|
+
return `Nädogry setir: ${_issue.pattern} nusga laýyk bolmaly`;
|
|
86
|
+
return `Nädogry ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
87
|
+
}
|
|
88
|
+
case "not_multiple_of":
|
|
89
|
+
return `Nädogry san: ${issue.divisor} bilen galyndysyz bölünmeli`;
|
|
90
|
+
case "unrecognized_keys":
|
|
91
|
+
return `Tanalmaýan açar${issue.keys.length > 1 ? "lar" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
92
|
+
case "invalid_key":
|
|
93
|
+
return `${issue.origin} içinde nädogry açar`;
|
|
94
|
+
case "invalid_union":
|
|
95
|
+
return "Nädogry baha";
|
|
96
|
+
case "invalid_element":
|
|
97
|
+
return `${issue.origin} içinde nädogry baha`;
|
|
98
|
+
default:
|
|
99
|
+
return `Nädogry baha`;
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export default function () {
|
|
104
|
+
return {
|
|
105
|
+
localeError: error(),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "bayt", verb: "olmalı" },
|
|
6
6
|
array: { unit: "öğe", verb: "olmalı" },
|
|
7
7
|
set: { unit: "öğe", verb: "olmalı" },
|
|
8
|
+
map: { unit: "öğe", verb: "olmalı" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO süre",
|
|
31
32
|
ipv4: "IPv4 adresi",
|
|
32
33
|
ipv6: "IPv6 adresi",
|
|
34
|
+
mac: "MAC adresi",
|
|
33
35
|
cidrv4: "IPv4 aralığı",
|
|
34
36
|
cidrv6: "IPv6 aralığı",
|
|
35
37
|
base64: "base64 ile şifrelenmiş metin",
|
|
36
38
|
base64url: "base64url ile şifrelenmiş metin",
|
|
37
39
|
json_string: "JSON dizesi",
|
|
38
40
|
e164: "E.164 sayısı",
|
|
41
|
+
credit_card: "kredi kartı numarası",
|
|
42
|
+
currency_code: "para birimi kodu",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "Şablon dizesi",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "байтів", verb: "матиме" },
|
|
6
6
|
array: { unit: "елементів", verb: "матиме" },
|
|
7
7
|
set: { unit: "елементів", verb: "матиме" },
|
|
8
|
+
map: { unit: "елементів", verb: "матиме" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "тривалість ISO",
|
|
31
32
|
ipv4: "адреса IPv4",
|
|
32
33
|
ipv6: "адреса IPv6",
|
|
34
|
+
mac: "адреса MAC",
|
|
33
35
|
cidrv4: "діапазон IPv4",
|
|
34
36
|
cidrv6: "діапазон IPv6",
|
|
35
37
|
base64: "рядок у кодуванні base64",
|
|
36
38
|
base64url: "рядок у кодуванні base64url",
|
|
37
39
|
json_string: "рядок JSON",
|
|
38
40
|
e164: "номер E.164",
|
|
41
|
+
credit_card: "номер кредитної картки",
|
|
42
|
+
currency_code: "код валюти",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "вхідні дані",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "بائٹس", verb: "ہونا" },
|
|
6
6
|
array: { unit: "آئٹمز", verb: "ہونا" },
|
|
7
7
|
set: { unit: "آئٹمز", verb: "ہونا" },
|
|
8
|
+
map: { unit: "آئٹمز", verb: "ہونا" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "آئی ایس او مدت",
|
|
31
32
|
ipv4: "آئی پی وی 4 ایڈریس",
|
|
32
33
|
ipv6: "آئی پی وی 6 ایڈریس",
|
|
34
|
+
mac: "ایم اے سی ایڈریس",
|
|
33
35
|
cidrv4: "آئی پی وی 4 رینج",
|
|
34
36
|
cidrv6: "آئی پی وی 6 رینج",
|
|
35
37
|
base64: "بیس 64 ان کوڈڈ سٹرنگ",
|
|
36
38
|
base64url: "بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",
|
|
37
39
|
json_string: "جے ایس او این سٹرنگ",
|
|
38
40
|
e164: "ای 164 نمبر",
|
|
41
|
+
credit_card: "کریڈٹ کارڈ نمبر",
|
|
42
|
+
currency_code: "کرنسی کوڈ",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "جے ڈبلیو ٹی",
|
|
40
45
|
template_literal: "ان پٹ",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "bayt", verb: "bo‘lishi kerak" },
|
|
6
6
|
array: { unit: "element", verb: "bo‘lishi kerak" },
|
|
7
7
|
set: { unit: "element", verb: "bo‘lishi kerak" },
|
|
8
|
+
map: { unit: "yozuv", verb: "bo‘lishi kerak" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -37,6 +38,9 @@ const error = () => {
|
|
|
37
38
|
base64url: "base64url kodlangan satr",
|
|
38
39
|
json_string: "JSON satr",
|
|
39
40
|
e164: "E.164 raqam",
|
|
41
|
+
credit_card: "kredit karta raqami",
|
|
42
|
+
currency_code: "valyuta kodi",
|
|
43
|
+
iban: "IBAN",
|
|
40
44
|
jwt: "JWT",
|
|
41
45
|
template_literal: "kirish",
|
|
42
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "byte", verb: "có" },
|
|
6
6
|
array: { unit: "phần tử", verb: "có" },
|
|
7
7
|
set: { unit: "phần tử", verb: "có" },
|
|
8
|
+
map: { unit: "phần tử", verb: "có" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "khoảng thời gian ISO",
|
|
31
32
|
ipv4: "địa chỉ IPv4",
|
|
32
33
|
ipv6: "địa chỉ IPv6",
|
|
34
|
+
mac: "địa chỉ MAC",
|
|
33
35
|
cidrv4: "dải IPv4",
|
|
34
36
|
cidrv6: "dải IPv6",
|
|
35
37
|
base64: "chuỗi mã hóa base64",
|
|
36
38
|
base64url: "chuỗi mã hóa base64url",
|
|
37
39
|
json_string: "chuỗi JSON",
|
|
38
40
|
e164: "số E.164",
|
|
41
|
+
credit_card: "số thẻ tín dụng",
|
|
42
|
+
currency_code: "mã tiền tệ",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "đầu vào",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "bytes", verb: "ní" },
|
|
6
6
|
array: { unit: "nkan", verb: "ní" },
|
|
7
7
|
set: { unit: "nkan", verb: "ní" },
|
|
8
|
+
map: { unit: "nkan", verb: "ní" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "àkókò tó pé ISO",
|
|
31
32
|
ipv4: "àdírẹ́sì IPv4",
|
|
32
33
|
ipv6: "àdírẹ́sì IPv6",
|
|
34
|
+
mac: "àdírẹ́sì MAC",
|
|
33
35
|
cidrv4: "àgbègbè IPv4",
|
|
34
36
|
cidrv6: "àgbègbè IPv6",
|
|
35
37
|
base64: "ọ̀rọ̀ tí a kọ́ ní base64",
|
|
36
38
|
base64url: "ọ̀rọ̀ base64url",
|
|
37
39
|
json_string: "ọ̀rọ̀ JSON",
|
|
38
40
|
e164: "nọ́mbà E.164",
|
|
41
|
+
credit_card: "nọmba kaadi gbese",
|
|
42
|
+
currency_code: "koodu owó",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "ẹ̀rọ ìbáwọlé",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "字节", verb: "包含" },
|
|
6
6
|
array: { unit: "项", verb: "包含" },
|
|
7
7
|
set: { unit: "项", verb: "包含" },
|
|
8
|
+
map: { unit: "项", verb: "包含" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO时长",
|
|
31
32
|
ipv4: "IPv4地址",
|
|
32
33
|
ipv6: "IPv6地址",
|
|
34
|
+
mac: "MAC地址",
|
|
33
35
|
cidrv4: "IPv4网段",
|
|
34
36
|
cidrv6: "IPv6网段",
|
|
35
37
|
base64: "base64编码字符串",
|
|
36
38
|
base64url: "base64url编码字符串",
|
|
37
39
|
json_string: "JSON字符串",
|
|
38
40
|
e164: "E.164号码",
|
|
41
|
+
credit_card: "信用卡号",
|
|
42
|
+
currency_code: "货币代码",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "输入",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "位元組", verb: "擁有" },
|
|
6
6
|
array: { unit: "項目", verb: "擁有" },
|
|
7
7
|
set: { unit: "項目", verb: "擁有" },
|
|
8
|
+
map: { unit: "項目", verb: "擁有" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO 期間",
|
|
31
32
|
ipv4: "IPv4 位址",
|
|
32
33
|
ipv6: "IPv6 位址",
|
|
34
|
+
mac: "MAC 位址",
|
|
33
35
|
cidrv4: "IPv4 範圍",
|
|
34
36
|
cidrv6: "IPv6 範圍",
|
|
35
37
|
base64: "base64 編碼字串",
|
|
36
38
|
base64url: "base64url 編碼字串",
|
|
37
39
|
json_string: "JSON 字串",
|
|
38
40
|
e164: "E.164 數值",
|
|
41
|
+
credit_card: "信用卡號",
|
|
42
|
+
currency_code: "貨幣代碼",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "輸入",
|
|
41
46
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nullix/zod-mongoose-studio-prod",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@babel/parser": "7.29.
|
|
8
|
-
"@esbuild/linux-x64": "0.28.
|
|
9
|
-
"@iconify/utils": "3.1.
|
|
7
|
+
"@babel/parser": "7.29.9",
|
|
8
|
+
"@esbuild/linux-x64": "0.28.2",
|
|
9
|
+
"@iconify/utils": "3.1.7",
|
|
10
10
|
"@mongodb-js/saslprep": "1.4.6",
|
|
11
|
-
"@vue/compiler-core": "3.5.
|
|
12
|
-
"@vue/compiler-dom": "3.5.
|
|
13
|
-
"@vue/compiler-ssr": "3.5.
|
|
14
|
-
"@vue/reactivity": "3.5.
|
|
15
|
-
"@vue/runtime-core": "3.5.
|
|
16
|
-
"@vue/runtime-dom": "3.5.
|
|
17
|
-
"@vue/server-renderer": "3.5.
|
|
18
|
-
"@vue/shared": "3.5.
|
|
11
|
+
"@vue/compiler-core": "3.5.43",
|
|
12
|
+
"@vue/compiler-dom": "3.5.43",
|
|
13
|
+
"@vue/compiler-ssr": "3.5.43",
|
|
14
|
+
"@vue/reactivity": "3.5.43",
|
|
15
|
+
"@vue/runtime-core": "3.5.43",
|
|
16
|
+
"@vue/runtime-dom": "3.5.43",
|
|
17
|
+
"@vue/server-renderer": "3.5.43",
|
|
18
|
+
"@vue/shared": "3.5.43",
|
|
19
19
|
"acorn": "8.16.0",
|
|
20
20
|
"bson": "7.2.0",
|
|
21
21
|
"consola": "3.4.2",
|
|
22
|
-
"devalue": "5.
|
|
22
|
+
"devalue": "5.9.4",
|
|
23
23
|
"entities": "7.0.1",
|
|
24
|
-
"esbuild": "0.28.
|
|
24
|
+
"esbuild": "0.28.2",
|
|
25
25
|
"estree-walker": "2.0.2",
|
|
26
|
-
"hookable": "6.1.
|
|
27
|
-
"ip-address": "10.7.
|
|
26
|
+
"hookable": "6.1.2",
|
|
27
|
+
"ip-address": "10.7.3",
|
|
28
28
|
"kareem": "3.3.0",
|
|
29
29
|
"memory-pager": "1.5.0",
|
|
30
30
|
"mongodb": "7.2.0",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"tr46": "5.1.1",
|
|
45
45
|
"ufo": "1.6.4",
|
|
46
46
|
"unhead": "2.1.12",
|
|
47
|
-
"vue": "3.5.
|
|
47
|
+
"vue": "3.5.43",
|
|
48
48
|
"vue-bundle-renderer": "2.2.0",
|
|
49
49
|
"webidl-conversions": "7.0.0",
|
|
50
50
|
"whatwg-url": "14.2.0",
|
|
51
|
-
"zod": "4.
|
|
51
|
+
"zod": "4.6.5"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/README.md
CHANGED
|
@@ -153,6 +153,8 @@ Local CLI mode continues to run directly, binds to `127.0.0.1`, and checks API h
|
|
|
153
153
|
|
|
154
154
|
Running `pnpm --filter @nullix/zod-mongoose-studio dev` also uses the local parse endpoint, without Docker. In docs mode the editors remain usable without a runner, but Run reports that the runner is unavailable until the container and `STUDIO_RUNNER_SOCKET` are configured.
|
|
155
155
|
|
|
156
|
+
The Monaco Zod declarations are bundled from `server/utils/editor-types.json`; production does not read declaration files from `node_modules`. After updating Zod, regenerate that file with `pnpm --filter @nullix/zod-mongoose-studio generate:editor-types` and commit it with the dependency update.
|
|
157
|
+
|
|
156
158
|
## Project Structure
|
|
157
159
|
|
|
158
160
|
```text
|
|
@@ -178,4 +180,13 @@ Please refer to the monorepo root for development and contribution guidelines.
|
|
|
178
180
|
|
|
179
181
|
## License
|
|
180
182
|
|
|
181
|
-
MIT
|
|
183
|
+
MIT
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## 💖 Support the Project
|
|
187
|
+
|
|
188
|
+
If you find `@nullix/zod-mongoose-studio` helpful, consider supporting its development:
|
|
189
|
+
|
|
190
|
+
- 🩵 [Sponsor on GitHub](https://github.com/sponsors/Harm-Nullix)
|
|
191
|
+
- ⭐ Star the repository on GitHub
|
|
192
|
+
- 💬 Share it with your developer community
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nullix/zod-mongoose-studio",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "Monaco-powered TypeScript playground for @nullix/zod-mongoose",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"bin": {
|
|
@@ -40,25 +40,26 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"acorn": "8.16.0",
|
|
43
|
-
"esbuild": "0.28.
|
|
43
|
+
"esbuild": "0.28.2",
|
|
44
44
|
"get-port-please": "3.2.0",
|
|
45
45
|
"mongoose": "9.6.3",
|
|
46
|
-
"open": "11.0.
|
|
47
|
-
"zod": "4.
|
|
48
|
-
"@nullix/zod-mongoose": "3.3.
|
|
46
|
+
"open": "11.0.4",
|
|
47
|
+
"zod": "4.6.5",
|
|
48
|
+
"@nullix/zod-mongoose": "3.3.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@nuxt/ui": "4.
|
|
51
|
+
"@nuxt/ui": "4.11.3",
|
|
52
52
|
"@types/node": "24.12.1",
|
|
53
53
|
"monaco-editor": "0.55.1",
|
|
54
54
|
"nuxt": "4.4.2",
|
|
55
55
|
"tailwindcss": "4.2.2",
|
|
56
|
-
"typescript": "
|
|
57
|
-
"vue": "3.5.
|
|
56
|
+
"typescript": "7.0.2",
|
|
57
|
+
"vue": "3.5.43",
|
|
58
58
|
"vue-tsc": "3.2.6"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
|
-
"
|
|
61
|
+
"generate:editor-types": "node scripts/generate-editor-types.mjs",
|
|
62
|
+
"build": "nuxt build",
|
|
62
63
|
"dev": "nuxt dev -p 34003",
|
|
63
64
|
"generate": "nuxt generate",
|
|
64
65
|
"preview": "nuxt preview",
|
|
@@ -1,28 +1,7 @@
|
|
|
1
|
-
import { readdir, readFile } from "node:fs/promises";
|
|
2
|
-
import { dirname, join, relative } from "node:path";
|
|
3
|
-
import { createRequire } from "node:module";
|
|
4
1
|
import { setHeader } from "h3";
|
|
5
|
-
|
|
6
|
-
const require = createRequire(import.meta.url);
|
|
7
|
-
const zodRoot = dirname(dirname(require.resolve("zod/v4")));
|
|
8
|
-
let cachedTypes: Promise<Record<string, string>> | undefined;
|
|
9
|
-
|
|
10
|
-
async function collect(directory: string, files: Record<string, string>) {
|
|
11
|
-
for (const entry of await readdir(directory, { withFileTypes: true })) {
|
|
12
|
-
const path = join(directory, entry.name);
|
|
13
|
-
if (entry.isDirectory()) await collect(path, files);
|
|
14
|
-
else if (entry.name.endsWith(".d.ts")) {
|
|
15
|
-
files[`file:///node_modules/zod/${relative(zodRoot, path).replaceAll("\\", "/")}`] = await readFile(path, "utf8");
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
2
|
+
import editorTypes from "../utils/editor-types.json";
|
|
19
3
|
|
|
20
4
|
export default defineEventHandler((event) => {
|
|
21
5
|
setHeader(event, "Cache-Control", "public, max-age=3600");
|
|
22
|
-
|
|
23
|
-
const files: Record<string, string> = {};
|
|
24
|
-
await collect(join(zodRoot, "v4"), files);
|
|
25
|
-
return files;
|
|
26
|
-
})();
|
|
27
|
-
return cachedTypes;
|
|
6
|
+
return editorTypes;
|
|
28
7
|
});
|
|
@@ -4,14 +4,26 @@ import { runInContainer } from "../../utils/runner-client";
|
|
|
4
4
|
|
|
5
5
|
export default defineEventHandler(async (event) => {
|
|
6
6
|
if (!useRuntimeConfig(event).public.isDocsMode) {
|
|
7
|
-
throw createError({
|
|
7
|
+
throw createError({
|
|
8
|
+
statusCode: 403,
|
|
9
|
+
message: "Use the local Studio endpoint in CLI mode.",
|
|
10
|
+
});
|
|
8
11
|
}
|
|
9
|
-
const socketPath =
|
|
10
|
-
|
|
12
|
+
const socketPath =
|
|
13
|
+
process.env.STUDIO_RUNNER_SOCKET || "/run/zod-studio/runner.sock";
|
|
14
|
+
if (!socketPath)
|
|
15
|
+
throw createError({
|
|
16
|
+
statusCode: 503,
|
|
17
|
+
message: "Studio runner is not configured.",
|
|
18
|
+
});
|
|
11
19
|
const body = await readStudioRequest(event);
|
|
12
|
-
try {
|
|
13
|
-
|
|
20
|
+
try {
|
|
21
|
+
return await runInContainer(body, socketPath);
|
|
22
|
+
} catch (error: any) {
|
|
14
23
|
if (error?.statusCode) throw error;
|
|
15
|
-
throw createError({
|
|
24
|
+
throw createError({
|
|
25
|
+
statusCode: 503,
|
|
26
|
+
message: "Studio runner is unavailable. Try again shortly.",
|
|
27
|
+
});
|
|
16
28
|
}
|
|
17
29
|
});
|