Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit f887ed4

Browse files
authored
Merge pull request #112 from DjDeveloperr/patch-1
JSDoc Improvements
2 parents 2258b83 + 2b8aa76 commit f887ed4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/builder.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
import fetch from 'cross-fetch'
22

3-
// https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes
3+
/**
4+
* Error format
5+
*
6+
* {@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}
7+
*/
48
interface PostgrestError {
59
message: string
610
details: string
711
hint: string
812
code: string
913
}
1014

11-
// Response format: https://github.com/supabase/supabase-js/issues/32
15+
/**
16+
* Response format
17+
*
18+
* {@link https://github.com/supabase/supabase-js/issues/32}
19+
*/
1220
interface PostgrestResponse<T> {
1321
error: PostgrestError | null
1422
data: T | T[] | null

0 commit comments

Comments
 (0)