Director-AI Vercel AI SDK Middleware - v0.1.0
Preparing search index...
DirectorAiMiddlewareOptions
Interface DirectorAiMiddlewareOptions
interface
DirectorAiMiddlewareOptions
{
apiKey
?:
string
;
endpoint
:
string
;
fetch
?:
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
;
onReject
?:
"mask"
|
"throw"
;
rejectionMessage
?:
string
;
reviewPath
?:
string
;
}
Index
Properties
api
Key?
endpoint
fetch?
on
Reject?
rejection
Message?
review
Path?
Properties
Optional
api
Key
apiKey
?:
string
endpoint
endpoint
:
string
Optional
fetch
fetch
?:
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
Type Declaration
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Optional
on
Reject
onReject
?:
"mask"
|
"throw"
Optional
rejection
Message
rejectionMessage
?:
string
Optional
review
Path
reviewPath
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
api
Key
endpoint
fetch
on
Reject
rejection
Message
review
Path
Director-AI Vercel AI SDK Middleware - v0.1.0
Loading...
MDN Reference