Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
mudeer-web
/
.next
/
types
/
Filename :
routes.d.ts
back
Copy
// This file is generated automatically by Next.js // Do not edit this file manually type AppRoutes = "/" | "/attendance" | "/departments" | "/departments/[id]" | "/employees" | "/employees/[id]/activities" | "/employees/[id]/combined-logs" | "/employees/[id]/logs" | "/employees/[id]/settings" | "/forgot-password" | "/invoices" | "/invoices/[id]" | "/invoices/add" | "/leave-request" | "/leave-request/[id]" | "/leave-request/add" | "/notifications" | "/privacy-policy" | "/register" | "/reset-password" | "/signin" | "/terms-conditions" type PageRoutes = never type LayoutRoutes = "/" | "/privacy-policy" | "/terms-conditions" type RedirectRoutes = never type RewriteRoutes = never type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes interface ParamMap { "/": {} "/attendance": {} "/departments": {} "/departments/[id]": { "id": string; } "/employees": {} "/employees/[id]/activities": { "id": string; } "/employees/[id]/combined-logs": { "id": string; } "/employees/[id]/logs": { "id": string; } "/employees/[id]/settings": { "id": string; } "/forgot-password": {} "/invoices": {} "/invoices/[id]": { "id": string; } "/invoices/add": {} "/leave-request": {} "/leave-request/[id]": { "id": string; } "/leave-request/add": {} "/notifications": {} "/privacy-policy": {} "/register": {} "/reset-password": {} "/signin": {} "/terms-conditions": {} } export type ParamsOf<Route extends Routes> = ParamMap[Route] interface LayoutSlotMap { "/": never "/privacy-policy": never "/terms-conditions": never } export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap } declare global { /** * Props for Next.js App Router page components * @example * ```tsx * export default function Page(props: PageProps<'/blog/[slug]'>) { * const { slug } = await props.params * return <div>Blog post: {slug}</div> * } * ``` */ interface PageProps<AppRoute extends AppRoutes> { params: Promise<ParamMap[AppRoute]> searchParams: Promise<Record<string, string | string[] | undefined>> } /** * Props for Next.js App Router layout components * @example * ```tsx * export default function Layout(props: LayoutProps<'/dashboard'>) { * return <div>{props.children}</div> * } * ``` */ type LayoutProps<LayoutRoute extends LayoutRoutes> = { params: Promise<ParamMap[LayoutRoute]> children: React.ReactNode } & { [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode } }