@donotdev/core 0.1.42 → 0.1.45
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/index.d.ts +9 -0
- package/index.js +6 -502
- package/next/index.d.ts +9 -0
- package/next/index.js +44 -31
- package/package.json +5 -2
- package/server.d.ts +9 -0
- package/vite/index.d.ts +9 -0
package/index.d.ts
CHANGED
|
@@ -2652,6 +2652,15 @@ interface AppConfig {
|
|
|
2652
2652
|
features?: FeaturesConfig;
|
|
2653
2653
|
/** Query cache configuration (defaults: 5min staleTime, refetch on focus/reconnect) */
|
|
2654
2654
|
query?: QueryConfig;
|
|
2655
|
+
/**
|
|
2656
|
+
* Server-side rendering (Next adapter). **Defaults to `true`** — generated page
|
|
2657
|
+
* wrappers render directly and the provider tree renders on the server, so page
|
|
2658
|
+
* content is present in the initial HTML (real, crawlable SSR). Set to `false`
|
|
2659
|
+
* to opt OUT and restore the legacy client-only render (content appears only
|
|
2660
|
+
* after hydration). The provider tree is store-driven, so SSR routes render
|
|
2661
|
+
* dynamically at request time.
|
|
2662
|
+
*/
|
|
2663
|
+
ssr?: boolean;
|
|
2655
2664
|
}
|
|
2656
2665
|
/**
|
|
2657
2666
|
* Custom store configuration for app-specific stores
|