@getcronit/pylon
Version:

29 lines (28 loc) • 843 B
TypeScript
import type { Variables } from '../../index';
import type React from 'react';
export interface Data {
$refetch: (ignoreCache?: boolean) => Promise<void>;
}
export type PageProps = {
context: Variables['pagesContext'];
params: Record<string, string | string[] | undefined>;
searchParams: Record<string, string>;
path: string;
};
export type LayoutProps = PageProps & {
children: React.ReactNode;
};
export declare namespace MetadataRoute {
type SitemapItem = {
url: string;
lastmod?: string | Date;
changefreq?: 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
priority?: number;
};
type Sitemap = SitemapItem[];
type SitemapIndexItem = {
url: string;
lastmod?: string | Date;
};
type SitemapIndex = SitemapIndexItem[];
}