feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
This commit is contained in:
37
apps/public-web/node_modules/next/dist/server/base-http/helpers.d.ts
generated
vendored
Normal file
37
apps/public-web/node_modules/next/dist/server/base-http/helpers.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import type { BaseNextRequest, BaseNextResponse } from './';
|
||||
import type { NodeNextRequest, NodeNextResponse } from './node';
|
||||
import type { WebNextRequest, WebNextResponse } from './web';
|
||||
/**
|
||||
* This file provides some helpers that should be used in conjunction with
|
||||
* explicit environment checks. When combined with the environment checks, it
|
||||
* will ensure that the correct typings are used as well as enable code
|
||||
* elimination.
|
||||
*/
|
||||
/**
|
||||
* Type guard to determine if a request is a WebNextRequest. This does not
|
||||
* actually check the type of the request, but rather the runtime environment.
|
||||
* It's expected that when the runtime environment is the edge runtime, that any
|
||||
* base request is a WebNextRequest.
|
||||
*/
|
||||
export declare const isWebNextRequest: (req: BaseNextRequest) => req is WebNextRequest;
|
||||
/**
|
||||
* Type guard to determine if a response is a WebNextResponse. This does not
|
||||
* actually check the type of the response, but rather the runtime environment.
|
||||
* It's expected that when the runtime environment is the edge runtime, that any
|
||||
* base response is a WebNextResponse.
|
||||
*/
|
||||
export declare const isWebNextResponse: (res: BaseNextResponse) => res is WebNextResponse;
|
||||
/**
|
||||
* Type guard to determine if a request is a NodeNextRequest. This does not
|
||||
* actually check the type of the request, but rather the runtime environment.
|
||||
* It's expected that when the runtime environment is the node runtime, that any
|
||||
* base request is a NodeNextRequest.
|
||||
*/
|
||||
export declare const isNodeNextRequest: (req: BaseNextRequest) => req is NodeNextRequest;
|
||||
/**
|
||||
* Type guard to determine if a response is a NodeNextResponse. This does not
|
||||
* actually check the type of the response, but rather the runtime environment.
|
||||
* It's expected that when the runtime environment is the node runtime, that any
|
||||
* base response is a NodeNextResponse.
|
||||
*/
|
||||
export declare const isNodeNextResponse: (res: BaseNextResponse) => res is NodeNextResponse;
|
||||
Reference in New Issue
Block a user