forked from cerc-io/snowballtools-base
e4c099f8c3
* Add context to each request * Implement get user db query * Move constants to a separate file * Refactor database init method
15 lines
222 B
TypeScript
15 lines
222 B
TypeScript
export interface ServerConfig {
|
|
host: string;
|
|
port: number;
|
|
gqlPath?: string;
|
|
}
|
|
|
|
export interface DatabaseConfig {
|
|
dbPath: string;
|
|
}
|
|
|
|
export interface Config {
|
|
server: ServerConfig;
|
|
database: DatabaseConfig;
|
|
}
|