An interface that can be used by classes that can provide a view besides doing an action. Designed to be used by a JsonInteractionHandler that has a view explaining what JSON input it supports.

interface JsonView {
    getView: ((input: JsonInteractionHandlerInput) => Promise<JsonRepresentation<Dict<Json>>>);
}

Implemented by

Properties

Properties

getView: ((input: JsonInteractionHandlerInput) => Promise<JsonRepresentation<Dict<Json>>>)