UNPKG

@hello.nrfcloud.com/proto

Version:

Documents the communication protocol between the hello.nrfcloud.com backend and the web application

8 lines (7 loc) 287 B
import { Type } from '@sinclair/typebox'; export var Timestamp = Type.RegExp(/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/, { title: 'Time when the update was received, formatted as ISO 8601', examples: [ '2024-04-19T08:45:00.000Z' ] });