@warp-drive-mirror/core 5.10.0-alpha.16 → 5.10.0-alpha.18
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/-private-Y-13dsHO.js.map +1 -1
- package/dist/build-config/babel-macros.d.ts +0 -5
- package/dist/build-config/canary-features.d.ts +0 -5
- package/dist/build-config/debugging.d.ts +0 -59
- package/dist/build-config/deprecations.d.ts +0 -5
- package/dist/build-config.d.ts +0 -17
- package/dist/configure.d.ts +0 -8
- package/dist/graph/-private.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-BOC6nyCi.d.ts → internal-DTPBJZLO.d.ts} +2 -1
- package/dist/{internal-BOC6nyCi.d.ts.map → internal-DTPBJZLO.d.ts.map} +1 -1
- package/dist/reactive/-private.d.ts +1 -1
- package/dist/reactive.d.ts +1 -276
- package/dist/reactive.js +1 -1
- package/dist/request.d.ts +1 -9
- package/dist/signals/-leaked.d.ts +1 -15
- package/dist/signals/-leaked.d.ts.map +1 -1
- package/dist/{src-DDLNZD8D.js → src-PuYJ-RSZ.js} +1 -279
- package/dist/src-PuYJ-RSZ.js.map +1 -0
- package/dist/store/-private.d.ts +1 -1
- package/dist/store/-private.js +1 -1
- package/dist/store.d.ts +1 -6
- package/dist/types/-private.js +1 -1
- package/dist/types/cache/relationship.d.ts +0 -5
- package/dist/types/cache.d.ts +1 -6
- package/dist/types/graph.d.ts +0 -5
- package/dist/types/record.d.ts +0 -5
- package/dist/types/request.d.ts +1 -1
- package/dist/types/schema/concepts.d.ts +0 -5
- package/dist/types/schema/schema-service.d.ts +1 -6
- package/dist/types/spec/error.d.ts +0 -4
- package/dist/types/spec/json-api-raw.d.ts +0 -5
- package/dist/types.d.ts +1 -9
- package/dist/unpkg/dev/-private-BoKjsWc1.js.map +1 -1
- package/dist/unpkg/dev/index.js +1 -1
- package/dist/unpkg/dev/reactive.js +1 -1
- package/dist/unpkg/dev/runtime-DhiRXM4s.js.map +1 -1
- package/dist/unpkg/dev/{src-DKHeerUf.js → src-Dy9m6GTv.js} +1 -279
- package/dist/unpkg/dev/src-Dy9m6GTv.js.map +1 -0
- package/dist/unpkg/dev/store/-private.js +1 -1
- package/dist/unpkg/dev/types/-private.js +1 -1
- package/dist/unpkg/dev-deprecated/-private-BoKjsWc1.js.map +1 -1
- package/dist/unpkg/dev-deprecated/index.js +1 -1
- package/dist/unpkg/dev-deprecated/reactive.js +1 -1
- package/dist/unpkg/dev-deprecated/runtime-DtHRI2Rj.js.map +1 -1
- package/dist/unpkg/dev-deprecated/{src-lyEz1lmd.js → src-ByOiBTF3.js} +1 -279
- package/dist/unpkg/dev-deprecated/src-ByOiBTF3.js.map +1 -0
- package/dist/unpkg/dev-deprecated/store/-private.js +1 -1
- package/dist/unpkg/dev-deprecated/types/-private.js +1 -1
- package/dist/unpkg/prod/-private-CRDwlN1v.js.map +1 -1
- package/dist/unpkg/prod/index.js +1 -1
- package/dist/unpkg/prod/reactive.js +1 -1
- package/dist/unpkg/prod/{src-Dagh1FmP.js → src-NuWjjfax.js} +1 -279
- package/dist/unpkg/prod/src-NuWjjfax.js.map +1 -0
- package/dist/unpkg/prod/store/-private.js +1 -1
- package/dist/unpkg/prod/types/-private.js +1 -1
- package/dist/unpkg/prod-deprecated/-private-CRDwlN1v.js.map +1 -1
- package/dist/unpkg/prod-deprecated/index.js +1 -1
- package/dist/unpkg/prod-deprecated/reactive.js +1 -1
- package/dist/unpkg/prod-deprecated/{src-3nV2sDcO.js → src-Bt7BkX1Y.js} +1 -279
- package/dist/unpkg/prod-deprecated/src-Bt7BkX1Y.js.map +1 -0
- package/dist/unpkg/prod-deprecated/store/-private.js +1 -1
- package/dist/unpkg/prod-deprecated/types/-private.js +1 -1
- package/package.json +6 -6
- package/dist/src-DDLNZD8D.js.map +0 -1
- package/dist/unpkg/dev/src-DKHeerUf.js.map +0 -1
- package/dist/unpkg/dev-deprecated/src-lyEz1lmd.js.map +0 -1
- package/dist/unpkg/prod/src-Dagh1FmP.js.map +0 -1
- package/dist/unpkg/prod-deprecated/src-3nV2sDcO.js.map +0 -1
package/dist/store/-private.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PrivateStore, At as CachePolicy, Ct as setRecordIdentifier, Et as assertPrivateCapabilities, G as logGroup, J as normalizeModelName, K as LegacyManyArray, Mt as StoreRequestContext, Nt as StoreRequestInput, Q as CreateRecordProperties, St as recordIdentifierFor, Tt as PrivateCacheCapabilitiesManager, W as log, X as ensureStringId, Y as coerceId, Z as constructResource, at as Request, bt as StoreMap, cn as isRequestKey, ct as SaveRecordMutation, dt as LegacyQueryArray, et as Store, ft as LegacyLiveArray, it as PrivateRequestStateService, jt as CacheHandler, ln as isResourceKey, lt as RecordArrayManager, mt as ReactiveResourceArray, nt as isPrivateStore, on as FieldValueIdentity, ot as RequestCacheRequestState, pt as PrivateReactiveResourceArray, q as createLegacyManyArray, rt as FindRecordQuery, sn as fieldValueIdentity, st as RequestStateService, tt as assertPrivateStore, ut as fastPush, vt as NativeProxy, wt as storeFor, xt as _clearCaches, yt as InstanceCache } from "../internal-
|
|
1
|
+
import { $ as PrivateStore, At as CachePolicy, Ct as setRecordIdentifier, Et as assertPrivateCapabilities, G as logGroup, J as normalizeModelName, K as LegacyManyArray, Mt as StoreRequestContext, Nt as StoreRequestInput, Q as CreateRecordProperties, St as recordIdentifierFor, Tt as PrivateCacheCapabilitiesManager, W as log, X as ensureStringId, Y as coerceId, Z as constructResource, at as Request, bt as StoreMap, cn as isRequestKey, ct as SaveRecordMutation, dt as LegacyQueryArray, et as Store, ft as LegacyLiveArray, it as PrivateRequestStateService, jt as CacheHandler, ln as isResourceKey, lt as RecordArrayManager, mt as ReactiveResourceArray, nt as isPrivateStore, on as FieldValueIdentity, ot as RequestCacheRequestState, pt as PrivateReactiveResourceArray, q as createLegacyManyArray, rt as FindRecordQuery, sn as fieldValueIdentity, st as RequestStateService, tt as assertPrivateStore, ut as fastPush, vt as NativeProxy, wt as storeFor, xt as _clearCaches, yt as InstanceCache } from "../internal-DTPBJZLO.js";
|
|
2
2
|
export { CacheHandler, type CachePolicy, type LegacyQueryArray as CollectionRecordArray, type LegacyQueryArray, type CreateRecordProperties, type FieldValueIdentity, type FindRecordQuery, type InstanceCache, type LegacyLiveArray, type LegacyLiveArray as LiveArray, type LegacyManyArray, type LegacyManyArray as RelatedCollection, type NativeProxy, type PrivateCacheCapabilitiesManager, type PrivateReactiveResourceArray, type PrivateRequestStateService, type PrivateStore, type ReactiveResourceArray, RecordArrayManager, type Request, type RequestCacheRequestState, type RequestStateService, type SaveRecordMutation, Store, StoreMap, type StoreRequestContext, type StoreRequestInput, _clearCaches, normalizeModelName as _deprecatingNormalize, assertPrivateCapabilities, assertPrivateStore, coerceId, constructResource, createLegacyManyArray, ensureStringId, fastPush, fieldValueIdentity, isPrivateStore, isRequestKey, isResourceKey, log, logGroup, recordIdentifierFor, setRecordIdentifier, storeFor };
|
package/dist/store/-private.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as setRecordIdentifier, D as isRequestKey, E as fieldValueIdentity, F as coerceId, I as ensureStringId, L as log, O as isResourceKey, P as normalizeModelName, R as logGroup, S as recordIdentifierFor, T as assertPrivateCapabilities, _ as isPrivateStore, b as StoreMap, f as createLegacyManyArray, g as assertPrivateStore, h as Store, m as CacheHandler, p as constructResource, v as RecordArrayManager, w as storeFor, x as _clearCaches, y as fastPush } from "../src-
|
|
1
|
+
import { C as setRecordIdentifier, D as isRequestKey, E as fieldValueIdentity, F as coerceId, I as ensureStringId, L as log, O as isResourceKey, P as normalizeModelName, R as logGroup, S as recordIdentifierFor, T as assertPrivateCapabilities, _ as isPrivateStore, b as StoreMap, f as createLegacyManyArray, g as assertPrivateStore, h as Store, m as CacheHandler, p as constructResource, v as RecordArrayManager, w as storeFor, x as _clearCaches, y as fastPush } from "../src-PuYJ-RSZ.js";
|
|
2
2
|
|
|
3
3
|
export { CacheHandler, RecordArrayManager, Store, StoreMap, _clearCaches, normalizeModelName as _deprecatingNormalize, assertPrivateCapabilities, assertPrivateStore, coerceId, constructResource, createLegacyManyArray, ensureStringId, fastPush, fieldValueIdentity, isPrivateStore, isRequestKey, isResourceKey, log, logGroup, recordIdentifierFor, setRecordIdentifier, storeFor };
|
package/dist/store.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @module
|
|
3
|
-
* @summary The `DefaultCachePolicy` and `parseCacheControl` for expiring cached requests, plus the
|
|
4
|
-
* `NotificationManager` type for subscribing to cache change notifications.
|
|
5
|
-
*/
|
|
6
|
-
import { F as PolicyConfig, I as parseCacheControl, N as CacheControlValue, P as DefaultCachePolicy, rn as NotificationManager } from "./internal-BOC6nyCi.js";
|
|
1
|
+
import { F as PolicyConfig, I as parseCacheControl, N as CacheControlValue, P as DefaultCachePolicy, rn as NotificationManager } from "./internal-DTPBJZLO.js";
|
|
7
2
|
export { type CacheControlValue, DefaultCachePolicy, type NotificationManager, type PolicyConfig, parseCacheControl };
|
package/dist/types/-private.js
CHANGED
|
@@ -2,7 +2,7 @@ import { getGlobalConfig, macroCondition } from "@embroider/macros";
|
|
|
2
2
|
|
|
3
3
|
//#region src/types/-private.ts
|
|
4
4
|
const name = "@warp-drive-mirror/core";
|
|
5
|
-
const version = "5.10.0-alpha.
|
|
5
|
+
const version = "5.10.0-alpha.18";
|
|
6
6
|
const GlobalRef = globalThis;
|
|
7
7
|
const UniversalCache = GlobalRef.__warpDrive_universalCache = GlobalRef.__warpDrive_universalCache ?? {};
|
|
8
8
|
GlobalRef[name] = GlobalRef[name] ?? { __version: version };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @summary Types for the cache-side state of to-one and to-many relationships, with related resources referenced by
|
|
4
|
-
* `ResourceKey`.
|
|
5
|
-
*/
|
|
6
1
|
import { n as Relationship, r as ResourceRelationship, t as CollectionRelationship } from "../../relationship-BlGIXgj4.js";
|
|
7
2
|
export { CollectionRelationship, Relationship, ResourceRelationship };
|
package/dist/types/cache.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @module
|
|
3
|
-
* @summary The `Cache` interface a cache implementation fulfills to store, patch, mutate and read documents and
|
|
4
|
-
* resources, plus the `ChangedAttributesHash` and `RelationshipDiff` types.
|
|
5
|
-
*/
|
|
6
|
-
import { Qt as RelationshipDiff, Xt as Cache, Zt as ChangedAttributesHash } from "../internal-BOC6nyCi.js";
|
|
1
|
+
import { Qt as RelationshipDiff, Xt as Cache, Zt as ChangedAttributesHash } from "../internal-DTPBJZLO.js";
|
|
7
2
|
export { Cache, ChangedAttributesHash, RelationshipDiff };
|
package/dist/types/graph.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @summary Types for the operations that update a relationship's remote (persisted) or local (uncommitted) state in the
|
|
4
|
-
* relationship Graph.
|
|
5
|
-
*/
|
|
6
1
|
import { a as ReplaceRelatedRecordOperation, c as UnknownOperation, i as RemoteRelationshipOperation, l as UpdateRelationshipOperation, n as LocalRelationshipOperation, o as ReplaceRelatedRecordsOperation, r as Operation, s as SortRelatedRecords, t as DeleteRecordOperation } from "../graph-rjTyJ-gd.js";
|
|
7
2
|
export { DeleteRecordOperation, LocalRelationshipOperation, Operation, RemoteRelationshipOperation, ReplaceRelatedRecordOperation, ReplaceRelatedRecordsOperation, SortRelatedRecords, UnknownOperation, UpdateRelationshipOperation };
|
package/dist/types/record.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @summary Types for records that declare their resource type via the `[Type]` symbol, including `TypedRecordInstance`,
|
|
4
|
-
* `Includes`, `Mask` and the `createIncludeValidator` helper.
|
|
5
|
-
*/
|
|
6
1
|
import { a as StringSatisfiesIncludes, c as TypedRecordInstance, i as OpaqueRecordInstance, l as Validate, n as Includes, o as TypeFromInstance, r as Mask, s as TypeFromInstanceOrString, t as ExtractSuggestedCacheTypes, u as createIncludeValidator } from "../record-DDxPtzcY.js";
|
|
7
2
|
export { ExtractSuggestedCacheTypes, Includes, Mask, OpaqueRecordInstance, StringSatisfiesIncludes, TypeFromInstance, TypeFromInstanceOrString, TypedRecordInstance, Validate, createIncludeValidator };
|
package/dist/types/request.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as STRUCTURED, Bn as HTTPMethod, Fn as CreateRequestOptions, Gn as ImmutableRequestInfo, Hn as ImmutableCreateRequestOptions, In as DeleteRequestOptions, Jn as QueryRequestOptions, Kn as ImmutableUpdateRequestOptions, Ln as EnableHydration, Nn as CacheOptions, Pn as ConstrainedRequestOptions, Qn as ResponseInfo, Rn as FindRecordOptions, Un as ImmutableDeleteRequestOptions, Vn as IS_FUTURE, Wn as ImmutableHeaders, Xn as RequestContext, Yn as RemotelyAccessibleIdentifier, Zn as RequestInfo, ar as FetchError, er as SkipCache, ir as UpdateRequestOptions, nr as StructuredDocument, qn as PostQueryRequestOptions, rr as StructuredErrorDocument, tr as StructuredDataDocument, zn as FindRecordRequestOptions } from "../internal-
|
|
1
|
+
import { $n as STRUCTURED, Bn as HTTPMethod, Fn as CreateRequestOptions, Gn as ImmutableRequestInfo, Hn as ImmutableCreateRequestOptions, In as DeleteRequestOptions, Jn as QueryRequestOptions, Kn as ImmutableUpdateRequestOptions, Ln as EnableHydration, Nn as CacheOptions, Pn as ConstrainedRequestOptions, Qn as ResponseInfo, Rn as FindRecordOptions, Un as ImmutableDeleteRequestOptions, Vn as IS_FUTURE, Wn as ImmutableHeaders, Xn as RequestContext, Yn as RemotelyAccessibleIdentifier, Zn as RequestInfo, ar as FetchError, er as SkipCache, ir as UpdateRequestOptions, nr as StructuredDocument, qn as PostQueryRequestOptions, rr as StructuredErrorDocument, tr as StructuredDataDocument, zn as FindRecordRequestOptions } from "../internal-DTPBJZLO.js";
|
|
2
2
|
export { CacheOptions, ConstrainedRequestOptions, CreateRequestOptions, DeleteRequestOptions, EnableHydration, type FetchError, FindRecordOptions, FindRecordRequestOptions, HTTPMethod, IS_FUTURE, ImmutableCreateRequestOptions, ImmutableDeleteRequestOptions, ImmutableHeaders, ImmutableRequestInfo, ImmutableUpdateRequestOptions, PostQueryRequestOptions, QueryRequestOptions, RemotelyAccessibleIdentifier, RequestContext, RequestInfo, ResponseInfo, STRUCTURED, SkipCache, StructuredDataDocument, StructuredDocument, StructuredErrorDocument, UpdateRequestOptions };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @summary Types for the functions schemas reference by name: `Transformation` to convert field values, `Derivation`
|
|
4
|
-
* for computed fields and `HashFn` for object identity.
|
|
5
|
-
*/
|
|
6
1
|
import { n as HashFn, r as Transformation, t as Derivation } from "../../concepts-DzuY5M1K.js";
|
|
7
2
|
export { Derivation, HashFn, Transformation };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @module
|
|
3
|
-
* @summary The `SchemaService` interface a store's schema service implements to describe resource types, traits, fields
|
|
4
|
-
* and derivations, plus the legacy `AttributesSchema` and `RelationshipsSchema` types.
|
|
5
|
-
*/
|
|
6
|
-
import { _n as SchemaService, gn as RelationshipsSchema, hn as AttributesSchema } from "../../internal-BOC6nyCi.js";
|
|
1
|
+
import { _n as SchemaService, gn as RelationshipsSchema, hn as AttributesSchema } from "../../internal-DTPBJZLO.js";
|
|
7
2
|
export { AttributesSchema, RelationshipsSchema, SchemaService };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module
|
|
3
|
-
* @summary Types for raw {json:api} structures: resource objects, relationship objects, resource identifiers, links,
|
|
4
|
-
* meta and single, collection and empty documents.
|
|
5
|
-
*/
|
|
6
1
|
import { _ as ResourceObject, a as ExistingResourceObject, b as SingleResourceRelationship, c as Link, d as Meta, f as NewResourceIdentifierObject, g as ResourceIdentifierObject, h as ResourceIdentifier, i as ExistingResourceIdentifierObject, l as LinkObject, m as PaginationLinks, n as CollectionResourceRelationship, o as InnerRelationshipDocument, p as NewResourceObject, r as EmptyResourceDocument, s as JsonApiDocument, t as CollectionResourceDocument, u as Links, v as ResourceRelationshipsObject, y as SingleResourceDocument } from "../../json-api-raw-BxzNsCg0.js";
|
|
7
2
|
export { CollectionResourceDocument, CollectionResourceRelationship, EmptyResourceDocument, ExistingResourceIdentifierObject, ExistingResourceObject, InnerRelationshipDocument, JsonApiDocument, Link, LinkObject, Links, Meta, NewResourceIdentifierObject, NewResourceObject, PaginationLinks, ResourceIdentifier, ResourceIdentifierObject, ResourceObject, ResourceRelationshipsObject, SingleResourceDocument, SingleResourceRelationship };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This package provides core types, type-utilities, symbols
|
|
3
|
-
* and constants used across the WarpDrive ecosystem.
|
|
4
|
-
*
|
|
5
|
-
* @summary Shared WarpDrive types such as `ResourceKey`, `SchemaService`, `CacheCapabilitiesManager`, and the
|
|
6
|
-
* legacy finder option types.
|
|
7
|
-
* @module
|
|
8
|
-
*/
|
|
9
1
|
import { f as StableRecordIdentifier, l as ResourceKey } from "./identifier-B_tK3FUw.js";
|
|
10
|
-
import { $t as CacheCapabilitiesManager, An as LegacyResourceQuery, Dn as BaseFinderOptions, Mn as ModelSchema, On as FindAllOptions, _n as SchemaService, jn as QueryOptions, kn as FindRecordOptions } from "./internal-
|
|
2
|
+
import { $t as CacheCapabilitiesManager, An as LegacyResourceQuery, Dn as BaseFinderOptions, Mn as ModelSchema, On as FindAllOptions, _n as SchemaService, jn as QueryOptions, kn as FindRecordOptions } from "./internal-DTPBJZLO.js";
|
|
11
3
|
export type { BaseFinderOptions, CacheCapabilitiesManager, FindAllOptions, FindRecordOptions, LegacyResourceQuery, ModelSchema, QueryOptions, ResourceKey, SchemaService, StableRecordIdentifier };
|