This repository was archived by the owner on Jul 10, 2022. It is now read-only.
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This are the differences to the PHP version:
18
18
Through [ NPM] ( https://www.npmjs.com ) as [ @chubbyjs/psr-http-message ] [ 1 ] .
19
19
20
20
``` sh
21
- npm i @chubbyjs/
[email protected] .
1
21
+ npm i @chubbyjs/
[email protected] .
2
22
22
```
23
23
24
24
## Copyright
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @chubbyjs/psr-http-message" ,
3
- "version" : " 1.1.1 " ,
3
+ "version" : " 1.1.2 " ,
4
4
"description" : " Common Http-message Interface (PHP FIG PSR-7)." ,
5
5
"keywords" : [
6
6
" psr" ,
Original file line number Diff line number Diff line change 1
1
import RequestInterface from './RequestInterface' ;
2
2
3
- export type QueryParams = { [ key : string ] : QueryParams } | Array < QueryParams > | string ;
3
+ export type QueryParamsValue = { [ key : string ] : QueryParams } | Array < QueryParams > | string ;
4
+ export type QueryParams = { [ key : string ] : QueryParamsValue } ;
4
5
export type ParsedBody = { [ key : string ] : ParsedBody } | Array < ParsedBody > | string | number | boolean | null ;
5
6
6
7
interface ServerRequestInterface extends RequestInterface {
7
8
getCookieParams ( ) : Map < string , string > ;
8
9
withCookieParams ( cookieParams : Map < string , string > ) : this;
9
- getQueryParams ( ) : { [ key : string ] : QueryParams } ;
10
- withQueryParams ( queryParams : { [ key : string ] : QueryParams } ) : this;
10
+ getQueryParams ( ) : QueryParams ;
11
+ withQueryParams ( queryParams : QueryParams ) : this;
11
12
getParsedBody ( ) : ParsedBody | undefined ;
12
13
withParsedBody ( parsedBody : ParsedBody | undefined ) : this;
13
14
getAttributes ( ) : Map < string , unknown > ;
You can’t perform that action at this time.
0 commit comments