first commit
Some checks failed
Code quality checks / biome (push) Failing after 11s

This commit is contained in:
creations 2025-06-10 13:42:39 -04:00
commit 421043c9b5
Signed by: creations
GPG key ID: 8F553AA4320FC711
67 changed files with 3455 additions and 0 deletions

1
types/lib/index.ts Normal file
View file

@ -0,0 +1 @@
export * from "./validation";

13
types/lib/validation.ts Normal file
View file

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