@warp-drive/core 5.8.0-alpha.16 → 5.8.0-alpha.17

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.
@@ -1,5 +1,5 @@
1
1
  import type { ObjectContext, ResourceContext } from "./default-mode.js";
2
- import { Checkout } from "./symbols.js";
2
+ import { Checkout, Context } from "./symbols.js";
3
3
  export interface ReactiveResource {
4
4
  /**
5
5
  * Create an editable copy of the record
@@ -21,6 +21,15 @@ export interface ReactiveResource {
21
21
  [Checkout]<T>(): Promise<T>;
22
22
  }
23
23
  /**
24
+ * @private
25
+ */
26
+ export interface PrivateReactiveResource extends ReactiveResource {
27
+ /**
28
+ * @private
29
+ */
30
+ [Context]: ObjectContext | ResourceContext;
31
+ }
32
+ /**
24
33
  * A class that uses a the ResourceSchema for a ResourceType
25
34
  * and a ResourceKey to transform data from the cache into a rich, reactive
26
35
  * object.
@@ -1 +1,2 @@
1
1
  export { Context } from "./-private/symbols.js";
2
+ export type { PrivateReactiveResource } from "./-private/record.js";
@@ -9717,6 +9717,11 @@ function isNonEnumerableProp(prop) {
9717
9717
  return prop === 'constructor' || prop === 'prototype' || prop === '__proto__' || prop === 'toString' || prop === 'toJSON' || prop === 'toHTML' || typeof prop === 'symbol';
9718
9718
  }
9719
9719
  const Editables = new Map();
9720
+
9721
+ /**
9722
+ * @private
9723
+ */
9724
+
9720
9725
  /**
9721
9726
  * A class that uses a the ResourceSchema for a ResourceType
9722
9727
  * and a ResourceKey to transform data from the cache into a rich, reactive
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { C as CacheHandler, V as Fetch, W as RequestManager, S as Store, r as recordIdentifierFor, $ as setIdentifierForgetMethod, Y as setIdentifierGenerationMethod, a0 as setIdentifierResetMethod, Z as setIdentifierUpdateMethod, a1 as setKeyInfoForResource, s as storeFor, X as useRecommendedStore } from "./index-D-cCuZLH.js";
1
+ export { C as CacheHandler, V as Fetch, W as RequestManager, S as Store, r as recordIdentifierFor, $ as setIdentifierForgetMethod, Y as setIdentifierGenerationMethod, a0 as setIdentifierResetMethod, Z as setIdentifierUpdateMethod, a1 as setKeyInfoForResource, s as storeFor, X as useRecommendedStore } from "./index-5DOGbDJz.js";
2
2
  import "./symbols-sql1_mdx.js";
3
3
  import '@ember/debug';
4
4
  import '@embroider/macros';
package/dist/reactive.js CHANGED
@@ -1,4 +1,4 @@
1
- export { N as SchemaService, K as checkout, T as commit, p as createRequestSubscription, P as fromIdentity, U as getPromiseState, q as getRequestState, L as instantiateRecord, Q as registerDerivations, M as teardownRecord, O as withDefaults } from "./index-D-cCuZLH.js";
1
+ export { N as SchemaService, K as checkout, T as commit, p as createRequestSubscription, P as fromIdentity, U as getPromiseState, q as getRequestState, L as instantiateRecord, Q as registerDerivations, M as teardownRecord, O as withDefaults } from "./index-5DOGbDJz.js";
2
2
  export { a as Checkout } from "./symbols-sql1_mdx.js";
3
3
  import './types/request.js';
4
4
  import '@embroider/macros';
@@ -1,2 +1,2 @@
1
- export { C as CacheHandler, D as DISPOSE, R as RecordArrayManager, B as Signals, S as Store, k as StoreMap, _ as _clearCaches, n as _deprecatingNormalize, h as assertPrivateCapabilities, d as assertPrivateStore, b as coerceId, c as constructResource, I as consumeInternalSignal, F as createInternalMemo, l as createLegacyManyArray, p as createRequestSubscription, z as defineGate, A as defineNonEnumerableSignal, y as defineSignal, e as ensureStringId, x as entangleInitiallyStaleSignal, w as entangleSignal, f as fastPush, v as gate, J as getOrCreateInternalSignal, q as getRequestState, g as isPrivateStore, a as isRequestKey, i as isResourceKey, m as log, o as logGroup, u as memoized, H as notifyInternalSignal, E as peekInternalSignal, r as recordIdentifierFor, j as setRecordIdentifier, t as signal, s as storeFor, G as withSignalStore } from "../index-D-cCuZLH.js";
1
+ export { C as CacheHandler, D as DISPOSE, R as RecordArrayManager, B as Signals, S as Store, k as StoreMap, _ as _clearCaches, n as _deprecatingNormalize, h as assertPrivateCapabilities, d as assertPrivateStore, b as coerceId, c as constructResource, I as consumeInternalSignal, F as createInternalMemo, l as createLegacyManyArray, p as createRequestSubscription, z as defineGate, A as defineNonEnumerableSignal, y as defineSignal, e as ensureStringId, x as entangleInitiallyStaleSignal, w as entangleSignal, f as fastPush, v as gate, J as getOrCreateInternalSignal, q as getRequestState, g as isPrivateStore, a as isRequestKey, i as isResourceKey, m as log, o as logGroup, u as memoized, H as notifyInternalSignal, E as peekInternalSignal, r as recordIdentifierFor, j as setRecordIdentifier, t as signal, s as storeFor, G as withSignalStore } from "../index-5DOGbDJz.js";
2
2
  export { A as ARRAY_SIGNAL, O as OBJECT_SIGNAL, w as waitFor } from "../configure-C3x8YXzL.js";
@@ -1,6 +1,6 @@
1
1
  import { macroCondition, getGlobalConfig } from '@embroider/macros';
2
2
  const name = "@warp-drive/core";
3
- const version = "5.8.0-alpha.16";
3
+ const version = "5.8.0-alpha.17";
4
4
 
5
5
  // in testing mode, we utilize globals to ensure only one copy exists of
6
6
  // these maps, due to bugs in ember-auto-import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warp-drive/core",
3
- "version": "5.8.0-alpha.16",
3
+ "version": "5.8.0-alpha.17",
4
4
  "description": "Core package for WarpDrive | All the Universal Basics",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -37,13 +37,13 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@embroider/macros": "^1.18.1",
40
- "@warp-drive/build-config": "5.8.0-alpha.16"
40
+ "@warp-drive/build-config": "5.8.0-alpha.17"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/core": "^7.28.3",
44
44
  "@babel/plugin-transform-typescript": "^7.28.0",
45
45
  "@babel/preset-typescript": "^7.27.1",
46
- "@warp-drive/internal-config": "5.8.0-alpha.16",
46
+ "@warp-drive/internal-config": "5.8.0-alpha.17",
47
47
  "decorator-transforms": "^2.3.0",
48
48
  "ember-source": "~6.6.0",
49
49
  "expect-type": "^1.2.2",