mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
10 lines
461 B
Plaintext
10 lines
461 B
Plaintext
/**
|
|
* uuidv7 mints a time-ordered UUIDv7 for `now` (epoch milliseconds).
|
|
*
|
|
* Two ids minted in the same millisecond sort arbitrarily between themselves; ids
|
|
* from different milliseconds sort by time, lexically and numerically alike.
|
|
*/
|
|
export { hzUuidv7 as uuidv7 } from './anon.js';
|
|
/** The millisecond timestamp a v7 id was minted at — the inverse of uuidv7. */
|
|
export declare function uuidv7Time(id: string): number;
|
|
//# sourceMappingURL=uid.d.ts.map |