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.
50 lines • 1.41 kB
text/typescript
//#region src/namespaces/itunes/common/types.d.ts
declare namespace ItunesNs {
type Category = {
text: string;
categories?: Array<Category>;
};
type Owner = {
name?: string;
email?: string;
};
type Item = {
duration?: number;
image?: string;
explicit?: boolean;
author?: string;
title?: string;
episode?: number;
season?: number;
episodeType?: string;
block?: boolean;
/** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
summary?: string;
/** @deprecated No longer used by Apple Podcasts. */
subtitle?: string;
/** @deprecated No longer used for search in Apple Podcasts. */
keywords?: Array<string>;
};
type Feed = {
image?: string;
categories?: Array<Category>;
explicit?: boolean;
author?: string;
title?: string;
type?: string;
newFeedUrl?: string;
block?: boolean;
complete?: boolean;
applePodcastsVerify?: string;
/** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
summary?: string;
/** @deprecated No longer used by Apple Podcasts. */
subtitle?: string;
/** @deprecated No longer used for search in Apple Podcasts. */
keywords?: Array<string>;
/** @deprecated No longer supported by Apple Podcasts. */
owner?: Owner;
};
}
//#endregion
export { ItunesNs };