mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-01 13:33:48 +08:00
Feat: enable sync deleted file for Discord (#14451)
### What problem does this PR solve? Feat: enable sync deleted file for Discord ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -54,7 +54,9 @@ type DataSourceFeatureVisibility = {
|
||||
|
||||
type DataSourceFormValues = Record<string, any>;
|
||||
|
||||
export const DataSourceFeatureVisibilityMap = {
|
||||
export const DataSourceFeatureVisibilityMap: Partial<
|
||||
Record<DataSourceKey, DataSourceFeatureVisibility>
|
||||
> = {
|
||||
[DataSourceKey.GITHUB]: {
|
||||
syncDeletedFiles: true,
|
||||
},
|
||||
@@ -91,6 +93,9 @@ export const DataSourceFeatureVisibilityMap = {
|
||||
[DataSourceKey.NOTION]: {
|
||||
syncDeletedFiles: true,
|
||||
},
|
||||
[DataSourceKey.DISCORD]: {
|
||||
syncDeletedFiles: true,
|
||||
},
|
||||
[DataSourceKey.JIRA]: {
|
||||
syncDeletedFiles: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user