@hello.nrfcloud.com/proto
Version:
Documents the communication protocol between the hello.nrfcloud.com backend and the web application
9 lines (8 loc) • 342 B
JavaScript
import { LwM2MObjectInstance } from '@hello.nrfcloud.com/proto-map/api';
import { Type } from '@sinclair/typebox';
import { Context } from './Context.js';
export var Shadow = Type.Object({
'@context': Type.Literal(Context.shadow.toString()),
reported: Type.Array(LwM2MObjectInstance),
desired: Type.Array(LwM2MObjectInstance)
});