@ember-data/store 5.4.0-alpha.33 → 5.4.0-alpha.35

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.
Files changed (45) hide show
  1. package/addon/-private.js +1 -1
  2. package/addon/{cache-handler-oB00-31L.js → cache-handler-k7I5KvcC.js} +11 -1
  3. package/addon/cache-handler-k7I5KvcC.js.map +1 -0
  4. package/addon/index.js +1 -1
  5. package/package.json +9 -9
  6. package/unstable-preview-types/-private/cache-handler.d.ts +3 -3
  7. package/unstable-preview-types/-private/caches/cache-utils.d.ts +5 -5
  8. package/unstable-preview-types/-private/caches/identifier-cache.d.ts +10 -10
  9. package/unstable-preview-types/-private/caches/instance-cache.d.ts +12 -12
  10. package/unstable-preview-types/-private/caches/resource-utils.d.ts +5 -5
  11. package/unstable-preview-types/-private/document.d.ts +3 -3
  12. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +2 -2
  13. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts +3 -3
  14. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +3 -3
  15. package/unstable-preview-types/-private/managers/cache-manager.d.ts +3 -3
  16. package/unstable-preview-types/-private/managers/notification-manager.d.ts +2 -2
  17. package/unstable-preview-types/-private/managers/record-array-manager.d.ts +5 -5
  18. package/unstable-preview-types/-private/network/request-cache.d.ts +4 -4
  19. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +12 -16
  20. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +1 -1
  21. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts +118 -0
  22. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts.map +1 -0
  23. package/unstable-preview-types/-private/store-service.d.ts +3 -3
  24. package/unstable-preview-types/-private/utils/coerce-id.d.ts +4 -4
  25. package/unstable-preview-types/-private/utils/construct-resource.d.ts +7 -7
  26. package/unstable-preview-types/-private/utils/identifier-debug-consts.d.ts +6 -6
  27. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts +2 -2
  28. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts +2 -2
  29. package/unstable-preview-types/-private/utils/uuid-polyfill.d.ts +2 -2
  30. package/unstable-preview-types/-private.d.ts +18 -3
  31. package/unstable-preview-types/-private.d.ts.map +1 -1
  32. package/unstable-preview-types/-types/overview.d.ts +2 -2
  33. package/unstable-preview-types/-types/q/cache-store-wrapper.d.ts +2 -2
  34. package/unstable-preview-types/-types/q/cache.d.ts +2 -2
  35. package/unstable-preview-types/-types/q/ds-model.d.ts +2 -2
  36. package/unstable-preview-types/-types/q/identifier.d.ts +2 -2
  37. package/unstable-preview-types/-types/q/promise-proxies.d.ts +2 -2
  38. package/unstable-preview-types/-types/q/record-data-json-api.d.ts +2 -2
  39. package/unstable-preview-types/-types/q/record-instance.d.ts +2 -2
  40. package/unstable-preview-types/-types/q/schema-service.d.ts +2 -2
  41. package/unstable-preview-types/-types/q/store.d.ts +2 -2
  42. package/unstable-preview-types/index.d.ts +3 -3
  43. package/addon/cache-handler-oB00-31L.js.map +0 -1
  44. package/unstable-preview-types/-private/index.d.ts +0 -18
  45. package/unstable-preview-types/-private/index.d.ts.map +0 -1
package/addon/index.js CHANGED
@@ -1 +1 @@
1
- export { C as CacheHandler, S as default, r as recordIdentifierFor, c as setIdentifierForgetMethod, a as setIdentifierGenerationMethod, d as setIdentifierResetMethod, b as setIdentifierUpdateMethod, s as storeFor } from "./cache-handler-oB00-31L";
1
+ export { C as CacheHandler, S as default, r as recordIdentifierFor, c as setIdentifierForgetMethod, a as setIdentifierGenerationMethod, d as setIdentifierResetMethod, b as setIdentifierUpdateMethod, s as storeFor } from "./cache-handler-k7I5KvcC";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-data/store",
3
- "version": "5.4.0-alpha.33",
3
+ "version": "5.4.0-alpha.35",
4
4
  "description": "The core of EmberData. Provides the Store service which coordinates the cache with the network and presentation layers.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -22,7 +22,7 @@
22
22
  "ember-data-logo-light.svg"
23
23
  ],
24
24
  "dependencies": {
25
- "@ember-data/private-build-infra": "5.4.0-alpha.33",
25
+ "@ember-data/private-build-infra": "5.4.0-alpha.35",
26
26
  "@embroider/macros": "^1.13.5",
27
27
  "ember-cli-babel": "^8.2.0",
28
28
  "pnpm-sync-dependencies-meta-injected": "0.0.10"
@@ -45,10 +45,10 @@
45
45
  }
