mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
35 lines
746 B
TypeScript
35 lines
746 B
TypeScript
import * as types from './types'
|
|
|
|
export interface SiteConfig {
|
|
rootNotionPageId: string
|
|
rootNotionSpaceId?: string
|
|
|
|
name: string
|
|
domain: string
|
|
author: string
|
|
description?: string
|
|
|
|
twitter?: string
|
|
github?: string
|
|
linkedin?: string
|
|
zhihu?: string
|
|
|
|
defaultPageIcon?: string | null
|
|
defaultPageCover?: string | null
|
|
defaultPageCoverPosition?: number | null
|
|
|
|
isPreviewImageSupportEnabled?: boolean
|
|
isTweetEmbedSupportEnabled?: boolean
|
|
isRedisEnabled?: boolean
|
|
|
|
includeNotionIdInUrls?: boolean
|
|
pageUrlOverrides?: types.PageUrlOverridesMap
|
|
pageUrlAdditions?: types.PageUrlOverridesMap
|
|
|
|
navigationStyle?: types.NavigationStyle
|
|
}
|
|
|
|
export const siteConfig = (config: SiteConfig): SiteConfig => {
|
|
return config
|
|
}
|