@hello.nrfcloud.com/proto
Version:
Documents the communication protocol between the hello.nrfcloud.com backend and the web application
13 lines (12 loc) • 352 B
JavaScript
import { Type } from '@sinclair/typebox';
import { Context } from './Context.js';
export var ApiHealth = Type.Object({
'@context': Type.Literal(Context.apiHealth.toString()),
version: Type.String({
minLength: 1,
title: 'Version',
description: 'The version the backend is running.'
})
}, {
title: 'ApiHealth'
});