[Workplace Search] Add 'Folders' to ObjTypes (#98558) (#98791)

Adds 'Folders' to the list of synced items in the UI for Dropbox, Google Drive, OneDrive and SharePoint Online

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
This commit is contained in:
Kibana Machine 2021-04-29 14:33:32 -04:00 committed by GitHub
parent 78fb42a25e
commit d16d17b955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ export const staticSourceData = [
}
),
connectStepDescription: connectStepDescription.files,
objTypes: [SOURCE_OBJ_TYPES.ALL_FILES],
objTypes: [SOURCE_OBJ_TYPES.FOLDERS, SOURCE_OBJ_TYPES.ALL_FILES],
features: {
basicOrgContext: [
FeatureIds.SyncFrequency,
@ -383,7 +383,11 @@ export const staticSourceData = [
}
),
connectStepDescription: connectStepDescription.files,
objTypes: [SOURCE_OBJ_TYPES.G_SUITE_FILES, SOURCE_OBJ_TYPES.ALL_STORED_FILES],
objTypes: [
SOURCE_OBJ_TYPES.FOLDERS,
SOURCE_OBJ_TYPES.G_SUITE_FILES,
SOURCE_OBJ_TYPES.ALL_STORED_FILES,
],
features: {
basicOrgContext: [
FeatureIds.SyncFrequency,
@ -510,7 +514,7 @@ export const staticSourceData = [
}
),
connectStepDescription: connectStepDescription.files,
objTypes: [SOURCE_OBJ_TYPES.ALL_FILES],
objTypes: [SOURCE_OBJ_TYPES.FOLDERS, SOURCE_OBJ_TYPES.ALL_FILES],
features: {
basicOrgContext: [
FeatureIds.SyncFrequency,
@ -676,7 +680,7 @@ export const staticSourceData = [
}
),
connectStepDescription: connectStepDescription.files,
objTypes: [SOURCE_OBJ_TYPES.SITES, SOURCE_OBJ_TYPES.ALL_FILES],
objTypes: [SOURCE_OBJ_TYPES.FOLDERS, SOURCE_OBJ_TYPES.SITES, SOURCE_OBJ_TYPES.ALL_FILES],
features: {
basicOrgContext: [
FeatureIds.SyncFrequency,