mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-08 19:34:56 +02:00
18 lines
575 B
TypeScript
18 lines
575 B
TypeScript
import { Author, Extension, FeedOptions, Item } from "./typings";
|
|
export { Author, Extension, FeedOptions, Item };
|
|
export declare class Feed {
|
|
options: FeedOptions;
|
|
items: Item[];
|
|
categories: string[];
|
|
contributors: Author[];
|
|
extensions: Extension[];
|
|
constructor(options: FeedOptions);
|
|
addItem: (item: Item) => number;
|
|
addCategory: (category: string) => number;
|
|
addContributor: (contributor: Author) => number;
|
|
addExtension: (extension: Extension) => number;
|
|
atom1: () => string;
|
|
rss2: () => string;
|
|
json1: () => string;
|
|
}
|