Added nanostore logic to centralise data
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
export type MapMarkerGroup = "capitals" | "cities" | "towns" | "landmarks";
|
||||
export type MapCoords = {
|
||||
x: number,
|
||||
y: number,
|
||||
}
|
||||
|
||||
export type MapMarker = {
|
||||
title: string,
|
||||
markerCoords: {
|
||||
x: number,
|
||||
y: number,
|
||||
}
|
||||
markerCoords: MapCoords,
|
||||
description?: string,
|
||||
link?: string,
|
||||
group?: MapMarkerGroup,
|
||||
@@ -13,10 +14,7 @@ export type MapMarker = {
|
||||
|
||||
export type PlayerMarker = {
|
||||
title: string,
|
||||
markerCoords: {
|
||||
x: number,
|
||||
y: number,
|
||||
}
|
||||
markerCoords: MapCoords,
|
||||
description?: string,
|
||||
link?: string,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user