@rishabhbothra/imagery
Preparing search index...
ProviderRequestContext
Interface ProviderRequestContext
interface
ProviderRequestContext
{
apiKey
?:
string
;
fetch
:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
model
:
string
;
provider
:
ImageProvider
;
timeoutMs
:
number
;
}
Index
Properties
api
Key?
fetch
model
provider
timeout
Ms
Properties
Optional
api
Key
apiKey
?:
string
fetch
fetch
:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
Type Declaration
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
URL
|
RequestInfo
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
string
|
URL
|
Request
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
model
model
:
string
provider
provider
:
ImageProvider
timeout
Ms
timeoutMs
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
api
Key
fetch
model
provider
timeout
Ms
@rishabhbothra/imagery
Loading...
MDN Reference