Spaces:
Build error
Build error
twenty / packages /twenty-server /src /database /commands /upgrade-version-command /1-21 /1-21-upgrade-version-command.module.ts
| import { Module } from '@nestjs/common'; | |
| import { TypeOrmModule } from '@nestjs/typeorm'; | |
| import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module'; | |
| import { RefactorNavigationCommandsCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500013000-refactor-navigation-commands.command'; | |
| import { AddComposeEmailCommandMenuItemCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500001000-add-compose-email-command-menu-item.command'; | |
| import { AddGlobalKeyValuePairUniqueIndexCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500002000-add-global-key-value-pair-unique-index.command'; | |
| import { BackfillDatasourceToWorkspaceCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500003000-backfill-datasource-to-workspace.command'; | |
| import { BackfillMessageThreadSubjectCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500004000-backfill-message-thread-subject.command'; | |
| import { DeduplicateEngineCommandsCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500006000-deduplicate-engine-commands.command'; | |
| import { FixSelectAllCommandMenuItemsCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500007000-fix-select-all-command-menu-items.command'; | |
| import { MigrateAiAgentTextToJsonResponseFormatCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500008000-migrate-ai-agent-text-to-json-response-format.command'; | |
| import { UpdateEditLayoutCommandMenuItemLabelCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500009000-update-edit-layout-command-menu-item-label.command'; | |
| import { DropWorkspaceMessagingFksCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500010000-drop-workspace-messaging-fks.command'; | |
| import { MigrateMessageFolderParentIdToExternalIdCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500011000-migrate-message-folder-parent-id-to-external-id.command'; | |
| import { MigrateMessagingInfrastructureToMetadataCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastructure-to-metadata.command'; | |
| import { FixMessageThreadViewAndLabelIdentifierCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500014000-fix-message-thread-view-and-label-identifier.command'; | |
| import { UpdateSearchCommandMenuItemLabelsCommand } from 'src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500015000-update-search-command-menu-item-labels.command'; | |
| import { ApplicationModule } from 'src/engine/core-modules/application/application.module'; | |
| import { FeatureFlagModule } from 'src/engine/core-modules/feature-flag/feature-flag.module'; | |
| import { UserWorkspaceEntity } from 'src/engine/core-modules/user-workspace/user-workspace.entity'; | |
| import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity'; | |
| import { CalendarChannelEntity } from 'src/engine/metadata-modules/calendar-channel/entities/calendar-channel.entity'; | |
| import { ConnectedAccountEntity } from 'src/engine/metadata-modules/connected-account/entities/connected-account.entity'; | |
| import { DataSourceEntity } from 'src/engine/metadata-modules/data-source/data-source.entity'; | |
| import { FieldMetadataModule } from 'src/engine/metadata-modules/field-metadata/field-metadata.module'; | |
| import { MessageChannelEntity } from 'src/engine/metadata-modules/message-channel/entities/message-channel.entity'; | |
| import { MessageFolderEntity } from 'src/engine/metadata-modules/message-folder/entities/message-folder.entity'; | |
| import { WorkspaceSchemaManagerModule } from 'src/engine/twenty-orm/workspace-schema-manager/workspace-schema-manager.module'; | |
| import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module'; | |
| import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration.module'; | |
| ({ | |
| imports: [ | |
| TypeOrmModule.forFeature([ | |
| WorkspaceEntity, | |
| DataSourceEntity, | |
| CalendarChannelEntity, | |
| ConnectedAccountEntity, | |
| MessageChannelEntity, | |
| MessageFolderEntity, | |
| UserWorkspaceEntity, | |
| ]), | |
| FieldMetadataModule, | |
| WorkspaceCacheModule, | |
| ApplicationModule, | |
| WorkspaceMigrationModule, | |
| FeatureFlagModule, | |
| WorkspaceIteratorModule, | |
| WorkspaceSchemaManagerModule, | |
| ], | |
| providers: [ | |
| AddComposeEmailCommandMenuItemCommand, | |
| AddGlobalKeyValuePairUniqueIndexCommand, | |
| BackfillDatasourceToWorkspaceCommand, | |
| BackfillMessageThreadSubjectCommand, | |
| DeduplicateEngineCommandsCommand, | |
| FixSelectAllCommandMenuItemsCommand, | |
| MigrateAiAgentTextToJsonResponseFormatCommand, | |
| UpdateEditLayoutCommandMenuItemLabelCommand, | |
| RefactorNavigationCommandsCommand, | |
| DropWorkspaceMessagingFksCommand, | |
| MigrateMessageFolderParentIdToExternalIdCommand, | |
| MigrateMessagingInfrastructureToMetadataCommand, | |
| FixMessageThreadViewAndLabelIdentifierCommand, | |
| UpdateSearchCommandMenuItemLabelsCommand, | |
| ], | |
| }) | |
| export class V1_21_UpgradeVersionCommandModule {} | |