@askrjs/askr 0.0.76 → 0.0.78
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/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +3 -3
- package/dist/{activity-DaqZEUPh.d.ts → activity-CXEaU-Al.d.ts} +1 -1
- package/dist/{activity-386uXmPJ.js → activity-DfrtblJA.js} +3 -3
- package/dist/{authoring-ycOVkX1-.js → authoring-DE-LH_s-.js} +2 -2
- package/dist/benchmark.js +6 -6
- package/dist/boot/index.d.ts +4 -4
- package/dist/boot/index.js +1 -1
- package/dist/{boot-eaBrci4W.js → boot-C5bZY3Uc.js} +14 -14
- package/dist/{cleanup-e4Rn287s.js → cleanup-CyY1ROBI.js} +1 -1
- package/dist/{component-internal-iJ7HAcpc.js → component-internal-BuTG89T8.js} +13 -9
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/control/index.d.ts +1 -1
- package/dist/control/index.js +1 -1
- package/dist/control-C-ApnFs1.js +20 -0
- package/dist/{control-Uvq1GU4K.d.ts → control-Cix3yjVf.d.ts} +7 -1
- package/dist/{control-ByyOdVdr.js → control-DQIsWvhr.js} +4 -4
- package/dist/{csp-nonce-BLkoekFX.js → csp-nonce-BUsz0Em7.js} +1 -1
- package/dist/data/index.d.ts +1 -1
- package/dist/data/index.js +3 -3
- package/dist/{data-E7oXei9c.js → data-eBdygZ1f.js} +3 -3
- package/dist/{data-runtime-rpV6-3XW.js → data-runtime-D68YOo9L.js} +1 -1
- package/dist/{deferred-iBBHEN5Z.js → deferred-t79wHqe1.js} +6 -6
- package/dist/{fastlane-BbexfvHo.js → fastlane-CkBXZ_3K.js} +2 -2
- package/dist/{for-internal-tNicxJY3.js → for-internal-BnXrQbgo.js} +1 -1
- package/dist/foundations/index.d.ts +1 -1
- package/dist/foundations/index.js +2 -2
- package/dist/foundations/state/index.d.ts +1 -1
- package/dist/foundations/state/index.js +1 -1
- package/dist/foundations/structures/index.d.ts +1 -1
- package/dist/foundations/structures/index.js +2 -2
- package/dist/{index-Bki2rqcr.d.ts → index-5S-fi2xy.d.ts} +17 -17
- package/dist/{router-Dd-LoJmM.d.ts → index-TlEvex-C.d.ts} +162 -4
- package/dist/{index-CbRdEUPB.d.ts → index-Vs1EeWEr.d.ts} +2 -2
- package/dist/{index-acX2RLxD.d.ts → index-ho0Htetw.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -9
- package/dist/jsx-C3IECePB.js +12 -0
- package/dist/jsx-dev-runtime.js +2 -2
- package/dist/jsx-runtime.js +2 -2
- package/dist/{lifecycle-operations-D2wzCYYh.js → lifecycle-operations-CN0PiLE_.js} +1 -1
- package/dist/{navigate-DlaVqF4n.d.ts → navigate-DfY1BUYc.d.ts} +1 -1
- package/dist/{navigate-BwCpLrSM.js → navigate-ype2B_M8.js} +8 -8
- package/dist/{portal-EKmTCMKp.js → portal-BZ_rN17v.js} +15 -14
- package/dist/portal-w3oQ6oQU.js +29 -0
- package/dist/{query-registry-Bu_cuMch.js → query-registry-BL6rjGsO.js} +1 -1
- package/dist/{render-context-Clw3rFiO.js → render-context-D-DFk2WN.js} +13 -1
- package/dist/{renderer-GFETYwZ6.js → renderer-_l_U-AbR.js} +292 -67
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +4 -4
- package/dist/{route-matching-Dmb_MKUb.js → route-matching-jqwlQJ5g.js} +3 -3
- package/dist/router/index.d.ts +4 -4
- package/dist/router/index.js +5 -5
- package/dist/ssg/index.d.ts +2 -2
- package/dist/ssg/index.js +7 -5
- package/dist/ssr/index.d.ts +8 -25
- package/dist/ssr/index.js +2 -2
- package/dist/{ssr-CtumC_es.js → ssr-Dcmi1bZi.js} +57 -28
- package/dist/{state-rjmMPExl.js → state-BCl9DeiN.js} +1 -1
- package/dist/{structures-DUB3HchX.js → structures-D3vO-WMN.js} +1 -1
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +3 -3
- package/dist/{verify-hydration-GMsdoOUX.js → verify-hydration-Dfx-ZhbX.js} +1 -1
- package/package.json +1 -1
- package/dist/control-DhFRTIoE.js +0 -12
- package/dist/index-CDACZEF2.d.ts +0 -102
- package/dist/index-vo_FDR-B.d.ts +0 -40
- package/dist/jsx-CUpRxrLH.js +0 -6
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as action, i as ActionValidationError, n as ActionForm, o as defineAction, r as ActionStatus, t as ActionDescriptor } from "../index-
|
|
1
|
+
import { a as action, i as ActionValidationError, n as ActionForm, o as defineAction, r as ActionStatus, t as ActionDescriptor } from "../index-TlEvex-C.js";
|
|
2
2
|
export { ActionDescriptor, ActionForm, ActionStatus, ActionValidationError, action, defineAction };
|
package/dist/actions/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as getCurrentAppRenderRuntime } from "../component-scope-DzJEbYGE.js";
|
|
2
|
-
import { r as getCurrentRenderData } from "../render-context-
|
|
3
|
-
import { t as state } from "../state-
|
|
2
|
+
import { r as getCurrentRenderData } from "../render-context-D-DFk2WN.js";
|
|
3
|
+
import { t as state } from "../state-BCl9DeiN.js";
|
|
4
4
|
import { jsx, jsxs } from "../jsx-runtime.js";
|
|
5
|
-
import { c as resolveDataRuntimeState, s as invalidateQueriesForRuntime } from "../data-runtime-
|
|
5
|
+
import { c as resolveDataRuntimeState, s as invalidateQueriesForRuntime } from "../data-runtime-D68YOo9L.js";
|
|
6
6
|
//#region src/actions/runtime.ts
|
|
7
7
|
const emptyFramework = Object.freeze({});
|
|
8
8
|
/** @internal Read Askr-owned state from the current application root. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as registerCommitOperation } from "./component-internal-
|
|
1
|
+
import { a as registerCommitOperation } from "./component-internal-BuTG89T8.js";
|
|
2
2
|
import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
|
|
3
3
|
import { d as getCurrentAppRenderRuntime, f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
|
|
4
|
-
import { n as getActiveRenderContext } from "./render-context-
|
|
5
|
-
import { c as deepFreeze, g as getActiveRoutes, l as makeQuery, n as computeMatchesFromRoutes, u as parseLocation } from "./route-matching-
|
|
4
|
+
import { n as getActiveRenderContext } from "./render-context-D-DFk2WN.js";
|
|
5
|
+
import { c as deepFreeze, g as getActiveRoutes, l as makeQuery, n as computeMatchesFromRoutes, u as parseLocation } from "./route-matching-jqwlQJ5g.js";
|
|
6
6
|
import { n as syncRouteActivitySnapshot } from "./route-activity-CNJfpwx-.js";
|
|
7
7
|
//#region src/common/app-render-runtime.ts
|
|
8
8
|
const stagedRouteLocations = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as getCurrentComponentInstance } from "./component-scope-DzJEbYGE.js";
|
|
2
|
-
import { E as getExecutionModel, x as createRouteHandler } from "./deferred-
|
|
3
|
-
import { A as insertRecordSorted, C as getCurrentPathPrefix, I as computeRank, L as normalizeRouteSegmentName, M as pushRegistrationScope, O as hasActivePageScope, R as parseSegments, S as getCurrentPageScope, _ as getCurrentInheritedAuthRequirements, b as getCurrentLayoutChain, f as addRouteToStores, p as assertRouteRegistrationUnlocked, v as getCurrentInheritedMeta, w as getCurrentScopeKind, x as getCurrentPageChain, y as getCurrentInheritedPolicies } from "./route-matching-
|
|
2
|
+
import { E as getExecutionModel, x as createRouteHandler } from "./deferred-t79wHqe1.js";
|
|
3
|
+
import { A as insertRecordSorted, C as getCurrentPathPrefix, I as computeRank, L as normalizeRouteSegmentName, M as pushRegistrationScope, O as hasActivePageScope, R as parseSegments, S as getCurrentPageScope, _ as getCurrentInheritedAuthRequirements, b as getCurrentLayoutChain, f as addRouteToStores, p as assertRouteRegistrationUnlocked, v as getCurrentInheritedMeta, w as getCurrentScopeKind, x as getCurrentPageChain, y as getCurrentInheritedPolicies } from "./route-matching-jqwlQJ5g.js";
|
|
4
4
|
import { allOf } from "@askrjs/auth";
|
|
5
5
|
//#region src/router/access.ts
|
|
6
6
|
function compileNodePolicies(node) {
|
package/dist/benchmark.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as flushRuntimeScheduler } from "./access-ePqdQqkV.js";
|
|
2
|
-
import { t as installRendererBridge } from "./renderer-
|
|
3
|
-
import { t as state } from "./state-
|
|
2
|
+
import { t as installRendererBridge } from "./renderer-_l_U-AbR.js";
|
|
3
|
+
import { t as state } from "./state-BCl9DeiN.js";
|
|
4
4
|
import { t as selector } from "./selector-BzPPLXny.js";
|
|
5
|
+
import { i as For } from "./control-DQIsWvhr.js";
|
|
5
6
|
import { jsx, jsxs } from "./jsx-runtime.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as createIsland } from "./boot-eaBrci4W.js";
|
|
7
|
+
import { t as createIsland } from "./boot-C5bZY3Uc.js";
|
|
8
8
|
//#region src/bench/components/benchmark-row.tsx
|
|
9
9
|
function BenchmarkRow({ item, isSelected, onSelect, onRemove }) {
|
|
10
10
|
return /* @__PURE__ */ jsxs("tr", {
|
|
@@ -63,8 +63,8 @@ function BenchmarkTable({ rows, isSelected, onSelect, onRemove }) {
|
|
|
63
63
|
installRendererBridge();
|
|
64
64
|
const benchmarkMetadata = {
|
|
65
65
|
packageName: "@askrjs/askr",
|
|
66
|
-
packageVersion: "0.0.
|
|
67
|
-
buildLabel: "0.0.
|
|
66
|
+
packageVersion: "0.0.78",
|
|
67
|
+
buildLabel: "0.0.78-local"
|
|
68
68
|
};
|
|
69
69
|
function getBenchmarkMetadata() {
|
|
70
70
|
return { ...benchmarkMetadata };
|
package/dist/boot/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as ComponentFunction } from "../control-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as ScrollRestorationOptions } from "../navigate-
|
|
1
|
+
import { s as ComponentFunction } from "../control-Cix3yjVf.js";
|
|
2
|
+
import { W as RouteRegistry, w as RouteAuthOptions } from "../index-TlEvex-C.js";
|
|
3
|
+
import { v as DataRuntime } from "../index-5S-fi2xy.js";
|
|
4
|
+
import { a as ScrollRestorationOptions } from "../navigate-DfY1BUYc.js";
|
|
5
5
|
//#region src/boot/types.d.ts
|
|
6
6
|
type IslandConfig = {
|
|
7
7
|
root: Element | string;
|
package/dist/boot/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-
|
|
1
|
+
import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-C5bZY3Uc.js";
|
|
2
2
|
export { cleanupApp, createIsland, createIslands, createSPA, hasApp, hydrateSPA };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { b as isDevelopmentEnvironment, r as flushRuntimeScheduler, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
|
|
2
|
-
import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-
|
|
3
|
-
import { n as createComponentInstance, r as executeComponent } from "./component-internal-
|
|
2
|
+
import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
|
|
3
|
+
import { n as createComponentInstance, r as executeComponent } from "./component-internal-BuTG89T8.js";
|
|
4
4
|
import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
|
|
5
5
|
import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
|
|
6
|
-
import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-
|
|
7
|
-
import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-
|
|
8
|
-
import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-
|
|
9
|
-
import {
|
|
10
|
-
import { d as _setActiveRouteAuthOptions, j as lockRouteRegistration, k as hasRegisteredRoutes, m as clearRouteState } from "./route-matching-
|
|
11
|
-
import { a as disposeDefaultPortalScope, t as DefaultPortal } from "./portal-
|
|
12
|
-
import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-
|
|
13
|
-
import { i as getDefaultDataRuntime } from "./data-runtime-
|
|
14
|
-
import { a as hydrateDataRuntime } from "./query-registry-
|
|
15
|
-
import { o as createAppRenderRuntime, r as setServerLocation } from "./activity-
|
|
16
|
-
import { f as registerAppInstance, g as unregisterAppInstance, i as resolveRouteMeta, o as configureScrollRestoration, r as reconcileRouteMeta, t as initializeNavigation } from "./navigate-
|
|
6
|
+
import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-_l_U-AbR.js";
|
|
7
|
+
import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-CyY1ROBI.js";
|
|
8
|
+
import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-t79wHqe1.js";
|
|
9
|
+
import { c as stopHydrationRenderPhase, o as startHydrationRenderPhase } from "./render-context-D-DFk2WN.js";
|
|
10
|
+
import { d as _setActiveRouteAuthOptions, j as lockRouteRegistration, k as hasRegisteredRoutes, m as clearRouteState } from "./route-matching-jqwlQJ5g.js";
|
|
11
|
+
import { a as disposeDefaultPortalScope, t as DefaultPortal } from "./portal-BZ_rN17v.js";
|
|
12
|
+
import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-BUsz0Em7.js";
|
|
13
|
+
import { i as getDefaultDataRuntime } from "./data-runtime-D68YOo9L.js";
|
|
14
|
+
import { a as hydrateDataRuntime } from "./query-registry-BL6rjGsO.js";
|
|
15
|
+
import { o as createAppRenderRuntime, r as setServerLocation } from "./activity-DfrtblJA.js";
|
|
16
|
+
import { f as registerAppInstance, g as unregisterAppInstance, i as resolveRouteMeta, o as configureScrollRestoration, r as reconcileRouteMeta, t as initializeNavigation } from "./navigate-ype2B_M8.js";
|
|
17
17
|
import "./ssr-CbQO5xd3.js";
|
|
18
18
|
//#region src/boot/hydration.ts
|
|
19
19
|
const DEFERRED_PAYLOAD = "__askr_deferred__";
|
|
@@ -585,7 +585,7 @@ async function hydrateSPA(config) {
|
|
|
585
585
|
cspNonce: config.cspNonce
|
|
586
586
|
}));
|
|
587
587
|
if (shouldVerifyHydrationMarkup(config)) {
|
|
588
|
-
const { verifyHydrationSyncForUrl } = await import("./verify-hydration-
|
|
588
|
+
const { verifyHydrationSyncForUrl } = await import("./verify-hydration-Dfx-ZhbX.js");
|
|
589
589
|
if (!verifyHydrationSyncForUrl({
|
|
590
590
|
root: rootElement,
|
|
591
591
|
url: currentUrl,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as runRuntimeHandlerScope, v as logger } from "./access-ePqdQqkV.js";
|
|
2
|
-
import "./fastlane-
|
|
2
|
+
import "./fastlane-CkBXZ_3K.js";
|
|
3
3
|
import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
|
|
4
4
|
import { u as registerLifecycleTransaction } from "./lifecycle-batch-CwHCDseR.js";
|
|
5
5
|
//#region src/runtime/events.ts
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as markTransparentComponentResult, i as markEagerControlPrimitive } from "./control-C-ApnFs1.js";
|
|
2
2
|
import { b as isDevelopmentEnvironment, n as enqueueRuntimeTask, o as getRuntimeRenderer, v as logger, x as isProductionEnvironment } from "./access-ePqdQqkV.js";
|
|
3
|
-
import { r as tryRuntimeFastLaneSync, t as isBulkCommitActive } from "./fastlane-
|
|
4
|
-
import { r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-
|
|
3
|
+
import { r as tryRuntimeFastLaneSync, t as isBulkCommitActive } from "./fastlane-CkBXZ_3K.js";
|
|
4
|
+
import { r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
|
|
5
5
|
import { i as finalizeReadableSubscriptions } from "./readable-B3VIOfd7.js";
|
|
6
6
|
import { C as restoreRenderScopedComponent, S as restoreInlineRenderTracking, _ as getSignalForInstance, b as restoreDomCommitScope, c as enterDomCommitScope, f as getCurrentComponentInstance, l as enterRenderScopedComponent, m as getCurrentPortalScope, n as captureInlineComponentScope, o as clearRenderTracking, p as getCurrentInstance, r as captureInlineRenderTracking, s as enterComponentExecutionScope, t as beginRenderTracking, u as exitComponentExecutionScope, v as resetRenderState, x as restoreInlineComponentScope } from "./component-scope-DzJEbYGE.js";
|
|
7
7
|
import { a as enqueueLifecycleCommitForInstance, d as discardCommitOperations, f as executeCommittedLifecycleOperations, n as captureInlineRenderSnapshot$1, o as finalizeInlineReadSubscriptions, p as isPromiseLike, r as discardLifecycleCommitBatch, s as flushLifecycleCommitBatch, t as beginLifecycleCommitBatch } from "./lifecycle-batch-CwHCDseR.js";
|
|
8
8
|
//#region src/runtime/context.ts
|
|
9
|
+
const TransparentContextScopeComponent = markTransparentComponentResult(ContextScopeComponent);
|
|
10
|
+
let nextScopeIdentityKey = 0;
|
|
9
11
|
/** @internal Compare immutable context snapshots by provider identity and value. */
|
|
10
12
|
function haveEquivalentContextFrames(left, right) {
|
|
11
13
|
let leftFrame = left;
|
|
@@ -211,11 +213,13 @@ function withAsyncResourceContext(frame, fn) {
|
|
|
211
213
|
}
|
|
212
214
|
function defineScope(defaultValue) {
|
|
213
215
|
const key = Symbol("AskrContext");
|
|
216
|
+
const identityKey = nextScopeIdentityKey++;
|
|
214
217
|
const scope = markEagerControlPrimitive((props) => ({
|
|
215
218
|
$$typeof: ELEMENT_TYPE,
|
|
216
|
-
type:
|
|
219
|
+
type: TransparentContextScopeComponent,
|
|
217
220
|
props: {
|
|
218
|
-
|
|
221
|
+
__askrIdentityKey: identityKey,
|
|
222
|
+
__scopeKey: key,
|
|
219
223
|
value: props.value,
|
|
220
224
|
children: props.children
|
|
221
225
|
},
|
|
@@ -253,7 +257,7 @@ function readScope(context) {
|
|
|
253
257
|
* Used by a scope component to provide a shadowed value to its children.
|
|
254
258
|
*/
|
|
255
259
|
function ContextScopeComponent(props) {
|
|
256
|
-
const key = props["
|
|
260
|
+
const key = props["__scopeKey"];
|
|
257
261
|
const value = props["value"];
|
|
258
262
|
const children = props["children"];
|
|
259
263
|
const instance = getCurrentComponentInstance();
|
|
@@ -395,10 +399,11 @@ function commitPlaceholderReplacement(instance, result, host) {
|
|
|
395
399
|
renderer.evaluate(result, hostElement);
|
|
396
400
|
});
|
|
397
401
|
const onlyChild = hostElement.childNodes.length === 1 ? hostElement.firstChild : null;
|
|
398
|
-
const replacement = onlyChild instanceof Element ? onlyChild : hostElement;
|
|
402
|
+
const replacement = onlyChild instanceof Element || onlyChild instanceof Comment ? onlyChild : hostElement;
|
|
399
403
|
if (replacement === hostElement) hostElement.__ASKR_WRAPPER_HOST = true;
|
|
400
404
|
parent.replaceChild(replacement, placeholder);
|
|
401
|
-
instance.target = replacement;
|
|
405
|
+
instance.target = replacement instanceof Element ? replacement : null;
|
|
406
|
+
instance._placeholder = replacement instanceof Comment ? replacement : void 0;
|
|
402
407
|
const instanceHost = replacement;
|
|
403
408
|
const instances = instanceHost.__ASKR_INSTANCES ?? [];
|
|
404
409
|
if (!instances.includes(instance)) instances.push(instance);
|
|
@@ -408,7 +413,6 @@ function commitPlaceholderReplacement(instance, result, host) {
|
|
|
408
413
|
discardLifecycleCommitBatch(lifecycleBatch);
|
|
409
414
|
throw err;
|
|
410
415
|
}
|
|
411
|
-
instance._placeholder = void 0;
|
|
412
416
|
host.finalizeReadSubscriptions(instance);
|
|
413
417
|
host.commitRenderedComponent(instance);
|
|
414
418
|
flushLifecycleCommitBatch(lifecycleBatch);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as VNode } from "../control-
|
|
1
|
+
import { l as VNode } from "../control-Cix3yjVf.js";
|
|
2
2
|
import { r as JSXElement, s as Props } from "../jsx-Dvr2SGRG.js";
|
|
3
3
|
//#region src/common/error-boundary.d.ts
|
|
4
4
|
type ErrorBoundaryContent = VNode | readonly VNode[];
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __ERROR_BOUNDARY__ } from "../vnode-D24p6IW2.js";
|
|
2
|
-
import { t as ELEMENT_TYPE } from "../jsx-
|
|
2
|
+
import { t as ELEMENT_TYPE } from "../jsx-C3IECePB.js";
|
|
3
3
|
import { f as getCurrentComponentInstance } from "../component-scope-DzJEbYGE.js";
|
|
4
4
|
//#region src/components/error-boundary.tsx
|
|
5
5
|
function ensureBoundaryState(instance, resetKey) {
|
package/dist/control/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "../index-
|
|
1
|
+
import { a as Show, c as ForProps, i as MatchProps, n as CaseProps, o as ShowProps, r as Match, s as For, t as Case } from "../index-ho0Htetw.js";
|
|
2
2
|
export { Case, type CaseProps, For, type ForProps, Match, type MatchProps, Show, type ShowProps };
|
package/dist/control/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as For, n as Match, r as Show, t as Case } from "../control-
|
|
1
|
+
import { i as For, n as Match, r as Show, t as Case } from "../control-DQIsWvhr.js";
|
|
2
2
|
export { Case, For, Match, Show };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/common/control.ts
|
|
2
|
+
const __CONTROL_BOUNDARY__ = Symbol("__CONTROL_BOUNDARY__");
|
|
3
|
+
const EAGER_CONTROL_PRIMITIVE = Symbol("__ASKR_EAGER_CONTROL_PRIMITIVE__");
|
|
4
|
+
const TRANSPARENT_COMPONENT_RESULT = Symbol("__ASKR_TRANSPARENT_COMPONENT_RESULT__");
|
|
5
|
+
function markEagerControlPrimitive(primitive) {
|
|
6
|
+
primitive[EAGER_CONTROL_PRIMITIVE] = true;
|
|
7
|
+
return primitive;
|
|
8
|
+
}
|
|
9
|
+
function isEagerControlPrimitive(value) {
|
|
10
|
+
return typeof value === "function" && Boolean(value[EAGER_CONTROL_PRIMITIVE]);
|
|
11
|
+
}
|
|
12
|
+
function markTransparentComponentResult(component) {
|
|
13
|
+
component[TRANSPARENT_COMPONENT_RESULT] = true;
|
|
14
|
+
return component;
|
|
15
|
+
}
|
|
16
|
+
function hasTransparentComponentResult(value) {
|
|
17
|
+
return typeof value === "function" && Boolean(value[TRANSPARENT_COMPONENT_RESULT]);
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { markTransparentComponentResult as a, markEagerControlPrimitive as i, hasTransparentComponentResult as n, isEagerControlPrimitive as r, __CONTROL_BOUNDARY__ as t };
|
|
@@ -55,6 +55,11 @@ declare function state<T>(initialValue: T): StateTuple<T>;
|
|
|
55
55
|
* Common call contracts: SSR types
|
|
56
56
|
*/
|
|
57
57
|
type SSRData = Record<string, unknown>;
|
|
58
|
+
/** Styles produced while rendering a request, kept with that request's SSR context. */
|
|
59
|
+
interface SSRStyleRegistration {
|
|
60
|
+
id: string;
|
|
61
|
+
cssText: string;
|
|
62
|
+
}
|
|
58
63
|
interface DocumentRenderRoute {
|
|
59
64
|
path: string;
|
|
60
65
|
namespace?: string;
|
|
@@ -70,6 +75,7 @@ interface DocumentRenderContext {
|
|
|
70
75
|
seed: number;
|
|
71
76
|
route: DocumentRenderRoute;
|
|
72
77
|
cspNonce?: string;
|
|
78
|
+
styles?: readonly SSRStyleRegistration[];
|
|
73
79
|
}
|
|
74
80
|
interface DocumentRenderArgs {
|
|
75
81
|
appHtml: string;
|
|
@@ -439,4 +445,4 @@ interface ControlTransaction {
|
|
|
439
445
|
registered: boolean;
|
|
440
446
|
}
|
|
441
447
|
//#endregion
|
|
442
|
-
export {
|
|
448
|
+
export { StateTuple as _, defineScope as a, RenderableChild as c, DocumentRenderContext as d, DocumentRenderer as f, StateSetter as g, State as h, Scope as i, VNode as l, SSRStyleRegistration as m, ReadableSource as n, readScope as o, SSRData as p, ComponentInstance as r, ComponentFunction as s, ForEachSource as t, DocumentRenderArgs as u, state as v };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as markEagerControlPrimitive, t as __CONTROL_BOUNDARY__ } from "./control-C-ApnFs1.js";
|
|
2
2
|
import { b as isDevelopmentEnvironment } from "./access-ePqdQqkV.js";
|
|
3
|
-
import { n as Fragment } from "./jsx-
|
|
4
|
-
import { m as createShowState, p as createCaseState, s as useForState } from "./for-internal-
|
|
3
|
+
import { n as Fragment } from "./jsx-C3IECePB.js";
|
|
4
|
+
import { m as createShowState, p as createCaseState, s as useForState } from "./for-internal-BnXrQbgo.js";
|
|
5
5
|
import { t as createFineGrainedEffect } from "./effect-2IIWvUjG.js";
|
|
6
|
-
import { t as state } from "./state-
|
|
6
|
+
import { t as state } from "./state-BCl9DeiN.js";
|
|
7
7
|
//#region src/control/shared.ts
|
|
8
8
|
function normalizeBoundaryChild(value) {
|
|
9
9
|
if (Array.isArray(value)) {
|
package/dist/data/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ServerQueryHandler, C as Query, D as QueryPrefetchContext, E as QueryKeyPart, O as QueryScope, S as Mutation, T as QueryDefinition,
|
|
1
|
+
import { A as ServerQueryHandler, C as Query, D as QueryPrefetchContext, E as QueryKeyPart, O as QueryScope, S as Mutation, T as QueryDefinition, a as defineServerQueries, b as InvalidateOnIntervalOptions, c as prefetchQuery, d as invalidateOnInterval, f as queryScope, g as createMutation, h as createQuery, i as defineQuery, k as QueryStaleReason, l as serveQuery, m as getDefaultDataRuntime, n as ServerQueryRegistry, o as dehydrateDataRuntime, p as createDataRuntime, r as createQueryPrefetchContext, s as hydrateDataRuntime, t as ServerQueryEntry, u as invalidate, v as DataRuntime, w as QueryConsistency, x as InvalidateOptions, y as DataRuntimeOptions } from "../index-5S-fi2xy.js";
|
|
2
2
|
export { type DataRuntime, type DataRuntimeOptions, type InvalidateOnIntervalOptions, type InvalidateOptions, type Mutation, type Query, type QueryConsistency, type QueryDefinition, type QueryKeyPart, type QueryPrefetchContext, type QueryScope, type QueryStaleReason, type ServerQueryEntry, type ServerQueryHandler, type ServerQueryRegistry, createDataRuntime, createMutation, createQuery, createQueryPrefetchContext, defineQuery, defineServerQueries, dehydrateDataRuntime, getDefaultDataRuntime, hydrateDataRuntime, invalidate, invalidateOnInterval, prefetchQuery, queryScope, serveQuery };
|
package/dist/data/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as getDefaultDataRuntime, t as createDataRuntime } from "../data-runtime-
|
|
2
|
-
import { a as queryScope, i as invalidateOnInterval, n as createMutation, r as invalidate, t as createQuery } from "../data-
|
|
3
|
-
import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery, t as createQueryPrefetchContext } from "../query-registry-
|
|
1
|
+
import { i as getDefaultDataRuntime, t as createDataRuntime } from "../data-runtime-D68YOo9L.js";
|
|
2
|
+
import { a as queryScope, i as invalidateOnInterval, n as createMutation, r as invalidate, t as createQuery } from "../data-eBdygZ1f.js";
|
|
3
|
+
import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery, t as createQueryPrefetchContext } from "../query-registry-BL6rjGsO.js";
|
|
4
4
|
export { createDataRuntime, createMutation, createQuery, createQueryPrefetchContext, defineQuery, defineServerQueries, dehydrateDataRuntime, getDefaultDataRuntime, hydrateDataRuntime, invalidate, invalidateOnInterval, prefetchQuery, queryScope, serveQuery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as enqueueRuntimeTask, v as logger } from "./access-ePqdQqkV.js";
|
|
2
2
|
import { l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
|
|
3
3
|
import { f as getCurrentComponentInstance, i as claimHookIndex } from "./component-scope-DzJEbYGE.js";
|
|
4
|
-
import { n as getActiveRenderContext } from "./render-context-
|
|
5
|
-
import { i as routeActive, n as documentVisible, o as timer, s as windowFocused } from "./lifecycle-operations-
|
|
6
|
-
import { a as getMutationSlotStore, c as resolveDataRuntimeState, i as getDefaultDataRuntime, n as ensureMutationCleanup, o as getQuerySlotStore, r as ensureQueryCleanup, s as invalidateQueriesForRuntime } from "./data-runtime-
|
|
4
|
+
import { n as getActiveRenderContext } from "./render-context-D-DFk2WN.js";
|
|
5
|
+
import { i as routeActive, n as documentVisible, o as timer, s as windowFocused } from "./lifecycle-operations-CN0PiLE_.js";
|
|
6
|
+
import { a as getMutationSlotStore, c as resolveDataRuntimeState, i as getDefaultDataRuntime, n as ensureMutationCleanup, o as getQuerySlotStore, r as ensureQueryCleanup, s as invalidateQueriesForRuntime } from "./data-runtime-D68YOo9L.js";
|
|
7
7
|
//#region src/data/query-key.ts
|
|
8
8
|
function serializeQueryKeyNumber(part) {
|
|
9
9
|
if (Number.isNaN(part)) return "NaN";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as getActiveRenderContext } from "./render-context-
|
|
1
|
+
import { n as getActiveRenderContext } from "./render-context-D-DFk2WN.js";
|
|
2
2
|
//#region src/data/invalidation-listeners.ts
|
|
3
3
|
const invalidationListeners = /* @__PURE__ */ new Set();
|
|
4
4
|
function addInvalidationListener(listener) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-
|
|
2
|
-
import { g as readScope, u as defineScope } from "./component-internal-
|
|
1
|
+
import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
|
|
2
|
+
import { g as readScope, u as defineScope } from "./component-internal-BuTG89T8.js";
|
|
3
3
|
import { d as getCurrentAppRenderRuntime } from "./component-scope-DzJEbYGE.js";
|
|
4
4
|
import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
|
|
5
|
-
import { n as getActiveRenderContext, r as getCurrentRenderData } from "./render-context-
|
|
6
|
-
import { A as insertRecordSorted, D as getRouteRecords, E as getRouteList, F as snapshotRouteState, N as restoreRouteState, P as setDefaultRouteAuthOptions, T as getDefaultRouteAuthOptions, f as addRouteToStores, h as getActiveRouteAuthOptions, i as getMatchingRouteRecord, m as clearRouteState, o as buildRouteContext, s as buildRouteContextBase, z as resource } from "./route-matching-
|
|
7
|
-
import { i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-
|
|
8
|
-
import { c as withTelemetry, t as createQueryPrefetchContext } from "./query-registry-
|
|
5
|
+
import { n as getActiveRenderContext, r as getCurrentRenderData } from "./render-context-D-DFk2WN.js";
|
|
6
|
+
import { A as insertRecordSorted, D as getRouteRecords, E as getRouteList, F as snapshotRouteState, N as restoreRouteState, P as setDefaultRouteAuthOptions, T as getDefaultRouteAuthOptions, f as addRouteToStores, h as getActiveRouteAuthOptions, i as getMatchingRouteRecord, m as clearRouteState, o as buildRouteContext, s as buildRouteContextBase, z as resource } from "./route-matching-jqwlQJ5g.js";
|
|
7
|
+
import { i as ROUTE_ROOT_COMPONENT } from "./csp-nonce-BUsz0Em7.js";
|
|
8
|
+
import { c as withTelemetry, t as createQueryPrefetchContext } from "./query-registry-BL6rjGsO.js";
|
|
9
9
|
//#region src/runtime/execution-model.ts
|
|
10
10
|
const EXECUTION_MODEL_KEY = Symbol.for("__ASKR_EXECUTION_MODEL__");
|
|
11
11
|
function getExecutionModel() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as isDevelopmentEnvironment, l as runRuntimeWithSyncProgress, o as getRuntimeRenderer, u as setRuntimeBulkCommitProbe } from "./access-ePqdQqkV.js";
|
|
2
|
-
import {
|
|
2
|
+
import { i as isFragmentType } from "./jsx-C3IECePB.js";
|
|
3
3
|
import { i as finalizeReadableSubscriptions } from "./readable-B3VIOfd7.js";
|
|
4
4
|
//#region src/runtime/dev-namespace.ts
|
|
5
5
|
/**
|
|
@@ -48,7 +48,7 @@ function finalizeReadSubscriptions(instance) {
|
|
|
48
48
|
function unwrapFragmentForFastPath(vnode) {
|
|
49
49
|
if (!vnode || typeof vnode !== "object" || !("type" in vnode)) return vnode;
|
|
50
50
|
const v = vnode;
|
|
51
|
-
if (
|
|
51
|
+
if (isFragmentType(v.type)) {
|
|
52
52
|
const children = v.props?.children ?? v.children;
|
|
53
53
|
if (Array.isArray(children) && children.length > 0) {
|
|
54
54
|
for (const child of children) if (child && typeof child === "object" && "type" in child) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as _isDOMElement } from "./vnode-D24p6IW2.js";
|
|
2
2
|
import { b as isDevelopmentEnvironment, o as getRuntimeRenderer, v as logger } from "./access-ePqdQqkV.js";
|
|
3
|
-
import { _ as rebaseVNodeTreeWithContextFrame, m as haveEquivalentContextFrames, n as createComponentInstance, s as renderScopedComponent } from "./component-internal-
|
|
3
|
+
import { _ as rebaseVNodeTreeWithContextFrame, m as haveEquivalentContextFrames, n as createComponentInstance, s as renderScopedComponent } from "./component-internal-BuTG89T8.js";
|
|
4
4
|
import { d as shouldCoalesceFineGrainedItemReads, l as notifyReadableReaders, o as markReactivePropsDirtySource, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
|
|
5
5
|
import { h as getCurrentStateIndex, i as claimHookIndex, o as clearRenderTracking, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
|
|
6
6
|
import { i as unregisterOwnedChildScope, r as registerOwnedChildScope, t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as JSXElement } from "../jsx-Dvr2SGRG.js";
|
|
2
|
-
import { _ as definePortal, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, l as PresenceProps, m as DefaultPortal, p as layout, u as Slot } from "../index-
|
|
2
|
+
import { _ as definePortal, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, l as PresenceProps, m as DefaultPortal, p as layout, u as Slot } from "../index-Vs1EeWEr.js";
|
|
3
3
|
export { DefaultPortal, type JSXElement, type LayoutComponent, Portal, type PortalProps, Presence, type PresenceProps, Slot, type SlotProps, definePortal, layout };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as layout, i as Slot, r as Presence } from "../structures-D3vO-WMN.js";
|
|
2
|
+
import { i as definePortal, n as Portal, t as DefaultPortal } from "../portal-BZ_rN17v.js";
|
|
3
3
|
export { DefaultPortal, Portal, Presence, Slot, definePortal, layout };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as State } from "../../control-Cix3yjVf.js";
|
|
2
2
|
//#region src/foundations/state/controllable.d.ts
|
|
3
3
|
declare function isControlled<T>(value: T | undefined): value is T;
|
|
4
4
|
declare function resolveControllable<T>(value: T | undefined, defaultValue: T): {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as JSXElement } from "../../jsx-Dvr2SGRG.js";
|
|
2
|
-
import { _ as definePortal, a as Collection, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, i as createLayer, l as PresenceProps, m as DefaultPortal, n as LayerManager, o as CollectionItem, p as layout, r as LayerOptions, s as createCollection, t as Layer, u as Slot } from "../../index-
|
|
2
|
+
import { _ as definePortal, a as Collection, c as Presence, d as SlotProps, f as LayoutComponent, g as PortalProps, h as Portal, i as createLayer, l as PresenceProps, m as DefaultPortal, n as LayerManager, o as CollectionItem, p as layout, r as LayerOptions, s as createCollection, t as Layer, u as Slot } from "../../index-Vs1EeWEr.js";
|
|
3
3
|
export { type Collection, type CollectionItem, DefaultPortal, type JSXElement, type Layer, type LayerManager, type LayerOptions, type LayoutComponent, Portal, type PortalProps, Presence, type PresenceProps, Slot, type SlotProps, createCollection, createLayer, definePortal, layout };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
import {
|
|
1
|
+
import { a as layout, i as Slot, n as createCollection, r as Presence, t as createLayer } from "../../structures-D3vO-WMN.js";
|
|
2
|
+
import { i as definePortal, n as Portal, t as DefaultPortal } from "../../portal-BZ_rN17v.js";
|
|
3
3
|
export { DefaultPortal, Portal, Presence, Slot, createCollection, createLayer, definePortal, layout };
|
|
@@ -168,22 +168,6 @@ type MutationOptions<TInput, TResult> = {
|
|
|
168
168
|
runtime?: DataRuntime;
|
|
169
169
|
};
|
|
170
170
|
//#endregion
|
|
171
|
-
//#region src/data/mutation-cell.d.ts
|
|
172
|
-
declare function createMutation<TInput, TResult>(options: MutationOptions<TInput, TResult>): Mutation<TInput, TResult>;
|
|
173
|
-
//#endregion
|
|
174
|
-
//#region src/data/query-cell.d.ts
|
|
175
|
-
declare function createQuery<T extends {}>(options: QueryOptions<T>): Query<T>;
|
|
176
|
-
declare function createQuery<TInput, TResult extends {}>(definition: QueryDefinition<TInput, TResult>, input: TInput, options?: Omit<QueryOptions<TResult>, 'key' | 'fetch'>): Query<TResult>;
|
|
177
|
-
//#endregion
|
|
178
|
-
//#region src/data/data-runtime.d.ts
|
|
179
|
-
declare function createDataRuntime(options?: DataRuntimeOptions): DataRuntime;
|
|
180
|
-
declare function getDefaultDataRuntime(): DataRuntime;
|
|
181
|
-
//#endregion
|
|
182
|
-
//#region src/data/invalidation.d.ts
|
|
183
|
-
declare function invalidate(prefix: string, options?: InvalidateOptions): void;
|
|
184
|
-
declare function queryScope(namespace: string): QueryScope;
|
|
185
|
-
declare function invalidateOnInterval(prefix: string, options: InvalidateOnIntervalOptions): void;
|
|
186
|
-
//#endregion
|
|
187
171
|
//#region src/common/telemetry.d.ts
|
|
188
172
|
interface TelemetryFields {
|
|
189
173
|
requestId?: string;
|
|
@@ -206,6 +190,22 @@ interface CoreTelemetry {
|
|
|
206
190
|
ssrRender?: TelemetrySpan;
|
|
207
191
|
}
|
|
208
192
|
//#endregion
|
|
193
|
+
//#region src/data/mutation-cell.d.ts
|
|
194
|
+
declare function createMutation<TInput, TResult>(options: MutationOptions<TInput, TResult>): Mutation<TInput, TResult>;
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region src/data/query-cell.d.ts
|
|
197
|
+
declare function createQuery<T extends {}>(options: QueryOptions<T>): Query<T>;
|
|
198
|
+
declare function createQuery<TInput, TResult extends {}>(definition: QueryDefinition<TInput, TResult>, input: TInput, options?: Omit<QueryOptions<TResult>, 'key' | 'fetch'>): Query<TResult>;
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/data/data-runtime.d.ts
|
|
201
|
+
declare function createDataRuntime(options?: DataRuntimeOptions): DataRuntime;
|
|
202
|
+
declare function getDefaultDataRuntime(): DataRuntime;
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/data/invalidation.d.ts
|
|
205
|
+
declare function invalidate(prefix: string, options?: InvalidateOptions): void;
|
|
206
|
+
declare function queryScope(namespace: string): QueryScope;
|
|
207
|
+
declare function invalidateOnInterval(prefix: string, options: InvalidateOnIntervalOptions): void;
|
|
208
|
+
//#endregion
|
|
209
209
|
//#region src/data/query-registry.d.ts
|
|
210
210
|
interface ServerQueryRegistry {
|
|
211
211
|
readonly entries: readonly ServerQueryEntry<unknown, {}>[];
|
|
@@ -230,4 +230,4 @@ declare function prefetchQuery<TInput, TResult extends {}>(context: QueryPrefetc
|
|
|
230
230
|
declare function dehydrateDataRuntime(runtime: DataRuntime): Record<string, unknown>;
|
|
231
231
|
declare function hydrateDataRuntime(runtime: DataRuntime, data: unknown): void;
|
|
232
232
|
//#endregion
|
|
233
|
-
export { ServerQueryHandler as A, Query as C, QueryPrefetchContext as D, QueryKeyPart as E, QueryScope as O, Mutation as S, QueryDefinition as T,
|
|
233
|
+
export { ServerQueryHandler as A, Query as C, QueryPrefetchContext as D, QueryKeyPart as E, QueryScope as O, Mutation as S, QueryDefinition as T, CoreTelemetry as _, defineServerQueries as a, InvalidateOnIntervalOptions as b, prefetchQuery as c, invalidateOnInterval as d, queryScope as f, createMutation as g, createQuery as h, defineQuery as i, QueryStaleReason as k, serveQuery as l, getDefaultDataRuntime as m, ServerQueryRegistry as n, dehydrateDataRuntime as o, createDataRuntime as p, createQueryPrefetchContext as r, hydrateDataRuntime as s, ServerQueryEntry as t, invalidate as u, DataRuntime as v, QueryConsistency as w, InvalidateOptions as x, DataRuntimeOptions as y };
|