creating the messagefolder entity (#9933)

first step for the
https://github.com/twentyhq/core-team-issues/issues/149 issue
This commit is contained in:
Guillim
2025-01-30 16:47:22 +01:00
committed by GitHub
parent 3a78e6f889
commit 4084f2114e
6 changed files with 83 additions and 0 deletions

View File

@ -244,6 +244,7 @@ export const MESSAGE_CHANNEL_STANDARD_FIELD_IDS = {
excludeNonProfessionalEmails: '20202020-1df5-445d-b4f3-2413ad178431',
excludeGroupEmails: '20202020-45a0-4be4-9164-5820a6a109fb',
messageChannelMessageAssociations: '20202020-49b8-4766-88fd-75f1e21b3d5f',
messageFolders: '20202020-cc39-4432-9fe8-ec8ab8bbed94',
isSyncEnabled: '20202020-d9a6-48e9-990b-b97fdf22e8dd',
syncCursor: '20202020-79d1-41cf-b738-bcf5ed61e256',
syncedAt: '20202020-263d-4c6b-ad51-137ada56f7d4',
@ -253,6 +254,12 @@ export const MESSAGE_CHANNEL_STANDARD_FIELD_IDS = {
throttleFailureCount: '20202020-0291-42be-9ad0-d578a51684ab',
};
export const MESSAGE_FOLDER_STANDARD_FIELD_IDS = {
name: '20202020-7cf8-40bc-a681-b80b771449b7',
messageChannel: '20202020-b658-408f-bd46-3bd2d15d7e52',
syncCursor: '20202020-98cd-49ed-8dfc-cb5796400e64',
};
export const MESSAGE_PARTICIPANT_STANDARD_FIELD_IDS = {
message: '20202020-985b-429a-9db9-9e55f4898a2a',
role: '20202020-65d1-42f4-8729-c9ec1f52aecd',

View File

@ -16,6 +16,7 @@ export const STANDARD_OBJECT_ICONS = {
auditLog: 'IconTimelineEvent',
messageChannelMessageAssociation: 'IconMessage',
messageChannel: 'IconMessage',
messageFolder: 'IconFolder',
messageParticipant: 'IconUserCircle',
messageThread: 'IconMessage',
messageThreadSubscriber: 'IconPerson',

View File

@ -25,6 +25,7 @@ export const STANDARD_OBJECT_IDS = {
auditLog: '20202020-0566-476a-b4c4-a0f9781bd80a',
messageChannelMessageAssociation: '20202020-ad1e-4127-bccb-d83ae04d2ccb',
messageChannel: '20202020-fe8c-40bc-a681-b80b771449b7',
messageFolder: '20202020-4955-4fd9-8e59-2dbd373f2a46',
messageParticipant: '20202020-a433-4456-aa2d-fd9cb26b774a',
messageThread: '20202020-849a-4c3e-84f5-a25a7d802271',
messageThreadSubscriber: '20202020-4b3b-4b3b-8b3b-3b3b3b3b3b3a',

View File

@ -11,6 +11,7 @@ import { FavoriteFolderWorkspaceEntity } from 'src/modules/favorite-folder/stand
import { FavoriteWorkspaceEntity } from 'src/modules/favorite/standard-objects/favorite.workspace-entity';
import { MessageChannelMessageAssociationWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity';
import { MessageChannelWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-channel.workspace-entity';
import { MessageFolderWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-folder.workspace-entity';
import { MessageParticipantWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-participant.workspace-entity';
import { MessageThreadWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-thread.workspace-entity';
import { MessageWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message.workspace-entity';
@ -68,6 +69,7 @@ export const standardObjectMetadataDefinitions = [
MessageWorkspaceEntity,
MessageChannelWorkspaceEntity,
MessageParticipantWorkspaceEntity,
MessageFolderWorkspaceEntity,
MessageChannelMessageAssociationWorkspaceEntity,
NoteWorkspaceEntity,
NoteTargetWorkspaceEntity,