@runic-artifex/vite-plugin-runic

Version 0.23.0. Read from the published package.

@runic-artifex/vite-plugin-runic

runic function
RunicBridgeCall interface

One settled Bridge call in the dock's timeline.

RunicBridgeCallHandler interface

A call's C# handler, from the development source map.

RunicBridgeCallOutcome type alias

How a call ended, as @runic-artifex/views reports it (BridgeCallOutcome).

RunicDevelopmentState interface
runicDevSessionProxy function

Vite proxy entries for a development server that takes a Vite proxy configuration but no Vite plugins: the Angular CLI's proxyConfig.

RunicDevSessionProxyOptions interface
RunicDiagnosticDetail type alias
RunicDiagnosticDetailValue type alias
RunicDiagnosticEntry interface
RunicDiagnosticFailure interface

The local failure behind an error entry: an exception type, message and stack.

RunicDiagnosticSource type alias

The Runic subsystem an entry comes from: a short lowercase name.

RunicHandlerAnalysis interface
RunicHandlerBinding interface

An event binding of the markup and what it reaches.

RunicHandlerCall interface

A generated-client call a handler reaches: client.save() is save.

RunicHandlerPosition interface

A position in a file: 1-based line and column.

RunicInspectApi interface

The value at globalThis[Symbol.for("runic.vite.inspect")].

RunicInspectCall interface

A Bridge call the element made.

RunicInspectCommand interface

A command the element calls, with its C# handler.

RunicInspectComponent interface

The element's framework component, as the framework's own development metadata gives it.

RunicInspectDescription interface

What Runic Inspect and describe(element) report for an element.

RunicInspectEvidence type alias

How the overview knows a member belongs to the element: call (the element made a Bridge call to it), text (the element's text is the member's value), value (a form control's value is the member's value).

RunicInspectLocation interface

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.

RunicInspectMember interface

A ViewModel member the element binds, with its current value and its C# member.

RunicInspectMessage interface

A message of a generated m.*() call that the element shows.

RunicInspectRecentCall interface

A recent Bridge call of the page, newest first in a snapshot.

RunicInspectSnapshot interface

What snapshot() returns.

RunicInspectText interface

A text the ViewModel sent as a Runic Translations text reference, which the element shows.

RunicInspectView interface

A View the page shows: a route with its latest state, as the state inspector channel reported it.

RunicInspectViewModel interface

A ViewModel the element is connected to.

RunicOtlpOptions interface

Where and how the development server exports the page's spans of Bridge calls.

RunicSourceLocation interface

A source location: the absolute path of a local file and a 1-based line and column, as in a compiler diagnostic.

RunicSourceMap interface

/__runic/sources: the sources.json the Bridge generator wrote, version runic.views.bridge-sources/1.

RunicSourceMember interface
RunicSourceMemberKind type alias

What a member is for the page: - state: a state member, read through the C# getter; - setter: a state member the page sets (set… and write…), through the C# setter; - command: a command; symbol and location are its handler, such as the [RelayCommand] method; - commandState: a state member a command adds, such as canSave, located at the command's handler; - interaction and request: an interaction or a View request the page handles.

RunicSourceViewModel interface

A ViewModel with a generated Bridge.

RunicTraceKind type alias

The timeline kind of an entry.

RunicViewSnapshot interface

One View in the state inspector.

RunicViewStateValue type alias

A View state value as the state inspector shows it: JSON, bounded and redacted.

RunicViteOptions interface
RunicVitePlugin interface
RunicVitePluginApi interface

The API another Vite plugin reaches through plugin.api, Vite's inter-plugin convention.

@runic-artifex/vite-plugin-runic/experimental

runic function

The root entry's runic, with the experimental options of RunicExperimentalViteOptions.

RunicComponentOptions interface
RunicExperimentalViteOptions interface

The options of the experimental entry's runic: the root entry's, and the component build target.