From fca62ceb1facdc249688b31f7c02e52ade69291a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Pintos=20L=C3=B3pez?= Date: Mon, 4 Nov 2024 21:35:29 +0100 Subject: [PATCH] feat(core): expose getTargets --- .changeset/neat-cows-enjoy.md | 5 +++++ .changeset/nice-experts-watch.md | 5 +++++ packages/container/libraries/core/src/index.ts | 14 ++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 .changeset/neat-cows-enjoy.md create mode 100644 .changeset/nice-experts-watch.md diff --git a/.changeset/neat-cows-enjoy.md b/.changeset/neat-cows-enjoy.md new file mode 100644 index 00000000..afdf1240 --- /dev/null +++ b/.changeset/neat-cows-enjoy.md @@ -0,0 +1,5 @@ +--- +"@inversifyjs/core": minor +--- + +Added `LegacyTarget` model. diff --git a/.changeset/nice-experts-watch.md b/.changeset/nice-experts-watch.md new file mode 100644 index 00000000..80320221 --- /dev/null +++ b/.changeset/nice-experts-watch.md @@ -0,0 +1,5 @@ +--- +"@inversifyjs/core": minor +--- + +Added `getTargets`. diff --git a/packages/container/libraries/core/src/index.ts b/packages/container/libraries/core/src/index.ts index 5dad9ca9..c3644e28 100644 --- a/packages/container/libraries/core/src/index.ts +++ b/packages/container/libraries/core/src/index.ts @@ -1,19 +1,32 @@ +import { getTargets } from './legacyTarget/calculations/getTargets'; +import { LegacyTarget } from './legacyTarget/models/LegacyTarget'; +import { LegacyTargetType } from './legacyTarget/models/LegacyTargetType'; import { getClassMetadata } from './metadata/calculations/getClassMetadata'; import { getClassMetadataFromMetadataReader } from './metadata/calculations/getClassMetadataFromMetadataReader'; import { ClassElementMetadata } from './metadata/models/ClassElementMetadata'; import { ClassElementMetadataKind } from './metadata/models/ClassElementMetadataKind'; import { ClassMetadata } from './metadata/models/ClassMetadata'; import { ClassMetadataLifecycle } from './metadata/models/ClassMetadataLifecycle'; +import { LegacyMetadata } from './metadata/models/LegacyMetadata'; +import { LegacyMetadataMap } from './metadata/models/LegacyMetadataMap'; +import { LegacyMetadataReader } from './metadata/models/LegacyMetadataReader'; import { ManagedClassElementMetadata } from './metadata/models/ManagedClassElementMetadata'; import { MetadataName } from './metadata/models/MetadataName'; import { MetadataTag } from './metadata/models/MetadataTag'; import { MetadataTargetName } from './metadata/models/MetadataTargetName'; import { UnmanagedClassElementMetadata } from './metadata/models/UnmanagedClassElementMetadata'; +import { LegacyQueryableString } from './string/models/LegacyQueryableString'; export type { ClassElementMetadata, ClassMetadata, ClassMetadataLifecycle, + LegacyMetadata, + LegacyMetadataMap, + LegacyMetadataReader, + LegacyQueryableString, + LegacyTarget, + LegacyTargetType, ManagedClassElementMetadata, MetadataName, MetadataTag, @@ -25,4 +38,5 @@ export { ClassElementMetadataKind, getClassMetadata, getClassMetadataFromMetadataReader, + getTargets, };