oiu-core 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7009,7 +7009,7 @@ function xp(e) {
|
|
|
7009
7009
|
}
|
|
7010
7010
|
const Fp = () => import(
|
|
7011
7011
|
/* @vite-ignore */
|
|
7012
|
-
"./index-
|
|
7012
|
+
"./index-B3vd8Svj.js"
|
|
7013
7013
|
);
|
|
7014
7014
|
async function $p(e, t, r) {
|
|
7015
7015
|
return (await Fp()).default(e, t, r);
|
|
@@ -10793,7 +10793,7 @@ tm();
|
|
|
10793
10793
|
const { spinUpdate: Rs } = At.actions;
|
|
10794
10794
|
function rm(e, t) {
|
|
10795
10795
|
const { beforeFetch: r, afterFetch: n } = t, o = nm(t);
|
|
10796
|
-
return async (i, a, s
|
|
10796
|
+
return async (i, a, s) => {
|
|
10797
10797
|
const { dispatch: u, getState: c } = a, l = c(), { spin: h, auth: g } = ft(l), y = xy({
|
|
10798
10798
|
baseUrl: si.getEndpoint(e),
|
|
10799
10799
|
prepareHeaders: async (d) => {
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import { b as e, c as i, f as o, i as u, l as n, r, t as m, u as c, e as h } from "./main-
|
|
2
|
+
import { b as e, c as i, f as o, i as u, l as n, r, t as m, u as c, e as h } from "./main-CL4qlUBn.js";
|
|
3
3
|
export {
|
|
4
4
|
e as auth,
|
|
5
5
|
i as components,
|
|
@@ -3,7 +3,7 @@ import { AuthPayload } from '../slices/appSlice';
|
|
|
3
3
|
export type OptionsX = {
|
|
4
4
|
spinTip?: string;
|
|
5
5
|
};
|
|
6
|
-
export type Fn = BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError,
|
|
6
|
+
export type Fn<DefinitionExtraOptions extends OptionsX = OptionsX> = BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, DefinitionExtraOptions, FetchBaseQueryMeta>;
|
|
7
7
|
export type Configuration = {
|
|
8
8
|
getAccessToken?: (auth: AuthPayload) => Promise<string | undefined>;
|
|
9
9
|
/** Allow execute an operation before the fetch */
|
|
@@ -15,5 +15,5 @@ export type Configuration = {
|
|
|
15
15
|
* @param source Source of the API call, e.g. Local = 0
|
|
16
16
|
* @returns
|
|
17
17
|
*/
|
|
18
|
-
export declare function fetchBaseQueryX(source: number, configuration: Configuration): Fn
|
|
18
|
+
export declare function fetchBaseQueryX<DefinitionExtraOptions extends OptionsX = OptionsX>(source: number, configuration: Configuration): Fn<DefinitionExtraOptions>;
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/redux/apiSlices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,WAAW,EACX,SAAS,EAET,mBAAmB,EACnB,kBAAkB,EACrB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,WAAW,EAAyB,MAAM,oBAAoB,CAAC;AAMxE,MAAM,MAAM,QAAQ,GAAG;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,EAAE,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/redux/apiSlices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,WAAW,EACX,SAAS,EAET,mBAAmB,EACnB,kBAAkB,EACrB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,WAAW,EAAyB,MAAM,oBAAoB,CAAC;AAMxE,MAAM,MAAM,QAAQ,GAAG;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,EAAE,CAAC,sBAAsB,SAAS,QAAQ,GAAG,QAAQ,IAAI,WAAW,CAC5E,MAAM,GAAG,SAAS,EAClB,OAAO,EACP,mBAAmB,EAC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