UNPKG

499 BTypeScriptView Raw
1export type UUIDTypes = string | Uint8Array;
2export type Version1Options = {
3 node?: Uint8Array;
4 clockseq?: number;
5 random?: Uint8Array;
6 rng?: () => Uint8Array;
7 msecs?: number;
8 nsecs?: number;
9 _v6?: boolean;
10};
11export type Version4Options = {
12 random?: Uint8Array;
13 rng?: () => Uint8Array;
14};
15export type Version6Options = Version1Options;
16export type Version7Options = {
17 random?: Uint8Array;
18 msecs?: number;
19 seq?: number;
20 rng?: () => Uint8Array;
21};