From 492dfdd6245e1ec7db33d19a03cc8103f6b9a79e Mon Sep 17 00:00:00 2001 From: hagen-danswer Date: Sun, 29 Sep 2024 22:24:59 -0700 Subject: [PATCH] frontend --- web/src/lib/connectors/AutoSyncOptionFields.tsx | 1 + web/src/lib/types.ts | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/lib/connectors/AutoSyncOptionFields.tsx b/web/src/lib/connectors/AutoSyncOptionFields.tsx index 8ba07b91778..f6866a16991 100644 --- a/web/src/lib/connectors/AutoSyncOptionFields.tsx +++ b/web/src/lib/connectors/AutoSyncOptionFields.tsx @@ -44,4 +44,5 @@ export const autoSyncConfigBySource: Record< ), }, }, + slack: {}, }; diff --git a/web/src/lib/types.ts b/web/src/lib/types.ts index 6578c54cced..f4751780880 100644 --- a/web/src/lib/types.ts +++ b/web/src/lib/types.ts @@ -272,5 +272,9 @@ export type ConfigurableSources = Exclude< >; // The sources that have auto-sync support on the backend -export const validAutoSyncSources = ["confluence", "google_drive"] as const; +export const validAutoSyncSources = [ + "confluence", + "google_drive", + "slack", +] as const; export type ValidAutoSyncSources = (typeof validAutoSyncSources)[number];