rename some functions, change name to username ( username table), fix exports, add validations folder
All checks were successful
Code quality checks / biome (push) Successful in 9s

This commit is contained in:
creations 2025-05-02 17:40:37 -04:00
parent 61db491848
commit f93cef442a
Signed by: creations
GPG key ID: 8F553AA4320FC711
15 changed files with 280 additions and 72 deletions

10
types/validation.d.ts vendored Normal file
View file

@ -0,0 +1,10 @@
type genericValidation = {
length: { min: number; max: number };
regex: RegExp;
};
type validationResult = {
valid: boolean;
error?: string;
username?: string;
};