MCPcopy Create free account
hub / github.com/WebThingsIO/webthing-node / ActionMetadata

Interface ActionMetadata

lib/action.ts:197–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195// eslint-disable-next-line @typescript-eslint/no-namespace
196declare namespace Action {
197 interface ActionMetadata {
198 title?: string;
199 description?: string;
200 links?: Link[];
201 input?: {
202 type?: PrimitiveJsonType;
203 minimum?: number;
204 maximum?: number;
205 multipleOf?: number;
206 enum?: readonly string[]|readonly number[];
207 };
208 }
209
210 interface ActionDescription<InputType = any> {
211 [name: string]: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected