@aziontech/opennextjs-azion
Version:
Azion builder for Next.js apps
13 lines (12 loc) • 480 B
TypeScript
import type { BuildOptions } from "@opennextjs/aws/build/helper.js";
import type { OpenNextConfig } from "@opennextjs/aws/types/open-next.js";
export type CacheAsset = {
isFetch: boolean;
fullPath: string;
key: string;
buildId: string;
};
export declare function getCacheAssets(opts: BuildOptions): CacheAsset[];
export declare function populateCache(options: BuildOptions, config: OpenNextConfig, populateCacheOptions: {
cacheDir?: string;
}): Promise<void>;