UNPKG

@inversifyjs/core

Version:

InversifyJs core package

17 lines 1.22 kB
import { type Newable, type ServiceIdentifier } from '@inversifyjs/common'; import { type Binding } from '../../binding/models/Binding.js'; import { type ClassMetadata } from '../../metadata/models/ClassMetadata.js'; import { type GetPlanOptions } from './GetPlanOptions.js'; import { type NonCachedServiceNodeContext } from './NonCachedServiceNodeContext.js'; import { type PlanResult } from './PlanResult.js'; import { type PlanServiceNode } from './PlanServiceNode.js'; export interface PlanParamsOperations { getBindings: <TInstance>(serviceIdentifier: ServiceIdentifier<TInstance>) => Iterable<Binding<TInstance>> | undefined; getBindingsChained: <TInstance>(serviceIdentifier: ServiceIdentifier<TInstance>) => Generator<Binding<TInstance>, void, unknown>; readonly getClassMetadata: (type: Newable) => ClassMetadata; readonly getPlan: (options: GetPlanOptions) => PlanResult | undefined; setBinding: <TInstance>(binding: Binding<TInstance>) => void; readonly setNonCachedServiceNode: (node: PlanServiceNode, context: NonCachedServiceNodeContext) => void; readonly setPlan: (options: GetPlanOptions, planResult: PlanResult) => void; } //# sourceMappingURL=PlanParamsOperations.d.ts.map