@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.
- package/internal/schema.js +6 -0
- package/package.json +1 -1
package/internal/schema.js
CHANGED
|
@@ -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,
|