Refactor import paths for 'Identifier' type

Unified the import paths of the 'Identifier' type across multiple files to ensure consistency. The 'Identifier' type is now imported from '../types/Identifier' instead of 'src/types/Identifier'. This change reduces ambiguity and aligns the import pattern throughout the codebase.
This commit is contained in:
2024-08-16 18:47:16 +02:00
committed by Max P.
parent 942e1079f6
commit 567d1c5bd2
7 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,3 @@
import { Identifier } from 'src/types/Identifier';
import type { Inject } from '../decorators/Inject'; import type { Inject } from '../decorators/Inject';
import type { Register } from '../decorators/Register'; import type { Register } from '../decorators/Register';
import type { RegisterInstance } from '../decorators/RegisterInstance'; import type { RegisterInstance } from '../decorators/RegisterInstance';
@@ -8,6 +7,7 @@ import { ImplementsStatic } from '../helper/ImplementsStatic';
import { DependencyResolutionError } from '../interfaces/Exceptions'; import { DependencyResolutionError } from '../interfaces/Exceptions';
import { IDependency } from '../interfaces/IDependency'; import { IDependency } from '../interfaces/IDependency';
import { ITSinjex, ITSinjex_ } from '../interfaces/ITSinjex'; import { ITSinjex, ITSinjex_ } from '../interfaces/ITSinjex';
import { Identifier } from '../types/Identifier';
/** /**
* # TSinjex * # TSinjex

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
import { InitDelegate } from '../types/InitDelegate'; import { InitDelegate } from '../types/InitDelegate';
/** /**

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
/** /**
* A decorator to register a class in the **TSinjex** DI (Dependency Injection) container. * A decorator to register a class in the **TSinjex** DI (Dependency Injection) container.

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
import { InitDelegate } from '../types/InitDelegate'; import { InitDelegate } from '../types/InitDelegate';
/** /**

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { Identifier } from '../types/Identifier';
/** /**
* Register a dependency. * Register a dependency.

View File

@@ -1,6 +1,6 @@
import { Identifier } from 'src/types/Identifier';
import { TSinjex } from '../classes/TSinjex'; import { TSinjex } from '../classes/TSinjex';
import { DependencyResolutionError } from '../interfaces/Exceptions'; import { DependencyResolutionError } from '../interfaces/Exceptions';
import { Identifier } from '../types/Identifier';
/** /**
* Resolve a dependency. * Resolve a dependency.

View File

@@ -1,5 +1,5 @@
import { Identifier } from 'src/types/Identifier';
import { DependencyResolutionError } from './Exceptions'; import { DependencyResolutionError } from './Exceptions';
import { Identifier } from '../types/Identifier';
/** /**
* Static TSInjex Interface * Static TSInjex Interface