Xivgear Types Documentation
Preparing search index...
@xivgear/account-service-client
ApiConfig
Interface ApiConfig<SecurityDataType>
interface
ApiConfig
<
SecurityDataType
=
unknown
>
{
baseApiParams
?:
Omit
<
RequestParams
,
"signal"
|
"baseUrl"
|
"cancelToken"
,
>
;
baseUrl
?:
string
;
customFetch
?:
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
,
)
=>
Promise
<
Response
>
;
securityWorker
?:
(
securityData
:
SecurityDataType
|
null
,
)
=>
void
|
RequestParams
|
Promise
<
void
|
RequestParams
>
;
}
Type Parameters
SecurityDataType
=
unknown
Index
Properties
base
Api
Params?
base
Url?
custom
Fetch?
security
Worker?
Properties
Optional
base
Api
Params
baseApiParams
?:
Omit
<
RequestParams
,
"signal"
|
"baseUrl"
|
"cancelToken"
>
Optional
base
Url
baseUrl
?:
string
Optional
custom
Fetch
customFetch
?:
(
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
security
Worker
securityWorker
?:
(
securityData
:
SecurityDataType
|
null
,
)
=>
void
|
RequestParams
|
Promise
<
void
|
RequestParams
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
base
Api
Params
base
Url
custom
Fetch
security
Worker
Xivgear Types Documentation
Loading...
MDN Reference