File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ export async function getMostRecentTagExpirationTimestamp(tags: string[]) {
3535  const  timestampsOrNulls  =  await  Promise . all ( tags . map ( ( tag )  =>  getTagManifest ( tag ,  cacheStore ) ) ) 
3636
3737  const  expirationTimestamps  =  timestampsOrNulls 
38-     . filter ( ( timestamp )  =>  timestamp  !==  null ) 
38+     . filter ( ( manifest )  =>  manifest  !==  null ) 
3939    . map ( ( manifest )  =>  manifest . expiredAt ) 
4040  if  ( expirationTimestamps . length  ===  0 )  { 
4141    return  0 
4242  } 
4343  return  Math . max ( ...expirationTimestamps ) 
4444} 
4545
46- export  type  TagStaleOrExpired  = 
46+ export  type  TagStaleOrExpiredStatus  = 
4747  // FRESH 
4848  |  {  stale : false ;  expired : false  } 
4949  // STALE 
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export type TagManifest = {
88  /** 
99   * Timestamp when tagged cache entry should no longer serve stale content. 
1010   */ 
11-   expiredAt : number 
11+   expireAt : number 
1212} 
1313
1414export  type  HtmlBlob  =  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments