From 5bcc4ef3236e8c5c74fbfeca2f51f3422e5e670e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= <33655937+jkoenig134@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:52:01 +0200 Subject: [PATCH] Use `@nmshd/typescript-ioc` to get rid of vulnerabilities (#296) * chore: switch dependencies * chore: update code * chore: remove audit exclude --- .ci/runChecks.sh | 2 +- package-lock.json | 35 +++++++------------ packages/runtime/package.json | 2 +- packages/runtime/src/Runtime.ts | 2 +- .../runtime/src/dataViews/DataViewExpander.ts | 2 +- .../src/extensibility/AnonymousServices.ts | 2 +- .../src/extensibility/ConsumptionServices.ts | 2 +- .../src/extensibility/TransportServices.ts | 2 +- .../anonymous/AnonymousTokensFacade.ts | 2 +- .../anonymous/BackboneCompatibilityFacade.ts | 2 +- .../consumption/AttributeListenersFacade.ts | 2 +- .../facades/consumption/AttributesFacade.ts | 2 +- .../facades/consumption/DraftsFacade.ts | 2 +- .../consumption/IdentityMetadataFacade.ts | 2 +- .../consumption/IncomingRequestsFacade.ts | 2 +- .../consumption/NotificationsFacade.ts | 2 +- .../consumption/OutgoingRequestsFacade.ts | 2 +- .../facades/consumption/SettingsFacade.ts | 2 +- .../facades/transport/AccountFacade.ts | 2 +- .../facades/transport/ChallengesFacade.ts | 2 +- .../facades/transport/DevicesFacade.ts | 2 +- .../facades/transport/FilesFacade.ts | 2 +- .../IdentityDeletionProcessesFacade.ts | 2 +- .../facades/transport/MessagesFacade.ts | 2 +- .../transport/RelationshipTemplatesFacade.ts | 2 +- .../facades/transport/RelationshipsFacade.ts | 2 +- .../facades/transport/TokensFacade.ts | 2 +- .../CheckBackboneCompatibilityUseCase.ts | 2 +- .../tokens/LoadPeerTokenAnonymous.ts | 2 +- .../runtime/src/useCases/common/UseCase.ts | 2 +- .../GetAttributeListener.ts | 2 +- .../GetAttributeListeners.ts | 2 +- .../ChangeDefaultRepositoryAttribute.ts | 2 +- .../CreateAndShareRelationshipAttribute.ts | 2 +- .../attributes/CreateRepositoryAttribute.ts | 2 +- .../DeleteOwnSharedAttributeAndNotifyPeer.ts | 2 +- ...DeletePeerSharedAttributeAndNotifyOwner.ts | 2 +- .../attributes/DeleteRepositoryAttribute.ts | 2 +- ...ributesForRejectedOrRevokedRelationship.ts | 2 +- ...OwnedRelationshipAttributeAndNotifyPeer.ts | 2 +- .../consumption/attributes/ExecuteIQLQuery.ts | 2 +- .../ExecuteIdentityAttributeQuery.ts | 2 +- .../ExecuteRelationshipAttributeQuery.ts | 2 +- ...uteThirdPartyRelationshipAttributeQuery.ts | 2 +- .../consumption/attributes/GetAttribute.ts | 2 +- .../consumption/attributes/GetAttributes.ts | 2 +- .../attributes/GetOwnSharedAttributes.ts | 2 +- .../attributes/GetPeerSharedAttributes.ts | 2 +- .../attributes/GetRepositoryAttributes.ts | 2 +- .../GetSharedVersionsOfAttribute.ts | 2 +- .../attributes/GetVersionsOfAttribute.ts | 2 +- ...yPeerAboutRepositoryAttributeSuccession.ts | 2 +- .../attributes/ShareRepositoryAttribute.ts | 2 +- ...cceedRelationshipAttributeAndNotifyPeer.ts | 2 +- .../attributes/SucceedRepositoryAttribute.ts | 2 +- .../attributes/ValidateIQLQuery.ts | 2 +- .../consumption/drafts/CreateDraft.ts | 2 +- .../consumption/drafts/DeleteDraft.ts | 2 +- .../useCases/consumption/drafts/GetDraft.ts | 2 +- .../useCases/consumption/drafts/GetDrafts.ts | 2 +- .../consumption/drafts/UpdateDraft.ts | 2 +- .../DeleteIdentityMetadata.ts | 2 +- .../identityMetadata/GetIdentityMetadata.ts | 2 +- .../UpsertIdentityMetadata.ts | 2 +- .../notifications/GetNotification.ts | 2 +- .../notifications/GetNotifications.ts | 2 +- .../notifications/ProcessNotificationById.ts | 2 +- ...OpenNotifactionsReceivedByCurrentDevice.ts | 2 +- .../notifications/ReceivedNotification.ts | 2 +- .../notifications/SentNotification.ts | 2 +- .../requests/AcceptIncomingRequest.ts | 2 +- .../requests/CanAcceptIncomingRequest.ts | 2 +- .../requests/CanCreateOutgoingRequest.ts | 2 +- .../requests/CanRejectIncomingRequest.ts | 2 +- .../CheckPrerequisitesOfIncomingRequest.ts | 2 +- .../requests/CompleteIncomingRequest.ts | 2 +- .../requests/CompleteOutgoingRequest.ts | 2 +- ...RequestFromRelationshipTemplateResponse.ts | 2 +- .../requests/CreateOutgoingRequest.ts | 2 +- .../requests/DiscardOutgoingRequest.ts | 2 +- .../requests/GetIncomingRequest.ts | 2 +- .../requests/GetIncomingRequests.ts | 2 +- .../requests/GetOutgoingRequest.ts | 2 +- .../requests/GetOutgoingRequests.ts | 2 +- .../requests/ReceivedIncomingRequest.ts | 2 +- .../requests/RejectIncomingRequest.ts | 2 +- .../RequireManualDecisionOfIncomingRequest.ts | 2 +- .../requests/SentOutgoingRequest.ts | 2 +- .../consumption/settings/CreateSetting.ts | 2 +- .../consumption/settings/DeleteSetting.ts | 2 +- .../consumption/settings/GetSetting.ts | 2 +- .../consumption/settings/GetSettingByKey.ts | 2 +- .../consumption/settings/GetSettings.ts | 2 +- .../consumption/settings/UpdateSetting.ts | 2 +- .../settings/UpsertSettingByKey.ts | 2 +- .../transport/account/DisableAutoSync.ts | 2 +- .../transport/account/EnableAutoSync.ts | 2 +- .../transport/account/GetDeviceInfo.ts | 2 +- .../transport/account/GetIdentityInfo.ts | 2 +- .../useCases/transport/account/GetSyncInfo.ts | 2 +- .../account/LoadItemFromTruncatedReference.ts | 2 +- .../account/RegisterPushNotificationToken.ts | 2 +- .../transport/account/SyncDatawallet.ts | 2 +- .../transport/account/SyncEverything.ts | 2 +- .../UnregisterPushNotificationToken.ts | 2 +- .../transport/challenges/CreateChallenge.ts | 2 +- .../transport/challenges/ValidateChallenge.ts | 2 +- .../transport/devices/CreateDevice.ts | 2 +- .../devices/CreateDeviceOnboardingToken.ts | 2 +- .../transport/devices/DeleteDevice.ts | 2 +- .../useCases/transport/devices/GetDevice.ts | 2 +- .../devices/GetDeviceOnboardingInfo.ts | 2 +- .../useCases/transport/devices/GetDevices.ts | 2 +- .../devices/SetCommunicationLanguage.ts | 2 +- .../transport/devices/UpdateDevice.ts | 2 +- .../transport/files/CreateQRCodeForFile.ts | 2 +- .../transport/files/CreateTokenForFile.ts | 2 +- .../files/CreateTokenQRCodeForFile.ts | 2 +- .../useCases/transport/files/DownloadFile.ts | 2 +- .../src/useCases/transport/files/GetFile.ts | 2 +- .../src/useCases/transport/files/GetFiles.ts | 2 +- .../useCases/transport/files/GetOrLoadFile.ts | 2 +- .../useCases/transport/files/UploadOwnFile.ts | 2 +- .../ApproveIdentityDeletionProcess.ts | 2 +- .../CancelIdentityDeletionProcess.ts | 2 +- .../GetActiveIdentityDeletionProcess.ts | 2 +- .../GetIdentityDeletionProcess.ts | 2 +- .../GetIdentityDeletionProcesses.ts | 2 +- .../InitiateIdentityDeletionProcess.ts | 2 +- .../RejectIdentityDeletionProcess.ts | 2 +- .../transport/messages/DownloadAttachment.ts | 2 +- .../messages/GetAttachmentMetadata.ts | 2 +- .../useCases/transport/messages/GetMessage.ts | 2 +- .../transport/messages/GetMessages.ts | 2 +- .../transport/messages/MarkMessageAsRead.ts | 2 +- .../transport/messages/MarkMessageAsUnread.ts | 2 +- .../transport/messages/SendMessage.ts | 2 +- .../CreateOwnRelationshipTemplate.ts | 2 +- .../CreateQRCodeForOwnRelationshipTemplate.ts | 2 +- .../CreateTokenForOwnRelationshipTemplate.ts | 2 +- ...teTokenQRCodeForOwnRelationshipTemplate.ts | 2 +- .../GetRelationshipTemplate.ts | 2 +- .../GetRelationshipTemplates.ts | 2 +- .../LoadPeerRelationshipTemplate.ts | 2 +- .../relationships/AcceptRelationship.ts | 2 +- .../AcceptRelationshipReactivation.ts | 2 +- .../relationships/CreateRelationship.ts | 2 +- .../relationships/DecomposeRelationship.ts | 2 +- .../GetAttributesForRelationship.ts | 2 +- .../relationships/GetRelationship.ts | 2 +- .../relationships/GetRelationshipByAddress.ts | 2 +- .../relationships/GetRelationships.ts | 2 +- .../relationships/RejectRelationship.ts | 2 +- .../RejectRelationshipReactivation.ts | 2 +- .../RequestRelationshipReactivation.ts | 2 +- .../relationships/RevokeRelationship.ts | 2 +- .../RevokeRelationshipReactivation.ts | 2 +- .../relationships/TerminateRelationship.ts | 2 +- .../transport/tokens/CreateOwnToken.ts | 2 +- .../transport/tokens/GetQRCodeForToken.ts | 2 +- .../src/useCases/transport/tokens/GetToken.ts | 2 +- .../useCases/transport/tokens/GetTokens.ts | 2 +- .../transport/tokens/LoadPeerToken.ts | 2 +- .../runtime/test/misc/CorrelationId.test.ts | 2 +- 164 files changed, 175 insertions(+), 186 deletions(-) diff --git a/.ci/runChecks.sh b/.ci/runChecks.sh index 52e156c96..96eb2065e 100755 --- a/.ci/runChecks.sh +++ b/.ci/runChecks.sh @@ -5,4 +5,4 @@ npm run build:node npm run lint:eslint npm run lint:prettier npx -ws license-check -npx better-npm-audit audit --exclude 1096302 +npx better-npm-audit audit diff --git a/package-lock.json b/package-lock.json index d7fa99403..4983153b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1409,6 +1409,16 @@ "resolved": "packages/transport", "link": true }, + "node_modules/@nmshd/typescript-ioc": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@nmshd/typescript-ioc/-/typescript-ioc-3.2.4.tgz", + "integrity": "sha512-CNJbsdqcI+vB9eRACB0AI1s0IL3qXfuINKwoKVP/1DhuL+leZUXAV9GcuJ68Fr3scCz/fhzQK9bWLJus66V6HQ==", + "license": "MIT", + "dependencies": { + "lodash": "^4.17.21", + "reflect-metadata": "^0.2.2" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "dev": true, @@ -6026,10 +6036,6 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "license": "MIT" }, - "node_modules/lodash.get": { - "version": "4.4.2", - "license": "MIT" - }, "node_modules/lodash.memoize": { "version": "4.1.2", "dev": true, @@ -6040,10 +6046,6 @@ "dev": true, "license": "MIT" }, - "node_modules/lodash.set": { - "version": "4.3.2", - "license": "MIT" - }, "node_modules/log-symbols": { "version": "4.1.0", "dev": true, @@ -9158,19 +9160,6 @@ "node": ">=14.17" } }, - "node_modules/typescript-ioc": { - "version": "3.2.2", - "license": "MIT", - "dependencies": { - "lodash.get": "^4.4.2", - "lodash.set": "^4.3.2", - "reflect-metadata": "^0.1.13" - } - }, - "node_modules/typescript-ioc/node_modules/reflect-metadata": { - "version": "0.1.14", - "license": "Apache-2.0" - }, "node_modules/typescript-logging": { "version": "2.2.0", "license": "Apache-2.0" @@ -9629,6 +9618,7 @@ "@nmshd/crypto": "2.0.7", "@nmshd/iql": "^1.0.2", "@nmshd/transport": "*", + "@nmshd/typescript-ioc": "3.2.4", "ajv": "^8.17.1", "ajv-errors": "^3.0.0", "ajv-formats": "^3.0.1", @@ -9637,8 +9627,7 @@ "luxon": "^3.5.0", "qrcode": "1.5.4", "reflect-metadata": "^0.2.2", - "ts-simple-nameof": "^1.3.1", - "typescript-ioc": "3.2.2" + "ts-simple-nameof": "^1.3.1" }, "devDependencies": { "@js-soft/docdb-access-loki": "1.1.0", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index f3e0f5da3..8573db9c8 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -79,7 +79,7 @@ "qrcode": "1.5.4", "reflect-metadata": "^0.2.2", "ts-simple-nameof": "^1.3.1", - "typescript-ioc": "3.2.2" + "@nmshd/typescript-ioc": "3.2.4" }, "devDependencies": { "@js-soft/docdb-access-loki": "1.1.0", diff --git a/packages/runtime/src/Runtime.ts b/packages/runtime/src/Runtime.ts index 4b6da8bb2..6f2faa8e7 100644 --- a/packages/runtime/src/Runtime.ts +++ b/packages/runtime/src/Runtime.ts @@ -30,7 +30,7 @@ import { TokenController, Transport } from "@nmshd/transport"; -import { Container, Scope } from "typescript-ioc"; +import { Container, Scope } from "@nmshd/typescript-ioc"; import { buildInformation } from "./buildInformation"; import { DatabaseSchemaUpgrader } from "./DatabaseSchemaUpgrader"; import { DataViewExpander } from "./dataViews"; diff --git a/packages/runtime/src/dataViews/DataViewExpander.ts b/packages/runtime/src/dataViews/DataViewExpander.ts index 417f5c2d5..0151742a7 100644 --- a/packages/runtime/src/dataViews/DataViewExpander.ts +++ b/packages/runtime/src/dataViews/DataViewExpander.ts @@ -53,8 +53,8 @@ import { } from "@nmshd/content"; import { CoreAddress, CoreId } from "@nmshd/core-types"; import { IdentityController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import _ from "lodash"; -import { Inject } from "typescript-ioc"; import { AuthenticationRequestItemDVO, ConsentRequestItemDVO, diff --git a/packages/runtime/src/extensibility/AnonymousServices.ts b/packages/runtime/src/extensibility/AnonymousServices.ts index 8d7b85310..5b1b2a57c 100644 --- a/packages/runtime/src/extensibility/AnonymousServices.ts +++ b/packages/runtime/src/extensibility/AnonymousServices.ts @@ -1,4 +1,4 @@ -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AnonymousTokensFacade, BackboneCompatibilityFacade } from "./facades/anonymous"; export class AnonymousServices { diff --git a/packages/runtime/src/extensibility/ConsumptionServices.ts b/packages/runtime/src/extensibility/ConsumptionServices.ts index 60b21b360..78c40ba2c 100644 --- a/packages/runtime/src/extensibility/ConsumptionServices.ts +++ b/packages/runtime/src/extensibility/ConsumptionServices.ts @@ -1,4 +1,4 @@ -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AttributeListenersFacade, AttributesFacade, diff --git a/packages/runtime/src/extensibility/TransportServices.ts b/packages/runtime/src/extensibility/TransportServices.ts index a6eeabaa5..ecf2c97ac 100644 --- a/packages/runtime/src/extensibility/TransportServices.ts +++ b/packages/runtime/src/extensibility/TransportServices.ts @@ -1,4 +1,4 @@ -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AccountFacade, ChallengesFacade, diff --git a/packages/runtime/src/extensibility/facades/anonymous/AnonymousTokensFacade.ts b/packages/runtime/src/extensibility/facades/anonymous/AnonymousTokensFacade.ts index 088fc82a0..eb31b4f98 100644 --- a/packages/runtime/src/extensibility/facades/anonymous/AnonymousTokensFacade.ts +++ b/packages/runtime/src/extensibility/facades/anonymous/AnonymousTokensFacade.ts @@ -1,5 +1,5 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { LoadPeerTokenAnonymousRequest, LoadPeerTokenAnonymousUseCase } from "../../../useCases"; diff --git a/packages/runtime/src/extensibility/facades/anonymous/BackboneCompatibilityFacade.ts b/packages/runtime/src/extensibility/facades/anonymous/BackboneCompatibilityFacade.ts index 3422f8076..81fbbffe4 100644 --- a/packages/runtime/src/extensibility/facades/anonymous/BackboneCompatibilityFacade.ts +++ b/packages/runtime/src/extensibility/facades/anonymous/BackboneCompatibilityFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { CheckBackboneCompatibilityResponse, CheckBackboneCompatibilityUseCase } from "../../../useCases"; export class BackboneCompatibilityFacade { diff --git a/packages/runtime/src/extensibility/facades/consumption/AttributeListenersFacade.ts b/packages/runtime/src/extensibility/facades/consumption/AttributeListenersFacade.ts index c1c5d55de..cba072e80 100644 --- a/packages/runtime/src/extensibility/facades/consumption/AttributeListenersFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/AttributeListenersFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeListenerDTO } from "../../../types"; import { GetAttributeListenerRequest, GetAttributeListenersUseCase, GetAttributeListenerUseCase } from "../../../useCases"; diff --git a/packages/runtime/src/extensibility/facades/consumption/AttributesFacade.ts b/packages/runtime/src/extensibility/facades/consumption/AttributesFacade.ts index 181fd2c63..7ca3b2dde 100644 --- a/packages/runtime/src/extensibility/facades/consumption/AttributesFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/AttributesFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO, LocalRequestDTO } from "../../../types"; import { ChangeDefaultRepositoryAttributeRequest, diff --git a/packages/runtime/src/extensibility/facades/consumption/DraftsFacade.ts b/packages/runtime/src/extensibility/facades/consumption/DraftsFacade.ts index 0ed7b157d..9fb9e3d32 100644 --- a/packages/runtime/src/extensibility/facades/consumption/DraftsFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/DraftsFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DraftDTO } from "../../../types"; import { CreateDraftRequest, diff --git a/packages/runtime/src/extensibility/facades/consumption/IdentityMetadataFacade.ts b/packages/runtime/src/extensibility/facades/consumption/IdentityMetadataFacade.ts index 402866933..6fef837eb 100644 --- a/packages/runtime/src/extensibility/facades/consumption/IdentityMetadataFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/IdentityMetadataFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityMetadataDTO } from "../../../types"; import { DeleteIdentityMetadataRequest, diff --git a/packages/runtime/src/extensibility/facades/consumption/IncomingRequestsFacade.ts b/packages/runtime/src/extensibility/facades/consumption/IncomingRequestsFacade.ts index 325965c92..98bddc8ed 100644 --- a/packages/runtime/src/extensibility/facades/consumption/IncomingRequestsFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/IncomingRequestsFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO, RequestValidationResultDTO } from "../../../types"; import { AcceptIncomingRequestRequest, diff --git a/packages/runtime/src/extensibility/facades/consumption/NotificationsFacade.ts b/packages/runtime/src/extensibility/facades/consumption/NotificationsFacade.ts index c167cea33..d49dad3ef 100644 --- a/packages/runtime/src/extensibility/facades/consumption/NotificationsFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/NotificationsFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalNotificationDTO } from "../../../types"; import { GetNotificationRequest, diff --git a/packages/runtime/src/extensibility/facades/consumption/OutgoingRequestsFacade.ts b/packages/runtime/src/extensibility/facades/consumption/OutgoingRequestsFacade.ts index fdd8de698..14baadcf0 100644 --- a/packages/runtime/src/extensibility/facades/consumption/OutgoingRequestsFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/OutgoingRequestsFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO, RequestValidationResultDTO } from "../../../types"; import { CanCreateOutgoingRequestRequest, diff --git a/packages/runtime/src/extensibility/facades/consumption/SettingsFacade.ts b/packages/runtime/src/extensibility/facades/consumption/SettingsFacade.ts index cae195c2b..6dfa979e2 100644 --- a/packages/runtime/src/extensibility/facades/consumption/SettingsFacade.ts +++ b/packages/runtime/src/extensibility/facades/consumption/SettingsFacade.ts @@ -1,5 +1,5 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SettingDTO } from "../../../types"; import { CreateSettingRequest, diff --git a/packages/runtime/src/extensibility/facades/transport/AccountFacade.ts b/packages/runtime/src/extensibility/facades/transport/AccountFacade.ts index 520e2ca14..80c63e456 100644 --- a/packages/runtime/src/extensibility/facades/transport/AccountFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/AccountFacade.ts @@ -1,5 +1,5 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO } from "../../../types"; import { DisableAutoSyncUseCase, diff --git a/packages/runtime/src/extensibility/facades/transport/ChallengesFacade.ts b/packages/runtime/src/extensibility/facades/transport/ChallengesFacade.ts index 763889cbd..684fe34b2 100644 --- a/packages/runtime/src/extensibility/facades/transport/ChallengesFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/ChallengesFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { ChallengeDTO } from "../../../types"; import { CreateChallengeRequest, CreateChallengeUseCase, ValidateChallengeRequest, ValidateChallengeResponse, ValidateChallengeUseCase } from "../../../useCases"; diff --git a/packages/runtime/src/extensibility/facades/transport/DevicesFacade.ts b/packages/runtime/src/extensibility/facades/transport/DevicesFacade.ts index a24d50b28..679ab4213 100644 --- a/packages/runtime/src/extensibility/facades/transport/DevicesFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/DevicesFacade.ts @@ -1,5 +1,5 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO, DeviceOnboardingInfoDTO, TokenDTO } from "../../.."; import { CreateDeviceOnboardingTokenRequest, diff --git a/packages/runtime/src/extensibility/facades/transport/FilesFacade.ts b/packages/runtime/src/extensibility/facades/transport/FilesFacade.ts index da099c90c..ef974d90c 100644 --- a/packages/runtime/src/extensibility/facades/transport/FilesFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/FilesFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileDTO, TokenDTO } from "../../../types"; import { CreateQRCodeForFileRequest, diff --git a/packages/runtime/src/extensibility/facades/transport/IdentityDeletionProcessesFacade.ts b/packages/runtime/src/extensibility/facades/transport/IdentityDeletionProcessesFacade.ts index 7b0caa446..0df76814b 100644 --- a/packages/runtime/src/extensibility/facades/transport/IdentityDeletionProcessesFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/IdentityDeletionProcessesFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types"; import { ApproveIdentityDeletionProcessUseCase, diff --git a/packages/runtime/src/extensibility/facades/transport/MessagesFacade.ts b/packages/runtime/src/extensibility/facades/transport/MessagesFacade.ts index 4398c7a38..d016ba791 100644 --- a/packages/runtime/src/extensibility/facades/transport/MessagesFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/MessagesFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileDTO, MessageDTO, MessageWithAttachmentsDTO } from "../../../types"; import { DownloadAttachmentRequest, diff --git a/packages/runtime/src/extensibility/facades/transport/RelationshipTemplatesFacade.ts b/packages/runtime/src/extensibility/facades/transport/RelationshipTemplatesFacade.ts index 166862c70..4950e3981 100644 --- a/packages/runtime/src/extensibility/facades/transport/RelationshipTemplatesFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/RelationshipTemplatesFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipTemplateDTO, TokenDTO } from "../../../types"; import { CreateOwnRelationshipTemplateRequest, diff --git a/packages/runtime/src/extensibility/facades/transport/RelationshipsFacade.ts b/packages/runtime/src/extensibility/facades/transport/RelationshipsFacade.ts index 180073aa4..5f2b5706c 100644 --- a/packages/runtime/src/extensibility/facades/transport/RelationshipsFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/RelationshipsFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { AcceptRelationshipReactivationRequest, diff --git a/packages/runtime/src/extensibility/facades/transport/TokensFacade.ts b/packages/runtime/src/extensibility/facades/transport/TokensFacade.ts index 8d5b0f506..4c4969438 100644 --- a/packages/runtime/src/extensibility/facades/transport/TokensFacade.ts +++ b/packages/runtime/src/extensibility/facades/transport/TokensFacade.ts @@ -1,5 +1,5 @@ import { Result } from "@js-soft/ts-utils"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { CreateOwnTokenRequest, diff --git a/packages/runtime/src/useCases/anonymous/backboneCompatibility/CheckBackboneCompatibilityUseCase.ts b/packages/runtime/src/useCases/anonymous/backboneCompatibility/CheckBackboneCompatibilityUseCase.ts index 18fd8c81c..a74e70e7f 100644 --- a/packages/runtime/src/useCases/anonymous/backboneCompatibility/CheckBackboneCompatibilityUseCase.ts +++ b/packages/runtime/src/useCases/anonymous/backboneCompatibility/CheckBackboneCompatibilityUseCase.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { BackboneCompatibilityController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export interface CheckBackboneCompatibilityResponse { diff --git a/packages/runtime/src/useCases/anonymous/tokens/LoadPeerTokenAnonymous.ts b/packages/runtime/src/useCases/anonymous/tokens/LoadPeerTokenAnonymous.ts index 3eec7c492..82d4b9990 100644 --- a/packages/runtime/src/useCases/anonymous/tokens/LoadPeerTokenAnonymous.ts +++ b/packages/runtime/src/useCases/anonymous/tokens/LoadPeerTokenAnonymous.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AnonymousTokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, TokenReferenceString, UseCase } from "../../common"; import { TokenMapper } from "../../transport/tokens/TokenMapper"; diff --git a/packages/runtime/src/useCases/common/UseCase.ts b/packages/runtime/src/useCases/common/UseCase.ts index 60ff9fd45..8f24230bf 100644 --- a/packages/runtime/src/useCases/common/UseCase.ts +++ b/packages/runtime/src/useCases/common/UseCase.ts @@ -2,8 +2,8 @@ import { ParsingError, ServalError, ValidationError } from "@js-soft/ts-serval"; import { ApplicationError, Result } from "@js-soft/ts-utils"; import { CoreError } from "@nmshd/core-types"; import { RequestError } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import stringifySafe from "json-stringify-safe"; -import { Inject } from "typescript-ioc"; import { AbstractCorrelator } from "./AbstractCorrelator"; import { PlatformErrorCodes } from "./PlatformErrorCodes"; import { RuntimeErrors } from "./RuntimeErrors"; diff --git a/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListener.ts b/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListener.ts index dbbfa81b3..0b8576cf3 100644 --- a/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListener.ts +++ b/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListener.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributeListenersController, LocalAttributeListener } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeListenerDTO } from "../../../types"; import { AttributeListenerIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeListenerMapper } from "./AttributeListenerMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListeners.ts b/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListeners.ts index 1d0e0a592..c01c0abbd 100644 --- a/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListeners.ts +++ b/packages/runtime/src/useCases/consumption/attributeListeners/GetAttributeListeners.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AttributeListenersController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeListenerDTO } from "../../../types"; import { UseCase } from "../../common"; import { AttributeListenerMapper } from "./AttributeListenerMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/ChangeDefaultRepositoryAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/ChangeDefaultRepositoryAttribute.ts index 4b27a2551..4cf806a7f 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ChangeDefaultRepositoryAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ChangeDefaultRepositoryAttribute.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController, LocalAttribute } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AttributeIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.ts index 809fde551..ffdedf2ad 100644 --- a/packages/runtime/src/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/CreateAndShareRelationshipAttribute.ts @@ -3,7 +3,7 @@ import { CreateOutgoingRequestParameters, OutgoingRequestsController } from "@nm import { AttributeValues, CreateAttributeRequestItem, RelationshipAttribute, RelationshipAttributeConfidentiality, Request } from "@nmshd/content"; import { CoreAddress } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { AddressString, ISO8601DateTimeString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RequestMapper } from "../requests"; diff --git a/packages/runtime/src/useCases/consumption/attributes/CreateRepositoryAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/CreateRepositoryAttribute.ts index 7395cb353..35fcd0251 100644 --- a/packages/runtime/src/useCases/consumption/attributes/CreateRepositoryAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/CreateRepositoryAttribute.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController, CreateRepositoryAttributeParams } from "@nmshd/consumption"; import { AttributeValues } from "@nmshd/content"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { ISO8601DateTimeString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/DeleteOwnSharedAttributeAndNotifyPeer.ts b/packages/runtime/src/useCases/consumption/attributes/DeleteOwnSharedAttributeAndNotifyPeer.ts index 688138f5b..0454747b3 100644 --- a/packages/runtime/src/useCases/consumption/attributes/DeleteOwnSharedAttributeAndNotifyPeer.ts +++ b/packages/runtime/src/useCases/consumption/attributes/DeleteOwnSharedAttributeAndNotifyPeer.ts @@ -3,7 +3,7 @@ import { AttributesController, ConsumptionIds, LocalAttribute } from "@nmshd/con import { Notification, OwnSharedAttributeDeletedByOwnerNotificationItem } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AttributeIdString, NotificationIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteOwnSharedAttributeAndNotifyPeerRequest { diff --git a/packages/runtime/src/useCases/consumption/attributes/DeletePeerSharedAttributeAndNotifyOwner.ts b/packages/runtime/src/useCases/consumption/attributes/DeletePeerSharedAttributeAndNotifyOwner.ts index 98e116326..7b0c7241a 100644 --- a/packages/runtime/src/useCases/consumption/attributes/DeletePeerSharedAttributeAndNotifyOwner.ts +++ b/packages/runtime/src/useCases/consumption/attributes/DeletePeerSharedAttributeAndNotifyOwner.ts @@ -3,7 +3,7 @@ import { AttributesController, ConsumptionIds, LocalAttribute } from "@nmshd/con import { Notification, PeerSharedAttributeDeletedByPeerNotificationItem } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AttributeIdString, NotificationIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeletePeerSharedAttributeAndNotifyOwnerRequest { diff --git a/packages/runtime/src/useCases/consumption/attributes/DeleteRepositoryAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/DeleteRepositoryAttribute.ts index 08744a806..340033fa3 100644 --- a/packages/runtime/src/useCases/consumption/attributes/DeleteRepositoryAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/DeleteRepositoryAttribute.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController, LocalAttribute } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AttributeIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteRepositoryAttributeRequest { diff --git a/packages/runtime/src/useCases/consumption/attributes/DeleteSharedAttributesForRejectedOrRevokedRelationship.ts b/packages/runtime/src/useCases/consumption/attributes/DeleteSharedAttributesForRejectedOrRevokedRelationship.ts index 7e5cebaaa..cd260aa84 100644 --- a/packages/runtime/src/useCases/consumption/attributes/DeleteSharedAttributesForRejectedOrRevokedRelationship.ts +++ b/packages/runtime/src/useCases/consumption/attributes/DeleteSharedAttributesForRejectedOrRevokedRelationship.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController, RelationshipStatus } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteSharedAttributesForRejectedOrRevokedRelationshipRequest { diff --git a/packages/runtime/src/useCases/consumption/attributes/DeleteThirdPartyOwnedRelationshipAttributeAndNotifyPeer.ts b/packages/runtime/src/useCases/consumption/attributes/DeleteThirdPartyOwnedRelationshipAttributeAndNotifyPeer.ts index f406663c2..3ba86d04b 100644 --- a/packages/runtime/src/useCases/consumption/attributes/DeleteThirdPartyOwnedRelationshipAttributeAndNotifyPeer.ts +++ b/packages/runtime/src/useCases/consumption/attributes/DeleteThirdPartyOwnedRelationshipAttributeAndNotifyPeer.ts @@ -3,7 +3,7 @@ import { AttributesController, ConsumptionIds, LocalAttribute } from "@nmshd/con import { Notification, ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AttributeIdString, NotificationIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteThirdPartyOwnedRelationshipAttributeAndNotifyPeerRequest { diff --git a/packages/runtime/src/useCases/consumption/attributes/ExecuteIQLQuery.ts b/packages/runtime/src/useCases/consumption/attributes/ExecuteIQLQuery.ts index d80600a2f..7b3caa1f1 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ExecuteIQLQuery.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ExecuteIQLQuery.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { IQLQuery, IQLQueryJSON } from "@nmshd/content"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/ExecuteIdentityAttributeQuery.ts b/packages/runtime/src/useCases/consumption/attributes/ExecuteIdentityAttributeQuery.ts index f53377300..e0e5ee938 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ExecuteIdentityAttributeQuery.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ExecuteIdentityAttributeQuery.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { IdentityAttributeQuery, IdentityAttributeQueryJSON } from "@nmshd/content"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.ts b/packages/runtime/src/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.ts index 25835c80d..e9b20ad08 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ExecuteRelationshipAttributeQuery.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { RelationshipAttributeQuery, RelationshipAttributeQueryJSON } from "@nmshd/content"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { RuntimeErrors, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/ExecuteThirdPartyRelationshipAttributeQuery.ts b/packages/runtime/src/useCases/consumption/attributes/ExecuteThirdPartyRelationshipAttributeQuery.ts index de5733328..51d7fd079 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ExecuteThirdPartyRelationshipAttributeQuery.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ExecuteThirdPartyRelationshipAttributeQuery.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { ThirdPartyRelationshipAttributeQuery, ThirdPartyRelationshipAttributeQueryJSON } from "@nmshd/content"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/GetAttribute.ts index 7cd042c62..b1570a46d 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetAttribute.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController, LocalAttribute } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AttributeIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetAttributes.ts b/packages/runtime/src/useCases/consumption/attributes/GetAttributes.ts index abfa816de..cfe8b71d2 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetAttributes.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetAttributes.ts @@ -2,9 +2,9 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { AttributesController, LocalAttribute, LocalAttributeDeletionInfoJSON, LocalAttributeShareInfoJSON } from "@nmshd/consumption"; import { AbstractAttributeJSON, IdentityAttribute, IdentityAttributeJSON, RelationshipAttributeJSON } from "@nmshd/content"; +import { Inject } from "@nmshd/typescript-ioc"; import { DateTime } from "luxon"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { UseCase } from "../../common"; import { flattenObject } from "../../common/flattenObject"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetOwnSharedAttributes.ts b/packages/runtime/src/useCases/consumption/attributes/GetOwnSharedAttributes.ts index 2eb864042..ee096ec80 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetOwnSharedAttributes.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetOwnSharedAttributes.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { IdentityController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AddressString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { flattenObject } from "../../common/flattenObject"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetPeerSharedAttributes.ts b/packages/runtime/src/useCases/consumption/attributes/GetPeerSharedAttributes.ts index 517515021..1f5429824 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetPeerSharedAttributes.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetPeerSharedAttributes.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AddressString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { flattenObject } from "../../common/flattenObject"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetRepositoryAttributes.ts b/packages/runtime/src/useCases/consumption/attributes/GetRepositoryAttributes.ts index ff43cd711..76c45d390 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetRepositoryAttributes.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetRepositoryAttributes.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AttributeMapper, GetAttributesRequestQuery, GetAttributesUseCase } from ".."; import { LocalAttributeDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase, flattenObject } from "../../common"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetSharedVersionsOfAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/GetSharedVersionsOfAttribute.ts index 37ee084db..c62d23438 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetSharedVersionsOfAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetSharedVersionsOfAttribute.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController, LocalAttribute } from "@nmshd/consumption"; import { CoreAddress, CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AddressString, AttributeIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/GetVersionsOfAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/GetVersionsOfAttribute.ts index db55b8f91..f61c1ed2a 100644 --- a/packages/runtime/src/useCases/consumption/attributes/GetVersionsOfAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/GetVersionsOfAttribute.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController, LocalAttribute } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AttributeIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts b/packages/runtime/src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts index 1121dccec..234325904 100644 --- a/packages/runtime/src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts +++ b/packages/runtime/src/useCases/consumption/attributes/NotifyPeerAboutRepositoryAttributeSuccession.ts @@ -3,7 +3,7 @@ import { AttributesController, ConsumptionIds, IAttributeSuccessorParams, LocalA import { Notification, PeerSharedAttributeSucceededNotificationItem } from "@nmshd/content"; import { CoreAddress, CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AddressString, AttributeIdString, NotificationIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/ShareRepositoryAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/ShareRepositoryAttribute.ts index 5671da82a..5bbd432f5 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ShareRepositoryAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ShareRepositoryAttribute.ts @@ -3,7 +3,7 @@ import { AttributesController, CreateOutgoingRequestParameters, ErrorValidationR import { Request, ShareAttributeRequestItem } from "@nmshd/content"; import { CoreAddress, CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { AddressString, AttributeIdString, ISO8601DateTimeString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RequestMapper } from "../requests"; diff --git a/packages/runtime/src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts b/packages/runtime/src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts index 20e2fd2d6..2eb32cb8c 100644 --- a/packages/runtime/src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts +++ b/packages/runtime/src/useCases/consumption/attributes/SucceedRelationshipAttributeAndNotifyPeer.ts @@ -3,7 +3,7 @@ import { AttributesController, AttributeSuccessorParams, ConsumptionCoreErrors, import { AttributeValues, Notification, PeerSharedAttributeSucceededNotificationItem, RelationshipAttribute, RelationshipAttributeJSON } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { AttributeIdString, ISO8601DateTimeString, NotificationIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/SucceedRepositoryAttribute.ts b/packages/runtime/src/useCases/consumption/attributes/SucceedRepositoryAttribute.ts index 0c72f9b1a..0a73a4109 100644 --- a/packages/runtime/src/useCases/consumption/attributes/SucceedRepositoryAttribute.ts +++ b/packages/runtime/src/useCases/consumption/attributes/SucceedRepositoryAttribute.ts @@ -3,7 +3,7 @@ import { AttributesController, AttributeSuccessorParamsJSON, ConsumptionCoreErro import { AttributeValues } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { ISO8601DateTimeString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "./AttributeMapper"; diff --git a/packages/runtime/src/useCases/consumption/attributes/ValidateIQLQuery.ts b/packages/runtime/src/useCases/consumption/attributes/ValidateIQLQuery.ts index 59a364d60..53a3a1f70 100644 --- a/packages/runtime/src/useCases/consumption/attributes/ValidateIQLQuery.ts +++ b/packages/runtime/src/useCases/consumption/attributes/ValidateIQLQuery.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { IQLQuery, IQLQueryJSON } from "@nmshd/content"; import { IValidateResult, validate as validateIQL } from "@nmshd/iql"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; export type ValidateIQLQueryResponse = IValidateResult; diff --git a/packages/runtime/src/useCases/consumption/drafts/CreateDraft.ts b/packages/runtime/src/useCases/consumption/drafts/CreateDraft.ts index 5e944dcbb..6b2ec69ae 100644 --- a/packages/runtime/src/useCases/consumption/drafts/CreateDraft.ts +++ b/packages/runtime/src/useCases/consumption/drafts/CreateDraft.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { DraftsController } from "@nmshd/consumption"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DraftDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DraftMapper } from "./DraftMapper"; diff --git a/packages/runtime/src/useCases/consumption/drafts/DeleteDraft.ts b/packages/runtime/src/useCases/consumption/drafts/DeleteDraft.ts index 3dda0ef45..472212e3a 100644 --- a/packages/runtime/src/useCases/consumption/drafts/DeleteDraft.ts +++ b/packages/runtime/src/useCases/consumption/drafts/DeleteDraft.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { Draft, DraftsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalDraftIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteDraftRequest { diff --git a/packages/runtime/src/useCases/consumption/drafts/GetDraft.ts b/packages/runtime/src/useCases/consumption/drafts/GetDraft.ts index 4634df507..615ace43c 100644 --- a/packages/runtime/src/useCases/consumption/drafts/GetDraft.ts +++ b/packages/runtime/src/useCases/consumption/drafts/GetDraft.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { Draft, DraftsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DraftDTO } from "../../../types"; import { LocalDraftIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DraftMapper } from "./DraftMapper"; diff --git a/packages/runtime/src/useCases/consumption/drafts/GetDrafts.ts b/packages/runtime/src/useCases/consumption/drafts/GetDrafts.ts index 1f8adf534..942857ce8 100644 --- a/packages/runtime/src/useCases/consumption/drafts/GetDrafts.ts +++ b/packages/runtime/src/useCases/consumption/drafts/GetDrafts.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { DraftsController } from "@nmshd/consumption"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { DraftDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DraftMapper } from "./DraftMapper"; diff --git a/packages/runtime/src/useCases/consumption/drafts/UpdateDraft.ts b/packages/runtime/src/useCases/consumption/drafts/UpdateDraft.ts index e6bdd82bb..2113bfde8 100644 --- a/packages/runtime/src/useCases/consumption/drafts/UpdateDraft.ts +++ b/packages/runtime/src/useCases/consumption/drafts/UpdateDraft.ts @@ -3,7 +3,7 @@ import { Result } from "@js-soft/ts-utils"; import { Draft, DraftsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DraftDTO } from "../../../types"; import { LocalDraftIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DraftMapper } from "./DraftMapper"; diff --git a/packages/runtime/src/useCases/consumption/identityMetadata/DeleteIdentityMetadata.ts b/packages/runtime/src/useCases/consumption/identityMetadata/DeleteIdentityMetadata.ts index 1743f7c2c..11c692b73 100644 --- a/packages/runtime/src/useCases/consumption/identityMetadata/DeleteIdentityMetadata.ts +++ b/packages/runtime/src/useCases/consumption/identityMetadata/DeleteIdentityMetadata.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityMetadata, IdentityMetadataController } from "@nmshd/consumption"; import { CoreAddress } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AddressString, RuntimeErrors, SchemaRepository, SchemaValidator } from "../../common"; import { UseCase } from "../../common/UseCase"; diff --git a/packages/runtime/src/useCases/consumption/identityMetadata/GetIdentityMetadata.ts b/packages/runtime/src/useCases/consumption/identityMetadata/GetIdentityMetadata.ts index 5d8cda32a..fafb00498 100644 --- a/packages/runtime/src/useCases/consumption/identityMetadata/GetIdentityMetadata.ts +++ b/packages/runtime/src/useCases/consumption/identityMetadata/GetIdentityMetadata.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityMetadata, IdentityMetadataController } from "@nmshd/consumption"; import { CoreAddress } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityMetadataDTO } from "../../../types"; import { AddressString, RuntimeErrors, SchemaRepository, SchemaValidator } from "../../common"; import { UseCase } from "../../common/UseCase"; diff --git a/packages/runtime/src/useCases/consumption/identityMetadata/UpsertIdentityMetadata.ts b/packages/runtime/src/useCases/consumption/identityMetadata/UpsertIdentityMetadata.ts index 3f5be6550..078d14272 100644 --- a/packages/runtime/src/useCases/consumption/identityMetadata/UpsertIdentityMetadata.ts +++ b/packages/runtime/src/useCases/consumption/identityMetadata/UpsertIdentityMetadata.ts @@ -3,7 +3,7 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityMetadataController } from "@nmshd/consumption"; import { CoreAddress } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityMetadataDTO } from "../../../types"; import { AddressString, SchemaRepository, SchemaValidator } from "../../common"; import { UseCase } from "../../common/UseCase"; diff --git a/packages/runtime/src/useCases/consumption/notifications/GetNotification.ts b/packages/runtime/src/useCases/consumption/notifications/GetNotification.ts index 8a09c8539..78d9a09d3 100644 --- a/packages/runtime/src/useCases/consumption/notifications/GetNotification.ts +++ b/packages/runtime/src/useCases/consumption/notifications/GetNotification.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { NotificationsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalNotificationDTO } from "../../../types"; import { NotificationIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { NotificationMapper } from "./NotificationMapper"; diff --git a/packages/runtime/src/useCases/consumption/notifications/GetNotifications.ts b/packages/runtime/src/useCases/consumption/notifications/GetNotifications.ts index 2afa8095e..755c210a2 100644 --- a/packages/runtime/src/useCases/consumption/notifications/GetNotifications.ts +++ b/packages/runtime/src/useCases/consumption/notifications/GetNotifications.ts @@ -1,7 +1,7 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { NotificationsController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalNotificationDTO } from "../../../types"; import { UseCase } from "../../common"; import { NotificationMapper } from "./NotificationMapper"; diff --git a/packages/runtime/src/useCases/consumption/notifications/ProcessNotificationById.ts b/packages/runtime/src/useCases/consumption/notifications/ProcessNotificationById.ts index 497599e1c..90c5371f5 100644 --- a/packages/runtime/src/useCases/consumption/notifications/ProcessNotificationById.ts +++ b/packages/runtime/src/useCases/consumption/notifications/ProcessNotificationById.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { NotificationsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalNotificationDTO } from "../../../types"; import { NotificationIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { NotificationMapper } from "./NotificationMapper"; diff --git a/packages/runtime/src/useCases/consumption/notifications/ProcessOpenNotifactionsReceivedByCurrentDevice.ts b/packages/runtime/src/useCases/consumption/notifications/ProcessOpenNotifactionsReceivedByCurrentDevice.ts index 0c7fe4262..1deea37f9 100644 --- a/packages/runtime/src/useCases/consumption/notifications/ProcessOpenNotifactionsReceivedByCurrentDevice.ts +++ b/packages/runtime/src/useCases/consumption/notifications/ProcessOpenNotifactionsReceivedByCurrentDevice.ts @@ -1,6 +1,6 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { NotificationsController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export class ProcessOpenNotifactionsReceivedByCurrentDeviceUseCase extends UseCase { diff --git a/packages/runtime/src/useCases/consumption/notifications/ReceivedNotification.ts b/packages/runtime/src/useCases/consumption/notifications/ReceivedNotification.ts index d88ccad96..1fb165451 100644 --- a/packages/runtime/src/useCases/consumption/notifications/ReceivedNotification.ts +++ b/packages/runtime/src/useCases/consumption/notifications/ReceivedNotification.ts @@ -3,7 +3,7 @@ import { NotificationsController } from "@nmshd/consumption"; import { Notification } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalNotificationDTO } from "../../../types"; import { MessageIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { NotificationMapper } from "./NotificationMapper"; diff --git a/packages/runtime/src/useCases/consumption/notifications/SentNotification.ts b/packages/runtime/src/useCases/consumption/notifications/SentNotification.ts index 08388f8d3..acff32674 100644 --- a/packages/runtime/src/useCases/consumption/notifications/SentNotification.ts +++ b/packages/runtime/src/useCases/consumption/notifications/SentNotification.ts @@ -3,7 +3,7 @@ import { NotificationsController } from "@nmshd/consumption"; import { Notification } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalNotificationDTO } from "../../../types"; import { MessageIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { NotificationMapper } from "./NotificationMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/AcceptIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/AcceptIncomingRequest.ts index 3ac8af7fd..39a916e4c 100644 --- a/packages/runtime/src/useCases/consumption/requests/AcceptIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/AcceptIncomingRequest.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { DecideRequestParametersJSON, IncomingRequestsController, LocalRequest } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/CanAcceptIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CanAcceptIncomingRequest.ts index fb07084e7..99f2241a7 100644 --- a/packages/runtime/src/useCases/consumption/requests/CanAcceptIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CanAcceptIncomingRequest.ts @@ -1,6 +1,6 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RequestValidationResultDTO } from "../../../types"; import { UseCase } from "../../common"; import { AcceptIncomingRequestRequest } from "./AcceptIncomingRequest"; diff --git a/packages/runtime/src/useCases/consumption/requests/CanCreateOutgoingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CanCreateOutgoingRequest.ts index 377f122d1..9ad17895e 100644 --- a/packages/runtime/src/useCases/consumption/requests/CanCreateOutgoingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CanCreateOutgoingRequest.ts @@ -2,7 +2,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { OutgoingRequestsController } from "@nmshd/consumption"; import { RequestJSON } from "@nmshd/content"; import { CoreAddress } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RequestValidationResultDTO } from "../../../types"; import { AddressString, UseCase } from "../../common"; import { RequestValidationResultMapper } from "./RequestValidationResultMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/CanRejectIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CanRejectIncomingRequest.ts index 5f2b98a16..b88b69b8b 100644 --- a/packages/runtime/src/useCases/consumption/requests/CanRejectIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CanRejectIncomingRequest.ts @@ -1,6 +1,6 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RequestValidationResultDTO } from "../../../types"; import { UseCase } from "../../common"; import { RejectIncomingRequestRequest } from "./RejectIncomingRequest"; diff --git a/packages/runtime/src/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.ts index 0bc695f64..9b4ffeb8a 100644 --- a/packages/runtime/src/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CheckPrerequisitesOfIncomingRequest.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { RequestIdString, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/CompleteIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CompleteIncomingRequest.ts index 5e272874a..30e520f51 100644 --- a/packages/runtime/src/useCases/consumption/requests/CompleteIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CompleteIncomingRequest.ts @@ -2,7 +2,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { IMessage, IRelationship, Message, MessageController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { MessageIdString, RelationshipIdString, RequestIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/CompleteOutgoingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CompleteOutgoingRequest.ts index f9d4537a2..e751d9c0e 100644 --- a/packages/runtime/src/useCases/consumption/requests/CompleteOutgoingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CompleteOutgoingRequest.ts @@ -3,7 +3,7 @@ import { ICompleteOutgoingRequestParameters, OutgoingRequestsController } from " import { Response, ResponseJSON } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { MessageIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponse.ts b/packages/runtime/src/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponse.ts index 60a02b39f..5f4bfeaba 100644 --- a/packages/runtime/src/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponse.ts +++ b/packages/runtime/src/useCases/consumption/requests/CreateAndCompleteOutgoingRequestFromRelationshipTemplateResponse.ts @@ -3,7 +3,7 @@ import { OutgoingRequestsController } from "@nmshd/consumption"; import { Response, ResponseJSON } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { MessageController, Relationship, RelationshipsController, RelationshipTemplate, RelationshipTemplateController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { MessageIdString, RelationshipIdString, RelationshipTemplateIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/CreateOutgoingRequest.ts b/packages/runtime/src/useCases/consumption/requests/CreateOutgoingRequest.ts index 217bab1eb..f5429abfe 100644 --- a/packages/runtime/src/useCases/consumption/requests/CreateOutgoingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/CreateOutgoingRequest.ts @@ -2,7 +2,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { OutgoingRequestsController } from "@nmshd/consumption"; import { RequestJSON } from "@nmshd/content"; import { CoreAddress } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { AddressString, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/DiscardOutgoingRequest.ts b/packages/runtime/src/useCases/consumption/requests/DiscardOutgoingRequest.ts index f8331351e..acff3d77a 100644 --- a/packages/runtime/src/useCases/consumption/requests/DiscardOutgoingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/DiscardOutgoingRequest.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { OutgoingRequestsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RequestIdString, UseCase } from "../../common"; export interface DiscardOutgoingRequestRequest { diff --git a/packages/runtime/src/useCases/consumption/requests/GetIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/GetIncomingRequest.ts index d437861b1..74f270f2f 100644 --- a/packages/runtime/src/useCases/consumption/requests/GetIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/GetIncomingRequest.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController, LocalRequest } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { RequestIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/GetIncomingRequests.ts b/packages/runtime/src/useCases/consumption/requests/GetIncomingRequests.ts index 486565be1..7beed9c31 100644 --- a/packages/runtime/src/useCases/consumption/requests/GetIncomingRequests.ts +++ b/packages/runtime/src/useCases/consumption/requests/GetIncomingRequests.ts @@ -2,8 +2,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController, LocalRequest, LocalRequestSource, LocalResponse, LocalResponseSource } from "@nmshd/consumption"; import { RequestItemGroupJSON, RequestJSON, ResponseItemGroupJSON, ResponseJSON } from "@nmshd/content"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { LocalRequestDTO, LocalRequestSourceDTO, LocalResponseDTO, LocalResponseSourceDTO } from "../../../types"; import { UseCase } from "../../common"; import { flattenObject } from "../../common/flattenObject"; diff --git a/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequest.ts b/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequest.ts index 04b175cc9..9716e5028 100644 --- a/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequest.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { LocalRequest, OutgoingRequestsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { RequestIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequests.ts b/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequests.ts index 238bf0699..16832ca61 100644 --- a/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequests.ts +++ b/packages/runtime/src/useCases/consumption/requests/GetOutgoingRequests.ts @@ -2,8 +2,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { ApplicationError, Result } from "@js-soft/ts-utils"; import { LocalRequest, LocalRequestSource, LocalResponse, LocalResponseSource, OutgoingRequestsController } from "@nmshd/consumption"; import { RequestItemGroupJSON, RequestJSON, ResponseItemGroupJSON, ResponseJSON } from "@nmshd/content"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { LocalRequestDTO, LocalRequestSourceDTO, LocalResponseDTO, LocalResponseSourceDTO } from "../../../types"; import { UseCase } from "../../common"; import { flattenObject } from "../../common/flattenObject"; diff --git a/packages/runtime/src/useCases/consumption/requests/ReceivedIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/ReceivedIncomingRequest.ts index 9931f645e..8bda399d1 100644 --- a/packages/runtime/src/useCases/consumption/requests/ReceivedIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/ReceivedIncomingRequest.ts @@ -3,7 +3,7 @@ import { IncomingRequestsController } from "@nmshd/consumption"; import { Request, RequestJSON } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { Message, MessageController, RelationshipTemplate, RelationshipTemplateController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { MessageIdString, RelationshipTemplateIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/RejectIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/RejectIncomingRequest.ts index a3f5ee880..148719ce4 100644 --- a/packages/runtime/src/useCases/consumption/requests/RejectIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/RejectIncomingRequest.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { DecideRequestParametersJSON, IncomingRequestsController, LocalRequest } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.ts b/packages/runtime/src/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.ts index aa52a39d8..2fbfb7c51 100644 --- a/packages/runtime/src/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/RequireManualDecisionOfIncomingRequest.ts @@ -1,7 +1,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { IncomingRequestsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { RequestIdString, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/requests/SentOutgoingRequest.ts b/packages/runtime/src/useCases/consumption/requests/SentOutgoingRequest.ts index b298dd8ea..033ccfc5a 100644 --- a/packages/runtime/src/useCases/consumption/requests/SentOutgoingRequest.ts +++ b/packages/runtime/src/useCases/consumption/requests/SentOutgoingRequest.ts @@ -2,7 +2,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { ISentOutgoingRequestParameters, OutgoingRequestsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalRequestDTO } from "../../../types"; import { MessageIdString, RequestIdString, RuntimeErrors, UseCase } from "../../common"; import { RequestMapper } from "./RequestMapper"; diff --git a/packages/runtime/src/useCases/consumption/settings/CreateSetting.ts b/packages/runtime/src/useCases/consumption/settings/CreateSetting.ts index bb55500aa..a78070476 100644 --- a/packages/runtime/src/useCases/consumption/settings/CreateSetting.ts +++ b/packages/runtime/src/useCases/consumption/settings/CreateSetting.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { SettingsController, SettingScope } from "@nmshd/consumption"; import { CoreDate, CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SettingDTO } from "../../../types"; import { GenericIdString, ISO8601DateTimeString, LocalSettingIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { SettingMapper } from "./SettingMapper"; diff --git a/packages/runtime/src/useCases/consumption/settings/DeleteSetting.ts b/packages/runtime/src/useCases/consumption/settings/DeleteSetting.ts index 64c20157c..b35ff09d5 100644 --- a/packages/runtime/src/useCases/consumption/settings/DeleteSetting.ts +++ b/packages/runtime/src/useCases/consumption/settings/DeleteSetting.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { Setting, SettingsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalSettingIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteSettingRequest { diff --git a/packages/runtime/src/useCases/consumption/settings/GetSetting.ts b/packages/runtime/src/useCases/consumption/settings/GetSetting.ts index 139d90355..b67de4641 100644 --- a/packages/runtime/src/useCases/consumption/settings/GetSetting.ts +++ b/packages/runtime/src/useCases/consumption/settings/GetSetting.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { Setting, SettingsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SettingDTO } from "../../../types"; import { LocalSettingIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { SettingMapper } from "./SettingMapper"; diff --git a/packages/runtime/src/useCases/consumption/settings/GetSettingByKey.ts b/packages/runtime/src/useCases/consumption/settings/GetSettingByKey.ts index 662818dbc..09e4c00af 100644 --- a/packages/runtime/src/useCases/consumption/settings/GetSettingByKey.ts +++ b/packages/runtime/src/useCases/consumption/settings/GetSettingByKey.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { Setting, SettingsController, SettingScope } from "@nmshd/consumption"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SettingDTO } from "../../../types"; import { RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { SettingMapper } from "./SettingMapper"; diff --git a/packages/runtime/src/useCases/consumption/settings/GetSettings.ts b/packages/runtime/src/useCases/consumption/settings/GetSettings.ts index ef28c2107..a5eebe5d8 100644 --- a/packages/runtime/src/useCases/consumption/settings/GetSettings.ts +++ b/packages/runtime/src/useCases/consumption/settings/GetSettings.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { SettingsController } from "@nmshd/consumption"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { SettingDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { SettingMapper } from "./SettingMapper"; diff --git a/packages/runtime/src/useCases/consumption/settings/UpdateSetting.ts b/packages/runtime/src/useCases/consumption/settings/UpdateSetting.ts index 64e7cc679..1f27fb6db 100644 --- a/packages/runtime/src/useCases/consumption/settings/UpdateSetting.ts +++ b/packages/runtime/src/useCases/consumption/settings/UpdateSetting.ts @@ -3,7 +3,7 @@ import { Result } from "@js-soft/ts-utils"; import { Setting, SettingsController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SettingDTO } from "../../../types"; import { LocalSettingIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { SettingMapper } from "./SettingMapper"; diff --git a/packages/runtime/src/useCases/consumption/settings/UpsertSettingByKey.ts b/packages/runtime/src/useCases/consumption/settings/UpsertSettingByKey.ts index edf8658d8..ad804b827 100644 --- a/packages/runtime/src/useCases/consumption/settings/UpsertSettingByKey.ts +++ b/packages/runtime/src/useCases/consumption/settings/UpsertSettingByKey.ts @@ -3,7 +3,7 @@ import { Result } from "@js-soft/ts-utils"; import { SettingsController, SettingScope } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SettingDTO } from "../../../types"; import { GenericIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { SettingMapper } from "./SettingMapper"; diff --git a/packages/runtime/src/useCases/transport/account/DisableAutoSync.ts b/packages/runtime/src/useCases/transport/account/DisableAutoSync.ts index 27fc810ba..c392c9033 100644 --- a/packages/runtime/src/useCases/transport/account/DisableAutoSync.ts +++ b/packages/runtime/src/useCases/transport/account/DisableAutoSync.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export class DisableAutoSyncUseCase extends UseCase { diff --git a/packages/runtime/src/useCases/transport/account/EnableAutoSync.ts b/packages/runtime/src/useCases/transport/account/EnableAutoSync.ts index 838a50f45..4daed5e58 100644 --- a/packages/runtime/src/useCases/transport/account/EnableAutoSync.ts +++ b/packages/runtime/src/useCases/transport/account/EnableAutoSync.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export class EnableAutoSyncUseCase extends UseCase { diff --git a/packages/runtime/src/useCases/transport/account/GetDeviceInfo.ts b/packages/runtime/src/useCases/transport/account/GetDeviceInfo.ts index a68eff69d..68fb17380 100644 --- a/packages/runtime/src/useCases/transport/account/GetDeviceInfo.ts +++ b/packages/runtime/src/useCases/transport/account/GetDeviceInfo.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { DeviceController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO } from "../../../types"; import { UseCase } from "../../common"; import { DeviceMapper } from "../devices/DeviceMapper"; diff --git a/packages/runtime/src/useCases/transport/account/GetIdentityInfo.ts b/packages/runtime/src/useCases/transport/account/GetIdentityInfo.ts index 4402dbc5b..ee2c80171 100644 --- a/packages/runtime/src/useCases/transport/account/GetIdentityInfo.ts +++ b/packages/runtime/src/useCases/transport/account/GetIdentityInfo.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export interface GetIdentityInfoResponse { diff --git a/packages/runtime/src/useCases/transport/account/GetSyncInfo.ts b/packages/runtime/src/useCases/transport/account/GetSyncInfo.ts index e033e803f..1089a32a5 100644 --- a/packages/runtime/src/useCases/transport/account/GetSyncInfo.ts +++ b/packages/runtime/src/useCases/transport/account/GetSyncInfo.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export interface SyncInfo { diff --git a/packages/runtime/src/useCases/transport/account/LoadItemFromTruncatedReference.ts b/packages/runtime/src/useCases/transport/account/LoadItemFromTruncatedReference.ts index 10f7f9d78..5ec7fac11 100644 --- a/packages/runtime/src/useCases/transport/account/LoadItemFromTruncatedReference.ts +++ b/packages/runtime/src/useCases/transport/account/LoadItemFromTruncatedReference.ts @@ -9,7 +9,7 @@ import { TokenContentRelationshipTemplate, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceOnboardingInfoDTO, FileDTO, RelationshipTemplateDTO, TokenDTO } from "../../../types"; import { Base64ForIdPrefix, diff --git a/packages/runtime/src/useCases/transport/account/RegisterPushNotificationToken.ts b/packages/runtime/src/useCases/transport/account/RegisterPushNotificationToken.ts index 3bb9a7cdb..1b8e06996 100644 --- a/packages/runtime/src/useCases/transport/account/RegisterPushNotificationToken.ts +++ b/packages/runtime/src/useCases/transport/account/RegisterPushNotificationToken.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface RegisterPushNotificationTokenRequest { diff --git a/packages/runtime/src/useCases/transport/account/SyncDatawallet.ts b/packages/runtime/src/useCases/transport/account/SyncDatawallet.ts index 064345858..089aa2917 100644 --- a/packages/runtime/src/useCases/transport/account/SyncDatawallet.ts +++ b/packages/runtime/src/useCases/transport/account/SyncDatawallet.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export class SyncDatawalletUseCase extends UseCase { diff --git a/packages/runtime/src/useCases/transport/account/SyncEverything.ts b/packages/runtime/src/useCases/transport/account/SyncEverything.ts index b8ffdf705..1ade76bf6 100644 --- a/packages/runtime/src/useCases/transport/account/SyncEverything.ts +++ b/packages/runtime/src/useCases/transport/account/SyncEverything.ts @@ -1,7 +1,7 @@ import { ILogger } from "@js-soft/logging-abstractions"; import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RuntimeLoggerFactory } from "../../../RuntimeLoggerFactory"; import { IdentityDeletionProcessDTO, MessageDTO, RelationshipDTO } from "../../../types"; import { UseCase } from "../../common"; diff --git a/packages/runtime/src/useCases/transport/account/UnregisterPushNotificationToken.ts b/packages/runtime/src/useCases/transport/account/UnregisterPushNotificationToken.ts index be4210f71..05ebce66a 100644 --- a/packages/runtime/src/useCases/transport/account/UnregisterPushNotificationToken.ts +++ b/packages/runtime/src/useCases/transport/account/UnregisterPushNotificationToken.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { UseCase } from "../../common"; export class UnregisterPushNotificationTokenUseCase extends UseCase { diff --git a/packages/runtime/src/useCases/transport/challenges/CreateChallenge.ts b/packages/runtime/src/useCases/transport/challenges/CreateChallenge.ts index a459ad5a5..51b1ebc78 100644 --- a/packages/runtime/src/useCases/transport/challenges/CreateChallenge.ts +++ b/packages/runtime/src/useCases/transport/challenges/CreateChallenge.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { ChallengeController, ChallengeType, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { ChallengeDTO } from "../../../types"; import { JsonSchema, RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase, ValidationFailure, ValidationResult } from "../../common"; import { ChallengeMapper } from "./ChallengeMapper"; diff --git a/packages/runtime/src/useCases/transport/challenges/ValidateChallenge.ts b/packages/runtime/src/useCases/transport/challenges/ValidateChallenge.ts index bc4f961e7..5253d660e 100644 --- a/packages/runtime/src/useCases/transport/challenges/ValidateChallenge.ts +++ b/packages/runtime/src/useCases/transport/challenges/ValidateChallenge.ts @@ -2,8 +2,8 @@ import { Result } from "@js-soft/ts-utils"; import { CoreError } from "@nmshd/core-types"; import { CryptoSignature } from "@nmshd/crypto"; import { Challenge, ChallengeController, ChallengeSigned } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RuntimeErrors, SchemaRepository, SchemaValidator, UseCase, ValidationFailure, ValidationResult } from "../../common"; import { RelationshipMapper } from "../relationships/RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/devices/CreateDevice.ts b/packages/runtime/src/useCases/transport/devices/CreateDevice.ts index 46b7f396e..d7c34325a 100644 --- a/packages/runtime/src/useCases/transport/devices/CreateDevice.ts +++ b/packages/runtime/src/useCases/transport/devices/CreateDevice.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, DevicesController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DeviceMapper } from "./DeviceMapper"; diff --git a/packages/runtime/src/useCases/transport/devices/CreateDeviceOnboardingToken.ts b/packages/runtime/src/useCases/transport/devices/CreateDeviceOnboardingToken.ts index 4af090b43..4235e3ca0 100644 --- a/packages/runtime/src/useCases/transport/devices/CreateDeviceOnboardingToken.ts +++ b/packages/runtime/src/useCases/transport/devices/CreateDeviceOnboardingToken.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreDate, CoreId } from "@nmshd/core-types"; import { DevicesController, TokenContentDeviceSharedSecret, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { DeviceIdString, ISO8601DateTimeString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { TokenMapper } from "../tokens/TokenMapper"; diff --git a/packages/runtime/src/useCases/transport/devices/DeleteDevice.ts b/packages/runtime/src/useCases/transport/devices/DeleteDevice.ts index 802bbdbc7..908d769c0 100644 --- a/packages/runtime/src/useCases/transport/devices/DeleteDevice.ts +++ b/packages/runtime/src/useCases/transport/devices/DeleteDevice.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Device, DevicesController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DeleteDeviceRequest { diff --git a/packages/runtime/src/useCases/transport/devices/GetDevice.ts b/packages/runtime/src/useCases/transport/devices/GetDevice.ts index 473472e8b..c84eccec9 100644 --- a/packages/runtime/src/useCases/transport/devices/GetDevice.ts +++ b/packages/runtime/src/useCases/transport/devices/GetDevice.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { Device, DeviceController, DevicesController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO } from "../../../types"; import { DeviceIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DeviceMapper } from "./DeviceMapper"; diff --git a/packages/runtime/src/useCases/transport/devices/GetDeviceOnboardingInfo.ts b/packages/runtime/src/useCases/transport/devices/GetDeviceOnboardingInfo.ts index dbbdbb201..50ac3e84b 100644 --- a/packages/runtime/src/useCases/transport/devices/GetDeviceOnboardingInfo.ts +++ b/packages/runtime/src/useCases/transport/devices/GetDeviceOnboardingInfo.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { DevicesController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceOnboardingInfoDTO } from "../../../types"; import { GenericIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DeviceMapper } from "./DeviceMapper"; diff --git a/packages/runtime/src/useCases/transport/devices/GetDevices.ts b/packages/runtime/src/useCases/transport/devices/GetDevices.ts index fe1f7a9c4..d6ea002bf 100644 --- a/packages/runtime/src/useCases/transport/devices/GetDevices.ts +++ b/packages/runtime/src/useCases/transport/devices/GetDevices.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { DeviceController, DevicesController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO } from "../../../types"; import { UseCase } from "../../common"; import { DeviceMapper } from "./DeviceMapper"; diff --git a/packages/runtime/src/useCases/transport/devices/SetCommunicationLanguage.ts b/packages/runtime/src/useCases/transport/devices/SetCommunicationLanguage.ts index 189745f92..e5589d0d9 100644 --- a/packages/runtime/src/useCases/transport/devices/SetCommunicationLanguage.ts +++ b/packages/runtime/src/useCases/transport/devices/SetCommunicationLanguage.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { LanguageISO639 } from "@nmshd/content"; import { DeviceController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface SetCommunicationLanguageRequest { diff --git a/packages/runtime/src/useCases/transport/devices/UpdateDevice.ts b/packages/runtime/src/useCases/transport/devices/UpdateDevice.ts index b5d27a2ee..517a6378f 100644 --- a/packages/runtime/src/useCases/transport/devices/UpdateDevice.ts +++ b/packages/runtime/src/useCases/transport/devices/UpdateDevice.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Device, DeviceController, DevicesController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { DeviceDTO } from "../../../types"; import { DeviceIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { DeviceMapper } from "./DeviceMapper"; diff --git a/packages/runtime/src/useCases/transport/files/CreateQRCodeForFile.ts b/packages/runtime/src/useCases/transport/files/CreateQRCodeForFile.ts index e37343af2..edbb7a3fa 100644 --- a/packages/runtime/src/useCases/transport/files/CreateQRCodeForFile.ts +++ b/packages/runtime/src/useCases/transport/files/CreateQRCodeForFile.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { File, FileController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileIdString, QRCode, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface CreateQRCodeForFileRequest { diff --git a/packages/runtime/src/useCases/transport/files/CreateTokenForFile.ts b/packages/runtime/src/useCases/transport/files/CreateTokenForFile.ts index 6631324c2..b102e7647 100644 --- a/packages/runtime/src/useCases/transport/files/CreateTokenForFile.ts +++ b/packages/runtime/src/useCases/transport/files/CreateTokenForFile.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreAddress, CoreDate, CoreId } from "@nmshd/core-types"; import { AccountController, File, FileController, TokenContentFile, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { AddressString, FileIdString, ISO8601DateTimeString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { TokenMapper } from "../tokens/TokenMapper"; diff --git a/packages/runtime/src/useCases/transport/files/CreateTokenQRCodeForFile.ts b/packages/runtime/src/useCases/transport/files/CreateTokenQRCodeForFile.ts index 644f23597..84a391565 100644 --- a/packages/runtime/src/useCases/transport/files/CreateTokenQRCodeForFile.ts +++ b/packages/runtime/src/useCases/transport/files/CreateTokenQRCodeForFile.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreAddress, CoreDate, CoreId } from "@nmshd/core-types"; import { File, FileController, TokenContentFile, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AddressString, FileIdString, ISO8601DateTimeString, QRCode, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface CreateTokenQRCodeForFileRequest { diff --git a/packages/runtime/src/useCases/transport/files/DownloadFile.ts b/packages/runtime/src/useCases/transport/files/DownloadFile.ts index b0c2f955e..de90dc269 100644 --- a/packages/runtime/src/useCases/transport/files/DownloadFile.ts +++ b/packages/runtime/src/useCases/transport/files/DownloadFile.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { File, FileController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { FileMapper } from "./FileMapper"; diff --git a/packages/runtime/src/useCases/transport/files/GetFile.ts b/packages/runtime/src/useCases/transport/files/GetFile.ts index ca1da485f..be6f39a45 100644 --- a/packages/runtime/src/useCases/transport/files/GetFile.ts +++ b/packages/runtime/src/useCases/transport/files/GetFile.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { File, FileController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileDTO } from "../../../types"; import { FileIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { FileMapper } from "./FileMapper"; diff --git a/packages/runtime/src/useCases/transport/files/GetFiles.ts b/packages/runtime/src/useCases/transport/files/GetFiles.ts index 53fccd8fe..8b15c6129 100644 --- a/packages/runtime/src/useCases/transport/files/GetFiles.ts +++ b/packages/runtime/src/useCases/transport/files/GetFiles.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { CachedFile, File, FileController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { FileDTO } from "../../../types"; import { OwnerRestriction, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { FileMapper } from "./FileMapper"; diff --git a/packages/runtime/src/useCases/transport/files/GetOrLoadFile.ts b/packages/runtime/src/useCases/transport/files/GetOrLoadFile.ts index 175f197be..ec4e7aee9 100644 --- a/packages/runtime/src/useCases/transport/files/GetOrLoadFile.ts +++ b/packages/runtime/src/useCases/transport/files/GetOrLoadFile.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { CryptoSecretKey } from "@nmshd/crypto"; import { AccountController, FileController, Token, TokenContentFile, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileDTO } from "../../../types"; import { Base64ForIdPrefix, FileReferenceString, RuntimeErrors, SchemaRepository, SchemaValidator, TokenReferenceString, UseCase } from "../../common"; import { FileMapper } from "./FileMapper"; diff --git a/packages/runtime/src/useCases/transport/files/UploadOwnFile.ts b/packages/runtime/src/useCases/transport/files/UploadOwnFile.ts index c01a6704f..5ac012de9 100644 --- a/packages/runtime/src/useCases/transport/files/UploadOwnFile.ts +++ b/packages/runtime/src/useCases/transport/files/UploadOwnFile.ts @@ -2,8 +2,8 @@ import { Result } from "@js-soft/ts-utils"; import { CoreDate } from "@nmshd/core-types"; import { CoreBuffer } from "@nmshd/crypto"; import { AccountController, FileController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { FileDTO } from "../../../types"; import { ISO8601DateTimeString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase, ValidationFailure, ValidationResult } from "../../common"; import { FileMapper } from "./FileMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/ApproveIdentityDeletionProcess.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/ApproveIdentityDeletionProcess.ts index ade002255..e9c16868c 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/ApproveIdentityDeletionProcess.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/ApproveIdentityDeletionProcess.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, IdentityDeletionProcessController, IdentityDeletionProcessStatus } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { RuntimeErrors, UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/CancelIdentityDeletionProcess.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/CancelIdentityDeletionProcess.ts index bc04877fa..78d7df98b 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/CancelIdentityDeletionProcess.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/CancelIdentityDeletionProcess.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, IdentityDeletionProcessController, IdentityDeletionProcessStatus } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { RuntimeErrors, UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetActiveIdentityDeletionProcess.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetActiveIdentityDeletionProcess.ts index 0cfc6f5e4..caf78808f 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetActiveIdentityDeletionProcess.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetActiveIdentityDeletionProcess.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityDeletionProcessController, IdentityDeletionProcessStatus } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { RuntimeErrors, UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcess.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcess.ts index a85810e69..06cefb441 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcess.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcess.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityDeletionProcess, IdentityDeletionProcessController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { IdentityDeletionProcessIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcesses.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcesses.ts index 9cfed0a80..09bf3a3cf 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcesses.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/GetIdentityDeletionProcesses.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { IdentityDeletionProcessController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/InitiateIdentityDeletionProcess.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/InitiateIdentityDeletionProcess.ts index a8c7403ef..3b5f2037c 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/InitiateIdentityDeletionProcess.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/InitiateIdentityDeletionProcess.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, IdentityDeletionProcessController, IdentityDeletionProcessStatus } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { RuntimeErrors, UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/identityDeletionProcesses/RejectIdentityDeletionProcess.ts b/packages/runtime/src/useCases/transport/identityDeletionProcesses/RejectIdentityDeletionProcess.ts index f17d6eb18..cf208d04f 100644 --- a/packages/runtime/src/useCases/transport/identityDeletionProcesses/RejectIdentityDeletionProcess.ts +++ b/packages/runtime/src/useCases/transport/identityDeletionProcesses/RejectIdentityDeletionProcess.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, IdentityDeletionProcessController, IdentityDeletionProcessStatus } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { IdentityDeletionProcessDTO } from "../../../types/transport/IdentityDeletionProcessDTO"; import { RuntimeErrors, UseCase } from "../../common"; import { IdentityDeletionProcessMapper } from "./IdentityDeletionProcessMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/DownloadAttachment.ts b/packages/runtime/src/useCases/transport/messages/DownloadAttachment.ts index 0918284d2..ea0714f8b 100644 --- a/packages/runtime/src/useCases/transport/messages/DownloadAttachment.ts +++ b/packages/runtime/src/useCases/transport/messages/DownloadAttachment.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { File, FileController, Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileIdString, MessageIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { MessageMapper } from "./MessageMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/GetAttachmentMetadata.ts b/packages/runtime/src/useCases/transport/messages/GetAttachmentMetadata.ts index 8c7391c69..d5cc5ce33 100644 --- a/packages/runtime/src/useCases/transport/messages/GetAttachmentMetadata.ts +++ b/packages/runtime/src/useCases/transport/messages/GetAttachmentMetadata.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { File, FileController, Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { FileDTO } from "../../../types"; import { FileIdString, MessageIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { FileMapper } from "../files/FileMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/GetMessage.ts b/packages/runtime/src/useCases/transport/messages/GetMessage.ts index 33a9d9ee4..c418d1df5 100644 --- a/packages/runtime/src/useCases/transport/messages/GetMessage.ts +++ b/packages/runtime/src/useCases/transport/messages/GetMessage.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { File, FileController, Message, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { MessageWithAttachmentsDTO } from "../../../types"; import { MessageIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { MessageMapper } from "./MessageMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/GetMessages.ts b/packages/runtime/src/useCases/transport/messages/GetMessages.ts index 6f1be4b11..fe8cc881f 100644 --- a/packages/runtime/src/useCases/transport/messages/GetMessages.ts +++ b/packages/runtime/src/useCases/transport/messages/GetMessages.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { CachedMessage, CachedMessageRecipient, Message, MessageController, MessageEnvelopeRecipient } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { MessageDTO, RecipientDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { MessageMapper } from "./MessageMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/MarkMessageAsRead.ts b/packages/runtime/src/useCases/transport/messages/MarkMessageAsRead.ts index d993e631f..5139415a9 100644 --- a/packages/runtime/src/useCases/transport/messages/MarkMessageAsRead.ts +++ b/packages/runtime/src/useCases/transport/messages/MarkMessageAsRead.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { MessageDTO } from "../../../types"; import { MessageIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { MessageMapper } from "./MessageMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/MarkMessageAsUnread.ts b/packages/runtime/src/useCases/transport/messages/MarkMessageAsUnread.ts index 2068aa5cf..ac751f60c 100644 --- a/packages/runtime/src/useCases/transport/messages/MarkMessageAsUnread.ts +++ b/packages/runtime/src/useCases/transport/messages/MarkMessageAsUnread.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, MessageController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { MessageDTO } from "../../../types"; import { MessageIdString, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { MessageMapper } from "./MessageMapper"; diff --git a/packages/runtime/src/useCases/transport/messages/SendMessage.ts b/packages/runtime/src/useCases/transport/messages/SendMessage.ts index a19ff5627..67de35285 100644 --- a/packages/runtime/src/useCases/transport/messages/SendMessage.ts +++ b/packages/runtime/src/useCases/transport/messages/SendMessage.ts @@ -4,8 +4,8 @@ import { OutgoingRequestsController } from "@nmshd/consumption"; import { ArbitraryMessageContent, Mail, Notification, Request, ResponseWrapper } from "@nmshd/content"; import { CoreAddress, CoreId } from "@nmshd/core-types"; import { AccountController, File, FileController, MessageController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import _ from "lodash"; -import { Inject } from "typescript-ioc"; import { MessageDTO } from "../../../types"; import { AddressString, FileIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { MessageMapper } from "./MessageMapper"; diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.ts index 6230bb822..5b232643e 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateOwnRelationshipTemplate.ts @@ -4,9 +4,9 @@ import { OutgoingRequestsController } from "@nmshd/consumption"; import { ArbitraryRelationshipTemplateContent, RelationshipTemplateContent } from "@nmshd/content"; import { CoreAddress, CoreDate } from "@nmshd/core-types"; import { AccountController, RelationshipTemplateController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { DateTime } from "luxon"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { RelationshipTemplateDTO } from "../../../types"; import { AddressString, ISO8601DateTimeString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase, ValidationFailure, ValidationResult } from "../../common"; import { RelationshipTemplateMapper } from "./RelationshipTemplateMapper"; diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.ts index b8bfb8ba7..42eceb86e 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateQRCodeForOwnRelationshipTemplate.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { RelationshipTemplate, RelationshipTemplateController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { QRCode, RelationshipTemplateIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface CreateQRCodeForOwnTemplateRequest { diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.ts index 4358538fb..a5dd52788 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenForOwnRelationshipTemplate.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreAddress, CoreDate, CoreId } from "@nmshd/core-types"; import { AccountController, RelationshipTemplate, RelationshipTemplateController, TokenContentRelationshipTemplate, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { AddressString, ISO8601DateTimeString, RelationshipTemplateIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { TokenMapper } from "../tokens/TokenMapper"; diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.ts index 7cc34908e..8ed0967bb 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/CreateTokenQRCodeForOwnRelationshipTemplate.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreAddress, CoreDate, CoreId } from "@nmshd/core-types"; import { RelationshipTemplate, RelationshipTemplateController, TokenContentRelationshipTemplate, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { AddressString, ISO8601DateTimeString, QRCode, RelationshipTemplateIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface CreateTokenQRCodeForOwnTemplateRequest { diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplate.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplate.ts index 62f79a45c..f31bf3533 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplate.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplate.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { RelationshipTemplate, RelationshipTemplateController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipTemplateDTO } from "../../../types"; import { RelationshipTemplateIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipTemplateMapper } from "./RelationshipTemplateMapper"; diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplates.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplates.ts index 0df48faef..d1f1d38f3 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplates.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/GetRelationshipTemplates.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { CachedRelationshipTemplate, RelationshipTemplate, RelationshipTemplateController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { RelationshipTemplateDTO } from "../../../types"; import { OwnerRestriction, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipTemplateMapper } from "./RelationshipTemplateMapper"; diff --git a/packages/runtime/src/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.ts b/packages/runtime/src/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.ts index fbf4a09c0..8f65ca109 100644 --- a/packages/runtime/src/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.ts +++ b/packages/runtime/src/useCases/transport/relationshipTemplates/LoadPeerRelationshipTemplate.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, RelationshipTemplateController, Token, TokenContentRelationshipTemplate, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipTemplateDTO } from "../../../types"; import { Base64ForIdPrefix, RelationshipTemplateReferenceString, RuntimeErrors, SchemaRepository, SchemaValidator, TokenReferenceString, UseCase } from "../../common"; import { RelationshipTemplateMapper } from "./RelationshipTemplateMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/AcceptRelationship.ts b/packages/runtime/src/useCases/transport/relationships/AcceptRelationship.ts index e5ab1ce51..5c878a826 100644 --- a/packages/runtime/src/useCases/transport/relationships/AcceptRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/AcceptRelationship.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/AcceptRelationshipReactivation.ts b/packages/runtime/src/useCases/transport/relationships/AcceptRelationshipReactivation.ts index 9602511f8..73e49ecce 100644 --- a/packages/runtime/src/useCases/transport/relationships/AcceptRelationshipReactivation.ts +++ b/packages/runtime/src/useCases/transport/relationships/AcceptRelationshipReactivation.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/CreateRelationship.ts b/packages/runtime/src/useCases/transport/relationships/CreateRelationship.ts index 3b705c10a..f144a298f 100644 --- a/packages/runtime/src/useCases/transport/relationships/CreateRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/CreateRelationship.ts @@ -3,7 +3,7 @@ import { Result } from "@js-soft/ts-utils"; import { ArbitraryRelationshipCreationContent, RelationshipCreationContent } from "@nmshd/content"; import { CoreId } from "@nmshd/core-types"; import { AccountController, RelationshipTemplate, RelationshipTemplateController, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipTemplateIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/DecomposeRelationship.ts b/packages/runtime/src/useCases/transport/relationships/DecomposeRelationship.ts index 4c0188043..1e5ca7d46 100644 --- a/packages/runtime/src/useCases/transport/relationships/DecomposeRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/DecomposeRelationship.ts @@ -2,7 +2,7 @@ import { ApplicationError, Result } from "@js-soft/ts-utils"; import { ConsumptionController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; export interface DecomposeRelationshipRequest { diff --git a/packages/runtime/src/useCases/transport/relationships/GetAttributesForRelationship.ts b/packages/runtime/src/useCases/transport/relationships/GetAttributesForRelationship.ts index 615074b2a..54bda299d 100644 --- a/packages/runtime/src/useCases/transport/relationships/GetAttributesForRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/GetAttributesForRelationship.ts @@ -2,7 +2,7 @@ import { Result } from "@js-soft/ts-utils"; import { AttributesController } from "@nmshd/consumption"; import { CoreId } from "@nmshd/core-types"; import { Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { LocalAttributeDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { AttributeMapper } from "../../consumption"; diff --git a/packages/runtime/src/useCases/transport/relationships/GetRelationship.ts b/packages/runtime/src/useCases/transport/relationships/GetRelationship.ts index 7a6b9238d..1e8b1b2cb 100644 --- a/packages/runtime/src/useCases/transport/relationships/GetRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/GetRelationship.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/GetRelationshipByAddress.ts b/packages/runtime/src/useCases/transport/relationships/GetRelationshipByAddress.ts index 7c212120f..2b6dcf3d6 100644 --- a/packages/runtime/src/useCases/transport/relationships/GetRelationshipByAddress.ts +++ b/packages/runtime/src/useCases/transport/relationships/GetRelationshipByAddress.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreAddress } from "@nmshd/core-types"; import { Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { AddressString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/GetRelationships.ts b/packages/runtime/src/useCases/transport/relationships/GetRelationships.ts index 3b2828e3b..fa5b90a91 100644 --- a/packages/runtime/src/useCases/transport/relationships/GetRelationships.ts +++ b/packages/runtime/src/useCases/transport/relationships/GetRelationships.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { CachedRelationship, Identity, Relationship, RelationshipsController, RelationshipTemplate } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { RelationshipDTO, RelationshipTemplateDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/RejectRelationship.ts b/packages/runtime/src/useCases/transport/relationships/RejectRelationship.ts index f0cd3e8d1..d2a8aedfe 100644 --- a/packages/runtime/src/useCases/transport/relationships/RejectRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/RejectRelationship.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/RejectRelationshipReactivation.ts b/packages/runtime/src/useCases/transport/relationships/RejectRelationshipReactivation.ts index 874e84872..3a8913393 100644 --- a/packages/runtime/src/useCases/transport/relationships/RejectRelationshipReactivation.ts +++ b/packages/runtime/src/useCases/transport/relationships/RejectRelationshipReactivation.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/RequestRelationshipReactivation.ts b/packages/runtime/src/useCases/transport/relationships/RequestRelationshipReactivation.ts index 7f7965306..ae1fd02cb 100644 --- a/packages/runtime/src/useCases/transport/relationships/RequestRelationshipReactivation.ts +++ b/packages/runtime/src/useCases/transport/relationships/RequestRelationshipReactivation.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/RevokeRelationship.ts b/packages/runtime/src/useCases/transport/relationships/RevokeRelationship.ts index 6f089748f..37b625942 100644 --- a/packages/runtime/src/useCases/transport/relationships/RevokeRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/RevokeRelationship.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/RevokeRelationshipReactivation.ts b/packages/runtime/src/useCases/transport/relationships/RevokeRelationshipReactivation.ts index 7ed6c9cf3..05168be96 100644 --- a/packages/runtime/src/useCases/transport/relationships/RevokeRelationshipReactivation.ts +++ b/packages/runtime/src/useCases/transport/relationships/RevokeRelationshipReactivation.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/relationships/TerminateRelationship.ts b/packages/runtime/src/useCases/transport/relationships/TerminateRelationship.ts index 4120a284e..b8ad481f4 100644 --- a/packages/runtime/src/useCases/transport/relationships/TerminateRelationship.ts +++ b/packages/runtime/src/useCases/transport/relationships/TerminateRelationship.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { AccountController, Relationship, RelationshipsController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { RelationshipDTO } from "../../../types"; import { RelationshipIdString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { RelationshipMapper } from "./RelationshipMapper"; diff --git a/packages/runtime/src/useCases/transport/tokens/CreateOwnToken.ts b/packages/runtime/src/useCases/transport/tokens/CreateOwnToken.ts index 7578a8d06..a20a15d2f 100644 --- a/packages/runtime/src/useCases/transport/tokens/CreateOwnToken.ts +++ b/packages/runtime/src/useCases/transport/tokens/CreateOwnToken.ts @@ -2,9 +2,9 @@ import { Serializable } from "@js-soft/ts-serval"; import { Result } from "@js-soft/ts-utils"; import { CoreAddress, CoreDate } from "@nmshd/core-types"; import { AccountController, TokenController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { DateTime } from "luxon"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { TokenDTO } from "../../../types"; import { AddressString, ISO8601DateTimeString, RuntimeErrors, SchemaRepository, SchemaValidator, UseCase, ValidationFailure, ValidationResult } from "../../common"; import { TokenMapper } from "./TokenMapper"; diff --git a/packages/runtime/src/useCases/transport/tokens/GetQRCodeForToken.ts b/packages/runtime/src/useCases/transport/tokens/GetQRCodeForToken.ts index ad19b2a10..2e2967d53 100644 --- a/packages/runtime/src/useCases/transport/tokens/GetQRCodeForToken.ts +++ b/packages/runtime/src/useCases/transport/tokens/GetQRCodeForToken.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { Token, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { QRCode, RuntimeErrors, SchemaRepository, SchemaValidator, TokenIdString, UseCase } from "../../common"; export interface GetQRCodeForTokenRequest { diff --git a/packages/runtime/src/useCases/transport/tokens/GetToken.ts b/packages/runtime/src/useCases/transport/tokens/GetToken.ts index 441507921..c19e0da60 100644 --- a/packages/runtime/src/useCases/transport/tokens/GetToken.ts +++ b/packages/runtime/src/useCases/transport/tokens/GetToken.ts @@ -1,7 +1,7 @@ import { Result } from "@js-soft/ts-utils"; import { CoreId } from "@nmshd/core-types"; import { TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { RuntimeErrors, SchemaRepository, SchemaValidator, TokenIdString, UseCase } from "../../common"; import { TokenMapper } from "./TokenMapper"; diff --git a/packages/runtime/src/useCases/transport/tokens/GetTokens.ts b/packages/runtime/src/useCases/transport/tokens/GetTokens.ts index 7cf863fd1..ef5a1569d 100644 --- a/packages/runtime/src/useCases/transport/tokens/GetTokens.ts +++ b/packages/runtime/src/useCases/transport/tokens/GetTokens.ts @@ -1,8 +1,8 @@ import { QueryTranslator } from "@js-soft/docdb-querytranslator"; import { Result } from "@js-soft/ts-utils"; import { CachedToken, Token, TokenController } from "@nmshd/transport"; +import { Inject } from "@nmshd/typescript-ioc"; import { nameof } from "ts-simple-nameof"; -import { Inject } from "typescript-ioc"; import { TokenDTO } from "../../../types"; import { OwnerRestriction, SchemaRepository, SchemaValidator, UseCase } from "../../common"; import { TokenMapper } from "./TokenMapper"; diff --git a/packages/runtime/src/useCases/transport/tokens/LoadPeerToken.ts b/packages/runtime/src/useCases/transport/tokens/LoadPeerToken.ts index f8c987e3b..220c314f4 100644 --- a/packages/runtime/src/useCases/transport/tokens/LoadPeerToken.ts +++ b/packages/runtime/src/useCases/transport/tokens/LoadPeerToken.ts @@ -1,6 +1,6 @@ import { Result } from "@js-soft/ts-utils"; import { AccountController, TokenController } from "@nmshd/transport"; -import { Inject } from "typescript-ioc"; +import { Inject } from "@nmshd/typescript-ioc"; import { TokenDTO } from "../../../types"; import { SchemaRepository, SchemaValidator, TokenReferenceString, UseCase } from "../../common"; import { TokenMapper } from "./TokenMapper"; diff --git a/packages/runtime/test/misc/CorrelationId.test.ts b/packages/runtime/test/misc/CorrelationId.test.ts index 4b66f0db1..65810dbb2 100644 --- a/packages/runtime/test/misc/CorrelationId.test.ts +++ b/packages/runtime/test/misc/CorrelationId.test.ts @@ -1,6 +1,6 @@ import { AccountController } from "@nmshd/transport"; +import { Container } from "@nmshd/typescript-ioc"; import correlator from "correlation-id"; -import { Container } from "typescript-ioc"; import { RuntimeServiceProvider, TestRuntimeServices } from "../lib"; import { RequestInterceptor } from "../lib/RequestInterceptor";