@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/next/index.d.ts
CHANGED
|
@@ -649,6 +649,15 @@ interface AppConfig {
|
|
|
649
649
|
features?: FeaturesConfig;
|
|
650
650
|
/** Query cache configuration (defaults: 5min staleTime, refetch on focus/reconnect) */
|
|
651
651
|
query?: QueryConfig;
|
|
652
|
+
/**
|
|
653
|
+
* Server-side rendering (Next adapter). **Defaults to `true`** — generated page
|
|
654
|
+
* wrappers render directly and the provider tree renders on the server, so page
|
|
655
|
+
* content is present in the initial HTML (real, crawlable SSR). Set to `false`
|
|
656
|
+
* to opt OUT and restore the legacy client-only render (content appears only
|
|
657
|
+
* after hydration). The provider tree is store-driven, so SSR routes render
|
|
658
|
+
* dynamically at request time.
|
|
659
|
+
*/
|
|
660
|
+
ssr?: boolean;
|
|
652
661
|
}
|
|
653
662
|
|
|
654
663
|
/**
|