Improve Google Drive connector naming

This commit is contained in:
Weves 2024-02-07 01:21:02 -08:00 committed by Chris Weaver
parent 35fe86e931
commit 0fb3fb8a1f

View File

@ -3,4 +3,8 @@ import { GoogleDriveConfig } from "@/lib/types";
export const googleDriveConnectorNameBuilder = (values: GoogleDriveConfig) =>
`GoogleDriveConnector-${
values.folder_paths && values.folder_paths.join("_")
}-${values.include_shared ? "shared" : "not-shared"}-${
values.only_org_public ? "org-public" : "all"
}-${
values.follow_shortcuts ? "follow-shortcuts" : "do-not-follow-shortcuts"
}`;