Show node on map in confirmation before deleting it.

This commit is contained in:
baldo 2022-08-24 23:48:03 +02:00
parent 3b79e807ba
commit aa0d63fd44
10 changed files with 205 additions and 8 deletions
server/shared/types

View file

@ -466,6 +466,10 @@ export const isHostname = toIsNewtype(isString, "" as Hostname);
export type Nickname = string & { readonly __tag: unique symbol };
export const isNickname = toIsNewtype(isString, "" as Nickname);
/**
* String representing geo coordinates. Latitude and longitude are delimited by one whitespace.
* E.g.: <code>"53.565278 10.001389"</code>
*/
export type Coordinates = string & { readonly __tag: unique symbol };
export const isCoordinates = toIsNewtype(isString, "" as Coordinates);