All checks were successful
Code quality checks / biome (push) Successful in 7s
Added routes for guild creation, deletion, joining, leaving, and invites Set up Cassandra tables for guilds, invites, and members Added validators for guild input Updated .env.example with required config values
11 lines
185 B
TypeScript
11 lines
185 B
TypeScript
type genericValidation = {
|
|
length: { min: number; max: number };
|
|
regex: RegExp;
|
|
};
|
|
|
|
type validationResult = {
|
|
valid: boolean;
|
|
error?: string;
|
|
username?: string;
|
|
name?: string;
|
|
};
|