message channel change #3 (#15757)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
neo773
2025-11-13 18:42:20 +05:30
committed by GitHub
parent a3b78f080b
commit 3ef9be6622
32 changed files with 1116 additions and 171 deletions
@@ -257,16 +257,6 @@ export class MessageChannelWorkspaceEntity extends BaseWorkspaceEntity {
})
excludeGroupEmails: boolean;
@WorkspaceField({
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.syncAllFolders,
type: FieldMetadataType.BOOLEAN,
label: msg`Sync all folders`,
description: msg`Sync all folders including new ones`,
icon: 'IconFolders',
defaultValue: true,
})
syncAllFolders: boolean;
@WorkspaceField({
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.pendingGroupEmailsAction,
type: FieldMetadataType.SELECT,
@@ -21,7 +21,6 @@ import { MessageChannelWorkspaceEntity } from 'src/modules/messaging/common/stan
export enum MessageFolderPendingSyncAction {
FOLDER_DELETION = 'FOLDER_DELETION',
FOLDER_IMPORT = 'FOLDER_IMPORT',
NONE = 'NONE',
}
@@ -126,16 +125,10 @@ export class MessageFolderWorkspaceEntity extends BaseWorkspaceEntity {
position: 0,
color: 'red',
},
{
value: MessageFolderPendingSyncAction.FOLDER_IMPORT,
label: 'Folder import',
position: 1,
color: 'green',
},
{
value: MessageFolderPendingSyncAction.NONE,
label: 'None',
position: 2,
position: 1,
color: 'blue',
},
],