Files
medusa-store/www/apps/docs/content/references/js-client/interfaces/internal.AxiosInstance.md
Shahed Nasser fa7c94b4cc docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe

* created yarn workspace

* added eslint and tsconfig configurations

* fix eslint configurations

* fixed eslint configurations

* shared tailwind configurations

* added shared ui package

* added more shared components

* migrating more components

* made details components shared

* move InlineCode component

* moved InputText

* moved Loading component

* Moved Modal component

* moved Select components

* Moved Tooltip component

* moved Search components

* moved ColorMode provider

* Moved Notification components and providers

* used icons package

* use UI colors in api-reference

* moved Navbar component

* used Navbar and Search in UI docs

* added Feedback to UI docs

* general enhancements

* fix color mode

* added copy colors file from ui-preset

* added features and enhancements to UI docs

* move Sidebar component and provider

* general fixes and preparations for deployment

* update docusaurus version

* adjusted versions

* fix output directory

* remove rootDirectory property

* fix yarn.lock

* moved code component

* added vale for all docs MD and MDX

* fix tests

* fix vale error

* fix deployment errors

* change ignore commands

* add output directory

* fix docs test

* general fixes

* content fixes

* fix announcement script

* added changeset

* fix vale checks

* added nofilter option

* fix vale error
2023-09-21 20:57:15 +03:00

6.9 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Interface: AxiosInstance

internal.AxiosInstance

Hierarchy

  • Axios

    AxiosInstance

Callable

AxiosInstance

AxiosInstance(config): AxiosPromise<any>

Parameters

Name Type
config AxiosRequestConfig<any>

Returns

AxiosPromise<any>

Defined in

medusa-js/node_modules/axios/index.d.ts:188

AxiosInstance

AxiosInstance(url, config?): AxiosPromise<any>

Parameters

Name Type
url string
config? AxiosRequestConfig<any>

Returns

AxiosPromise<any>

Defined in

medusa-js/node_modules/axios/index.d.ts:189

Properties

defaults

defaults: AxiosDefaults<any>

Inherited from

Axios.defaults

Defined in

medusa-js/node_modules/axios/index.d.ts:171


interceptors

interceptors: Object

Type declaration

Name Type
request AxiosInterceptorManager<AxiosRequestConfig<any>>
response AxiosInterceptorManager<AxiosResponse<any, any>>

Inherited from

Axios.interceptors

Defined in

medusa-js/node_modules/axios/index.d.ts:172

Methods

delete

delete<T, R, D>(url, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.delete

Defined in

medusa-js/node_modules/axios/index.d.ts:179


get

get<T, R, D>(url, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.get

Defined in

medusa-js/node_modules/axios/index.d.ts:178


getUri

getUri(config?): string

Parameters

Name Type
config? AxiosRequestConfig<any>

Returns

string

Inherited from

Axios.getUri

Defined in

medusa-js/node_modules/axios/index.d.ts:176


head

head<T, R, D>(url, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.head

Defined in

medusa-js/node_modules/axios/index.d.ts:180


options

options<T, R, D>(url, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.options

Defined in

medusa-js/node_modules/axios/index.d.ts:181


patch

patch<T, R, D>(url, data?, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
data? D
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.patch

Defined in

medusa-js/node_modules/axios/index.d.ts:184


post

post<T, R, D>(url, data?, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
data? D
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.post

Defined in

medusa-js/node_modules/axios/index.d.ts:182


put

put<T, R, D>(url, data?, config?): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
url string
data? D
config? AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.put

Defined in

medusa-js/node_modules/axios/index.d.ts:183


request

request<T, R, D>(config): Promise<R>

Type parameters

Name Type
T any
R AxiosResponse<T, any>
D any

Parameters

Name Type
config AxiosRequestConfig<D>

Returns

Promise<R>

Inherited from

Axios.request

Defined in

medusa-js/node_modules/axios/index.d.ts:177