mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 13:51:13 -05:00
Improve error handling and navigation safety across the application
Add robust error handling for image uploads, improve navigation logic in AutocompleteSearch with toast notifications for missing identifiers, refine useIsMobile hook return type, and update Supabase function error reporting to handle non-Error types. Replit-Commit-Author: Agent Replit-Commit-Session-Id: a759d451-40bf-440d-96f5-a19ad6af18a8 Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
36
supabase/functions/deno.d.ts
vendored
Normal file
36
supabase/functions/deno.d.ts
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
/// <reference lib="deno.ns" />
|
||||
|
||||
declare module 'https://deno.land/std@*/http/server.ts' {
|
||||
export function serve(handler: (req: Request) => Response | Promise<Response>, options?: { port?: number }): void;
|
||||
}
|
||||
|
||||
declare module 'https://deno.land/std@0.168.0/http/server.ts' {
|
||||
export function serve(handler: (req: Request) => Response | Promise<Response>, options?: { port?: number }): void;
|
||||
}
|
||||
|
||||
declare module 'https://deno.land/std@0.190.0/http/server.ts' {
|
||||
export function serve(handler: (req: Request) => Response | Promise<Response>, options?: { port?: number }): void;
|
||||
}
|
||||
|
||||
declare module 'https://esm.sh/@supabase/supabase-js@2' {
|
||||
export * from '@supabase/supabase-js';
|
||||
}
|
||||
|
||||
declare module 'https://esm.sh/@supabase/supabase-js@2.57.4' {
|
||||
export * from '@supabase/supabase-js';
|
||||
}
|
||||
|
||||
declare module 'npm:@novu/node@2.0.2' {
|
||||
export * from '@novu/node';
|
||||
}
|
||||
|
||||
declare namespace Deno {
|
||||
export namespace env {
|
||||
export function get(key: string): string | undefined;
|
||||
}
|
||||
|
||||
export function serve(
|
||||
handler: (req: Request) => Response | Promise<Response>,
|
||||
options?: { port?: number; hostname?: string }
|
||||
): void;
|
||||
}
|
||||
Reference in New Issue
Block a user