mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
* callout * progress * plural issues * better handle multiple issues * refactor * remove fancy copywriting * return IncidentAdmonition to support form page * progress * cleanup * rabbit Potential control flow issue: execution continues after handleError when data is undefined. When a non-401 error occurs, handleError(error) is called but execution continues to line 24 where data is accessed. If handleError doesn't throw, this will cause a runtime error accessing (data as any).is_healthy on undefined. Additionally, the as any cast on line 24 violates the coding guidelines. Consider validating the response shape instead. * animate in * fix * reset * remove unused dayjs * rabbit * rabbit * fixes from code review * rabbit * rabbit --------- Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
8 lines
116 B
TypeScript
8 lines
116 B
TypeScript
export type IncidentInfo = {
|
|
id: string
|
|
name: string
|
|
status: string
|
|
impact: string
|
|
active_since: string
|
|
}
|