46
46
  },
47
47
  "peerDependencies": {
48
- "@ember-data/request": "5.4.0-alpha.33",
49
- "@ember-data/tracking": "5.4.0-alpha.33",
48
+ "@ember-data/request": "5.4.0-alpha.35",
49
+ "@ember-data/tracking": "5.4.0-alpha.35",
50
50
  "@ember/string": "^3.1.1",
51
- "@warp-drive/core-types": "0.0.0-alpha.19"
51
+ "@warp-drive/core-types": "0.0.0-alpha.21"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@babel/cli": "^7.23.9",
@@ -61,15 +61,15 @@
61
61
  "@babel/preset-env": "^7.23.9",
62
62
  "@babel/preset-typescript": "^7.23.3",
63
63
  "@babel/runtime": "^7.23.9",
64
- "@ember-data/request": "5.4.0-alpha.33",
65
- "@ember-data/tracking": "5.4.0-alpha.33",
64
+ "@ember-data/request": "5.4.0-alpha.35",
65
+ "@ember-data/tracking": "5.4.0-alpha.35",
66
66
  "@ember/string": "^3.1.1",
67
67
  "@embroider/addon-dev": "^4.1.2",
68
68
  "@glimmer/component": "^1.1.2",
69
69
  "@rollup/plugin-babel": "^6.0.4",
70
70
  "@rollup/plugin-node-resolve": "^15.2.3",
71
- "@warp-drive/core-types": "0.0.0-alpha.19",
72
- "@warp-drive/internal-config": "5.4.0-alpha.33",
71
+ "@warp-drive/core-types": "0.0.0-alpha.21",
72
+ "@warp-drive/internal-config": "5.4.0-alpha.35",
73
73
  "ember-source": "~5.6.0",
74
74
  "rollup": "^4.9.6",
75
75
  "typescript": "^5.3.3",
@@ -96,6 +96,6 @@ declare module '@ember-data/store/-private/cache-handler' {
96
96
  [EnableHydration]?: boolean;
97
97
  };
98
98
  }
99
- export declare const CacheHandler: Handler;
100
- //# sourceMappingURL=cache-handler.d.ts.map
101
- }
99
+ export const CacheHandler: Handler;
100
+ }
101
+ //# sourceMappingURL=cache-handler.d.ts.map
@@ -2,10 +2,10 @@ declare module '@ember-data/store/-private/caches/cache-utils' {
2
2
  import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
3
3
  import type { Cache } from '@ember-data/store/-types/q/cache';
4
4
  import type { OpaqueRecordInstance } from '@ember-data/store/-types/q/record-instance';
5
- export declare const CacheForIdentifierCache: Map<unknown, Cache>;
6
- export declare function setCacheFor(identifier: StableRecordIdentifier | OpaqueRecordInstance, cache: Cache): void;
7
- export declare function removeRecordDataFor(identifier: StableRecordIdentifier | OpaqueRecordInstance): void;
5
+ export const CacheForIdentifierCache: Map<unknown, Cache>;
6
+ export function setCacheFor(identifier: StableRecordIdentifier | OpaqueRecordInstance, cache: Cache): void;
7
+ export function removeRecordDataFor(identifier: StableRecordIdentifier | OpaqueRecordInstance): void;
8
8
  export default function peekCache(instance: StableRecordIdentifier): Cache | null;
9
9
  export default function peekCache(instance: OpaqueRecordInstance): Cache;
10
- //# sourceMappingURL=cache-utils.d.ts.map
11
- }
10
+ }
11
+ //# sourceMappingURL=cache-utils.d.ts.map
@@ -3,8 +3,8 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
3
3
  import type { ImmutableRequestInfo } from '@warp-drive/core-types/request';
4
4
  import type { ResourceIdentifierObject } from '@warp-drive/core-types/spec/raw';
5
5
  import type { ForgetMethod, GenerationMethod, ResetMethod, UpdateMethod } from '@ember-data/store/-types/q/identifier';
6
- export declare function isStableIdentifier(identifier: unknown): identifier is StableRecordIdentifier;
7
- export declare function isDocumentIdentifier(identifier: unknown): identifier is StableDocumentIdentifier;
6
+ export function isStableIdentifier(identifier: unknown): identifier is StableRecordIdentifier;
7
+ export function isDocumentIdentifier(identifier: unknown): identifier is StableDocumentIdentifier;
8
8
  interface KeyOptions {
9
9
  lid: IdentifierMap;
10
10
  id: IdentifierMap;
@@ -25,11 +25,11 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
25
25
  };
26
26
  export type KeyInfoMethod = (resource: unknown, known: StableRecordIdentifier | null) => KeyInfo;
