Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
48
node_modules/@vercel/build-utils/dist/prerender.d.ts
generated
vendored
Normal file
48
node_modules/@vercel/build-utils/dist/prerender.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
import type { File, HasField, Chain } from './types';
|
||||
import { Lambda } from './lambda';
|
||||
interface PrerenderOptions {
|
||||
expiration: number | false;
|
||||
staleExpiration?: number;
|
||||
lambda?: Lambda;
|
||||
fallback: File | null;
|
||||
group?: number;
|
||||
bypassToken?: string | null;
|
||||
allowQuery?: string[];
|
||||
allowHeader?: string[];
|
||||
initialHeaders?: Record<string, string>;
|
||||
initialStatus?: number;
|
||||
passQuery?: boolean;
|
||||
sourcePath?: string;
|
||||
experimentalBypassFor?: HasField;
|
||||
experimentalStreamingLambdaPath?: string;
|
||||
chain?: Chain;
|
||||
}
|
||||
export declare class Prerender {
|
||||
type: 'Prerender';
|
||||
/**
|
||||
* `expiration` is `revalidate` in Next.js terms, and `s-maxage` in
|
||||
* `cache-control` terms.
|
||||
*/
|
||||
expiration: number | false;
|
||||
/**
|
||||
* `staleExpiration` is `expire` in Next.js terms, and
|
||||
* `stale-while-revalidate` + `s-maxage` in `cache-control` terms. It's
|
||||
* expected to be undefined if `expiration` is `false`.
|
||||
*/
|
||||
staleExpiration?: number;
|
||||
lambda?: Lambda;
|
||||
fallback: File | null;
|
||||
group?: number;
|
||||
bypassToken: string | null;
|
||||
allowQuery?: string[];
|
||||
allowHeader?: string[];
|
||||
initialHeaders?: Record<string, string>;
|
||||
initialStatus?: number;
|
||||
passQuery?: boolean;
|
||||
sourcePath?: string;
|
||||
experimentalBypassFor?: HasField;
|
||||
experimentalStreamingLambdaPath?: string;
|
||||
chain?: Chain;
|
||||
constructor({ expiration, staleExpiration, lambda, fallback, group, bypassToken, allowQuery, allowHeader, initialHeaders, initialStatus, passQuery, sourcePath, experimentalBypassFor, experimentalStreamingLambdaPath, chain, }: PrerenderOptions);
|
||||
}
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue