Task 001: dockerized monorepo foundation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export type ServiceName = "backend" | "frontend" | "runner";
|
||||
|
||||
export type HealthResponse = {
|
||||
service: ServiceName;
|
||||
status: "ok";
|
||||
};
|
||||
|
||||
export type BackendDependencyName = "postgres" | "redis" | "object_storage";
|
||||
|
||||
export type BackendDependenciesHealthResponse = HealthResponse & {
|
||||
service: "backend";
|
||||
dependencies: Record<BackendDependencyName, "ok">;
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
export type {
|
||||
BackendDependenciesHealthResponse,
|
||||
BackendDependencyName,
|
||||
HealthResponse,
|
||||
ServiceName,
|
||||
} from "./health";
|
||||
Reference in New Issue
Block a user