27
27
  export type MergeMethod = (targetIdentifier: StableRecordIdentifier, matchedIdentifier: StableRecordIdentifier, resourceData: unknown) => StableRecordIdentifier;
28
- export declare function setIdentifierGenerationMethod(method: GenerationMethod | null): void;
29
- export declare function setIdentifierUpdateMethod(method: UpdateMethod | null): void;
30
- export declare function setIdentifierForgetMethod(method: ForgetMethod | null): void;
31
- export declare function setIdentifierResetMethod(method: ResetMethod | null): void;
32
- export declare function setKeyInfoForResource(method: KeyInfoMethod | null): void;
28
+ export function setIdentifierGenerationMethod(method: GenerationMethod | null): void;
29
+ export function setIdentifierUpdateMethod(method: UpdateMethod | null): void;
30
+ export function setIdentifierForgetMethod(method: ForgetMethod | null): void;
31
+ export function setIdentifierResetMethod(method: ResetMethod | null): void;
32
+ export function setKeyInfoForResource(method: KeyInfoMethod | null): void;
33
33
  /**
34
34
  * Each instance of {Store} receives a unique instance of a IdentifierCache.
35
35
  *
@@ -43,7 +43,7 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
43
43
  * @class IdentifierCache
44
44
  @public
45
45
  */
46
- export declare class IdentifierCache {
46
+ export class IdentifierCache {
47
47
  _cache: StableCache;
48
48
  _generate: GenerationMethod;
49
49
  _update: UpdateMethod;
@@ -178,5 +178,5 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
178
178
  destroy(): void;
179
179
  }
180
180
  export {};
181
- //# sourceMappingURL=identifier-cache.d.ts.map
182
- }
181
+ }
182
+ //# sourceMappingURL=identifier-cache.d.ts.map
@@ -9,7 +9,7 @@ declare module '@ember-data/store/-private/caches/instance-cache' {
9
9
  import type { CacheManager } from '@ember-data/store/-private/managers/cache-manager';
10
10
  import type { CreateRecordProperties } from '@ember-data/store/-private/store-service';
11
11
  import type Store from '@ember-data/store/-private/store-service';
12
- export declare function peekRecordIdentifier(record: OpaqueRecordInstance): StableRecordIdentifier | undefined;
12
+ export function peekRecordIdentifier(record: OpaqueRecordInstance): StableRecordIdentifier | undefined;
13
13
  /**
14
14
  Retrieves the unique referentially-stable [RecordIdentifier](/ember-data/release/classes/StableRecordIdentifier)
15
15
  assigned to the given record instance.
@@ -29,16 +29,16 @@ declare module '@ember-data/store/-private/caches/instance-cache' {
29
29
  @param {Object} record a record instance previously obstained from the store.
30
30
  @return {StableRecordIdentifier}
31
31
  */
32
- export declare function recordIdentifierFor<T extends TypedRecordInstance>(record: T): StableRecordIdentifier<TypeFromInstance<T>>;
33
- export declare function recordIdentifierFor(record: OpaqueRecordInstance): StableRecordIdentifier;
34
- export declare function setRecordIdentifier(record: OpaqueRecordInstance, identifier: StableRecordIdentifier): void;
35
- export declare const StoreMap: Map<unknown, Store>;
36
- export declare function storeFor(record: OpaqueRecordInstance): Store | undefined;
32
+ export function recordIdentifierFor<T extends TypedRecordInstance>(record: T): StableRecordIdentifier<TypeFromInstance<T>>;
33
+ export function recordIdentifierFor(record: OpaqueRecordInstance): StableRecordIdentifier;
34
+ export function setRecordIdentifier(record: OpaqueRecordInstance, identifier: StableRecordIdentifier): void;
35
+ export const StoreMap: Map<unknown, Store>;
36
+ export function storeFor(record: OpaqueRecordInstance): Store | undefined;
37
37
  type Caches = {
38
38
  record: Map<StableRecordIdentifier, OpaqueRecordInstance>;
39
39
  reference: WeakMap<StableRecordIdentifier, RecordReference>;
40
40
  };
41
- export declare class InstanceCache {
41
+ export class InstanceCache {
42
42
  store: Store;
43
43
  cache: Cache;
44
44
  _storeWrapper: CacheCapabilitiesManager;
@@ -55,9 +55,9 @@ declare module '@ember-data/store/-private/caches/instance-cache' {
55
55
  clear(type?: string): void;
56
56
  setRecordId(identifier: StableRecordIdentifier, id: string): void;
57
57
  }
58
- export declare function resourceIsFullyDeleted(instanceCache: InstanceCache, identifier: StableRecordIdentifier): boolean;
59
- export declare function preloadData(store: Store, identifier: StableRecordIdentifier, preload: Record<string, Value>): void;
60
- export declare function _clearCaches(): void;
58
+ export function resourceIsFullyDeleted(instanceCache: InstanceCache, identifier: StableRecordIdentifier): boolean;
59
+ export function preloadData(store: Store, identifier: StableRecordIdentifier, preload: Record<string, Value>): void;
60
+ export function _clearCaches(): void;
61
61
  export {};
62
- //# sourceMappingURL=instance-cache.d.ts.map
63
- }
62
+ }
63
+ //# sourceMappingURL=instance-cache.d.ts.map
@@ -1,12 +1,12 @@
1
1
  declare module '@ember-data/store/-private/caches/resource-utils' {
2
- export declare function hasLid(resource: unknown): resource is {
2
+ export function hasLid(resource: unknown): resource is {
3
3
  lid: string;
4
4
  };
5
- export declare function hasId(resource: unknown): resource is {
5
+ export function hasId(resource: unknown): resource is {
6
6
  id: string;
7
7
  };
8
- export declare function hasType(resource: unknown): resource is {
8
+ export function hasType(resource: unknown): resource is {
9
9
  type: string;
10
10
  };
11
- //# sourceMappingURL=resource-utils.d.ts.map
12
- }
11
+ }
12
+ //# sourceMappingURL=resource-utils.d.ts.map
@@ -15,7 +15,7 @@ declare module '@ember-data/store/-private/document' {
15
15
  * @public
16
16
  * @class Document
17
17
  */
18
- export declare class Document<T> {
18
+ export class Document<T> {
19
19
  #private;
20
20
  /**
21
21
  * The links object for this document, if any
@@ -142,5 +142,5 @@ declare module '@ember-data/store/-private/document' {
142
142
  */
143
143
  toJSON(): object;
144
144
  }
145
- //# sourceMappingURL=document.d.ts.map
146
- }
145
+ }
146
+ //# sourceMappingURL=document.d.ts.map
@@ -175,5 +175,5 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
175
175
  */
176
176
  reload(): Promise<unknown>;
177
177
  }
178
- //# sourceMappingURL=record-reference.d.ts.map
179
- }
178
+ }
179
+ //# sourceMappingURL=record-reference.d.ts.map
@@ -3,7 +3,7 @@ declare module '@ember-data/store/-private/legacy-model-support/shim-model-class
3
3
  import type { AttributeSchema, RelationshipSchema } from '@warp-drive/core-types/schema';
