MockTypedViewDefinition interface

Namespace @runic-artifex/views/mock · @runic-artifex/views 0.7.0-preview.5

interface MockTypedViewDefinition

The loose shape of a generated mock definition.

Properties

id

readonly id?: string;

Presents the mock as content with this id, on route content{id}.

state

readonly state: object;

No documentation.

kind

readonly kind?: string;

The page kind of the reference, for a View with several contracts.

setters

readonly setters?: object;

Handlers by client method; the generated definition types them.

commands

readonly commands?: object;

No documentation.

canExecute

readonly canExecute?: object;

No documentation.

operations

readonly operations?: object;

No documentation.