|
| 1 | +/* |
| 2 | + WARNING: This file is automatically generated and any changes made to it will be overwritten without warning. |
| 3 | + Do NOT manually edit this file or your changes will be lost. |
| 4 | +*/ |
| 5 | + |
| 6 | +import { NotHandled, NotMatched, GetPaths, PostPaths, GetablePath, GetableHref, PostablePath, PostableHref, Platform } from "@marko/run/namespace"; |
| 7 | +import type * as Run from "@marko/run"; |
| 8 | + |
| 9 | + |
| 10 | +declare module "@marko/run" { |
| 11 | + interface AppData extends Run.DefineApp<{ |
| 12 | + routes: { |
| 13 | + "/": { verb: "get"; }; |
| 14 | + } |
| 15 | + }> {} |
| 16 | +} |
| 17 | + |
| 18 | +declare module "../src/routes/_index/+page.marko" { |
| 19 | + namespace MarkoRun { |
| 20 | + export { NotHandled, NotMatched, GetPaths, PostPaths, GetablePath, GetableHref, PostablePath, PostableHref, Platform }; |
| 21 | + export type Route = Run.Routes["/"]; |
| 22 | + export type Context = Run.MultiRouteContext<Route> & Marko.Global; |
| 23 | + export type Handler = Run.HandlerLike<Route>; |
| 24 | + /** @deprecated use `((context, next) => { ... }) satisfies MarkoRun.Handler` instead */ |
| 25 | + export const route: Run.HandlerTypeFn<Route>; |
| 26 | + } |
| 27 | +} |
| 28 | + |
| 29 | +declare module "../src/routes/+layout.marko" { |
| 30 | + export interface Input extends Run.LayoutInput<typeof import("../src/routes/+layout.marko")> {} |
| 31 | + namespace MarkoRun { |
| 32 | + export { NotHandled, NotMatched, GetPaths, PostPaths, GetablePath, GetableHref, PostablePath, PostableHref, Platform }; |
| 33 | + export type Route = Run.Routes["/"]; |
| 34 | + export type Context = Run.MultiRouteContext<Route> & Marko.Global; |
| 35 | + export type Handler = Run.HandlerLike<Route>; |
| 36 | + /** @deprecated use `((context, next) => { ... }) satisfies MarkoRun.Handler` instead */ |
| 37 | + export const route: Run.HandlerTypeFn<Route>; |
| 38 | + } |
| 39 | +} |
0 commit comments