/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/request
NameSizeModeActions
connection.d.ts2540666editdlrm
connection.js71300666editdlrm
connection.js.map84140666editdlrm
cookies.d.ts17770666editdlrm
cookies.js206190666editdlrm
cookies.js.map314000666editdlrm
draft-mode.d.ts19250666editdlrm
draft-mode.js138650666editdlrm
draft-mode.js.map209660666editdlrm
fallback-params.d.ts1790666editdlrm
fallback-params.js13400666editdlrm
fallback-params.js.map21290666editdlrm
headers.d.ts23470666editdlrm
headers.js177520666editdlrm
headers.js.map267750666editdlrm
params.d.ts23130666editdlrm
params.js272210666editdlrm
params.js.map393300666editdlrm
pathname.d.ts2000666editdlrm
pathname.js43830666editdlrm
pathname.js.map61790666editdlrm
root-params.d.ts1880666editdlrm
root-params.js143720666editdlrm
root-params.js.map184820666editdlrm
search-params.d.ts24740666editdlrm
search-params.js330320666editdlrm
search-params.js.map474590666editdlrm
utils.d.ts4870666editdlrm
utils.js31660666editdlrm
utils.js.map31690666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/request/params.d.ts (2313B)
import { type WorkStore } from '../app-render/work-async-storage.external'; export type ParamValue = string | Array | undefined; export type Params = Record; /** * In this version of Next.js the `params` prop passed to Layouts, Pages, and other Segments is a Promise. * However to facilitate migration to this new Promise type you can currently still access params directly on the Promise instance passed to these Segments. * The `UnsafeUnwrappedParams` type is available if you need to temporarily access the underlying params without first awaiting or `use`ing the Promise. * * In a future version of Next.js the `params` prop will be a plain Promise and this type will be removed. * * Typically instances of `params` can be updated automatically to be treated as a Promise by a codemod published alongside this Next.js version however if you * have not yet run the codemod of the codemod cannot detect certain instances of `params` usage you should first try to refactor your code to await `params`. * * If refactoring is not possible but you still want to be able to access params directly without typescript errors you can cast the params Promise to this type * * ```tsx * type Props = { params: Promise<{ id: string }>} * * export default async function Layout(props: Props) { * const directParams = (props.params as unknown as UnsafeUnwrappedParams) * return ... * } * ``` * * This type is marked deprecated to help identify it as target for refactoring away. * * @deprecated */ export type UnsafeUnwrappedParams

= P extends Promise ? Omit : never; export declare function createParamsFromClient(underlyingParams: Params, workStore: WorkStore): Promise; export type CreateServerParamsForMetadata = typeof createServerParamsForMetadata; export declare const createServerParamsForMetadata: typeof createServerParamsForServerSegment; export declare function createServerParamsForRoute(underlyingParams: Params, workStore: WorkStore): Promise; export declare function createServerParamsForServerSegment(underlyingParams: Params, workStore: WorkStore): Promise; export declare function createPrerenderParamsForClientSegment(underlyingParams: Params): Promise;