forked from cerc-io/snowballtools-base
Nabarun Gogoi
e1e9a7063e
* Use react-oauth-popup for github authentication popup * Fetch auth token and use in app to fetch list of repositories * Get client id and secret from config * Use GitHub search API for fetching repos * Use debounce for searching repos and projects
21 lines
340 B
TypeScript
21 lines
340 B
TypeScript
export interface ServerConfig {
|
|
host: string;
|
|
port: number;
|
|
gqlPath?: string;
|
|
}
|
|
|
|
export interface DatabaseConfig {
|
|
dbPath: string;
|
|
}
|
|
|
|
export interface GithubOauthConfig {
|
|
clientId: string;
|
|
clientSecret: string;
|
|
}
|
|
|
|
export interface Config {
|
|
server: ServerConfig;
|
|
database: DatabaseConfig;
|
|
githubOauth: GithubOauthConfig;
|
|
}
|