UNPKG
@izzyjs/route
Version:
latest (2.1.14)
2.1.14
2.1.7
2.1.7-1
2.1.7-0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.2.0
1.1.0-0
1.0.1-1
1.0.1-0
1.0.0-1
1.0.0-0
0.0.2-0
0.0.1-1
0.0.1-0
Use your AdonisJs routes in your Inertia.js application
github.com/izzyjs/route
izzyjs/route
@izzyjs/route
/
build
/
src
/
define_config.d.ts
12 lines
(11 loc)
•
276 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
interface
RouteFilter
{
only
?:
string
[];
except
?:
string
[];
groups
?:
Record
<
string
,
string
[]>; }
interface
Config
{
baseUrl
:
string
;
routes
?:
RouteFilter
; }
export
default
function
defineConfig
(
config
:
Config
):
Config
;
export
type
{
Config
,
RouteFilter
};