1 | import { ComponentDefinition } from "web-component-analyzer";
|
2 | import { HtmlDocument } from "../parse/document/text-document/html-document/html-document.js";
|
3 | import { HtmlNode } from "./html-node/html-node-types.js";
|
4 | import { LitTargetKind } from "./lit-target-kind.js";
|
5 | import { SourceFileRange } from "./range.js";
|
6 | export interface RenameInfoBase {
|
7 | kind: LitTargetKind;
|
8 | displayName: string;
|
9 | fullDisplayName: string;
|
10 | range: SourceFileRange;
|
11 | }
|
12 | export interface RenameHtmlNodeInfo extends RenameInfoBase {
|
13 | document: HtmlDocument;
|
14 | target: ComponentDefinition | HtmlNode;
|
15 | }
|
16 | export interface RenameComponentDefinitionInfo extends RenameInfoBase {
|
17 | target: ComponentDefinition;
|
18 | }
|
19 | export type LitRenameInfo = RenameHtmlNodeInfo | RenameComponentDefinitionInfo;
|
20 |
|
\ | No newline at end of file |