You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apis/functions/createJsonResponse.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
function createJsonResponse<D>(options?):Response;
7
7
```
8
8
9
-
Defined in: [response/json/index.ts:54](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/response/json/index.ts#L54)
9
+
Defined in: [response/json/index.ts:54](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/response/json/index.ts#L54)
Copy file name to clipboardExpand all lines: apis/functions/createResponse.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
function createResponse<B>(options?):Response;
7
7
```
8
8
9
-
Defined in: [response/common/index.ts:40](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/response/common/index.ts#L40)
9
+
Defined in: [response/common/index.ts:40](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/response/common/index.ts#L40)
Defined in: [response/json/index.ts:6](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/response/json/index.ts#L6)
9
+
Defined in: [response/json/index.ts:6](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/response/json/index.ts#L6)
Defined in: [response/common/index.ts:6](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/response/common/index.ts#L6)
9
+
Defined in: [response/common/index.ts:6](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/response/common/index.ts#L6)
Copy file name to clipboardExpand all lines: apis/type-aliases/HeaderTuple.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,6 @@
6
6
typeHeaderTuple= [string, string];
7
7
```
8
8
9
-
Defined in: [@types/response.ts:2](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L2)
9
+
Defined in: [@types/response.ts:4](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L4)
Copy file name to clipboardExpand all lines: apis/type-aliases/JsonResponse.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
typeJsonResponse<D> =object;
7
7
```
8
8
9
-
Defined in: [@types/response.ts:18](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L18)
9
+
Defined in: [@types/response.ts:25](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L25)
10
10
11
11
JSON response.
12
12
@@ -18,25 +18,25 @@ JSON response.
18
18
19
19
## Properties
20
20
21
-
### data?
21
+
### data
22
22
23
23
```ts
24
-
optionaldata: D;
24
+
data: D|null;
25
25
```
26
26
27
-
Defined in: [@types/response.ts:22](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L22)
27
+
Defined in: [@types/response.ts:29](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L29)
28
28
29
29
Requested information for the response when `success` is `true`.
30
30
31
31
***
32
32
33
-
### errors?
33
+
### errors
34
34
35
35
```ts
36
-
optionalerrors: JsonResponseError[];
36
+
errors: JsonResponseError[];
37
37
```
38
38
39
-
Defined in: [@types/response.ts:24](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L24)
39
+
Defined in: [@types/response.ts:31](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L31)
40
40
41
41
A list of errors for the response when `success` is `false`.
42
42
@@ -48,6 +48,6 @@ A list of errors for the response when `success` is `false`.
48
48
success: boolean;
49
49
```
50
50
51
-
Defined in: [@types/response.ts:20](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L20)
51
+
Defined in: [@types/response.ts:27](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L27)
52
52
53
53
Indicates whether the response is successful or not.
Copy file name to clipboardExpand all lines: apis/type-aliases/JsonResponseError.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
typeJsonResponseError=object;
7
7
```
8
8
9
-
Defined in: [@types/response.ts:8](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L8)
9
+
Defined in: [@types/response.ts:10](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L10)
10
10
11
11
JSON response error.
12
12
@@ -18,30 +18,30 @@ JSON response error.
18
18
code: string;
19
19
```
20
20
21
-
Defined in: [@types/response.ts:10](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L10)
21
+
Defined in: [@types/response.ts:12](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L12)
22
22
23
23
Code representing the error.
24
24
25
25
***
26
26
27
-
### message?
27
+
### message
28
28
29
29
```ts
30
-
optionalmessage: string;
30
+
message: string|null;
31
31
```
32
32
33
-
Defined in: [@types/response.ts:14](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L14)
33
+
Defined in: [@types/response.ts:16](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L16)
34
34
35
35
Detail of the error.
36
36
37
37
***
38
38
39
-
### path?
39
+
### path
40
40
41
41
```ts
42
-
optionalpath: string[];
42
+
path: string[];
43
43
```
44
44
45
-
Defined in: [@types/response.ts:12](https://github.com/jderstd/javascript/blob/8f7bfc8df2a1c6e65ff47e746ac4d85e2344f847/package/src/@types/response.ts#L12)
45
+
Defined in: [@types/response.ts:14](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L14)
Defined in: [@types/response.ts:20](https://github.com/jderstd/javascript/blob/0e17f47863a5f2f0e1f89f9da9574224cbe654ad/package/src/@types/response.ts#L20)
0 commit comments