This commit is contained in:
Wuesteon 2025-12-04 00:32:13 +01:00
parent 16cb8e753b
commit e9caa4a217
46 changed files with 1784 additions and 728 deletions

View file

@ -21,7 +21,7 @@ export function capitalize(str: string): string {
/**
* Generate a random string ID
*/
export function generateId(length: number = 8): string {
export function generateId(length = 8): string {
const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';
let result = '';
for (let i = 0; i < length; i++) {