@hello.nrfcloud.com/proto
Version:
Documents the communication protocol between the hello.nrfcloud.com backend and the web application
17 lines (15 loc) • 339 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({
minLength: 1,
title: 'Version',
description: 'The version the backend is running.',
}),
},
{
title: 'ApiHealth',
},
)