Versions

  • v30

    10/23/2023
    Open: Version
    Changes 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 ⦚
  • v29

    8/24/2023
    Open: Version
    Changes 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 ⦚
  • v28

    8/24/2023
    Open: Version
    Changes from v27 to v28
    +0
    -0
    ⦚ 13 unchanged lines ⦚
    ⦚ 13 unchanged lines ⦚
  • v27

    8/24/2023
    Open: Version
    Changes 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() })))
    );
  • v26

    8/24/2023
    Open: Version
    Changes 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() })))
    // )
  • v25

    8/24/2023
    Open: Version
    Changes 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}!` }));
  • v24

    8/24/2023
    Open: Version
    Changes 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}!`));
    })();
  • v23

    8/24/2023
    Open: Version
    Changes 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() })))
    );
  • v22

    8/24/2023
    Open: Version
    +6
    -0

    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}` }));
Updated: October 23, 2023