diff --git a/packages/server/modules/workspaces/domain/operations.ts b/packages/server/modules/workspaces/domain/operations.ts index 2e786efdd..4e317663a 100644 --- a/packages/server/modules/workspaces/domain/operations.ts +++ b/packages/server/modules/workspaces/domain/operations.ts @@ -1,7 +1,7 @@ import { WorkspaceEvents, WorkspaceEventsPayloads -} from '@/modules/workspaces/domain/events' +} from '@/modules/workspacesCore/domain/events' import { Workspace, WorkspaceAcl } from '@/modules/workspaces/domain/types' export type StoreWorkspace = (args: { workspace: Workspace }) => Promise diff --git a/packages/server/modules/workspaces/domain/events.ts b/packages/server/modules/workspacesCore/domain/events.ts similarity index 100% rename from packages/server/modules/workspaces/domain/events.ts rename to packages/server/modules/workspacesCore/domain/events.ts diff --git a/packages/server/modules/workspaces/migrations/20240621174016_workspaces.ts b/packages/server/modules/workspacesCore/migrations/20240621174016_workspaces.ts similarity index 100% rename from packages/server/modules/workspaces/migrations/20240621174016_workspaces.ts rename to packages/server/modules/workspacesCore/migrations/20240621174016_workspaces.ts diff --git a/packages/server/modules/workspaces/events/emitter.ts b/packages/server/modules/workspacesCore/services/eventEmitter.ts similarity index 87% rename from packages/server/modules/workspaces/events/emitter.ts rename to packages/server/modules/workspacesCore/services/eventEmitter.ts index 84a901ee0..8406a7974 100644 --- a/packages/server/modules/workspaces/events/emitter.ts +++ b/packages/server/modules/workspacesCore/services/eventEmitter.ts @@ -2,7 +2,7 @@ import { initializeModuleEventEmitter } from '@/modules/shared/services/moduleEv import { WorkspaceEvents, WorkspaceEventsPayloads -} from '@/modules/workspaces/domain/events' +} from '@/modules/workspacesCore/domain/events' const { emit, listen } = initializeModuleEventEmitter({ moduleName: 'workspaces'