File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type {
1010} from "../variant-analysis/shared/variant-analysis-filter-sort" ;
1111import type { ErrorLike } from "../common/errors" ;
1212import type { DataFlowPaths } from "../variant-analysis/shared/data-flow-paths" ;
13- import type { Method } from "../model-editor/method" ;
13+ import type { Method , MethodSignature } from "../model-editor/method" ;
1414import type { ModeledMethod } from "../model-editor/modeled-method" ;
1515import type {
1616 MethodModelingPanelViewState ,
@@ -681,7 +681,7 @@ export type FromModelEditorMessage =
681681
682682interface RevealInEditorMessage {
683683 t : "revealInModelEditor" ;
684- method : Method ;
684+ method : MethodSignature ;
685685}
686686
687687interface StartModelingMessage {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { telemetryListener } from "../../common/vscode/telemetry";
66import { showAndLogExceptionWithTelemetry } from "../../common/logging/notifications" ;
77import type { App } from "../../common/app" ;
88import { redactableError } from "../../common/errors" ;
9- import type { Method } from "../method" ;
9+ import type { Method , MethodSignature } from "../method" ;
1010import type { ModelingStore } from "../modeling-store" ;
1111import { AbstractWebviewViewProvider } from "../../common/vscode/abstract-webview-view-provider" ;
1212import { assertNever } from "../../common/helpers-pure" ;
@@ -163,7 +163,7 @@ export class MethodModelingViewProvider extends AbstractWebviewViewProvider<
163163 }
164164 }
165165
166- private async revealInModelEditor ( method : Method ) : Promise < void > {
166+ private async revealInModelEditor ( method : MethodSignature ) : Promise < void > {
167167 if ( ! this . databaseItem ) {
168168 return ;
169169 }
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import {
3636 externalApiQueriesProgressMaxStep ,
3737 runModelEditorQueries ,
3838} from "./model-editor-queries" ;
39- import type { Method } from "./method" ;
39+ import type { MethodSignature } from "./method" ;
4040import type { ModeledMethod } from "./modeled-method" ;
4141import type { ExtensionPack } from "./shared/extension-pack" ;
4242import type { ModelConfigListener } from "../config" ;
@@ -431,7 +431,7 @@ export class ModelEditorView extends AbstractWebview<
431431 this . panel ?. reveal ( ) ;
432432 }
433433
434- public async revealMethod ( method : Method ) : Promise < void > {
434+ public async revealMethod ( method : MethodSignature ) : Promise < void > {
435435 this . panel ?. reveal ( ) ;
436436
437437 await this . postMessage ( {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type { App } from "../common/app";
22import { DisposableObject } from "../common/disposable-object" ;
33import type { AppEvent , AppEventEmitter } from "../common/events" ;
44import type { DatabaseItem } from "../databases/local-databases" ;
5- import type { Method , Usage } from "./method" ;
5+ import type { Method , MethodSignature , Usage } from "./method" ;
66import type { ModelEvaluationRun } from "./model-evaluation-run" ;
77import type { ModeledMethod } from "./modeled-method" ;
88import type { Mode } from "./shared/mode" ;
@@ -58,7 +58,7 @@ interface ModelEvaluationRunChangedEvent {
5858
5959interface RevealInModelEditorEvent {
6060 dbUri : string ;
61- method : Method ;
61+ method : MethodSignature ;
6262}
6363
6464interface FocusModelEditorEvent {
@@ -285,7 +285,7 @@ export class ModelingEvents extends DisposableObject {
285285 } ) ;
286286 }
287287
288- public fireRevealInModelEditorEvent ( dbUri : string , method : Method ) {
288+ public fireRevealInModelEditorEvent ( dbUri : string , method : MethodSignature ) {
289289 this . onRevealInModelEditorEventEmitter . fire ( {
290290 dbUri,
291291 method,
You can’t perform that action at this time.
0 commit comments