fix: update cache handler to accommodate changes in next@canary #311
Annotations
10 errors
src/build/content/prerendered.ts#L51
Type '{ kind: string; html: string; pageData: any; headers: undefined; status: undefined; }' is not assignable to type 'never'.
|
src/build/content/prerendered.ts#L189
This comparison appears to be unintentional because the types '"ROUTE" | "APP_PAGE"' and '"PAGE"' have no overlap.
|
src/build/content/prerendered.ts#L189
This comparison appears to be unintentional because the types '"ROUTE" | "APP_PAGE"' and '"PAGES"' have no overlap.
|
src/run/handlers/cache.cts#L135
This comparison appears to be unintentional because the types '"ROUTE" | "REDIRECT" | "APP_PAGE" | "IMAGE" | "FETCH"' and '"PAGES"' have no overlap.
|
src/run/handlers/cache.cts#L138
This comparison appears to be unintentional because the types '"REDIRECT" | "IMAGE" | "FETCH"' and '"APP_ROUTE"' have no overlap.
|
src/run/handlers/cache.cts#L144
This comparison appears to be unintentional because the types '"ROUTE" | "APP_PAGE"' and '"PAGES"' have no overlap.
|
src/run/handlers/cache.cts#L233
Type '"APP_ROUTE"' is not comparable to type '"ROUTE" | "REDIRECT" | "PAGE" | "APP_PAGE" | "IMAGE" | "FETCH" | undefined'.
|
src/run/handlers/cache.cts#L250
Type '"PAGES"' is not comparable to type '"ROUTE" | "REDIRECT" | "PAGE" | "APP_PAGE" | "IMAGE" | "FETCH" | undefined'.
|
src/run/handlers/cache.cts#L253
Property 'revalidate' does not exist on type 'IncrementalCachedPageValue'.
|
src/run/handlers/cache.cts#L255
Argument of type 'any' is not assignable to parameter of type 'never'.
|
This job failed
Loading