File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export type {
6363 SiteStyleConfigInput ,
6464} from './site-config-types'
6565export type {
66- PageOutlineItem ,
6766 PageContext ,
67+ PageOutlineItem ,
6868 TsSsgNavigation ,
6969} from './ts-ssg-context'
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ export function resolvePageContext(head: unknown): PageContext {
2525 throw new Error ( 'pageContext is not available in the Regor context stack.' )
2626}
2727
28- export function tryResolvePageContext (
29- head : unknown ,
30- ) : PageContext | undefined {
28+ export function tryResolvePageContext ( head : unknown ) : PageContext | undefined {
3129 const stack = hasContextStack ( head ) && Array . isArray ( head . ctx ) ? head . ctx : [ ]
3230 for ( const ctx of stack ) {
3331 if ( ! hasPageContext ( ctx ) ) continue
Original file line number Diff line number Diff line change 11import type {
2+ PageContext ,
23 PageNavigationLink ,
34 PageNavigationLinks ,
4- PageContext ,
55} from '@purestack/ts-common'
66import { resolvePageContext } from '@purestack/ts-common'
77import { defineComponent , html } from 'regor'
Original file line number Diff line number Diff line change 1- import type { PageOutlineItem , PageContext } from '@purestack/ts-common'
1+ import type { PageContext , PageOutlineItem } from '@purestack/ts-common'
22import { resolvePageContext } from '@purestack/ts-common'
33import type { SemanticTone } from '@purestack/ts-style'
44import {
Original file line number Diff line number Diff line change 1- import type { SiteLogoConfig , PageContext } from '@purestack/ts-common'
1+ import type { PageContext , SiteLogoConfig } from '@purestack/ts-common'
22
33import { resolvePageContext } from '@purestack/ts-common'
44import type { SemanticTone } from '@purestack/ts-style'
Original file line number Diff line number Diff line change 11import type {
2+ PageContext ,
23 PageInfo ,
34 PageOutlineItem ,
45 SiteConfig ,
5- PageContext ,
66 TsSsgNavigation ,
77} from '@purestack/ts-common'
88import { DEFAULT_THEME_OPTIONS } from '@purestack/ts-style'
Original file line number Diff line number Diff line change 11export type {
2+ PageContext ,
23 PageFrontmatter ,
34 PageInfo ,
45 PageTemplate ,
56 PageTemplateInput ,
67 PageTemplateMap ,
78 SiteConfig ,
89 SiteConfigInput ,
9- PageContext ,
1010} from '@purestack/ts-common'
1111export type {
1212 BuildContext ,
You can’t perform that action at this time.
0 commit comments