4
4
  import type { KeyOrString, ModelSchema } from '@ember-data/store/-types/q/ds-model';
5
5
  import type Store from '@ember-data/store/-private/store-service';
6
- export declare function getShimClass<T>(store: Store, modelName: T extends TypedRecordInstance ? TypeFromInstance<T> : string): ShimModelClass<T>;
6
+ export function getShimClass<T>(store: Store, modelName: T extends TypedRecordInstance ? TypeFromInstance<T> : string): ShimModelClass<T>;
7
7
  export default class ShimModelClass<T = unknown> implements ModelSchema<T> {
8
8
  __store: Store;
9
9
  modelName: T extends TypedRecordInstance ? TypeFromInstance<T> : string;
@@ -15,5 +15,5 @@ declare module '@ember-data/store/-private/legacy-model-support/shim-model-class
15
15
  eachRelationship<K extends KeyOrString<T>>(callback: (key: K, relationship: RelationshipSchema) => void, binding?: T): void;
16
16
  eachTransformedAttribute<K extends KeyOrString<T>>(callback: (key: K, type: string | null) => void, binding?: T): void;
17
17
  }
18
- //# sourceMappingURL=shim-model-class.d.ts.map
19
- }
18
+ }
19
+ //# sourceMappingURL=shim-model-class.d.ts.map
@@ -8,7 +8,7 @@ declare module '@ember-data/store/-private/managers/cache-capabilities-manager'
8
8
  /**
9
9
  @module @ember-data/store
10
10
  */
11
- export declare class CacheCapabilitiesManager implements StoreWrapper {
11
+ export class CacheCapabilitiesManager implements StoreWrapper {
12
12
  _willNotify: boolean;
13
13
  _pendingNotifies: Map<StableRecordIdentifier, Set<string>>;
14
14
  _store: Store;
@@ -25,5 +25,5 @@ declare module '@ember-data/store/-private/managers/cache-capabilities-manager'
25
25
  hasRecord(identifier: StableRecordIdentifier): boolean;
26
26
  disconnectRecord(identifier: StableRecordIdentifier): void;
27
27
  }
28
- //# sourceMappingURL=cache-capabilities-manager.d.ts.map
29
- }
28
+ }
29
+ //# sourceMappingURL=cache-capabilities-manager.d.ts.map
@@ -29,7 +29,7 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
29
29
  * @class CacheManager
