Server heavy refactoring 2 (not functionnal)

This commit is contained in:
Sebastien Riviere
2026-03-02 01:33:20 +01:00
parent 24bce7896c
commit 8046feadb0
57 changed files with 5320 additions and 2172 deletions

View File

@@ -0,0 +1,13 @@
export const ZONE_TYPES = {
CIRCLE: "circle",
POLYGON: "polygon"
}
export const DEFAULT_ZONES_SETTINGS = {
CIRCLE: { type: ZONE_TYPES.CIRCLE, min: null, max: null, reductionCount: 5, duration: 20 * 60 * 1000 },
POLYGON: { type: ZONE_TYPES.POLYGON, polygons: [] },
};
export const TURF_DISTANCE_UNIT = 'meters';
export const TURF_CIRCLE_STEPS = 32;
export const TURF_BUFFER_SIZE = 1;