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.
10 lines • 631 B
TypeScript
import { DateLike, DeepOmit } from "../../../common/types.js";
import { Atom } from "../../../feeds/atom/common/types.js";
//#region src/namespaces/atom/common/types.d.ts
type NsKeys = 'admin' | 'app' | 'arxiv' | 'cc' | 'creativeCommons' | 'dc' | 'dcterms' | 'geo' | 'georss' | 'googleplay' | 'itunes' | 'media' | 'opensearch' | 'pingback' | 'psc' | 'slash' | 'sy' | 'thr' | 'trackback' | 'wfw' | 'yt';
declare namespace AtomNs {
type Entry<TDate extends DateLike> = Partial<DeepOmit<Atom.Entry<TDate>, NsKeys>>;
type Feed<TDate extends DateLike> = Partial<DeepOmit<Atom.Feed<TDate>, NsKeys>>;
}
//#endregion
export { AtomNs };