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-02-15 11:54:57 +00:00
|
|
|
export interface GitHubConfig {
|
|
|
|
webhookUrl: string;
|
|
|
|
oAuth: {
|
|
|
|
clientId: string;
|
|
|
|
clientSecret: string;
|
|
|
|
}
|
2024-01-30 14:20:53 +00:00
|
|
|
}
|
|
|
|
|
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-02-15 11:54:57 +00:00
|
|
|
gitHub: GitHubConfig;
|
2024-02-12 06:04:01 +00:00
|
|
|
registryConfig: RegistryConfig;
|
2024-01-16 09:36:35 +00:00
|
|
|
}
|