mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-20 09:47:21 +02:00
Switch to tRPC (#173)
This commit is contained in:
parent
3d7e7e8a95
commit
2c4157ea24
245 changed files with 1585 additions and 1755 deletions
11
src/utils/nanoid.ts
Normal file
11
src/utils/nanoid.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { customAlphabet } from "nanoid/async";
|
||||
|
||||
export const nanoid = customAlphabet(
|
||||
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
||||
12,
|
||||
);
|
||||
|
||||
export const randomid = customAlphabet(
|
||||
"0123456789abcdefghijklmnopqrstuvwxyz",
|
||||
12,
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue