Versions
- Open: VersionChanges from v29 to v30+4-2
const minizodExampleSchema = () =>me.minizod().chain((z) =>z.func()⦚ 3 unchanged lines ⦚import { minizod } from "https://esm.town/v/zackoverflow/minizod";export const minizodExampleSchema = () =>minizod().chain((z) =>z.func()⦚ 3 unchanged lines ⦚ - Open: VersionChanges from v28 to v29+0-6
// const minizodExampleSchema = @me.minizod().chain((z) =>// z// .func()// .args(z.tuple().item(z.object({ name: z.string() })))// .ret(z.promise().return(z.object({ text: z.string() })))// ).impl(async ({ name }) => ({ text: `Hello, ${name}!` }));const minizodExampleSchema = () =>me.minizod().chain((z) =>⦚ 5 unchanged lines ⦚const minizodExampleSchema = () =>me.minizod().chain((z) =>⦚ 5 unchanged lines ⦚ - Open: VersionChanges from v27 to v28+0-0⦚ 13 unchanged lines ⦚⦚ 13 unchanged lines ⦚
- Open: VersionChanges from v26 to v27+8-7
const minizodExampleSchema = me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text: `Hello, ${name}!` }));// const minizodExampleSchema = @me.minizod().chain((z) =>// z// .func()// .args(z.tuple().item(z.object({ name: z.string() })))// .ret(z.promise().return(z.object({ text: z.string() })))// )// const minizodExampleSchema = @me.minizod().chain((z) =>// z// .func()// .args(z.tuple().item(z.object({ name: z.string() })))// .ret(z.promise().return(z.object({ text: z.string() })))// ).impl(async ({ name }) => ({ text: `Hello, ${name}!` }));const minizodExampleSchema = () =>me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))); - Open: VersionChanges from v25 to v26+7-1⦚ 3 unchanged lines ⦚.args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))
).impl(async ({ name }) => ({ text: `Hello, ${name}!` }));⦚ 3 unchanged lines ⦚.args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text: `Hello, ${name}!` }));// const minizodExampleSchema = @me.minizod().chain((z) =>// z// .func()// .args(z.tuple().item(z.object({ name: z.string() })))// .ret(z.promise().return(z.object({ text: z.string() })))// ) - Open: VersionChanges from v24 to v25+6-8
const untitled_fuchsiaWhale = (async () => {const minizodExampleSchema = me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text }`Hello, ${name}!`));})();const minizodExampleSchema = me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text: `Hello, ${name}!` })); - Open: VersionChanges from v23 to v24+4-3
const minizodExampleSchema = () =>me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() }))));const untitled_fuchsiaWhale = (async () => {const minizodExampleSchema = me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text }`Hello, ${name}!`));})(); - Open: VersionChanges from v22 to v23+7-6
const minizodExample = me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text: `Hello, ${name}` }));const minizodExampleSchema = () =>me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))); - Open: Version+6-0const minizodExample = me.minizod().chain((z) =>z.func().args(z.tuple().item(z.object({ name: z.string() }))).ret(z.promise().return(z.object({ text: z.string() })))).impl(async ({ name }) => ({ text: `Hello, ${name}` }));
Updated: October 23, 2023