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:
34
apps/public-web/node_modules/next/dist/lib/recursive-readdir.d.ts
generated
vendored
Normal file
34
apps/public-web/node_modules/next/dist/lib/recursive-readdir.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
type Filter = (pathname: string) => boolean;
|
||||
export type RecursiveReadDirOptions = {
|
||||
/**
|
||||
* Filter to ignore files with absolute pathnames, false to ignore.
|
||||
*/
|
||||
pathnameFilter?: Filter;
|
||||
/**
|
||||
* Filter to ignore files and directories with absolute pathnames, false to
|
||||
* ignore.
|
||||
*/
|
||||
ignoreFilter?: Filter;
|
||||
/**
|
||||
* Filter to ignore files and directories with the pathname part, false to
|
||||
* ignore.
|
||||
*/
|
||||
ignorePartFilter?: Filter;
|
||||
/**
|
||||
* Whether to sort the results, true by default.
|
||||
*/
|
||||
sortPathnames?: boolean;
|
||||
/**
|
||||
* Whether to return relative pathnames, true by default.
|
||||
*/
|
||||
relativePathnames?: boolean;
|
||||
};
|
||||
/**
|
||||
* Recursively reads a directory and returns the list of pathnames.
|
||||
*
|
||||
* @param rootDirectory the directory to read
|
||||
* @param options options to control the behavior of the recursive read
|
||||
* @returns the list of pathnames
|
||||
*/
|
||||
export declare function recursiveReadDir(rootDirectory: string, options?: RecursiveReadDirOptions): Promise<string[]>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user