UseListOptions allows a baseUrl but does not allow the headers and credentials fetch options to be passed down to the fetch call.
Use-case is cross-origin authenticated requests from frappe-ui apps (mainly for local development using a cloud frappe instance as backend)
|
export interface UseListOptions<T> { |
UseListOptions allows a
baseUrlbut does not allow the headers and credentials fetch options to be passed down to the fetch call.Use-case is cross-origin authenticated requests from frappe-ui apps (mainly for local development using a cloud frappe instance as backend)
frappe-ui/src/data-fetching/useList/types.ts
Line 28 in 8313663