Skip to content

Commit

Permalink
feat(core): expose getTargets
Browse files Browse the repository at this point in the history
  • Loading branch information
notaphplover committed Nov 4, 2024
1 parent 4a37498 commit fca62ce
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-cows-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/core": minor
---

Added `LegacyTarget` model.
5 changes: 5 additions & 0 deletions .changeset/nice-experts-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/core": minor
---

Added `getTargets`.
14 changes: 14 additions & 0 deletions packages/container/libraries/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -25,4 +38,5 @@ export {
ClassElementMetadataKind,
getClassMetadata,
getClassMetadataFromMetadataReader,
getTargets,
};

0 comments on commit fca62ce

Please sign in to comment.