mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
feat(types): add interface for Params
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ExtendedRecordMap, PageMap } from 'notion-types'
|
||||
import { ParsedUrlQuery } from 'querystring'
|
||||
|
||||
export * from 'notion-types'
|
||||
|
||||
@@ -16,6 +17,10 @@ export interface PageProps {
|
||||
error?: PageError
|
||||
}
|
||||
|
||||
export interface Params extends ParsedUrlQuery {
|
||||
pageId: string
|
||||
}
|
||||
|
||||
export interface Site {
|
||||
name: string
|
||||
domain: string
|
||||
|
||||
Reference in New Issue
Block a user