feedsmith
Version:
Fast, all‑in‑one feed parser and generator for RSS, Atom, RDF, and JSON Feed, with support for Podcast, iTunes, Dublin Core, and OPML files.
31 lines • 581 B
TypeScript
//#region src/namespaces/georss/common/types.d.ts
declare namespace GeoRssNs {
type Point = {
lat: number;
lng: number;
};
type Line = {
points: Array<Point>;
};
type Polygon = {
points: Array<Point>;
};
type Box = {
lowerCorner: Point;
upperCorner: Point;
};
type ItemOrFeed = {
point?: Point;
line?: Line;
polygon?: Polygon;
box?: Box;
featureTypeTag?: string;
relationshipTag?: string;
featureName?: string;
elev?: number;
floor?: number;
radius?: number;
};
}
//#endregion
export { GeoRssNs };