@ethlete/query 6.0.0-next.13 → 6.0.0-next.15
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/package.json
CHANGED
package/types/ethlete-query.d.ts
CHANGED
|
@@ -2585,8 +2585,13 @@ type HttpRequest<TArgs extends QueryArgs> = {
|
|
|
2585
2585
|
* when the request is destroyed.
|
|
2586
2586
|
*/
|
|
2587
2587
|
events$: Observable<RequestHttpEvent<TArgs>>;
|
|
2588
|
-
/**
|
|
2589
|
-
|
|
2588
|
+
/**
|
|
2589
|
+
* Whether the request is stale or not aka the cache header has expired.
|
|
2590
|
+
*
|
|
2591
|
+
* This is a plain getter function (evaluated on each call), not a reactive signal, because
|
|
2592
|
+
* staleness depends on wall-clock time rather than on any tracked signal.
|
|
2593
|
+
*/
|
|
2594
|
+
isStale: () => boolean;
|
|
2590
2595
|
};
|
|
2591
2596
|
/** A custom error event since the Angular http client does not provide a specific event for errors */
|
|
2592
2597
|
type HttpErrorEvent = {
|