Skip to content

Commit

Permalink
N21-1967 import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns committed Jun 12, 2024
1 parent 9260ba7 commit 91505c4
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { BoardModule } from '@modules/board';
import { InstanceModule } from '@modules/instance';
import { LessonModule } from '@modules/lesson';
import { ToolModule } from '@modules/tool';
import { forwardRef, Module } from '@nestjs/common';
Expand All @@ -13,7 +14,6 @@ import {
UserRepo,
} from '@shared/repo';
import { LoggerModule } from '@src/core/logger';
import { InstanceModule } from '../instance';
import { AuthorizationModule } from './authorization.module';
import { AuthorizationHelper, AuthorizationReferenceService, ReferenceLoader } from './domain';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
ContextExternalToolRule,
CourseGroupRule,
CourseRule,
ExternalToolRule,
GroupRule,
InstanceRule,
LegacySchoolRule,
Expand All @@ -22,7 +23,6 @@ import {
UserLoginMigrationRule,
UserRule,
} from './domain/rules';
import { ExternalToolRule } from './domain/rules/external-tool.rule';
import { FeathersAuthorizationService, FeathersAuthProvider } from './feathers';

@Module({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ export * from './group.rule';
export { SystemRule } from './system.rule';
export { SchoolSystemOptionsRule } from './school-system-options.rule';
export { InstanceRule } from './instance.rule';
export { ExternalToolRule } from './external-tool.rule';
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { createMock, DeepMocked } from '@golevelup/ts-jest';
import { instanceFactory } from '@modules/instance/testing';
import { Test, TestingModule } from '@nestjs/testing';
import { Permission } from '@shared/domain/interface';
import { setupEntities, userFactory } from '@shared/testing';
import { instanceFactory } from '../../../instance/testing';
import { AuthorizationHelper } from '../service/authorization.helper';
import { Action, AuthorizationContext } from '../type';
import { InstanceRule } from './instance.rule';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { createMock, DeepMocked } from '@golevelup/ts-jest';
import { ObjectId } from '@mikro-orm/mongodb';
import { BoardDoAuthorizableService } from '@modules/board';
import { InstanceService } from '@modules/instance';
import { LessonService } from '@modules/lesson';
import { ContextExternalToolAuthorizableService } from '@modules/tool';
import { ExternalToolAuthorizableService } from '@modules/tool/external-tool/service';
import { ContextExternalToolAuthorizableService, ExternalToolAuthorizableService } from '@modules/tool';
import { NotImplementedException } from '@nestjs/common';
import { Test, TestingModule } from '@nestjs/testing';
import { EntityId } from '@shared/domain/types';
Expand All @@ -18,7 +18,6 @@ import {
UserRepo,
} from '@shared/repo';
import { setupEntities, userFactory } from '@shared/testing';
import { InstanceService } from '../../../instance';
import { AuthorizableReferenceType } from '../type';
import { ReferenceLoader } from './reference.loader';

Expand Down
1 change: 1 addition & 0 deletions apps/server/src/modules/tool/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export * from './context-external-tool/service/context-external-tool-authorizabl
export * from './external-tool';
export * from './tool.module';
export { default as ToolConfiguration, IToolFeatures } from './tool-config';
export { ExternalToolAuthorizableService } from './external-tool/service/external-tool-authorizable.service';
1 change: 1 addition & 0 deletions apps/server/src/shared/repo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ export * from './userloginmigration';
export * from './videoconference';
export * from './contextexternaltool';
export * from './externaltool';
export { BaseDomainObjectRepo } from './base-domain-object.repo';

0 comments on commit 91505c4

Please sign in to comment.