This commit is contained in:
commit
421043c9b5
67 changed files with 3455 additions and 0 deletions
16
src/lib/utils/idGenerator.ts
Normal file
16
src/lib/utils/idGenerator.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import Pika from "pika-id";
|
||||
|
||||
const pika = new Pika([
|
||||
"user",
|
||||
{
|
||||
prefix: "user",
|
||||
description: "User ID",
|
||||
},
|
||||
"session",
|
||||
{
|
||||
prefix: "sess",
|
||||
description: "Session ID",
|
||||
},
|
||||
]);
|
||||
|
||||
export { pika };
|
Loading…
Add table
Add a link
Reference in a new issue