From ff2b6ccd276e4eef1f356c4189e4bdf198533915 Mon Sep 17 00:00:00 2001 From: guitavano Date: Wed, 1 Jul 2026 10:23:33 -0300 Subject: [PATCH] feat(website/matchers): add @format annotations to Location matcher Wire up @format map on Map.coordinates so the Studio renders MapField (the widget already exists at schema-form.tsx). Also tag the Location interface with @format location so a future Studio widget can render city/regionCode/country as a single friendly picker. No runtime behavior change; existing lat,lng,radius string values are preserved. --- website/matchers/location.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/matchers/location.ts b/website/matchers/location.ts index 92a79bc..85b1e02 100644 --- a/website/matchers/location.ts +++ b/website/matchers/location.ts @@ -10,11 +10,15 @@ export interface Coordinate { export interface Map { /** * @title Area selection + * @format map * @example -7.27820,-35.97630,2000 */ coordinates?: string; } +/** + * @format location + */ export interface Location { /** * @title City