Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a6c1ac

Browse files
committed
update comment and move type location
1 parent 634b229 commit 2a6c1ac

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/open-next/src/build/createAssets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function createStaticAssets(options: buildHelper.BuildOptions) {
5656
* Create the cache assets.
5757
*
5858
* @param options Build options.
59-
* @returns Whether tag cache is used.
59+
* @returns Whether the tag cache is used, and the meta files collected.
6060
*/
6161
export function createCacheAssets(options: buildHelper.BuildOptions) {
6262
logger.info("Bundling cache assets...");

packages/open-next/src/types/cache.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,9 @@ export interface Meta {
7575
headers?: Record<string, undefined | string | string[]>;
7676
postponed?: string;
7777
}
78+
79+
export type TagCacheMetaFile = {
80+
tag: { S: string };
81+
path: { S: string };
82+
revalidatedAt: { N: string };
83+
};

packages/open-next/src/types/open-next.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,3 @@ export interface OpenNextConfig {
447447
*/
448448
edgeExternals?: string[];
449449
}
450-
451-
export type TagCacheMetaFile = {
452-
tag: { S: string };
453-
path: { S: string };
454-
revalidatedAt: { N: string };
455-
};

0 commit comments

Comments
 (0)