mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
Refactor desktop app into separate client and proxy apps
This commit is contained in:
7
apps/yaak-client/lib/generateId.ts
Normal file
7
apps/yaak-client/lib/generateId.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { customAlphabet } from 'nanoid';
|
||||
|
||||
const nanoid = customAlphabet('023456789abcdefghijkmnpqrstuvwxyzABCDEFGHIJKMNPQRSTUVWXYZ', 10);
|
||||
|
||||
export function generateId(): string {
|
||||
return nanoid();
|
||||
}
|
||||
Reference in New Issue
Block a user