@serverless-stack/nextjs-lambda
Version:
Provides handlers that can be used in CloudFront Lambda@Edge to deploy next.js applications to the edge
12 lines (11 loc) • 355 B
TypeScript
interface TriggerStaticRegenerationOptions {
request: AWSLambda.CloudFrontRequest;
response: AWSLambda.CloudFrontResponse;
basePath: string | undefined;
pagePath: string;
queueName: string;
}
export declare const triggerStaticRegeneration: (options: TriggerStaticRegenerationOptions) => Promise<{
throttle: boolean;
}>;
export {};