Implement map api (ex. /v2/map/init-data)

Migrate registry.primary_groups to pydantic model
This commit is contained in:
phil 2024-01-11 12:55:42 +05:30
parent e43c88d0ab
commit 7e9e266157
6 changed files with 116 additions and 36 deletions

View file

@ -9,7 +9,7 @@ class MapLibreStyle(BaseModel):
class Store(BaseModel):
auto_import: bool
# base_gis_type: str
count: int
count: int | None = None
custom: bool
description: str
#extra: dict[str, Any] | None