@httpx/assert
Version:
Assertions and typeguards
13 lines (10 loc) • 648 B
text/typescript
import { W as WeakOpaqueContainer } from './opaque.types-Dc5fGlwR.cjs';
type Uuid = string & WeakOpaqueContainer<'Uuid'>;
type UuidV1 = string & WeakOpaqueContainer<'UuidV1'>;
type UuidV3 = string & WeakOpaqueContainer<'UuidV3'>;
type UuidV4 = string & WeakOpaqueContainer<'UuidV4'>;
type UuidV5 = string & WeakOpaqueContainer<'UuidV5'>;
type UuidV7 = string & WeakOpaqueContainer<'UuidV7'>;
type UuidVersion = 1 | 3 | 4 | 5 | 7;
type UuidVersionOrNumber = number & WeakOpaqueContainer<'UuidVersionOrNumber'>;
export type { Uuid as U, UuidV1 as a, UuidV3 as b, UuidV4 as c, UuidV5 as d, UuidV7 as e, UuidVersion as f, UuidVersionOrNumber as g };