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