UNPKG
@boxyhq/react-ui
Version:
beta (3.0.0-beta.47)
latest (3.4.0)
needs.ci.outputs.PUBLISH_TAG (0.0.13)
3.4.0
3.3.45
3.3.44
3.3.43
3.3.42
3.3.41
3.3.40
3.3.39
3.3.38
3.3.37
3.3.36
3.3.35
3.3.34
3.3.33
3.3.32
3.3.31
3.3.30
3.3.29
3.3.28
3.3.27
3.3.26
3.3.25
3.3.24
3.3.23
3.3.22
3.3.21
3.3.20
3.3.19
3.3.18
3.3.17
3.3.16
3.3.15
3.3.14
3.3.13
3.3.12
3.3.11
3.3.10
3.3.9
3.3.8
3.3.7
3.3.6
3.3.5
3.3.4
3.3.3
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
3.0.0-beta.0-beta.42
3.0.0-beta.47
3.0.0-beta.45
2.0.0
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.3
1.9.2
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
React UI components from BoxyHQ
github.com/boxyhq/ui
boxyhq/ui
@boxyhq/react-ui
/
dist
/
shared
/
http.d.ts
10 lines
(9 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** undefined for 204 No content */
type
ApiSuccess
<T> = T |
undefined
;
export
type
ApiResponse
<T =
any
> =
ApiSuccess
<T> | {
error
: {
message
:
string
; }; };
export
declare
function
sendHTTPRequest<U =
any
>(
url
:
string
,
options
?:
RequestInit
):
Promise
<
ApiResponse
<U>>;
export
{};