mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-05 07:26:52 +00:00
feat: invert pageUrlOverrides
This commit is contained in:
@@ -55,13 +55,13 @@ export interface CanonicalPageMap {
|
||||
}
|
||||
|
||||
export interface PageUrlOverridesMap {
|
||||
// maps from a notion page id to the URL path the page should be resolved to
|
||||
// maps from a URL path to the notion page id the page should be resolved to
|
||||
// (this overrides the built-in URL path generation for these pages)
|
||||
[pageId: string]: string
|
||||
[pagePath: string]: string
|
||||
}
|
||||
|
||||
export interface PageUrlOverridesInverseMap {
|
||||
// maps from a URL path to the notion page id the page should be resolved to
|
||||
// maps from a notion page id to the URL path the page should be resolved to
|
||||
// (this overrides the built-in URL path generation for these pages)
|
||||
[pageId: string]: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user