@hello.nrfcloud.com/proto-map
Version:
Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application
15 lines (13 loc) • 366 B
text/typescript
import { Type } from '@sinclair/typebox'
import { Context } from './Context.js'
export const APIHealth = Type.Object(
{
'@context': Type.Literal(Context.apiHealth.toString()),
version: Type.String({
title: 'Version',
minLength: 1,
description: 'The version of the API.',
}),
},
{ title: 'APIHealth', description: 'Information about the API.' },
)