backend/types/config.d.ts
creations 57fb8d8bb1
All checks were successful
Code quality checks / biome (push) Successful in 8s
add fast-jwt ( not tested ) and make the user actual register
2025-05-02 18:41:10 -04:00

23 lines
361 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;
};