feat: add rss feed and cleanup some sitemap code

This commit is contained in:
Travis Fischer
2022-04-21 20:46:51 -04:00
parent facc4e301b
commit 69b631e57a
14 changed files with 162 additions and 114 deletions

View File

@@ -16,15 +16,7 @@ export interface PageProps {
error?: PageError
}
export interface Model {
id: string
userId: string
createdAt: number
updatedAt: number
}
export interface Site extends Model {
export interface Site {
name: string
domain: string
@@ -40,10 +32,6 @@ export interface Site extends Model {
// opengraph metadata
description?: string
image?: string
timestamp: Date
isDisabled: boolean
}
export interface SiteMap {