Show node on map in confirmation before deleting it.
This commit is contained in:
parent
3b79e807ba
commit
aa0d63fd44
10 changed files with 205 additions and 8 deletions
server/shared/types
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue