api-core-lib 12.3.0 → 12.4.0
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.
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -323,6 +323,7 @@ interface UseApiModuleOptions {
|
|
|
323
323
|
staleTime?: number;
|
|
324
324
|
cacheTime?: number;
|
|
325
325
|
refetchOnWindowFocus?: boolean;
|
|
326
|
+
pathParams?: Record<string, any>;
|
|
326
327
|
}
|
|
327
328
|
interface ActionState<TOutput> {
|
|
328
329
|
data: TOutput | null;
|
|
@@ -330,6 +331,7 @@ interface ActionState<TOutput> {
|
|
|
330
331
|
loading: boolean;
|
|
331
332
|
success: boolean;
|
|
332
333
|
called: boolean;
|
|
334
|
+
response: StandardResponse<TOutput> | null;
|
|
333
335
|
}
|
|
334
336
|
/**
|
|
335
337
|
* The unified object for a single action, containing its state, executor, and controls.
|
package/dist/index.d.ts
CHANGED
|
@@ -323,6 +323,7 @@ interface UseApiModuleOptions {
|
|
|
323
323
|
staleTime?: number;
|
|
324
324
|
cacheTime?: number;
|
|
325
325
|
refetchOnWindowFocus?: boolean;
|
|
326
|
+
pathParams?: Record<string, any>;
|
|
326
327
|
}
|
|
327
328
|
interface ActionState<TOutput> {
|
|
328
329
|
data: TOutput | null;
|
|
@@ -330,6 +331,7 @@ interface ActionState<TOutput> {
|
|
|
330
331
|
loading: boolean;
|
|
331
332
|
success: boolean;
|
|
332
333
|
called: boolean;
|
|
334
|
+
response: StandardResponse<TOutput> | null;
|
|
333
335
|
}
|
|
334
336
|
/**
|
|
335
337
|
* The unified object for a single action, containing its state, executor, and controls.
|