mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-23 14:30:57 +02:00
Add new Github fields to FE
This commit is contained in:
parent
f34f373b08
commit
67c26f89e8
@ -190,10 +190,14 @@ const Main = () => {
|
||||
repo_name: Yup.string().required(
|
||||
"Please enter the name of the repository to index e.g. danswer "
|
||||
),
|
||||
include_prs: Yup.boolean().required(),
|
||||
include_issues: Yup.boolean().required(),
|
||||
})}
|
||||
initialValues={{
|
||||
repo_owner: "",
|
||||
repo_name: "",
|
||||
include_prs: true,
|
||||
include_issues: true,
|
||||
}}
|
||||
refreshFreq={10 * 60} // 10 minutes
|
||||
onSubmit={async (isSuccess, responseJson) => {
|
||||
|
@ -61,6 +61,8 @@ export interface WebConfig {
|
||||
export interface GithubConfig {
|
||||
repo_owner: string;
|
||||
repo_name: string;
|
||||
include_prs: boolean;
|
||||
include_issues: boolean;
|
||||
}
|
||||
|
||||
export interface GoogleDriveConfig {
|
||||
|
Loading…
x
Reference in New Issue
Block a user