Skip to content
Source
Sign inSign up

dbConfig.ts

5 lines205 Bytes

1export type RelayDatabaseMode = "shared-database" | "stage-branch";
2​
3export function relayDatabaseMode(stage: string): RelayDatabaseMode {
4 return stage === "prod" ? "shared-database" : "stage-branch";
5}