@hello.nrfcloud.com/proto-map
Version:
Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application
8 lines (7 loc) • 365 B
JavaScript
import { Type } from '@sinclair/typebox';
var disallowedChars = '@;" ';
var rx = new RegExp("^[^".concat(disallowedChars, "]{1,256}@[^").concat(disallowedChars, "]{3,253}$"), 'i');
export var Email = Type.RegExp(rx, {
title: 'Email',
description: 'The email of the owner of the device. They have to confirm the publication of the device every 30 days.'
});