feat: invert pageUrlOverrides

This commit is contained in:
Travis Fischer
2021-02-10 21:34:45 -05:00
parent 9e1462955a
commit 396aee01f5
5 changed files with 20 additions and 17 deletions

View File

@@ -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
}