@dryv/ts-api-clientv0.1.5
A framework-free TypeScript API client over fetch, with typed models and one call per operation.
dryv pack add @dryv/ts-api-client/** RFC 7946 geometry values. Localization and coordinate transformation are application concerns. */
export type Position = [number, number, ...number[]];
export type GeoJson =
| { type: "Point"; coordinates: Position }
| { type: "MultiPoint" | "LineString"; coordinates: Position[] }
| { type: "MultiLineString" | "Polygon"; coordinates: Position[][] }
| { type: "MultiPolygon"; coordinates: Position[][][] }
| { type: "GeometryCollection"; geometries: GeoJson[] };