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
27 lines
406 B
TypeScript
27 lines
406 B
TypeScript
type Environment = {
|
|
port: number;
|
|
host: string;
|
|
development: boolean;
|
|
};
|
|
|
|
type CassandraConfig = {
|
|
host: string;
|
|
port: number;
|
|
keyspace: string;
|
|
username: string;
|
|
password: string;
|
|
datacenter: string;
|
|
contactPoints: string[];
|
|
authEnabled: boolean;
|
|
};
|
|
|
|
type JWTConfig = {
|
|
secret: string;
|
|
expiration: string;
|
|
issuer: string;
|
|
algorithm: string;
|
|
};
|
|
|
|
type FrontendConfig = {
|
|
origin: string;
|
|
};
|