UNPKG

sssx

Version:

Fast Svelte Static Site X – SSG/SSR focused on SEO for multi-million pages websites

23 lines (20 loc) 472 B
type Params = Record<string, any>; export interface RouteModule { all: () => Params[]; request: (params: Params) => Record<string, any>; } type LocalePermalink = { [locale: string]: string; }; export type RouteInfo = { permalink: string; param: Record<string, any>; file: string; route: string; svelte?: string; module?: RouteModule; locales: string[]; locale: string; permalinks?: LocalePermalink; type: "plain" | "content" | "filesystem"; };