From 4e6c0f63c6fe2d9544e5c0b9b5300ad7c90fdb6a Mon Sep 17 00:00:00 2001 From: MajedAlaitwniCap Date: Thu, 19 Dec 2024 14:59:49 +0100 Subject: [PATCH] reorder test factories to main modules --- .../sync/tsp/tsp-oauth-data.mapper.spec.ts | 22 ++++++++++------ .../infra/sync/tsp/tsp-sync.strategy.spec.ts | 17 ++++++++----- .../src/infra/tsp-client/testing/index.ts | 6 +++++ .../testing}/robj-export-klasse.factory.ts | 0 .../robj-export-lehrer-migration.factory.ts | 0 .../testing}/robj-export-lehrer.factory.ts | 0 .../robj-export-schueler-migration.factory.ts | 0 .../testing}/robj-export-schueler.factory.ts | 0 .../testing}/robj-export-schule.factory.ts | 0 .../provisioning/dto/provisioning.dto.ts | 14 +++++------ ...chool-for-group-not-found.loggable.spec.ts | 3 +-- .../service/provisioning.service.spec.ts | 5 ++-- .../service/tsp-provisioning.service.spec.ts | 13 ++++++---- .../schulconnex/schulconnex.strategy.spec.ts | 10 ++------ ...lconnex-group-provisioning.service.spec.ts | 11 ++------ .../testing}/external-class-dto.factory.ts | 0 .../testing}/external-school-dto.factory.ts | 2 +- .../src/modules/provisioning/testing/index.ts | 5 ++++ .../testing}/oauth-data-dto.factory.ts | 0 .../testing}/provisioning-dto.factory.ts | 0 .../provisioning-system-dto.factory.ts | 0 .../factory/external-group-dto.factory.ts | 25 ------------------- .../factory/external-user-dto.factory.ts | 15 ----------- .../src/shared/testing/factory/index.ts | 2 -- 24 files changed, 59 insertions(+), 91 deletions(-) create mode 100644 apps/server/src/infra/tsp-client/testing/index.ts rename apps/server/src/{shared/testing/factory => infra/tsp-client/testing}/robj-export-klasse.factory.ts (100%) rename apps/server/src/{shared/testing/factory => infra/tsp-client/testing}/robj-export-lehrer-migration.factory.ts (100%) rename apps/server/src/{shared/testing/factory => infra/tsp-client/testing}/robj-export-lehrer.factory.ts (100%) rename apps/server/src/{shared/testing/factory => infra/tsp-client/testing}/robj-export-schueler-migration.factory.ts (100%) rename apps/server/src/{shared/testing/factory => infra/tsp-client/testing}/robj-export-schueler.factory.ts (100%) rename apps/server/src/{shared/testing/factory => infra/tsp-client/testing}/robj-export-schule.factory.ts (100%) rename apps/server/src/{shared/testing/factory => modules/provisioning/testing}/external-class-dto.factory.ts (100%) rename apps/server/src/{shared/testing/factory => modules/provisioning/testing}/external-school-dto.factory.ts (84%) rename apps/server/src/{shared/testing/factory => modules/provisioning/testing}/oauth-data-dto.factory.ts (100%) rename apps/server/src/{shared/testing/factory => modules/provisioning/testing}/provisioning-dto.factory.ts (100%) rename apps/server/src/{shared/testing/factory => modules/provisioning/testing}/provisioning-system-dto.factory.ts (100%) delete mode 100644 apps/server/src/shared/testing/factory/external-group-dto.factory.ts delete mode 100644 apps/server/src/shared/testing/factory/external-user-dto.factory.ts diff --git a/apps/server/src/infra/sync/tsp/tsp-oauth-data.mapper.spec.ts b/apps/server/src/infra/sync/tsp/tsp-oauth-data.mapper.spec.ts index a8d4e6772c4..4b7dd9d571d 100644 --- a/apps/server/src/infra/sync/tsp/tsp-oauth-data.mapper.spec.ts +++ b/apps/server/src/infra/sync/tsp/tsp-oauth-data.mapper.spec.ts @@ -1,17 +1,21 @@ import { faker } from '@faker-js/faker'; import { createMock, DeepMocked } from '@golevelup/ts-jest'; import { ProvisioningSystemDto } from '@modules/provisioning'; +import { + externalUserDtoFactory, + oauthDataDtoFactory, + externalClassDtoFactory, + provisioningSystemDtoFactory, + externalSchoolDtoFactory, +} from '@modules/provisioning/testing'; import { Test, TestingModule } from '@nestjs/testing'; import { RoleName } from '@shared/domain/interface'; import { SystemProvisioningStrategy } from '@shared/domain/interface/system-provisioning.strategy'; -import { externalSchoolDtoFactory } from '@shared/testing'; -import { externalClassDtoFactory } from '@shared/testing/factory/external-class-dto.factory'; -import { externalUserDtoFactory } from '@shared/testing/factory/external-user-dto.factory'; -import { oauthDataDtoFactory } from '@shared/testing/factory/oauth-data-dto.factory'; -import { provisioningSystemDtoFactory } from '@shared/testing/factory/provisioning-system-dto.factory'; -import { robjExportKlasseFactory } from '@shared/testing/factory/robj-export-klasse.factory'; -import { robjExportLehrerFactory } from '@shared/testing/factory/robj-export-lehrer.factory'; -import { robjExportSchuelerFactory } from '@shared/testing/factory/robj-export-schueler.factory'; +import { + robjExportSchuelerFactory, + robjExportLehrerFactory, + robjExportKlasseFactory, +} from '@src/infra/tsp-client/testing'; import { Logger } from '@src/core/logger'; import { BadDataLoggableException } from '@src/modules/provisioning/loggable'; import { schoolFactory } from '@src/modules/school/testing'; @@ -104,6 +108,7 @@ describe(TspOauthDataMapper.name, () => { lastName: tspTeachers[0].lehrerNachname, roles: [RoleName.TEACHER], email: undefined, + birthday: undefined, }); const externalStudentUserDto = externalUserDtoFactory.build({ @@ -112,6 +117,7 @@ describe(TspOauthDataMapper.name, () => { lastName: tspStudents[0].schuelerNachname, roles: [RoleName.STUDENT], email: undefined, + birthday: undefined, }); const externalSchoolDto = externalSchoolDtoFactory.build({ diff --git a/apps/server/src/infra/sync/tsp/tsp-sync.strategy.spec.ts b/apps/server/src/infra/sync/tsp/tsp-sync.strategy.spec.ts index 1585a7fea7d..38f97f56db9 100644 --- a/apps/server/src/infra/sync/tsp/tsp-sync.strategy.spec.ts +++ b/apps/server/src/infra/sync/tsp/tsp-sync.strategy.spec.ts @@ -13,12 +13,17 @@ import { Test, TestingModule } from '@nestjs/testing'; import { UserDO } from '@shared/domain/domainobject'; import { SystemProvisioningStrategy } from '@shared/domain/interface/system-provisioning.strategy'; import { userDoFactory } from '@shared/testing'; -import { externalUserDtoFactory } from '@shared/testing/factory/external-user-dto.factory'; -import { oauthDataDtoFactory } from '@shared/testing/factory/oauth-data-dto.factory'; -import { provisioningSystemDtoFactory } from '@shared/testing/factory/provisioning-system-dto.factory'; -import { robjExportLehrerMigrationFactory } from '@shared/testing/factory/robj-export-lehrer-migration.factory'; -import { robjExportSchuelerMigrationFactory } from '@shared/testing/factory/robj-export-schueler-migration.factory'; -import { robjExportSchuleFactory } from '@shared/testing/factory/robj-export-schule.factory'; + +import { + externalUserDtoFactory, + oauthDataDtoFactory, + provisioningSystemDtoFactory, +} from '@src/modules/provisioning/testing'; +import { + robjExportSchuleFactory, + robjExportLehrerMigrationFactory, + robjExportSchuelerMigrationFactory, +} from '@src/infra/tsp-client/testing'; import { Logger } from '@src/core/logger'; import { Account } from '@src/modules/account'; import { accountDoFactory } from '@src/modules/account/testing'; diff --git a/apps/server/src/infra/tsp-client/testing/index.ts b/apps/server/src/infra/tsp-client/testing/index.ts new file mode 100644 index 00000000000..84d95f3ceaa --- /dev/null +++ b/apps/server/src/infra/tsp-client/testing/index.ts @@ -0,0 +1,6 @@ +export { robjExportSchuleFactory } from './robj-export-schule.factory'; +export { robjExportKlasseFactory } from './robj-export-klasse.factory'; +export { robjExportLehrerFactory } from './robj-export-lehrer.factory'; +export { robjExportSchuelerFactory } from './robj-export-schueler.factory'; +export { robjExportLehrerMigrationFactory } from './robj-export-lehrer-migration.factory'; +export { robjExportSchuelerMigrationFactory } from './robj-export-schueler-migration.factory'; diff --git a/apps/server/src/shared/testing/factory/robj-export-klasse.factory.ts b/apps/server/src/infra/tsp-client/testing/robj-export-klasse.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/robj-export-klasse.factory.ts rename to apps/server/src/infra/tsp-client/testing/robj-export-klasse.factory.ts diff --git a/apps/server/src/shared/testing/factory/robj-export-lehrer-migration.factory.ts b/apps/server/src/infra/tsp-client/testing/robj-export-lehrer-migration.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/robj-export-lehrer-migration.factory.ts rename to apps/server/src/infra/tsp-client/testing/robj-export-lehrer-migration.factory.ts diff --git a/apps/server/src/shared/testing/factory/robj-export-lehrer.factory.ts b/apps/server/src/infra/tsp-client/testing/robj-export-lehrer.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/robj-export-lehrer.factory.ts rename to apps/server/src/infra/tsp-client/testing/robj-export-lehrer.factory.ts diff --git a/apps/server/src/shared/testing/factory/robj-export-schueler-migration.factory.ts b/apps/server/src/infra/tsp-client/testing/robj-export-schueler-migration.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/robj-export-schueler-migration.factory.ts rename to apps/server/src/infra/tsp-client/testing/robj-export-schueler-migration.factory.ts diff --git a/apps/server/src/shared/testing/factory/robj-export-schueler.factory.ts b/apps/server/src/infra/tsp-client/testing/robj-export-schueler.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/robj-export-schueler.factory.ts rename to apps/server/src/infra/tsp-client/testing/robj-export-schueler.factory.ts diff --git a/apps/server/src/shared/testing/factory/robj-export-schule.factory.ts b/apps/server/src/infra/tsp-client/testing/robj-export-schule.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/robj-export-schule.factory.ts rename to apps/server/src/infra/tsp-client/testing/robj-export-schule.factory.ts diff --git a/apps/server/src/modules/provisioning/dto/provisioning.dto.ts b/apps/server/src/modules/provisioning/dto/provisioning.dto.ts index 0c9bf53867b..f35fbc311d4 100644 --- a/apps/server/src/modules/provisioning/dto/provisioning.dto.ts +++ b/apps/server/src/modules/provisioning/dto/provisioning.dto.ts @@ -1,7 +1,7 @@ -export class ProvisioningDto { - externalUserId: string; - - constructor(provisioningDto: ProvisioningDto) { - this.externalUserId = provisioningDto.externalUserId; - } -} +export class ProvisioningDto { + externalUserId: string; + + constructor(provisioningDto: ProvisioningDto) { + this.externalUserId = provisioningDto.externalUserId; + } +} diff --git a/apps/server/src/modules/provisioning/loggable/school-for-group-not-found.loggable.spec.ts b/apps/server/src/modules/provisioning/loggable/school-for-group-not-found.loggable.spec.ts index 888a6a58514..1526b21dfba 100644 --- a/apps/server/src/modules/provisioning/loggable/school-for-group-not-found.loggable.spec.ts +++ b/apps/server/src/modules/provisioning/loggable/school-for-group-not-found.loggable.spec.ts @@ -1,5 +1,4 @@ -import { externalSchoolDtoFactory } from '@shared/testing'; -import { externalGroupDtoFactory } from '@shared/testing/factory/external-group-dto.factory'; +import { externalGroupDtoFactory, externalSchoolDtoFactory } from '@modules/provisioning/testing'; import { ExternalGroupDto, ExternalSchoolDto } from '../dto'; import { SchoolForGroupNotFoundLoggable } from './school-for-group-not-found.loggable'; diff --git a/apps/server/src/modules/provisioning/service/provisioning.service.spec.ts b/apps/server/src/modules/provisioning/service/provisioning.service.spec.ts index b86324b50ec..3a62d5cea50 100644 --- a/apps/server/src/modules/provisioning/service/provisioning.service.spec.ts +++ b/apps/server/src/modules/provisioning/service/provisioning.service.spec.ts @@ -3,9 +3,8 @@ import { System, SystemService } from '@modules/system'; import { InternalServerErrorException } from '@nestjs/common'; import { Test, TestingModule } from '@nestjs/testing'; import { SystemProvisioningStrategy } from '@shared/domain/interface/system-provisioning.strategy'; -import { oauthDataDtoFactory } from '@shared/testing/factory/oauth-data-dto.factory'; -import { provisioningDtoFactory } from '@shared/testing/factory/provisioning-dto.factory'; -import { provisioningSystemDtoFactory } from '@shared/testing/factory/provisioning-system-dto.factory'; +import { provisioningDtoFactory, oauthDataDtoFactory } from '@modules/provisioning/testing'; +import { provisioningSystemDtoFactory } from '@src/modules/provisioning/testing/provisioning-system-dto.factory'; import { systemFactory } from '@src/modules/system/testing'; import { OauthDataDto, OauthDataStrategyInputDto, ProvisioningDto, ProvisioningSystemDto } from '../dto'; import { IservProvisioningStrategy, OidcMockProvisioningStrategy, SanisProvisioningStrategy } from '../strategy'; diff --git a/apps/server/src/modules/provisioning/service/tsp-provisioning.service.spec.ts b/apps/server/src/modules/provisioning/service/tsp-provisioning.service.spec.ts index c2ed303cd63..d8e9963db7d 100644 --- a/apps/server/src/modules/provisioning/service/tsp-provisioning.service.spec.ts +++ b/apps/server/src/modules/provisioning/service/tsp-provisioning.service.spec.ts @@ -3,11 +3,7 @@ import { createMock, DeepMocked } from '@golevelup/ts-jest'; import { Test, TestingModule } from '@nestjs/testing'; import { NotFoundLoggableException } from '@shared/common/loggable-exception'; import { RoleName } from '@shared/domain/interface'; -import { externalSchoolDtoFactory, roleDtoFactory, roleFactory, userDoFactory } from '@shared/testing'; -import { externalClassDtoFactory } from '@shared/testing/factory/external-class-dto.factory'; -import { externalUserDtoFactory } from '@shared/testing/factory/external-user-dto.factory'; -import { oauthDataDtoFactory } from '@shared/testing/factory/oauth-data-dto.factory'; -import { provisioningSystemDtoFactory } from '@shared/testing/factory/provisioning-system-dto.factory'; +import { roleDtoFactory, roleFactory, userDoFactory } from '@shared/testing'; import { AccountService } from '@src/modules/account'; import { ClassService } from '@src/modules/class'; import { classFactory } from '@src/modules/class/domain/testing'; @@ -17,6 +13,13 @@ import { schoolFactory } from '@src/modules/school/testing'; import { UserService } from '@src/modules/user'; import { BadDataLoggableException } from '../loggable'; import { TspProvisioningService } from './tsp-provisioning.service'; +import { + provisioningSystemDtoFactory, + externalClassDtoFactory, + oauthDataDtoFactory, + externalUserDtoFactory, + externalSchoolDtoFactory, +} from '../testing'; describe('TspProvisioningService', () => { let module: TestingModule; diff --git a/apps/server/src/modules/provisioning/strategy/schulconnex/schulconnex.strategy.spec.ts b/apps/server/src/modules/provisioning/strategy/schulconnex/schulconnex.strategy.spec.ts index f86346d37eb..8bbde69d3fe 100644 --- a/apps/server/src/modules/provisioning/strategy/schulconnex/schulconnex.strategy.spec.ts +++ b/apps/server/src/modules/provisioning/strategy/schulconnex/schulconnex.strategy.spec.ts @@ -7,13 +7,7 @@ import { Test, TestingModule } from '@nestjs/testing'; import { LegacySchoolDo, UserDO } from '@shared/domain/domainobject'; import { RoleName } from '@shared/domain/interface'; import { SystemProvisioningStrategy } from '@shared/domain/interface/system-provisioning.strategy'; -import { - externalGroupDtoFactory, - externalSchoolDtoFactory, - groupFactory, - legacySchoolDoFactory, - userDoFactory, -} from '@shared/testing'; +import { groupFactory, legacySchoolDoFactory, userDoFactory } from '@shared/testing'; import { Logger } from '@src/core/logger'; import { ExternalGroupDto, @@ -24,7 +18,7 @@ import { ProvisioningSystemDto, } from '../../dto'; import { ProvisioningConfig } from '../../provisioning.config'; -import { externalUserDtoFactory } from '../../testing'; +import { externalGroupDtoFactory, externalSchoolDtoFactory, externalUserDtoFactory } from '../../testing'; import { SchulconnexProvisioningStrategy } from './schulconnex.strategy'; import { SchulconnexCourseSyncService, diff --git a/apps/server/src/modules/provisioning/strategy/schulconnex/service/schulconnex-group-provisioning.service.spec.ts b/apps/server/src/modules/provisioning/strategy/schulconnex/service/schulconnex-group-provisioning.service.spec.ts index f5d48e48d4f..e005b01873b 100644 --- a/apps/server/src/modules/provisioning/strategy/schulconnex/service/schulconnex-group-provisioning.service.spec.ts +++ b/apps/server/src/modules/provisioning/strategy/schulconnex/service/schulconnex-group-provisioning.service.spec.ts @@ -16,16 +16,9 @@ import { NotFoundLoggableException } from '@shared/common/loggable-exception'; import { ExternalSource, LegacySchoolDo, Page, RoleReference, UserDO } from '@shared/domain/domainobject'; import { RoleName } from '@shared/domain/interface'; import { EntityId } from '@shared/domain/types'; -import { - externalGroupDtoFactory, - externalSchoolDtoFactory, - groupFactory, - legacySchoolDoFactory, - roleDtoFactory, - roleFactory, - userDoFactory, -} from '@shared/testing'; +import { groupFactory, legacySchoolDoFactory, roleDtoFactory, roleFactory, userDoFactory } from '@shared/testing'; import { Logger } from '@src/core/logger'; +import { externalGroupDtoFactory, externalSchoolDtoFactory } from '@modules/provisioning/testing'; import { ExternalGroupDto, ExternalSchoolDto } from '../../../dto'; import { SchoolForGroupNotFoundLoggable, UserForGroupNotFoundLoggable } from '../../../loggable'; import { SchulconnexGroupProvisioningService } from './schulconnex-group-provisioning.service'; diff --git a/apps/server/src/shared/testing/factory/external-class-dto.factory.ts b/apps/server/src/modules/provisioning/testing/external-class-dto.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/external-class-dto.factory.ts rename to apps/server/src/modules/provisioning/testing/external-class-dto.factory.ts diff --git a/apps/server/src/shared/testing/factory/external-school-dto.factory.ts b/apps/server/src/modules/provisioning/testing/external-school-dto.factory.ts similarity index 84% rename from apps/server/src/shared/testing/factory/external-school-dto.factory.ts rename to apps/server/src/modules/provisioning/testing/external-school-dto.factory.ts index 21f35cf0f03..31d93c4924e 100644 --- a/apps/server/src/shared/testing/factory/external-school-dto.factory.ts +++ b/apps/server/src/modules/provisioning/testing/external-school-dto.factory.ts @@ -1,6 +1,6 @@ import { ObjectId } from '@mikro-orm/mongodb'; import { ExternalSchoolDto } from '@modules/provisioning/dto'; -import { BaseFactory } from './base.factory'; +import { BaseFactory } from '../../../shared/testing/factory/base.factory'; class ExternalSchoolDtoFactory extends BaseFactory> {} diff --git a/apps/server/src/modules/provisioning/testing/index.ts b/apps/server/src/modules/provisioning/testing/index.ts index 32854894142..4d180c58f64 100644 --- a/apps/server/src/modules/provisioning/testing/index.ts +++ b/apps/server/src/modules/provisioning/testing/index.ts @@ -1,3 +1,8 @@ export { externalUserDtoFactory } from './external-user-dto.factory'; export { externalGroupDtoFactory } from './external-group-dto.factory'; export { externalGroupUserDtoFactory } from './external-group-user-dto.factory'; +export { oauthDataDtoFactory } from './oauth-data-dto.factory'; +export { externalClassDtoFactory } from './external-class-dto.factory'; +export { externalSchoolDtoFactory } from './external-school-dto.factory'; +export { provisioningSystemDtoFactory } from './provisioning-system-dto.factory'; +export { provisioningDtoFactory } from './provisioning-dto.factory'; diff --git a/apps/server/src/shared/testing/factory/oauth-data-dto.factory.ts b/apps/server/src/modules/provisioning/testing/oauth-data-dto.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/oauth-data-dto.factory.ts rename to apps/server/src/modules/provisioning/testing/oauth-data-dto.factory.ts diff --git a/apps/server/src/shared/testing/factory/provisioning-dto.factory.ts b/apps/server/src/modules/provisioning/testing/provisioning-dto.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/provisioning-dto.factory.ts rename to apps/server/src/modules/provisioning/testing/provisioning-dto.factory.ts diff --git a/apps/server/src/shared/testing/factory/provisioning-system-dto.factory.ts b/apps/server/src/modules/provisioning/testing/provisioning-system-dto.factory.ts similarity index 100% rename from apps/server/src/shared/testing/factory/provisioning-system-dto.factory.ts rename to apps/server/src/modules/provisioning/testing/provisioning-system-dto.factory.ts diff --git a/apps/server/src/shared/testing/factory/external-group-dto.factory.ts b/apps/server/src/shared/testing/factory/external-group-dto.factory.ts deleted file mode 100644 index a6172ff6acf..00000000000 --- a/apps/server/src/shared/testing/factory/external-group-dto.factory.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { GroupTypes } from '@modules/group'; -import { ExternalGroupDto } from '@modules/provisioning/dto'; -import { RoleName } from '@shared/domain/interface'; -import { ObjectId } from '@mikro-orm/mongodb'; -import { Factory } from 'fishery'; - -export const externalGroupDtoFactory = Factory.define(({ sequence }) => { - return { - externalId: new ObjectId().toHexString(), - name: `Group ${sequence}`, - type: GroupTypes.CLASS, - user: { - externalUserId: new ObjectId().toHexString(), - roleName: RoleName.TEACHER, - }, - otherUsers: [ - { - externalUserId: new ObjectId().toHexString(), - roleName: RoleName.STUDENT, - }, - ], - from: new Date(2023, 1), - until: new Date(2023, 6), - }; -}); diff --git a/apps/server/src/shared/testing/factory/external-user-dto.factory.ts b/apps/server/src/shared/testing/factory/external-user-dto.factory.ts deleted file mode 100644 index f6e887439d1..00000000000 --- a/apps/server/src/shared/testing/factory/external-user-dto.factory.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ObjectId } from '@mikro-orm/mongodb'; -import { RoleName } from '@shared/domain/interface'; -import { ExternalUserDto } from '@src/modules/provisioning'; -import { Factory } from 'fishery'; - -export const externalUserDtoFactory = Factory.define( - ({ sequence }) => - new ExternalUserDto({ - externalId: new ObjectId().toHexString(), - firstName: `Firstname ${sequence}`, - lastName: `Lastname ${sequence}`, - email: `Email ${sequence}`, - roles: [RoleName.STUDENT], - }) -); diff --git a/apps/server/src/shared/testing/factory/index.ts b/apps/server/src/shared/testing/factory/index.ts index d0d2e9568d9..9a6500b12c5 100644 --- a/apps/server/src/shared/testing/factory/index.ts +++ b/apps/server/src/shared/testing/factory/index.ts @@ -10,8 +10,6 @@ export * from './coursegroup.factory'; export * from './currentuser.factory'; export * from './domainobject'; export * from './entity.factory'; -export * from './external-group-dto.factory'; -export { externalSchoolDtoFactory } from './external-school-dto.factory'; export * from './external-tool-pseudonym.factory'; export * from './federal-state.factory'; export * from './filerecord.factory';