Initial boiler plate project

This commit is contained in:
2024-09-24 03:52:46 +00:00
parent 6120b2d6c3
commit 154b93e267
10034 changed files with 2079352 additions and 2 deletions

18
node_modules/next/dist/shared/lib/router/adapters.d.ts generated vendored Normal file
View File

@ -0,0 +1,18 @@
import type { AppRouterInstance } from '../app-router-context.shared-runtime';
import type { Params } from './utils/route-matcher';
import type { NextRouter } from './router';
import React from 'react';
/** It adapts a Pages Router (`NextRouter`) to the App Router Instance. */
export declare function adaptForAppRouterInstance(pagesRouter: NextRouter): AppRouterInstance;
/**
* adaptForSearchParams transforms the ParsedURLQuery into URLSearchParams.
*
* @param router the router that contains the query.
* @returns the search params in the URLSearchParams format
*/
export declare function adaptForSearchParams(router: Pick<NextRouter, 'isReady' | 'query' | 'asPath'>): URLSearchParams;
export declare function adaptForPathParams(router: Pick<NextRouter, 'isReady' | 'pathname' | 'query' | 'asPath'>): Params | null;
export declare function PathnameContextProviderAdapter({ children, router, ...props }: React.PropsWithChildren<{
router: Pick<NextRouter, 'pathname' | 'asPath' | 'isReady' | 'isFallback'>;
isAutoExport: boolean;
}>): import("react/jsx-runtime").JSX.Element;