mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-14 16:49:10 +00:00
something is wrong with CI :(
This commit is contained in:
parent
15db46c1b2
commit
5f7f4c05a5
3 changed files with 11 additions and 8 deletions
|
@ -1,4 +1,6 @@
|
|||
import { decodeTime, ulid } from 'ulid-workers';
|
||||
import { decodeTime, ulidFactory } from 'ulid-workers';
|
||||
|
||||
const ulid = ulidFactory();
|
||||
|
||||
export const getID = () => ulid();
|
||||
export const dateFromID = (id: string) => decodeTime(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue