mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-08 23:16:48 +00:00
feat: add rss feed and cleanup some sitemap code
This commit is contained in:
14
lib/types.ts
14
lib/types.ts
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user