RunicInspectView interface

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

interface RunicInspectView

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

Properties

route

readonly route: string;

No documentation.

revision

readonly revision?: number;

No documentation.

epoch

readonly epoch?: number;

No documentation.

presentations

readonly presentations?: number;

How many presentations of the page show the route.

contract

readonly contract?: string;

The View contract, {C# view model}:{fingerprint}, from the route's Bridge calls or the source map.

viewModel

readonly viewModel?: {
    readonly id: string;
    readonly name: string;
    readonly symbol: string;
    readonly location?: RunicInspectLocation;
};

The C# ViewModel, from the development source map.

state

readonly state: unknown;

The exposed state, shortened (at most 3 levels, 20 items and 30 members each).