Skip to content

Commit

Permalink
split imports from bundles import @module
Browse files Browse the repository at this point in the history
  • Loading branch information
EzzatOmar committed Oct 11, 2023
1 parent 5d92fcb commit 8c4576f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Test, TestingModule } from '@nestjs/testing';
import { createMock, DeepMocked } from '@golevelup/ts-jest';
import { CommonCartridgeExportService } from '@src/modules/learnroom/service/common-cartridge-export.service';
import { AuthorizationService } from '@src/modules';
import { AuthorizationService } from '@src/modules/authorization';
import { CourseExportUc } from './course-export.uc';
import { CommonCartridgeVersion } from '../common-cartridge';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Permission, User } from '@shared/domain';
import { OauthProviderService } from '@shared/infra/oauth-provider';
import { ProviderOauthClient } from '@shared/infra/oauth-provider/dto';
import { setupEntities, userFactory } from '@shared/testing';
import { AuthorizationService } from '@src/modules';
import { AuthorizationService } from '@src/modules/authorization';
import { ICurrentUser } from '@src/modules/authentication';
import { OauthProviderClientCrudUc } from './oauth-provider.client-crud.uc';
import resetAllMocks = jest.resetAllMocks;
Expand Down
4 changes: 3 additions & 1 deletion apps/server/src/modules/server/server.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Configuration } from '@hpi-schul-cloud/commons';
import type { IIdentityManagementConfig } from '@shared/infra/identity-management';
import type { ICoreModuleConfig } from '@src/core';
import type { IAccountConfig, IFilesStorageClientConfig, IUserConfig } from '@src/modules/';
import type { IAccountConfig } from '@src/modules/account';
import type { IFilesStorageClientConfig } from '@src/modules/files-storage-client';
import type { IUserConfig } from '@src/modules/user';
import type { ICommonCartridgeConfig } from '@src/modules/learnroom/common-cartridge';

export enum NodeEnvType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
taskFactory,
userFactory,
} from '@shared/testing';
import { FilesStorageClientAdapterService } from '@src/modules';
import { FilesStorageClientAdapterService } from '@src/modules/files-storage-client';
import { JwtAuthGuard } from '@src/modules/authentication/guard/jwt-auth.guard';
import { ServerTestModule } from '@src/modules/server/server.module';
import { SubmissionStatusListResponse } from '@src/modules/task/controller/dto/submission.response';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ import { CalendarEventDto } from '@shared/infra/calendar/dto/calendar-event.dto'
import { TeamsRepo, VideoConferenceRepo } from '@shared/repo';
import { roleFactory, setupEntities, userDoFactory } from '@shared/testing';
import { teamFactory } from '@shared/testing/factory/team.factory';
import { AuthorizationService, LegacySchoolService, UserService } from '@src/modules';
import { AuthorizationService } from '@src/modules/authorization';
import { ICurrentUser } from '@src/modules/authentication';
import { CourseService } from '@src/modules/learnroom/service';
import { LegacySchoolService } from '@src/modules/legacy-school';
import { UserService } from '@src/modules/user';
import { IScopeInfo, VideoConference, VideoConferenceJoin, VideoConferenceState } from './dto';
import { VideoConferenceDeprecatedUc } from './video-conference-deprecated.uc';
import {
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/shared/domain/rules/board-do.rule.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Test, TestingModule } from '@nestjs/testing';
import { roleFactory, setupEntities, userFactory } from '@shared/testing';
import { Action } from '@src/modules';
import { Action } from '@src/modules/authorization';
import { AuthorizationHelper } from '@src/modules/authorization/authorization.helper';
import { ObjectId } from 'bson';
import { BoardDoAuthorizable, BoardRoles, UserRoleEnum } from '../domainobject';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { Module } from '@nestjs/common';
import { LoggerModule } from '@src/core/logger';
import { EncryptionModule } from '@shared/infra/encryption';
import { ConsoleWriterModule } from '@shared/infra/console';
import { AccountModule, SystemModule } from '@src/modules';
import { AccountModule } from '@src/modules/account';
import { SystemModule } from '@src/modules/system';
import { KeycloakAdministrationModule } from '../keycloak-administration/keycloak-administration.module';
import { KeycloakConsole } from './console/keycloak-configuration.console';
import { KeycloakConfigurationInputFiles } from './interface/keycloak-configuration-input-files.interface';
Expand Down

0 comments on commit 8c4576f

Please sign in to comment.