@warp-drive/core 5.8.0-alpha.40 → 5.8.0-alpha.41
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/declarations/configure.d.ts +1 -1
- package/declarations/reactive/-private/default-mode.d.ts +1 -1
- package/declarations/reactive/-private/fields/extension.d.ts +1 -1
- package/declarations/reactive/-private/fields/managed-array.d.ts +2 -2
- package/declarations/reactive/-private/fields/managed-object.d.ts +1 -1
- package/declarations/reactive.d.ts +2 -3
- package/declarations/signals/-leaked.d.ts +2 -0
- package/declarations/signals/-private.d.ts +6 -0
- package/declarations/{store/-private/new-core-tmp → signals}/promise-state.d.ts +1 -1
- package/declarations/{store/-private/new-core-tmp → signals}/request-state.d.ts +5 -5
- package/declarations/{store/-private/new-core-tmp → signals}/request-subscription.d.ts +4 -4
- package/declarations/store/-private/cache-handler/types.d.ts +2 -16
- package/declarations/store/-private/managers/cache-manager.d.ts +1 -14
- package/declarations/store/-private/record-arrays/legacy-many-array.d.ts +1 -1
- package/declarations/store/-private/record-arrays/resource-array.d.ts +1 -1
- package/declarations/store/-private.d.ts +0 -5
- package/declarations/store/deprecated/-private.d.ts +1 -1
- package/declarations/types/schema/fields.d.ts +4 -4
- package/dist/configure-DPUFCemT.js +1940 -0
- package/dist/configure.js +2 -1
- package/dist/{request-oqoLC9rz.js → future-BKkJJkj7.js} +1 -48
- package/dist/graph/-private.js +3 -2
- package/dist/{index-BKcD4JZK.js → index-CQP2NSqg.js} +58 -1826
- package/dist/index.js +5 -5
- package/dist/reactive/-private.js +1 -1
- package/dist/reactive.js +4 -129
- package/dist/request.js +49 -1
- package/dist/signals/-leaked.js +1 -0
- package/dist/store/-private.js +1 -2
- package/dist/types/-private.js +1 -1
- package/dist/unpkg/dev/-leaked-Co0EI6Go.js +1939 -0
- package/dist/unpkg/dev/configure.js +1 -1
- package/dist/unpkg/dev/{request-CA9K0gXq.js → future-DFfOzSoe.js} +1 -48
- package/dist/unpkg/dev/graph/-private.js +3 -2
- package/dist/unpkg/dev/{index-DqhXrNZ_.js → index-CepUPZlc.js} +57 -1825
- package/dist/unpkg/dev/index.js +4 -4
- package/dist/unpkg/dev/reactive/-private.js +1 -1
- package/dist/unpkg/dev/reactive.js +3 -127
- package/dist/unpkg/dev/request.js +49 -1
- package/dist/unpkg/dev/signals/-leaked.js +1 -0
- package/dist/unpkg/dev/store/-private.js +2 -3
- package/dist/unpkg/dev/types/-private.js +1 -1
- package/dist/unpkg/dev-deprecated/-leaked-DjMeRqdU.js +1939 -0
- package/dist/unpkg/dev-deprecated/configure.js +1 -1
- package/dist/unpkg/dev-deprecated/{request-CA9K0gXq.js → future-DFfOzSoe.js} +1 -48
- package/dist/unpkg/dev-deprecated/graph/-private.js +3 -2
- package/dist/unpkg/dev-deprecated/{index-BBlq5is_.js → index-C_EEmn_3.js} +56 -1824
- package/dist/unpkg/dev-deprecated/index.js +2 -2
- package/dist/unpkg/dev-deprecated/reactive.js +2 -126
- package/dist/unpkg/dev-deprecated/request.js +49 -1
- package/dist/unpkg/dev-deprecated/signals/-leaked.js +1 -0
- package/dist/unpkg/dev-deprecated/store/-private.js +1 -2
- package/dist/unpkg/dev-deprecated/types/-private.js +1 -1
- package/dist/unpkg/prod/-leaked-DUONXQDB.js +1676 -0
- package/dist/unpkg/prod/{-private-3C1OkYtZ.js → -private-sql1_mdx.js} +1 -1
- package/dist/unpkg/prod/configure.js +2 -1
- package/dist/unpkg/prod/graph/-private.js +3 -2
- package/dist/unpkg/prod/{handler-LAyD1Y5l.js → handler-EU_8ncB2.js} +2 -2
- package/dist/unpkg/prod/index.js +7 -5
- package/dist/unpkg/prod/promise-cache-DIT8Ypjq.js +19 -0
- package/dist/unpkg/prod/reactive/-private.js +1 -1
- package/dist/unpkg/prod/reactive.js +26 -123
- package/dist/unpkg/prod/{request-CN2LxbYX.js → request-BrJSCG6r.js} +3 -19
- package/dist/unpkg/prod/request.js +2 -1
- package/dist/unpkg/prod/{promise-state-ipG60SdD.js → schema-BSkHyoWz.js} +53 -1572
- package/dist/unpkg/prod/signals/-leaked.js +1 -0
- package/dist/unpkg/prod/store/-private.js +3 -4
- package/dist/unpkg/prod/types/-private.js +1 -1
- package/dist/unpkg/prod-deprecated/-leaked-DRNv9VIX.js +1676 -0
- package/dist/unpkg/prod-deprecated/configure.js +2 -1
- package/dist/unpkg/prod-deprecated/graph/-private.js +3 -2
- package/dist/unpkg/prod-deprecated/{handler-D639oFvl.js → handler-CCIu4sQ3.js} +1 -1
- package/dist/unpkg/prod-deprecated/{hooks-DGvi9teJ.js → hooks-Dv4Np0MY.js} +1 -1
- package/dist/unpkg/prod-deprecated/index.js +7 -5
- package/dist/unpkg/prod-deprecated/promise-cache-DIT8Ypjq.js +19 -0
- package/dist/unpkg/prod-deprecated/reactive.js +4 -125
- package/dist/unpkg/prod-deprecated/{request-CN2LxbYX.js → request-BrJSCG6r.js} +3 -19
- package/dist/unpkg/prod-deprecated/request.js +2 -1
- package/dist/unpkg/prod-deprecated/{promise-state-CYvoIPna.js → schema-CJcjHv0E.js} +52 -1571
- package/dist/unpkg/prod-deprecated/signals/-leaked.js +1 -0
- package/dist/unpkg/prod-deprecated/store/-private.js +2 -3
- package/dist/unpkg/prod-deprecated/types/-private.js +1 -1
- package/package.json +3 -3
- package/declarations/store/-private/new-core-tmp/expensive-subscription.d.ts +0 -24
- package/dist/configure-C3x8YXzL.js +0 -181
- package/dist/unpkg/dev/configure-BC66sfNO.js +0 -183
- package/dist/unpkg/dev-deprecated/configure-BC66sfNO.js +0 -183
- package/dist/unpkg/prod/configure-C0C1LpG6.js +0 -158
- package/dist/unpkg/prod/hooks-BfiqDg3O.js +0 -26
- package/dist/unpkg/prod-deprecated/configure-BQ8CpIcW.js +0 -158
- /package/declarations/{store/-private/new-core-tmp → signals}/reactivity/configure.d.ts +0 -0
- /package/declarations/{store/-private/new-core-tmp → signals}/reactivity/internal.d.ts +0 -0
- /package/declarations/{store/-private/new-core-tmp → signals}/reactivity/signal.d.ts +0 -0
- /package/dist/{unpkg/dev/-private-3C1OkYtZ.js → symbols-3C1OkYtZ.js} +0 -0
- /package/dist/{symbols-sql1_mdx.js → unpkg/dev/-private-sql1_mdx.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { SignalStore } from "../../signals/-private.js";
|
|
1
2
|
import type { Store } from "../../store/-private.js";
|
|
2
|
-
import type { SignalStore } from "../../store/-private/new-core-tmp/reactivity/internal.js";
|
|
3
3
|
import type { ResourceKey } from "../../types.js";
|
|
4
4
|
import type { FieldSchema, HashField, IdentityField, SchemaArrayField, SchemaObjectField } from "../../types/schema/fields.js";
|
|
5
5
|
import type { ReactiveResource } from "./record.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SignalStore, WarpDriveSignal } from "../../../
|
|
1
|
+
import type { SignalStore, WarpDriveSignal } from "../../../signals/-private.js";
|
|
2
2
|
import type { ExtensionDef } from "../schema.js";
|
|
3
3
|
export type ProxiedMethod = (...args: unknown[]) => unknown;
|
|
4
4
|
export declare function expectNever(value: never): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { WarpDriveSignal } from "../../../
|
|
2
|
-
import { ARRAY_SIGNAL } from "../../../
|
|
1
|
+
import type { WarpDriveSignal } from "../../../signals/-private.js";
|
|
2
|
+
import { ARRAY_SIGNAL } from "../../../signals/-private.js";
|
|
3
3
|
import type { ResourceKey } from "../../../types/identifier.js";
|
|
4
4
|
import type { ArrayField, SchemaArrayField } from "../../../types/schema/fields.js";
|
|
5
5
|
import type { KindContext } from "../default-mode.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OBJECT_SIGNAL, type WarpDriveSignal } from "../../../
|
|
1
|
+
import { OBJECT_SIGNAL, type WarpDriveSignal } from "../../../signals/-private.js";
|
|
2
2
|
import type { ObjectField, SchemaObjectField } from "../../../types/schema/fields.js";
|
|
3
3
|
import type { KindContext } from "../default-mode.js";
|
|
4
4
|
import type { ReactiveResource } from "../record.js";
|
|
@@ -278,9 +278,8 @@ export { commit, type ReactiveResource } from "./reactive/-private/record.js";
|
|
|
278
278
|
export { checkout };
|
|
279
279
|
export { Checkout } from "./reactive/-private/symbols.js";
|
|
280
280
|
export { type ReactiveDocument, type ReactiveDataDocument, type ReactiveErrorDocument } from "./reactive/-private/document.js";
|
|
281
|
-
export {
|
|
282
|
-
export {
|
|
283
|
-
export { getPromiseState, type PromiseState, type ResolvedPromise, type RejectedPromise, type PendingPromise } from "./store/-private/new-core-tmp/promise-state.js";
|
|
281
|
+
export { createRequestSubscription, getRequestState, type RequestSubscription, type RequestLoadingState, type RequestState } from "./signals/-private.js";
|
|
282
|
+
export { getPromiseState, type PromiseState, type ResolvedPromise, type RejectedPromise, type PendingPromise } from "./signals/-private.js";
|
|
284
283
|
export type { LegacyLiveArray } from "./store/-private/record-arrays/legacy-live-array.js";
|
|
285
284
|
export type { LegacyManyArray } from "./store/-private/record-arrays/legacy-many-array.js";
|
|
286
285
|
export type { LegacyQueryArray } from "./store/-private/record-arrays/legacy-query.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { defineNonEnumerableSignal, defineGate, defineSignal, entangleSignal, signal, waitFor, gate, DISPOSE, memoized, notifyInternalSignal, peekInternalSignal, withSignalStore } from "./-private.js";
|
|
2
|
+
export type { AutorefreshBehaviorCombos, SubscriptionArgs, ContentFeatures, RecoveryFeatures, RequestArgs } from "./-private.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DISPOSE, createRequestSubscription, type RequestArgs, type SubscriptionArgs, type RequestComponentArgs, type RequestSubscription, type ContentFeatures, type RecoveryFeatures, type AutorefreshBehaviorCombos, type AutorefreshBehaviorType } from "./request-subscription.js";
|
|
2
|
+
export { getRequestState, type RequestLoadingState, type RequestState } from "./request-state.js";
|
|
3
|
+
export { getPromiseState, type PromiseState, type ResolvedPromise, type RejectedPromise, type PendingPromise } from "./promise-state.js";
|
|
4
|
+
export { setupSignals, type HooksOptions, type SignalHooks, waitFor, willSyncFlushWatchers } from "./reactivity/configure.js";
|
|
5
|
+
export { signal, memoized, gate, entangleSignal, entangleInitiallyStaleSignal, defineSignal, defineGate, defineNonEnumerableSignal, createSignalDescriptor } from "./reactivity/signal.js";
|
|
6
|
+
export { type SignalStore, ARRAY_SIGNAL, OBJECT_SIGNAL, Signals, type WarpDriveSignal, peekInternalSignal, createInternalMemo, withSignalStore, notifyInternalSignal, consumeInternalSignal, getOrCreateInternalSignal, createInternalSignal } from "./reactivity/internal.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Future } from "
|
|
2
|
-
import type { ImmutableRequestInfo, ResponseInfo, StructuredErrorDocument } from "
|
|
1
|
+
import type { Future } from "../request.js";
|
|
2
|
+
import type { ImmutableRequestInfo, ResponseInfo, StructuredErrorDocument } from "../types/request.js";
|
|
3
3
|
import type { PendingPromise, RejectedPromise, ResolvedPromise } from "./promise-state.js";
|
|
4
4
|
/**
|
|
5
5
|
* Lazily consumes the stream of a request, providing a number of
|
|
@@ -308,14 +308,14 @@ export interface PrivateRequestState {
|
|
|
308
308
|
* - {@link CancelledRequest}
|
|
309
309
|
*
|
|
310
310
|
*/
|
|
311
|
-
export type
|
|
311
|
+
export type RequestState<
|
|
312
312
|
RT = unknown,
|
|
313
313
|
E extends StructuredErrorDocument = StructuredErrorDocument
|
|
314
314
|
> = PendingRequest | ResolvedRequest<RT> | RejectedRequest<RT, E> | CancelledRequest<RT, E>;
|
|
315
315
|
export declare function createRequestState<
|
|
316
316
|
RT,
|
|
317
317
|
E
|
|
318
|
-
>(future: Future<RT>): Readonly<
|
|
318
|
+
>(future: Future<RT>): Readonly<RequestState<RT, StructuredErrorDocument<E>>>;
|
|
319
319
|
/**
|
|
320
320
|
* `getRequestState` can be used in both JavaScript and Template contexts.
|
|
321
321
|
*
|
|
@@ -369,4 +369,4 @@ export declare function createRequestState<
|
|
|
369
369
|
export declare function getRequestState<
|
|
370
370
|
RT,
|
|
371
371
|
E
|
|
372
|
-
>(future: Future<RT>): Readonly<
|
|
372
|
+
>(future: Future<RT>): Readonly<RequestState<RT, StructuredErrorDocument<E>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { RequestManager, Store, StoreRequestInput } from "
|
|
2
|
-
import type { Future } from "
|
|
3
|
-
import type { StructuredErrorDocument } from "
|
|
4
|
-
import type { RequestState } from "
|
|
1
|
+
import type { RequestManager, Store, StoreRequestInput } from "../index.js";
|
|
2
|
+
import type { Future } from "../request.js";
|
|
3
|
+
import type { StructuredErrorDocument } from "../types/request.js";
|
|
4
|
+
import type { RequestState } from "./request-state.js";
|
|
5
5
|
export declare const DISPOSE: "(symbol) dispose";
|
|
6
6
|
export type AutorefreshBehaviorType = "online" | "interval" | "invalid";
|
|
7
7
|
export type AutorefreshBehaviorCombos = boolean | AutorefreshBehaviorType | `${AutorefreshBehaviorType},${AutorefreshBehaviorType}` | `${AutorefreshBehaviorType},${AutorefreshBehaviorType},${AutorefreshBehaviorType}`;
|
|
@@ -12,7 +12,6 @@ import type { Store } from "../store-service.js";
|
|
|
12
12
|
* Implementing this service allows you to programatically define
|
|
13
13
|
* when a request should be considered expired.
|
|
14
14
|
*
|
|
15
|
-
* @class (Interface) CachePolicy
|
|
16
15
|
* @public
|
|
17
16
|
*/
|
|
18
17
|
export interface CachePolicy {
|
|
@@ -27,9 +26,7 @@ export interface CachePolicy {
|
|
|
27
26
|
* and the cache will be updated before returning the response.
|
|
28
27
|
*
|
|
29
28
|
* @public
|
|
30
|
-
* @
|
|
31
|
-
* @param {Store} store
|
|
32
|
-
* @return {Boolean} true if the request is considered hard expired
|
|
29
|
+
* @return true if the request is considered hard expired
|
|
33
30
|
*/
|
|
34
31
|
isHardExpired(identifier: RequestKey, store: Store): boolean;
|
|
35
32
|
/**
|
|
@@ -42,9 +39,7 @@ export interface CachePolicy {
|
|
|
42
39
|
* request is made to update the cache via the configured request handlers.
|
|
43
40
|
*
|
|
44
41
|
* @public
|
|
45
|
-
* @
|
|
46
|
-
* @param {Store} store
|
|
47
|
-
* @return {Boolean} true if the request is considered soft expired
|
|
42
|
+
* @return true if the request is considered soft expired
|
|
48
43
|
*/
|
|
49
44
|
isSoftExpired(identifier: RequestKey, store: Store): boolean;
|
|
50
45
|
/**
|
|
@@ -54,10 +49,6 @@ export interface CachePolicy {
|
|
|
54
49
|
* Note, this is invoked regardless of whether the request has a cache-key.
|
|
55
50
|
*
|
|
56
51
|
* @public
|
|
57
|
-
* @param {ImmutableRequestInfo} request
|
|
58
|
-
* @param {RequestKey | null} identifier
|
|
59
|
-
* @param {Store} store
|
|
60
|
-
* @return {void}
|
|
61
52
|
*/
|
|
62
53
|
willRequest?(request: ImmutableRequestInfo, identifier: RequestKey | null, store: Store): void;
|
|
63
54
|
/**
|
|
@@ -88,11 +79,6 @@ export interface CachePolicy {
|
|
|
88
79
|
*
|
|
89
80
|
*
|
|
90
81
|
* @public
|
|
91
|
-
* @param {ImmutableRequestInfo} request
|
|
92
|
-
* @param {ImmutableResponse} response
|
|
93
|
-
* @param {RequestKey | null} identifier
|
|
94
|
-
* @param {Store} store
|
|
95
|
-
* @return {void}
|
|
96
82
|
*/
|
|
97
83
|
didRequest?(request: ImmutableRequestInfo, response: Response | ResponseInfo | null, identifier: RequestKey | null, store: Store): void;
|
|
98
84
|
}
|
|
@@ -48,8 +48,6 @@ export declare class CacheManager implements Cache {
|
|
|
48
48
|
* a `content` member and therefor must not assume the existence
|
|
49
49
|
* of `request` and `response` on the document.
|
|
50
50
|
*
|
|
51
|
-
* @param {StructuredDocument} doc
|
|
52
|
-
* @return {ResourceDocument}
|
|
53
51
|
* @public
|
|
54
52
|
*/
|
|
55
53
|
put<T>(doc: StructuredDocument<T> | {
|
|
@@ -60,7 +58,6 @@ export declare class CacheManager implements Cache {
|
|
|
60
58
|
*
|
|
61
59
|
* @public
|
|
62
60
|
* @param op the operation to perform
|
|
63
|
-
* @return {void}
|
|
64
61
|
*/
|
|
65
62
|
patch(op: Operation | Operation[]): void;
|
|
66
63
|
/**
|
|
@@ -68,7 +65,6 @@ export declare class CacheManager implements Cache {
|
|
|
68
65
|
* on relationships only.
|
|
69
66
|
*
|
|
70
67
|
* @public
|
|
71
|
-
* @param mutation
|
|
72
68
|
*/
|
|
73
69
|
mutate(mutation: LocalRelationshipOperation): void;
|
|
74
70
|
/**
|
|
@@ -99,8 +95,7 @@ export declare class CacheManager implements Cache {
|
|
|
99
95
|
* notifications for relational data.
|
|
100
96
|
*
|
|
101
97
|
* @public
|
|
102
|
-
* @
|
|
103
|
-
* @return {ResourceDocument | ResourceBlob | null} the known resource data
|
|
98
|
+
* @return the known resource data
|
|
104
99
|
*/
|
|
105
100
|
peek(cacheKey: ResourceKey): unknown;
|
|
106
101
|
peek(cacheKey: RequestKey): ResourceDocument | null;
|
|
@@ -110,8 +105,6 @@ export declare class CacheManager implements Cache {
|
|
|
110
105
|
* Peek the Cache for the existing request data associated with
|
|
111
106
|
* a cacheable request
|
|
112
107
|
*
|
|
113
|
-
* @param {RequestKey}
|
|
114
|
-
* @return {RequestKey | null}
|
|
115
108
|
* @public
|
|
116
109
|
*/
|
|
117
110
|
peekRequest(key: RequestKey): StructuredDocument<ResourceDocument> | null;
|
|
@@ -130,7 +123,6 @@ export declare class CacheManager implements Cache {
|
|
|
130
123
|
* utilize this method to fork the cache.
|
|
131
124
|
*
|
|
132
125
|
* @public
|
|
133
|
-
* @return {Promise<Cache>}
|
|
134
126
|
*/
|
|
135
127
|
fork(): Promise<Cache>;
|
|
136
128
|
/**
|
|
@@ -140,9 +132,7 @@ export declare class CacheManager implements Cache {
|
|
|
140
132
|
* preferring instead to merge at the Store level, which will
|
|
141
133
|
* utilize this method to merge the caches.
|
|
142
134
|
*
|
|
143
|
-
* @param {Cache} cache
|
|
144
135
|
* @public
|
|
145
|
-
* @return {Promise<void>}
|
|
146
136
|
*/
|
|
147
137
|
merge(cache: Cache): Promise<void>;
|
|
148
138
|
/**
|
|
@@ -183,7 +173,6 @@ export declare class CacheManager implements Cache {
|
|
|
183
173
|
* which may be fed back into a new instance of the same Cache
|
|
184
174
|
* via `cache.hydrate`.
|
|
185
175
|
*
|
|
186
|
-
* @return {Promise<ReadableStream>}
|
|
187
176
|
* @public
|
|
188
177
|
*/
|
|
189
178
|
dump(): Promise<ReadableStream<unknown>>;
|
|
@@ -199,8 +188,6 @@ export declare class CacheManager implements Cache {
|
|
|
199
188
|
* behavior supports optimizing pre/fetching of data for route transitions
|
|
200
189
|
* via data-only SSR modes.
|
|
201
190
|
*
|
|
202
|
-
* @param {ReadableStream} stream
|
|
203
|
-
* @return {Promise<void>}
|
|
204
191
|
* @public
|
|
205
192
|
*/
|
|
206
193
|
hydrate(stream: ReadableStream<unknown>): Promise<void>;
|
|
@@ -16,7 +16,7 @@ This class is not intended to be directly instantiated by consuming applications
|
|
|
16
16
|
|
|
17
17
|
### Inverses
|
|
18
18
|
|
|
19
|
-
Often, the relationships in
|
|
19
|
+
Often, the relationships in WarpDrive applications will have
|
|
20
20
|
an inverse. For example, imagine the following models are
|
|
21
21
|
defined:
|
|
22
22
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ExtensionDef } from "../../../reactive.js";
|
|
2
2
|
import { Context } from "../../../reactive/-private.js";
|
|
3
|
+
import type { SignalStore, WarpDriveSignal } from "../../../signals/-private.js";
|
|
3
4
|
import type { RequestKey, ResourceKey } from "../../../types/identifier.js";
|
|
4
5
|
import type { ObjectValue } from "../../../types/json/raw.js";
|
|
5
6
|
import type { CollectionField } from "../../../types/schema/fields.js";
|
|
6
|
-
import type { SignalStore, WarpDriveSignal } from "../new-core-tmp/reactivity/internal.js";
|
|
7
7
|
import type { Store } from "../store-service.js";
|
|
8
8
|
import type { KeyType, MinimumManager } from "./-utils.js";
|
|
9
9
|
import { NativeProxy } from "./native-proxy-type-fix.js";
|
|
@@ -22,8 +22,3 @@ export { normalizeModelName as _deprecatingNormalize } from "./-private/utils/no
|
|
|
22
22
|
export type { StoreRequestInput } from "./-private/cache-handler/handler.js";
|
|
23
23
|
export { type LegacyManyArray, type LegacyManyArray as RelatedCollection, createLegacyManyArray } from "./-private/record-arrays/legacy-many-array.js";
|
|
24
24
|
export { log, logGroup } from "./-private/debug/utils.js";
|
|
25
|
-
export { DISPOSE, createRequestSubscription, type RequestArgs, type SubscriptionArgs, type RequestComponentArgs, type RequestSubscription, type ContentFeatures, type RecoveryFeatures, type AutorefreshBehaviorCombos, type AutorefreshBehaviorType } from "./-private/new-core-tmp/request-subscription.js";
|
|
26
|
-
export { getRequestState, type RequestLoadingState, type RequestCacheRequestState as RequestState } from "./-private/new-core-tmp/request-state.js";
|
|
27
|
-
export { type SignalHooks, waitFor } from "./-private/new-core-tmp/reactivity/configure.js";
|
|
28
|
-
export { signal, memoized, gate, entangleSignal, entangleInitiallyStaleSignal, defineSignal, defineGate, defineNonEnumerableSignal } from "./-private/new-core-tmp/reactivity/signal.js";
|
|
29
|
-
export { ARRAY_SIGNAL, OBJECT_SIGNAL, Signals, type WarpDriveSignal, peekInternalSignal, createInternalMemo, withSignalStore, notifyInternalSignal, consumeInternalSignal, getOrCreateInternalSignal } from "./-private/new-core-tmp/reactivity/internal.js";
|
|
@@ -124,7 +124,7 @@ export declare class RecordReference {
|
|
|
124
124
|
normalized hash of data and the object represented by the reference
|
|
125
125
|
will update.
|
|
126
126
|
|
|
127
|
-
If you pass a promise to `push`,
|
|
127
|
+
If you pass a promise to `push`, WarpDrive will not ask the adapter
|
|
128
128
|
for the data if another attempt to fetch it is made in the
|
|
129
129
|
interim. When the promise resolves, the underlying object is updated
|
|
130
130
|
with the new data, and the promise returned by *this function* is resolved
|
|
@@ -571,7 +571,7 @@ export interface SchemaObjectField {
|
|
|
571
571
|
* Configures which extensions this object should use.
|
|
572
572
|
*
|
|
573
573
|
* Extensions are registered with the store's schema service
|
|
574
|
-
* via {@link SchemaService.
|
|
574
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
575
575
|
*
|
|
576
576
|
* Extensions should only be used for temporary enhancements
|
|
577
577
|
* to objects to support migrating away from deprecated patterns
|
|
@@ -800,7 +800,7 @@ export interface SchemaArrayField {
|
|
|
800
800
|
* Configures which extensions this object should use.
|
|
801
801
|
*
|
|
802
802
|
* Extensions are registered with the store's schema service
|
|
803
|
-
* via {@link SchemaService.
|
|
803
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
804
804
|
*
|
|
805
805
|
* Extensions should only be used for temporary enhancements
|
|
806
806
|
* to objects to support migrating away from deprecated patterns
|
|
@@ -2061,7 +2061,7 @@ export interface LegacyResourceSchema {
|
|
|
2061
2061
|
* Configures which extensions this resource should use.
|
|
2062
2062
|
*
|
|
2063
2063
|
* Extensions are registered with the store's schema service
|
|
2064
|
-
* via {@link SchemaService.
|
|
2064
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
2065
2065
|
*
|
|
2066
2066
|
* Extensions should only be used for temporary enhancements
|
|
2067
2067
|
* to objects to support migrating away from deprecated patterns
|
|
@@ -2129,7 +2129,7 @@ export interface ObjectSchema {
|
|
|
2129
2129
|
* Configures which extensions this object should use.
|
|
2130
2130
|
*
|
|
2131
2131
|
* Extensions are registered with the store's schema service
|
|
2132
|
-
* via {@link SchemaService.
|
|
2132
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
2133
2133
|
*
|
|
2134
2134
|
* Extensions should only be used for temporary enhancements
|
|
2135
2135
|
* to objects to support migrating away from deprecated patterns
|