File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import  type  {  AnalyticsEngineDataPoint ,  AnalyticsEngineDataset  }  from  '@cloudflare/workers-types/experimental' 
22import  {  ofetch  }  from  'ofetch' 
33import  {  joinURL  }  from  'ufo' 
4+ import  {  createError  }  from  'h3' 
45import  {  useRuntimeConfig  }  from  '#imports' 
56
67const  _datasets : Record < string ,  AnalyticsEngineDataset >  =  { } 
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type { R2Bucket } from '@cloudflare/workers-types/experimental'
44import  {  ofetch  }  from  'ofetch' 
55import  mime  from  'mime' 
66import  type  {  H3Event  }  from  'h3' 
7- import  {  setHeader  }  from  'h3' 
7+ import  {  setHeader ,   createError  }  from  'h3' 
88import  {  defu  }  from  'defu' 
99import  {  randomUUID  }  from  'uncrypto' 
1010import  {  parse  }  from  'pathe' 
Original file line number Diff line number Diff line change 11import  type  {  D1Database  }  from  '@cloudflare/workers-types/experimental' 
22import  {  ofetch  }  from  'ofetch' 
33import  {  joinURL  }  from  'ufo' 
4+ import  {  createError  }  from  'h3' 
45import  type  {  H3Error  }  from  'h3' 
56import  {  useRuntimeConfig  }  from  '#imports' 
67
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { createStorage } from 'unstorage'
33import  httpDriver  from  'unstorage/drivers/http' 
44import  cloudflareKVBindingDriver  from  'unstorage/drivers/cloudflare-kv-binding' 
55import  {  joinURL  }  from  'ufo' 
6+ import  {  createError  }  from  'h3' 
67import  {  useRuntimeConfig  }  from  '#imports' 
78
89let  _kv : Storage 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments