This repository was archived by the owner on Oct 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ export { default as PostgrestTransformBuilder } from './PostgrestTransformBuilde
55export { default as PostgrestBuilder } from './PostgrestBuilder'
66export {
77 PostgrestResponse ,
8+ PostgrestResponseFailure ,
9+ PostgrestResponseSuccess ,
810 PostgrestSingleResponse ,
911 PostgrestMaybeSingleResponse ,
1012 PostgrestError ,
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ interface PostgrestResponseBase {
2121 status : number
2222 statusText : string
2323}
24- interface PostgrestSingleResponseSuccess < T > extends PostgrestResponseBase {
24+ export interface PostgrestResponseSuccess < T > extends PostgrestResponseBase {
2525 error : null
2626 data : T
2727 count : number | null
2828}
29- interface PostgrestResponseFailure extends PostgrestResponseBase {
29+ export interface PostgrestResponseFailure extends PostgrestResponseBase {
3030 error : PostgrestError
3131 data : null
3232 count : null
@@ -36,7 +36,7 @@ interface PostgrestResponseFailure extends PostgrestResponseBase {
3636// - remove PostgrestResponse and PostgrestMaybeSingleResponse
3737// - rename PostgrestSingleResponse to PostgrestResponse
3838export type PostgrestSingleResponse < T > =
39- | PostgrestSingleResponseSuccess < T >
39+ | PostgrestResponseSuccess < T >
4040 | PostgrestResponseFailure
4141export type PostgrestMaybeSingleResponse < T > = PostgrestSingleResponse < T | null >
4242export type PostgrestResponse < T > = PostgrestSingleResponse < T [ ] >
You can’t perform that action at this time.
0 commit comments