generated from nhcarrigan/template
feat: syndicate freeCodeCamp news posts
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/**
|
||||
* @copyright NHCarrigan
|
||||
* @license Naomi's Public License
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention -- Gonna have weird properties in this file. */
|
||||
|
||||
interface FreeCodeCampRSS {
|
||||
items: Array<{
|
||||
"creator": string;
|
||||
"title": string;
|
||||
"link": string;
|
||||
"pubDate": string;
|
||||
"content:encoded": string;
|
||||
"dc:creator": string;
|
||||
"content": string;
|
||||
"contentSnippet": string;
|
||||
"guid": string;
|
||||
"categories": Array<string>;
|
||||
"isoDate": Date;
|
||||
}>;
|
||||
feedUrl: string;
|
||||
image: {
|
||||
link: string;
|
||||
url: string;
|
||||
title: string;
|
||||
};
|
||||
paginationLinks: {
|
||||
self: string;
|
||||
};
|
||||
title: string;
|
||||
description: string;
|
||||
generator: string;
|
||||
link: string;
|
||||
lastBuildDate: string;
|
||||
ttl: string;
|
||||
}
|
||||
|
||||
export type { FreeCodeCampRSS };
|
||||
Reference in New Issue
Block a user