Versions

  • v3

    7/15/2024
    Open: Version
    Changes from v2 to v3
    +4
    -3
    import { Type } from "npm:@sinclair/typebox";

    const querystring = Type.Object({
    v: Type.Optional(Type.Integer({ minimum: 0 })),
    });

    console.log(JSON.stringify(querystring));
    import { Type } from "npm:@sinclair/typebox"

    const querystring = Type.Object({
    v: Type.Optional(Type.Integer({ minimum: 0 })),
    })

    console.log(JSON.stringify(querystring))
    // {"type":"object","properties":{"v":{"minimum":0,"type":"integer"}}}
  • v2

    7/15/2024
    Open: Version
    Changes from v1 to v2
    +4
    -2
    import { Type } from "npm:@sinclair/typebox";

    Type.Object({
    v: Type.Optional(Type.Integer({ minimum: 0 })),
    });
    import { Type } from "npm:@sinclair/typebox";

    const querystring = Type.Object({
    v: Type.Optional(Type.Integer({ minimum: 0 })),
    });

    console.log(JSON.stringify(querystring));
  • v1

    7/15/2024
    Open: Version
    Changes from v0 to v1
    +5
    -0

    import { Type } from "npm:@sinclair/typebox";

    Type.Object({
    v: Type.Optional(Type.Integer({ minimum: 0 })),
    });
  • v0

    7/15/2024
    Open: Version
    +0
    -0


1
Next
Updated: July 15, 2024