2024-01-16 09:36:35 +00:00
|
|
|
export interface ServerConfig {
|
|
|
|
host: string;
|
|
|
|
port: number;
|
|
|
|
gqlPath?: string;
|
|
|
|
}
|
|
|
|
|
2024-01-17 05:23:01 +00:00
|
|
|
export interface DatabaseConfig {
|
|
|
|
dbPath: string;
|
|
|
|
}
|
|
|
|
|
2024-01-30 14:20:53 +00:00
|
|
|
export interface GithubOauthConfig {
|
|
|
|
clientId: string;
|
|
|
|
clientSecret: string;
|
|
|
|
}
|
|
|
|
|
2024-02-12 06:04:01 +00:00
|
|
|
export interface RegistryConfig {
|
|
|
|
restEndpoint: string;
|
|
|
|
gqlEndpoint: string;
|
|
|
|
chainId: string;
|
|
|
|
privateKey: string;
|
|
|
|
bondId: string;
|
|
|
|
fee: {
|
|
|
|
amount: string;
|
|
|
|
denom: string;
|
|
|
|
gas: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-16 09:36:35 +00:00
|
|
|
export interface Config {
|
|
|
|
server: ServerConfig;
|
2024-01-17 05:23:01 +00:00
|
|
|
database: DatabaseConfig;
|
2024-01-30 14:20:53 +00:00
|
|
|
githubOauth: GithubOauthConfig;
|
2024-02-12 06:04:01 +00:00
|
|
|
registryConfig: RegistryConfig;
|
2024-01-16 09:36:35 +00:00
|
|
|
}
|