@getcronit/pylon
Version:

17 lines (16 loc) • 476 B
TypeScript
import { Variables, type Plugin } from '../../../index';
export interface PageData {
}
export type PageProps = {
context: Variables['pagesContext'];
data: PageData & {
$refetch: () => Promise<void>;
};
params: Record<string, string | string[] | undefined>;
searchParams: Record<string, string>;
path: string;
};
export type LayoutProps = PageProps & {
children: React.ReactNode;
};
export declare const setup: NonNullable<Plugin['setup']>;