move environment to src/environment add smtp env vars, move some other items
Some checks failed
Code quality checks / biome (push) Failing after 13s

This commit is contained in:
creations 2025-06-10 15:16:31 -04:00
parent 421043c9b5
commit 00a7417936
Signed by: creations
GPG key ID: 8F553AA4320FC711
30 changed files with 470 additions and 42 deletions

View file

@ -0,0 +1,8 @@
interface BaseResponse {
code: number;
success: boolean;
error?: string;
message?: string;
}
export type { BaseResponse };

View file

@ -0,0 +1,17 @@
import type { BaseResponse } from "./base";
interface HealthResponse extends BaseResponse {
timestamp?: string;
requestTime?: string;
services?: {
cassandra: {
status: string;
hosts: number;
};
redis: {
status: string;
};
};
}
export type { HealthResponse };

View file

@ -1 +1,3 @@
export * from "./user";
export * from "./health";
export * from "./base";

View file

@ -1,10 +1,3 @@
interface BaseResponse {
code: number;
success: boolean;
error?: string;
message?: string;
}
interface UserResponse {
id: string;
username: string;
@ -25,4 +18,4 @@ interface UserRow {
updated_at: Date;
}
export type { BaseResponse, UserResponse, UserRow };
export type { UserResponse, UserRow };