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/server/app-render/cache-signal.d.ts
generated
vendored
Normal file
34
apps/public-web/node_modules/next/dist/server/app-render/cache-signal.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* This class is used to detect when all cache reads for a given render are settled.
|
||||
* We do this to allow for cache warming the prerender without having to continue rendering
|
||||
* the remainder of the page. This feature is really only useful when the cacheComponents flag is on
|
||||
* and should only be used in codepaths gated with this feature.
|
||||
*/
|
||||
export declare class CacheSignal {
|
||||
private count;
|
||||
private earlyListeners;
|
||||
private listeners;
|
||||
private tickPending;
|
||||
private pendingTimeoutCleanup;
|
||||
private subscribedSignals;
|
||||
constructor();
|
||||
private noMorePendingCaches;
|
||||
private invokeListenersIfNoPendingReads;
|
||||
/**
|
||||
* This promise waits until there are no more in progress cache reads but no later.
|
||||
* This allows for adding more cache reads after to delay cacheReady.
|
||||
*/
|
||||
inputReady(): Promise<void>;
|
||||
/**
|
||||
* If there are inflight cache reads this Promise can resolve in a microtask however
|
||||
* if there are no inflight cache reads then we wait at least one task to allow initial
|
||||
* cache reads to be initiated.
|
||||
*/
|
||||
cacheReady(): Promise<void>;
|
||||
beginRead(): void;
|
||||
endRead(): void;
|
||||
hasPendingReads(): boolean;
|
||||
trackRead<T>(promise: Promise<T>): Promise<T>;
|
||||
subscribeToReads(subscriber: CacheSignal): () => void;
|
||||
unsubscribeFromReads(subscriber: CacheSignal): void;
|
||||
}
|
||||
Reference in New Issue
Block a user