Module / v1.0.0-beta.13

@typed/id/Uuid7

5 unique exports available through this public import path, including their members and aliases.

import * as Uuid7 from "@typed/id/Uuid7";

ID generation

  • uuid7

    variable

    Generates one UUID version 7 from the current Uuid7State.

ID schemas

  • Uuid7

    variable

    Effect Schema and branded string type for RFC UUID version 7 values.

ID validation

  • isUuid7

    variable

    Tests whether a string is an RFC UUID version 7 value.

Sequence state

  • Uuid7Seed

    type-alias

    The validated time, sequence, and entropy used to format one UUID version 7.

  • Uuid7State

    class

    Process-local Effect service that produces monotonic UUID version 7 seeds.