UNPKG

@adonisjs/inertia

Version:

Official Inertia.js adapter for AdonisJS

69 lines (68 loc) 2.05 kB
declare const registry: { routes: { readonly 'users.index': { readonly methods: ["GET", "HEAD"]; readonly pattern: "/"; readonly tokens: [{ readonly old: "/"; readonly type: 0; readonly val: "/"; readonly end: ""; }]; readonly types: { body: {}; paramsTuple: []; params: {}; query: {}; response: unknown; }; }; readonly 'users.comments.edit': { readonly methods: ["GET", "HEAD"]; readonly pattern: "/users/:id/comments/:comment_id/edit"; readonly tokens: [{ readonly old: "/users"; readonly type: 0; readonly val: "users"; readonly end: "/"; }, { readonly old: ":id"; readonly type: 1; readonly val: "id"; readonly end: "/"; }, { readonly old: "/comments"; readonly type: 0; readonly val: "comments"; readonly end: "/"; }, { readonly old: ":comment_id"; readonly type: 1; readonly val: "comment_id"; readonly end: "/edit"; }, { readonly old: "/edit"; readonly type: 0; readonly val: "edit"; readonly end: ""; }]; readonly types: { body: {}; paramsTuple: [string, string]; params: { id: string; comment_id: string; }; query: {}; response: unknown; }; }; }; $tree: any; }; declare module '@tuyau/core/types' { type Registry = typeof registry; interface UserRegistry extends Registry { } } export {};