-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b1f955
commit ed5afc9
Showing
8 changed files
with
88 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// This file is generated by next-typesafe-url | ||
// Do not edit this file directly. | ||
|
||
// @generated | ||
// prettier-ignore | ||
/* eslint-disable */ | ||
|
||
|
||
declare module "@@@next-typesafe-url" { | ||
import type { InferRoute, StaticRoute } from "next-typesafe-url"; | ||
|
||
interface DynamicRouter { | ||
"/item/[...item]": InferRoute<import("./src/app/item/[...item]/routeType").RouteType>; | ||
} | ||
|
||
interface StaticRouter { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { type DynamicRoute } from 'next-typesafe-url'; | ||
import { z } from 'zod'; | ||
|
||
export const Route = { | ||
routeParams: z.object({ | ||
item: z.array(z.string()), | ||
}), | ||
} satisfies DynamicRoute; | ||
|
||
export type RouteType = typeof Route; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters