import { type $geoPolygon } from "https://deno.land/x/mongo@v0.31.1/src/types/geospatial.ts";
Example:
{
$geometry: {
type: "Polygon",
coordinates: [ [ [ 0 , 0 ] , [ 3 , 6 ] , [ 6 , 1 ] , [ 0 , 0 ] ] ]
},
}
https://www.mongodb.com/docs/manual/reference/geojson/#polygon