@bishwenduk029/fringe
Version:
Edge rendered React and GraphQL
10 lines (9 loc) • 312 B
TypeScript
export declare const DYNAMIC_PAGE: RegExp;
export interface Page {
page: string;
pagePath: string;
context?: any;
test: RegExp;
}
export declare function resolvePagePath(pagePath: string, keys: string[]): Page;
export declare function getPage(pagePath: string, context: string[]): Promise<Page>;