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

Interface PropertyMetadata

lib/property.ts:168–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166declare namespace Property {
167 // could we use .type to strongly type the enum, minimum and maximum?
168 interface PropertyMetadata {
169 type?: PrimitiveJsonType;
170 '@type'?: string;
171 unit?: string;
172 title?: string;
173 description?: string;
174 links?: Link[];
175 enum?: any[];
176 readOnly?: boolean;
177 minimum?: number;
178 maximum?: number;
179 multipleOf?: number;
180 }
181
182 interface PropertyDescription extends PropertyMetadata {
183 links: Link[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected