RunicInspectLocation interface

Module @runic-artifex/vite-plugin-runic in @runic-artifex/vite-plugin-runic 0.23.0

interface RunicInspectLocation

A source location of the overview, with how "open in editor" opens it: runic posts the source map entry's id to /__runic/open; translations posts the message to /__runic/open, which asks the Translations dev server where it is; vite posts the frontend file's path to it, which opens only a file Vite serves.

Properties

file

readonly file: string;

No documentation.

line

readonly line: number;

1-based.

column

readonly column: number;

1-based.

editor

readonly editor: "runic" | "translations" | "vite";

No documentation.

id

readonly id?: string;

The source map entry, for editor: "runic".

message

readonly message?: {
    readonly catalog: string;
    readonly key: string;
    readonly locale: string;
};

The message, for editor: "translations".