Interface: ResolvedCalleeName
Defined in: src/eslint/rules/common.ts:149
A resolved callee name: the EXPORTED symbol a rule should match on, plus the binding shape it arrived through.
Remarks
A local identifier is not the match: import { createSkillManager as csm } means the file's csm(…) call names the export createSkillManager, and import * as ns from '@nhtio/adk/…' makes ns.createSkillManager(…) name it too. Rules that gate on a factory/class name resolve the callee through this record BEFORE matching on any name.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
fromAdk | boolean | True when that import is from this package's public subpaths (@nhtio/adk or @nhtio/adk/…). | src/eslint/rules/common.ts:159 |
imported | boolean | True when the value binding came from an import statement in this file (any module). | src/eslint/rules/common.ts:157 |
kind | "namespace" | "plain" | "aliased" | How the callee is bound in this file. | src/eslint/rules/common.ts:153 |
local | string | The local identifier the file references the export through. | src/eslint/rules/common.ts:155 |
name | string | The exported name to match on (the imported specifier, or the last member segment). | src/eslint/rules/common.ts:151 |