30
30
  * @public
31
31
  */
32
- export declare class CacheManager implements Cache {
32
+ export class CacheManager implements Cache {
33
33
  #private;
34
34
  version: "2";
35
35
  constructor(cache: Cache);
@@ -438,5 +438,5 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
438
438
  */
439
439
  isDeletionCommitted(identifier: StableRecordIdentifier): boolean;
440
440
  }
441
- //# sourceMappingURL=cache-manager.d.ts.map
442
- }
441
+ }
442
+ //# sourceMappingURL=cache-manager.d.ts.map
@@ -94,5 +94,5 @@ declare module '@ember-data/store/-private/managers/notification-manager' {
94
94
  _flushNotification(identifier: StableRecordIdentifier | StableDocumentIdentifier, value: CacheOperation): boolean;
95
95
  destroy(): void;
96
96
  }
97
- //# sourceMappingURL=notification-manager.d.ts.map
98
- }
97
+ }
98
+ //# sourceMappingURL=notification-manager.d.ts.map
@@ -43,13 +43,13 @@ declare module '@ember-data/store/-private/managers/record-array-manager' {
43
43
  * @param target the array to push into
44
44
  * @param source the items to push into target
45
45
  */
46
- export declare function fastPush<T>(target: T[], source: T[]): void;
46
+ export function fastPush<T>(target: T[], source: T[]): void;
47
47
  type ChangeSet = Map<StableRecordIdentifier, 'add' | 'del'>;
48
48
  /**
49
49
  @class RecordArrayManager
50
50
  @internal
51
51
  */
52
- declare class RecordArrayManager {
52
+ class RecordArrayManager {
53
53
  store: Store;
54
54
  isDestroying: boolean;
55
55
  isDestroyed: boolean;
@@ -91,7 +91,7 @@ declare module '@ember-data/store/-private/managers/record-array-manager' {
91
91
  clear(isClear?: boolean): void;
92
92
  destroy(): void;
93
93
  }
94
- export declare function disassociateIdentifier(ArraysCache: Map<StableRecordIdentifier, Set<Collection>>, array: Collection, identifier: StableRecordIdentifier): void;
94
+ export function disassociateIdentifier(ArraysCache: Map<StableRecordIdentifier, Set<Collection>>, array: Collection, identifier: StableRecordIdentifier): void;
95
95
  export default RecordArrayManager;
96
- //# sourceMappingURL=record-array-manager.d.ts.map
97
- }
96
+ }
97
+ //# sourceMappingURL=record-array-manager.d.ts.map
@@ -2,8 +2,8 @@ declare module '@ember-data/store/-private/network/request-cache' {
2
2
  import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
3
3
  import type { FindRecordOptions } from '@ember-data/store/-types/q/store';
4
4
  import type Store from '@ember-data/store/-private/store-service';
5
- declare const Touching: unique symbol;
6
- export declare const RequestPromise: unique symbol;
5
+ const Touching: unique symbol;
6
+ export const RequestPromise: unique symbol;
7
7
  export interface Operation {
8
8
  op: string;
9
9
  options: FindRecordOptions | undefined;
@@ -105,5 +105,5 @@ declare module '@ember-data/store/-private/network/request-cache' {
105
105
  getLastRequestForRecord(identifier: StableRecordIdentifier): RequestState | null;
106
106
  }
107
107
  export {};
108
- //# sourceMappingURL=request-cache.d.ts.map
109
- }
108
+ }
109
+ //# sourceMappingURL=request-cache.d.ts.map
@@ -6,17 +6,13 @@ declare module '@ember-data/store/-private/record-arrays/identifier-array' {
6
6
  import type { Links, PaginationLinks } from '@warp-drive/core-types/spec/raw';
7
7
  import type RecordArrayManager from '@ember-data/store/-private/managers/record-array-manager';
8
8
  import type Store from '@ember-data/store/-private/store-service';
9
- export declare const ARRAY_SIGNAL: unique symbol;
10
- export declare const SOURCE: unique symbol;
11
- export declare const MUTATE: unique symbol;
12
- export declare const NOTIFY: unique symbol;
13
- declare const IS_COLLECTION: unique symbol;
14
- export declare function notifyArray(arr: IdentifierArray): void;
15
- declare global {
16
- interface ProxyConstructor {
17
- new <TSource extends object, TTarget extends object>(target: TSource, handler: ProxyHandler<TSource>): TTarget;
18
- }
19
- }
9
+ import { NativeProxy } from '@ember-data/store/-private/record-arrays/native-proxy-type-fix';
10
+ export const ARRAY_SIGNAL: unique symbol;
11
+ export const SOURCE: unique symbol;
12
+ export const MUTATE: unique symbol;
13
+ export const NOTIFY: unique symbol;
14
+ const IS_COLLECTION: unique symbol;
15
+ export function notifyArray(arr: IdentifierArray): void;
20
16
  export type IdentifierArrayCreateOptions<T = unknown> = {
21
17
  identifiers: StableRecordIdentifier[];
22
18
  type?: T extends TypedRecordInstance ? TypeFromInstance<T> : string;
@@ -39,9 +35,9 @@ declare module '@ember-data/store/-private/record-arrays/identifier-array' {
39
35
  @public
40
36
  */
41
37
  interface IdentifierArray<T = unknown> extends Omit<Array<T>, '[]'> {
42
- [MUTATE]?(target: StableRecordIdentifier[], receiver: typeof Proxy<StableRecordIdentifier[], T[]>, prop: string, args: unknown[], _SIGNAL: Signal): unknown;
38
+ [MUTATE]?(target: StableRecordIdentifier[], receiver: typeof NativeProxy<StableRecordIdentifier[], T[]>, prop: string, args: unknown[], _SIGNAL: Signal): unknown;
43
39
  }
44
- declare class IdentifierArray<T = unknown> {
40
+ class IdentifierArray<T = unknown> {
45
41
  DEPRECATED_CLASS_NAME: string;
46
42
  /**
47
43
  The flag to signal a `RecordArray` is currently loading data.
@@ -127,11 +123,11 @@ declare module '@ember-data/store/-private/record-arrays/identifier-array' {
127
123
  query: ImmutableRequestInfo | Record<string, unknown> | null;
128
124
  isLoaded: boolean;
129
125
  };
130
- export declare class Collection<T = unknown> extends IdentifierArray<T> {
126
+ export class Collection<T = unknown> extends IdentifierArray<T> {
131
127
  query: ImmutableRequestInfo | Record<string, unknown> | null;
132
128
  constructor(options: CollectionCreateOptions);
133
129
  _update(): Promise<Collection<T>>;
134
130
  destroy(clear: boolean): void;
135
131
  }
136
- //# sourceMappingURL=identifier-array.d.ts.map
137
- }
132
+ }
133
+ //# sourceMappingURL=identifier-array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identifier-array.d.ts","sourceRoot":"","sources":["../../../src/-private/record-arrays/identifier-array.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAQ5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,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AAC,CAAC;IAejC,OAAO,CAAC,KAAK,EAAE,OAAO;CAKvB"}
@@ -0,0 +1,118 @@
1
+ declare module '@ember-data/store/-private/record-arrays/native-proxy-type-fix' {
2
+ interface ProxyHandler<T extends object> {
3
+ /**
4
+ * A trap method for a function call.
5
+ * @param target The original callable object which is being proxied.
6
+ * @internal
7
+ */
8
+ apply?(target: T, thisArg: any, argArray: any[]): any;
9
+ /**
10
+ * A trap for the `new` operator.
11
+ * @param target The original object which is being proxied.
12
+ * @param newTarget The constructor that was originally called.
13
+ * @internal
14
+ */
15
+ construct?(target: T, argArray: any[], newTarget: Function): object;
16
+ /**
17
+ * A trap for `Object.defineProperty()`.
18
+ * @param target The original object which is being proxied.
19
+ * @returns A `Boolean` indicating whether or not the property has been defined.
20
+ * @internal
21
+ */
22
+ defineProperty?(target: T, property: string | symbol, attributes: PropertyDescriptor): boolean;
23
+ /**
24
+ * A trap for the `delete` operator.
25
+ * @param target The original object which is being proxied.
26
+ * @param p The name or `Symbol` of the property to delete.
27
+ * @returns A `Boolean` indicating whether or not the property was deleted.
28
+ * @internal
29
+ */
30
+ deleteProperty?(target: T, p: string | symbol): boolean;
31
+ /**
32
+ * A trap for getting a property value.
33
+ * @param target The original object which is being proxied.
34
+ * @param p The name or `Symbol` of the property to get.
35
+ * @param receiver The proxy or an object that inherits from the proxy.
36
+ * @internal
37
+ */
38
+ get?(target: T, p: string | symbol, receiver: any): any;
39
+ /**
40
+ * A trap for `Object.getOwnPropertyDescriptor()`.
41
+ * @param target The original object which is being proxied.
42
+ * @param p The name of the property whose description should be retrieved.
43
+ * @internal
44
+ */
45
+ getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;
46
+ /**
47
+ * A trap for the `[[GetPrototypeOf]]` internal method.
48
+ * @param target The original object which is being proxied.
49
+ * @internal
50
+ */
51
+ getPrototypeOf?(target: T): object | null;
52
+ /**
53
+ * A trap for the `in` operator.
54
+ * @param target The original object which is being proxied.
55
+ * @param p The name or `Symbol` of the property to check for existence.
56
+ * @internal
57
+ */
58
+ has?(target: T, p: string | symbol): boolean;
59
+ /**
60
+ * A trap for `Object.isExtensible()`.
61
+ * @param target The original object which is being proxied.
62
+ * @internal
63
+ */
64
+ isExtensible?(target: T): boolean;
65
+ /**
66
+ * A trap for `Reflect.ownKeys()`.
67
+ * @param target The original object which is being proxied.
68
+ * @internal
69
+ */
70
+ ownKeys?(target: T): ArrayLike<string | symbol>;
71
+ /**
72
+ * A trap for `Object.preventExtensions()`.
73
+ * @param target The original object which is being proxied.
74
+ * @internal
75
+ */
76
+ preventExtensions?(target: T): boolean;
77
+ /**
78
+ * A trap for setting a property value.
79
+ * @param target The original object which is being proxied.
80
+ * @param p The name or `Symbol` of the property to set.
81
+ * @param receiver The object to which the assignment was originally directed.
82
+ * @returns A `Boolean` indicating whether or not the property was set.
83
+ * @internal
84
+ */
85
+ set?(target: T, p: string | symbol, newValue: any, receiver: any): boolean;
86
+ /**
87
+ * A trap for `Object.setPrototypeOf()`.
88
+ * @param target The original object which is being proxied.
89
+ * @param newPrototype The object's new prototype or `null`.
90
+ * @internal
91
+ */
92
+ setPrototypeOf?(target: T, v: object | null): boolean;
93
+ }
94
+ interface ProxyConstructor {
95
+ /**
96
+ * Creates a revocable Proxy object.
97
+ * @param target A target object to wrap with Proxy.
98
+ * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.
99
+ * @internal
100
+ */
101
+ revocable<T extends object>(target: T, handler: ProxyHandler<T>): {
102
+ proxy: T;
103
+ revoke: () => void;
104
+ };
105
+ /**
106
+ * Creates a Proxy object. The Proxy object allows you to create an object that can be used in place of the
107
+ * original object, but which may redefine fundamental Object operations like getting, setting, and defining
108
+ * properties. Proxy objects are commonly used to log property accesses, validate, format, or sanitize inputs.
109
+ * @param target A target object to wrap with Proxy.
110
+ * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.
111
+ * @internal
112
+ */
113
+ new <TSource extends object, TTarget extends object>(target: TSource, handler: ProxyHandler<TSource>): TTarget;
114
+ }
115
+ export const NativeProxy: ProxyConstructor;
116
+ export {};
117
+ }
118
+ //# sourceMappingURL=native-proxy-type-fix.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"native-proxy-type-fix.d.ts","sourceRoot":"","sources":["../../../src/-private/record-arrays/native-proxy-type-fix.ts"],"names":[],"mappings":"AAOA,UAAU,YAAY,CAAC,CAAC,SAAS,MAAM;IACrC;;;;OAIG;IACH,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC;IAEtD;;;;;OAKG;IAEH,SAAS,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC;IAEpE;;;;;OAKG;IACH,cAAc,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,OAAO,CAAC;IAE/F;;;;;;OAMG;IACH,cAAc,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAExD;;;;;;OAMG;IACH,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG,CAAC;IAExD;;;;;OAKG;IACH,wBAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAAC;IAEzF;;;;OAIG;IACH,cAAc,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC;IAE1C;;;;;OAKG;IACH,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAE7C;;;;OAIG;IACH,YAAY,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC;IAElC;;;;OAIG;IACH,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEhD;;;;OAIG;IACH,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC;IAEvC;;;;;;;OAOG;IACH,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC;IAE3E;;;;;OAKG;IACH,cAAc,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC;CACvD;AAED,UAAU,gBAAgB;IACxB;;;;;OAKG;IACH,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG;QAAE,KAAK,EAAE,CAAC,CAAC;QAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAEnG;;;;;;;OAOG;IACH,KAAK,OAAO,SAAS,MAAM,EAAE,OAAO,SAAS,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;CAChH;AAED,eAAO,MAAM,WAAW,EAAE,gBAAuD,CAAC"}
@@ -74,7 +74,7 @@ declare module '@ember-data/store/-private/store-service' {
74
74
  }): OpaqueRecordInstance;
75
75
  teardownRecord(record: OpaqueRecordInstance): void;
76
76
  }
77
- declare class Store extends EmberObject {
77
+ class Store extends EmberObject {
78
78
  recordArrayManager: RecordArrayManager;
79
79
  /**
80
80
  * Provides access to the NotificationManager associated
@@ -1550,5 +1550,5 @@ declare module '@ember-data/store/-private/store-service' {
1550
1550
  static create(args?: Record<string, unknown>): Store;
1551
1551
  }
1552
1552
  export default Store;
1553
- //# sourceMappingURL=store-service.d.ts.map
1554
- }
1553
+ }
1554
+ //# sourceMappingURL=store-service.d.ts.map
@@ -3,8 +3,8 @@ declare module '@ember-data/store/-private/utils/coerce-id' {
3
3
  @module @ember-data/store
4
4
  */
5
5
  type Coercable = string | number | boolean | null | undefined | symbol;
6
- declare function coerceId(id: unknown): string | null;
7
- export declare function ensureStringId(id: Coercable): string;
6
+ function coerceId(id: unknown): string | null;
7
+ export function ensureStringId(id: Coercable): string;
8
8
  export default coerceId;
9
- //# sourceMappingURL=coerce-id.d.ts.map
10
- }
9
+ }
10
+ //# sourceMappingURL=coerce-id.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare module '@ember-data/store/-private/utils/construct-resource' {
2
2
  import type { ExistingResourceIdentifierObject, ResourceIdentifierObject } from '@warp-drive/core-types/spec/raw';
3
- declare function constructResource(type: ResourceIdentifierObject): ResourceIdentifierObject;
4
- declare function constructResource(type: string, id: string, lid: string): ExistingResourceIdentifierObject;
5
- declare function constructResource(type: string | undefined, id: null | undefined, lid: string): ExistingResourceIdentifierObject;
6
- declare function constructResource(type: string, id: string, lid?: string | null): ExistingResourceIdentifierObject;
7
- declare function constructResource(type: string, id?: string | number | null, lid?: string | null): ResourceIdentifierObject;
3
+ function constructResource(type: ResourceIdentifierObject): ResourceIdentifierObject;
4
+ function constructResource(type: string, id: string, lid: string): ExistingResourceIdentifierObject;
5
+ function constructResource(type: string | undefined, id: null | undefined, lid: string): ExistingResourceIdentifierObject;
6
+ function constructResource(type: string, id: string, lid?: string | null): ExistingResourceIdentifierObject;
7
+ function constructResource(type: string, id?: string | number | null, lid?: string | null): ResourceIdentifierObject;
8
8
  export default constructResource;
9
- //# sourceMappingURL=construct-resource.d.ts.map
10
- }
9
+ }
10
+ //# sourceMappingURL=construct-resource.d.ts.map
@@ -1,7 +1,7 @@
1
1
  declare module '@ember-data/store/-private/utils/identifier-debug-consts' {
2
- export declare const DEBUG_CLIENT_ORIGINATED: unique symbol;
3
- export declare const DEBUG_IDENTIFIER_BUCKET: unique symbol;
4
- export declare const DEBUG_STALE_CACHE_OWNER: unique symbol;
5
- export declare const CACHE_OWNER: unique symbol;
6
- //# sourceMappingURL=identifier-debug-consts.d.ts.map
7
- }
2
+ export const DEBUG_CLIENT_ORIGINATED: unique symbol;
3
+ export const DEBUG_IDENTIFIER_BUCKET: unique symbol;
4
+ export const DEBUG_STALE_CACHE_OWNER: unique symbol;
5
+ export const CACHE_OWNER: unique symbol;
6
+ }
7
+ //# sourceMappingURL=identifier-debug-consts.d.ts.map
@@ -1,4 +1,4 @@
1
1
  declare module '@ember-data/store/-private/utils/is-non-empty-string' {
2
2
  export default function isNonEmptyString(str: unknown): str is string;
3
- //# sourceMappingURL=is-non-empty-string.d.ts.map
4
- }
3
+ }
4
+ //# sourceMappingURL=is-non-empty-string.d.ts.map
@@ -1,4 +1,4 @@
1
1
  declare module '@ember-data/store/-private/utils/normalize-model-name' {
2
2
  export default function normalizeModelName(type: string): string;
3
- //# sourceMappingURL=normalize-model-name.d.ts.map
4
- }
3
+ }
4
+ //# sourceMappingURL=normalize-model-name.d.ts.map
@@ -1,4 +1,4 @@
1
1
  declare module '@ember-data/store/-private/utils/uuid-polyfill' {
2
2
  export default function installPolyfill(): void;
3
- //# sourceMappingURL=uuid-polyfill.d.ts.map
4
- }
3
+ }
4
+ //# sourceMappingURL=uuid-polyfill.d.ts.map