-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtyped-router.d.ts
38 lines (36 loc) · 2.21 KB
/
typed-router.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-router. ‼️ DO NOT MODIFY THIS FILE ‼️
// It's recommended to commit this file.
// Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
declare module 'vue-router/auto-routes' {
import type {
RouteRecordInfo,
ParamValue,
ParamValueOneOrMore,
ParamValueZeroOrMore,
ParamValueZeroOrOne,
} from 'unplugin-vue-router/types'
/**
* Route name map generated by unplugin-vue-router
*/
export interface RouteNamedMap {
'/': RouteRecordInfo<'/', '/', Record<never, never>, Record<never, never>>,
'/[...all]': RouteRecordInfo<'/[...all]', '/:all(.*)', { all: ParamValue<true> }, { all: ParamValue<false> }>,
'/403': RouteRecordInfo<'/403', '/403', Record<never, never>, Record<never, never>>,
'/admin/': RouteRecordInfo<'/admin/', '/admin', Record<never, never>, Record<never, never>>,
'/admin/category/': RouteRecordInfo<'/admin/category/', '/admin/category', Record<never, never>, Record<never, never>>,
'/admin/goods/': RouteRecordInfo<'/admin/goods/', '/admin/goods', Record<never, never>, Record<never, never>>,
'/admin/user/': RouteRecordInfo<'/admin/user/', '/admin/user', Record<never, never>, Record<never, never>>,
'/goodDetail/[id]': RouteRecordInfo<'/goodDetail/[id]', '/goodDetail/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
'/like/': RouteRecordInfo<'/like/', '/like', Record<never, never>, Record<never, never>>,
'/login/': RouteRecordInfo<'/login/', '/login', Record<never, never>, Record<never, never>>,
'/logout/': RouteRecordInfo<'/logout/', '/logout', Record<never, never>, Record<never, never>>,
'/order/': RouteRecordInfo<'/order/', '/order', Record<never, never>, Record<never, never>>,
'/order/[id]': RouteRecordInfo<'/order/[id]', '/order/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
'/register/': RouteRecordInfo<'/register/', '/register', Record<never, never>, Record<never, never>>,
'/shop/': RouteRecordInfo<'/shop/', '/shop', Record<never, never>, Record<never, never>>,
'/userInfo/': RouteRecordInfo<'/userInfo/', '/userInfo', Record<never, never>, Record<never, never>>,
}
}