@uniflowed/config 0.0.0-alpha.37 → 0.0.0-alpha.39

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.
@@ -558,6 +558,12 @@ export type UniflowedConfig = {
558
558
  // request — the client router is not installed and `Link` renders an
559
559
  // ordinary anchor. See docs/app/guide/routing/navigation.
560
560
  readonly navigation?: "client" | "document",
561
+ // How long, in whole seconds, the client router shows a route it already
562
+ // fetched or prefetched without asking the server again: a click on a
563
+ // prefetched link, a second visit and the back button all read it. `0`,
564
+ // the default, keeps nothing. `router.refresh()` and every server action
565
+ // clear it. See docs/app/guide/routing and docs/app/guide/cache.
566
+ readonly staleTime?: number,
561
567
  readonly cache?: {
562
568
  readonly actions?: boolean,
563
569
  readonly data?: boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/config",
3
- "version": "0.0.0-alpha.37",
3
+ "version": "0.0.0-alpha.39",
4
4
  "description": "Flow declarations for @uniflowed/config, part of the Unified Toolchain for Flow.",
5
5
  "type": "module",
6
6
  "license": "MIT",