@ember-data-mirror/store 5.3.8 → 5.3.10

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 (44) hide show
  1. package/addon-main.cjs +1 -1
  2. package/dist/-private.js +1 -1
  3. package/dist/{cache-handler-C5ilAUZ5.js → handler-CW2kp6Ua.js} +499 -520
  4. package/dist/handler-CW2kp6Ua.js.map +1 -0
  5. package/dist/index.js +1 -1
  6. package/package.json +36 -25
  7. package/unstable-preview-types/-private/cache-handler/handler.d.ts +64 -0
  8. package/unstable-preview-types/-private/cache-handler/handler.d.ts.map +1 -0
  9. package/unstable-preview-types/-private/{cache-handler.d.ts → cache-handler/types.d.ts} +26 -63
  10. package/unstable-preview-types/-private/cache-handler/types.d.ts.map +1 -0
  11. package/unstable-preview-types/-private/cache-handler/utils.d.ts +39 -0
  12. package/unstable-preview-types/-private/cache-handler/utils.d.ts.map +1 -0
  13. package/unstable-preview-types/-private/caches/cache-utils.d.ts +2 -2
  14. package/unstable-preview-types/-private/caches/identifier-cache.d.ts +3 -3
  15. package/unstable-preview-types/-private/caches/instance-cache.d.ts +4 -4
  16. package/unstable-preview-types/-private/document.d.ts +3 -3
  17. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +2 -2
  18. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts.map +1 -1
  19. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts +2 -2
  20. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +1 -1
  21. package/unstable-preview-types/-private/managers/cache-manager.d.ts +11 -11
  22. package/unstable-preview-types/-private/managers/cache-manager.d.ts.map +1 -1
  23. package/unstable-preview-types/-private/managers/notification-manager.d.ts +8 -3
  24. package/unstable-preview-types/-private/managers/notification-manager.d.ts.map +1 -1
  25. package/unstable-preview-types/-private/managers/record-array-manager.d.ts +3 -3
  26. package/unstable-preview-types/-private/network/request-cache.d.ts +1 -1
  27. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +4 -4
  28. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +1 -1
  29. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts +3 -3
  30. package/unstable-preview-types/-private/store-service.d.ts +33 -13
  31. package/unstable-preview-types/-private/store-service.d.ts.map +1 -1
  32. package/unstable-preview-types/-private/utils/construct-resource.d.ts +1 -1
  33. package/unstable-preview-types/-private.d.ts +3 -2
  34. package/unstable-preview-types/-private.d.ts.map +1 -1
  35. package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts +1 -1
  36. package/unstable-preview-types/-types/q/ds-model.d.ts +2 -2
  37. package/unstable-preview-types/-types/q/identifier.d.ts +1 -1
  38. package/unstable-preview-types/-types/q/record-data-json-api.d.ts +2 -2
  39. package/unstable-preview-types/-types/q/schema-service.d.ts +8 -8
  40. package/unstable-preview-types/-types/q/store.d.ts +2 -2
  41. package/unstable-preview-types/index.d.ts +25 -23
  42. package/unstable-preview-types/index.d.ts.map +1 -1
  43. package/dist/cache-handler-C5ilAUZ5.js.map +0 -1
  44. package/unstable-preview-types/-private/cache-handler.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { C as CacheHandler, S as default, r as recordIdentifierFor, c as setIdentifierForgetMethod, a as setIdentifierGenerationMethod, d as setIdentifierResetMethod, b as setIdentifierUpdateMethod, e as setKeyInfoForResource, s as storeFor } from "./cache-handler-C5ilAUZ5.js";
1
+ export { C as CacheHandler, S as default, r as recordIdentifierFor, c as setIdentifierForgetMethod, a as setIdentifierGenerationMethod, d as setIdentifierResetMethod, b as setIdentifierUpdateMethod, e as setKeyInfoForResource, s as storeFor } from "./handler-CW2kp6Ua.js";
2
2
  import '@ember/debug';
3
3
  import '@embroider/macros';
4
4
  import '@ember-data-mirror/request-utils/string';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-data-mirror/store",
3
- "version": "5.3.8",
3
+ "version": "5.3.10",
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"
@@ -27,13 +27,11 @@
27
27
  },
28
28
  "./*": {
29
29
  "default": "./dist/*.js"
30
+ },
31
+ "./unstable-preview-types": {
32
+ "types": "./unstable-preview-types/index.d.ts"
30
33
  }
31
34
  },
32
- "scripts": {
33
- "lint": "eslint . --quiet --cache --cache-strategy=content --report-unused-disable-directives",
34
- "build:pkg": "vite build;",
35
- "sync-hardlinks": "bun run sync-dependencies-meta-injected"
36
- },
37
35
  "dependenciesMeta": {
38
36
  "@ember-data-mirror/tracking": {
39
37
  "injected": true
@@ -44,48 +42,49 @@
44
42
  "@ember-data-mirror/request-utils": {
45
43
  "injected": true
46
44
  },
47
- "@warp-drive/core-types": {
45
+ "@warp-drive-mirror/core-types": {
48
46
  "injected": true
49
47
  },
50
- "@warp-drive/build-config": {
48
+ "@warp-drive-mirror/build-config": {
51
49
  "injected": true
52
50
  }
53
51
  },
54
52
  "dependencies": {
55
- "@embroider/macros": "^1.16.1",
56
- "@warp-drive/build-config": "0.0.0-beta.6"
53
+ "@embroider/macros": "^1.16.6",
54
+ "@warp-drive-mirror/build-config": "0.0.0"
57
55
  },
58
56
  "peerDependencies": {
59
- "@ember-data-mirror/request": "5.3.8",
60
- "@ember-data-mirror/request-utils": "5.3.8",
61
- "@ember-data-mirror/tracking": "5.3.8",
62
- "@warp-drive/core-types": "0.0.0-beta.11"
57
+ "ember-source": "3.28.12 || ^4.0.4 || ^5.0.0 || ^6.0.0",
58
+ "@ember-data-mirror/request": "5.3.10",
59
+ "@ember-data-mirror/request-utils": "5.3.10",
60
+ "@ember-data-mirror/tracking": "5.3.10",
61
+ "@warp-drive-mirror/core-types": "0.0.0"
63
62
  },
64
63
  "devDependencies": {
65
64
  "@babel/core": "^7.24.5",
66
65
  "@babel/plugin-transform-typescript": "^7.24.5",
67
66
  "@babel/preset-env": "^7.24.5",
68
67
  "@babel/preset-typescript": "^7.24.1",
69
- "@ember-data-mirror/request": "5.3.8",
70
- "@ember-data-mirror/request-utils": "5.3.8",
71
- "@ember-data-mirror/tracking": "5.3.8",
68
+ "@ember-data-mirror/request": "5.3.10",
69
+ "@ember-data-mirror/request-utils": "5.3.10",
70
+ "@ember-data-mirror/tracking": "5.3.10",
72
71
  "@glimmer/component": "^1.1.2",
73
- "@warp-drive/core-types": "0.0.0-beta.11",
74
- "@warp-drive/internal-config": "5.3.8",
75
- "decorator-transforms": "^2.0.0",
76
- "ember-source": "~5.8.0",
77
- "expect-type": "^0.19.0",
72
+ "@warp-drive-mirror/core-types": "0.0.0",
73
+ "@warp-drive/internal-config": "5.3.10",
74
+ "decorator-transforms": "^2.2.2",
75
+ "ember-source": "~5.12.0",
76
+ "expect-type": "^0.20.0",
78
77
  "pnpm-sync-dependencies-meta-injected": "0.0.14",
79
- "typescript": "^5.4.5",
78
+ "typescript": "^5.7.2",
80
79
  "vite": "^5.2.11"
81
80
  },
82
81
  "engines": {
83
- "node": ">= 18.20.3"
82
+ "node": ">= 18.20.4"
84
83
  },
85
84
  "volta": {
86
85
  "extends": "../../../../../../package.json"
87
86
  },
88
- "packageManager": "pnpm@8.15.8",
87
+ "packageManager": "pnpm@8.15.9",
89
88
  "ember-addon": {
90
89
  "main": "addon-main.cjs",
91
90
  "type": "addon",
@@ -93,5 +92,17 @@
93
92
  },
94
93
  "ember": {
95
94
  "edition": "octane"
95
+ },
96
+ "typesVersions": {
97
+ "*": {
98
+ "unstable-preview-types": [
99
+ "./unstable-preview-types"
100
+ ]
101
+ }
102
+ },
103
+ "scripts": {
104
+ "lint": "eslint . --quiet --cache --cache-strategy=content",
105
+ "build:pkg": "vite build;",
106
+ "sync-hardlinks": "bun run sync-dependencies-meta-injected"
96
107
  }
97
108
  }
@@ -0,0 +1,64 @@
1
+ declare module '@ember-data-mirror/store/-private/cache-handler/handler' {
2
+ /**
3
+ * @module @ember-data-mirror/store
4
+ */
5
+ import type { CacheHandler as CacheHandlerType } from '@ember-data-mirror/request';
6
+ import type { ImmutableRequestInfo, RequestContext } from '@warp-drive-mirror/core-types/request';
7
+ import { EnableHydration } from '@warp-drive-mirror/core-types/request';
8
+ import type { ResourceIdentifierObject } from '@warp-drive-mirror/core-types/spec/json-api-raw';
9
+ import type { Store } from '@ember-data-mirror/store/-private/store-service';
10
+ export type LooseStoreRequestInfo<T = unknown, RT = unknown> = Omit<ImmutableRequestInfo<T, RT>, 'records' | 'headers'> & {
11
+ records?: ResourceIdentifierObject[];
12
+ headers?: Headers;
13
+ };
14
+ export type StoreRequestInput<T = unknown, RT = unknown> = ImmutableRequestInfo<T, RT> | LooseStoreRequestInfo<T, RT>;
15
+ export interface StoreRequestContext extends RequestContext {
16
+ request: ImmutableRequestInfo & {
17
+ store: Store;
18
+ [EnableHydration]?: boolean;
19
+ };
20
+ }
21
+ /**
22
+ * A CacheHandler that adds support for using an EmberData Cache with a RequestManager.
23
+ *
24
+ * This handler will only run when a request has supplied a `store` instance. Requests
25
+ * issued by the store via `store.request()` will automatically have the `store` instance
26
+ * attached to the request.
27
+ *
28
+ * ```ts
29
+ * requestManager.request({
30
+ * store: store,
31
+ * url: '/api/posts',
32
+ * method: 'GET'
33
+ * });
34
+ * ```
35
+ *
36
+ * When this handler elects to handle a request, it will return the raw `StructuredDocument`
37
+ * unless the request has `[EnableHydration]` set to `true`. In this case, the handler will
38
+ * return a `Document` instance that will automatically update the UI when the cache is updated
39
+ * in the future and will hydrate any identifiers in the StructuredDocument into Record instances.
40
+ *
41
+ * When issuing a request via the store, [EnableHydration] is automatically set to `true`. This
42
+ * means that if desired you can issue requests that utilize the cache without needing to also
43
+ * utilize Record instances if desired.
44
+ *
45
+ * Said differently, you could elect to issue all requests via a RequestManager, without ever using
46
+ * the store directly, by setting [EnableHydration] to `true` and providing a store instance. Not
47
+ * necessarily the most useful thing, but the decoupled nature of the RequestManager and incremental-feature
48
+ * approach of EmberData allows for this flexibility.
49
+ *
50
+ * ```ts
51
+ * import { EnableHydration } from '@warp-drive-mirror/core-types/request';
52
+ *
53
+ * requestManager.request({
54
+ * store: store,
55
+ * url: '/api/posts',
56
+ * method: 'GET',
57
+ * [EnableHydration]: true
58
+ * });
59
+ *
60
+ * @typedoc
61
+ */
62
+ export const CacheHandler: CacheHandlerType;
63
+ }
64
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/-private/cache-handler/handler.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAkB,MAAM,qBAAqB,CAAC;AAI5F,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EAGf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,eAAe,EAAa,MAAM,gCAAgC,CAAC;AAO5E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAGzF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAY9C,MAAM,MAAM,qBAAqB,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,GAAG,OAAO,IAAI,IAAI,CACjE,oBAAoB,CAAC,CAAC,EAAE,EAAE,CAAC,EAC3B,SAAS,GAAG,SAAS,CACtB,GAAG;IACF,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,GAAG,OAAO,IAAI,oBAAoB,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,qBAAqB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAEtH,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,OAAO,EAAE,oBAAoB,GAAG;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,CAAC,eAAe,CAAC,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CAC/E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,YAAY,EAAE,gBAqF1B,CAAC"}
@@ -1,12 +1,6 @@
1
- declare module '@ember-data-mirror/store/-private/cache-handler' {
2
- /**
3
- * @module @ember-data-mirror/store
4
- */
5
- import type { CacheHandler as CacheHandlerType } from '@ember-data-mirror/request';
6
- import type { StableDocumentIdentifier } from '@warp-drive/core-types/identifier';
7
- import type { ImmutableRequestInfo, RequestContext, ResponseInfo } from '@warp-drive/core-types/request';
8
- import { EnableHydration } from '@warp-drive/core-types/request';
9
- import type { ResourceIdentifierObject } from '@warp-drive/core-types/spec/json-api-raw';
1
+ declare module '@ember-data-mirror/store/-private/cache-handler/types' {
2
+ import type { StableDocumentIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
+ import type { ImmutableRequestInfo, ResponseInfo } from '@warp-drive-mirror/core-types/request';
10
4
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
11
5
  /**
12
6
  * A service which an application may provide to the store via
@@ -77,6 +71,28 @@ declare module '@ember-data-mirror/store/-private/cache-handler' {
77
71
  *
78
72
  * Note, this is invoked regardless of whether the request has a cache-key.
79
73
  *
74
+ * It is best practice to notify the store of any requests marked as invalidated
75
+ * so that request subscriptions can reload when needed.
76
+ *
77
+ * ```ts
78
+ * store.notifications.notify(identifier, 'invalidated');
79
+ * ```
80
+ *
81
+ * This allows anything subscribed to the request to be notified of the change
82
+ *
83
+ * e.g.
84
+ *
85
+ * ```ts
86
+ * store.notifications.subscribe(identifier, (_, type) => {
87
+ * if (type === 'invalidated') {
88
+ * // do update
89
+ * }
90
+ * });
91
+ * ```
92
+ *
93
+ * Note,
94
+ *
95
+ *
80
96
  * @method didRequest [Optional]
81
97
  * @public
82
98
  * @param {ImmutableRequestInfo} request
@@ -87,58 +103,5 @@ declare module '@ember-data-mirror/store/-private/cache-handler' {
87
103
  */
88
104
  didRequest?(request: ImmutableRequestInfo, response: Response | ResponseInfo | null, identifier: StableDocumentIdentifier | null, store: Store): void;
89
105
  }
90
- export type LooseStoreRequestInfo<T = unknown, RT = unknown> = Omit<ImmutableRequestInfo<T, RT>, 'records' | 'headers'> & {
91
- records?: ResourceIdentifierObject[];
92
- headers?: Headers;
93
- };
94
- export type StoreRequestInput<T = unknown, RT = unknown> = ImmutableRequestInfo<T, RT> | LooseStoreRequestInfo<T, RT>;
95
- export interface StoreRequestContext extends RequestContext {
96
- request: ImmutableRequestInfo & {
97
- store: Store;
98
- [EnableHydration]?: boolean;
99
- };
100
- }
101
- /**
102
- * A CacheHandler that adds support for using an EmberData Cache with a RequestManager.
103
- *
104
- * This handler will only run when a request has supplied a `store` instance. Requests
105
- * issued by the store via `store.request()` will automatically have the `store` instance
106
- * attached to the request.
107
- *
108
- * ```ts
109
- * requestManager.request({
110
- * store: store,
111
- * url: '/api/posts',
112
- * method: 'GET'
113
- * });
114
- * ```
115
- *
116
- * When this handler elects to handle a request, it will return the raw `StructuredDocument`
117
- * unless the request has `[EnableHydration]` set to `true`. In this case, the handler will
118
- * return a `Document` instance that will automatically update the UI when the cache is updated
119
- * in the future and will hydrate any identifiers in the StructuredDocument into Record instances.
120
- *
121
- * When issuing a request via the store, [EnableHydration] is automatically set to `true`. This
122
- * means that if desired you can issue requests that utilize the cache without needing to also
123
- * utilize Record instances if desired.
124
- *
125
- * Said differently, you could elect to issue all requests via a RequestManager, without ever using
126
- * the store directly, by setting [EnableHydration] to `true` and providing a store instance. Not
127
- * necessarily the most useful thing, but the decoupled nature of the RequestManager and incremental-feature
128
- * approach of EmberData allows for this flexibility.
129
- *
130
- * ```ts
131
- * import { EnableHydration } from '@warp-drive/core-types/request';
132
- *
133
- * requestManager.request({
134
- * store: store,
135
- * url: '/api/posts',
136
- * method: 'GET',
137
- * [EnableHydration]: true
138
- * });
139
- *
140
- * @typedoc
141
- */
142
- export const CacheHandler: CacheHandlerType;
143
106
  }
144
- //# sourceMappingURL=cache-handler.d.ts.map
107
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/-private/cache-handler/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEzF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;;;;;;;;;;;OAeG;IACH,aAAa,CAAC,UAAU,EAAE,wBAAwB,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC;IAC3E;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,UAAU,EAAE,wBAAwB,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC;IAE3E;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,CAAC,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,wBAAwB,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAE7G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,UAAU,CAAC,CACT,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,QAAQ,GAAG,YAAY,GAAG,IAAI,EACxC,UAAU,EAAE,wBAAwB,GAAG,IAAI,EAC3C,KAAK,EAAE,KAAK,GACX,IAAI,CAAC;CACT"}
@@ -0,0 +1,39 @@
1
+ declare module '@ember-data-mirror/store/-private/cache-handler/utils' {
2
+ import type { StableDocumentIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
+ import type { ImmutableCreateRequestOptions, ImmutableDeleteRequestOptions, ImmutableRequestInfo, ImmutableUpdateRequestOptions, StructuredDataDocument } from '@warp-drive-mirror/core-types/request';
4
+ import type { ResourceDataDocument, ResourceErrorDocument } from '@warp-drive-mirror/core-types/spec/document';
5
+ import type { ApiError } from '@warp-drive-mirror/core-types/spec/error';
6
+ import type { Store } from '@ember-data-mirror/store/-private/store-service';
7
+ export const MUTATION_OPS: Set<string>;
8
+ export function calcShouldFetch(store: Store, request: ImmutableRequestInfo, hasCachedValue: boolean, identifier: StableDocumentIdentifier | null): boolean;
9
+ export function calcShouldBackgroundFetch(store: Store, request: ImmutableRequestInfo, willFetch: boolean, identifier: StableDocumentIdentifier | null): boolean;
10
+ export function isMutation(request: Partial<ImmutableRequestInfo>): request is ImmutableUpdateRequestOptions | ImmutableCreateRequestOptions | ImmutableDeleteRequestOptions;
11
+ export function copyDocumentProperties(target: {
12
+ links?: unknown;
13
+ meta?: unknown;
14
+ errors?: unknown;
15
+ }, source: object): void;
16
+ export function isCacheAffecting<T>(document: StructuredDataDocument<T>): boolean;
17
+ export function isAggregateError(error: Error & {
18
+ errors?: ApiError[];
19
+ }): error is AggregateError & {
20
+ errors: ApiError[];
21
+ };
22
+ export type RobustError = Error & {
23
+ error: string | object;
24
+ errors?: ApiError[];
25
+ content?: unknown;
26
+ };
27
+ export function cloneError(error: RobustError): RobustError;
28
+ export function isErrorDocument(document: ResourceDataDocument | ResourceErrorDocument): document is ResourceErrorDocument;
29
+ export function getPriority(identifier: StableDocumentIdentifier | null, deduped: Map<StableDocumentIdentifier, {
30
+ priority: {
31
+ blocking: boolean;
32
+ };
33
+ }>, priority: {
34
+ blocking: boolean;
35
+ }): {
36
+ blocking: boolean;
37
+ };
38
+ }
39
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/-private/cache-handler/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EACV,6BAA6B,EAC7B,6BAA6B,EAC7B,oBAAoB,EACpB,6BAA6B,EAC7B,sBAAsB,EACvB,MAAM,gCAAg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CAAC,EAAE,QAAQ,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAGrG,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,eAa5C;AAED,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,oBAAoB,GAAG,qBAAqB,GACrD,QAAQ,IAAI,qBAAqB,CAEnC;AAED,wBAAgB,WAAW,CACzB,UAAU,EAAE,wBAAwB,GAAG,IAAI,EAC3C,OAAO,EAAE,GAAG,CAAC,wBAAwB,EAAE;IAAE,QAAQ,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,CAAC,EAC3E,QAAQ,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE;cADgC,OAAO;EAUvE"}
@@ -1,6 +1,6 @@
1
1
  declare module '@ember-data-mirror/store/-private/caches/cache-utils' {
2
- import type { Cache } from '@warp-drive/core-types/cache';
3
- import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
2
+ import type { Cache } from '@warp-drive-mirror/core-types/cache';
3
+ import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
4
4
  import type { OpaqueRecordInstance } from '@ember-data-mirror/store/-types/q/record-instance';
5
5
  export const CacheForIdentifierCache: Map<unknown, Cache>;
6
6
  export function setCacheFor(identifier: StableRecordIdentifier | OpaqueRecordInstance, cache: Cache): void;
@@ -1,7 +1,7 @@
1
1
  declare module '@ember-data-mirror/store/-private/caches/identifier-cache' {
2
- import { type Identifier, type RecordIdentifier, type StableDocumentIdentifier, type StableRecordIdentifier } from '@warp-drive/core-types/identifier';
3
- import type { ImmutableRequestInfo } from '@warp-drive/core-types/request';
4
- import type { ResourceIdentifierObject } from '@warp-drive/core-types/spec/json-api-raw';
2
+ import { type Identifier, type RecordIdentifier, type StableDocumentIdentifier, type StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
+ import type { ImmutableRequestInfo } from '@warp-drive-mirror/core-types/request';
4
+ import type { ResourceIdentifierObject } from '@warp-drive-mirror/core-types/spec/json-api-raw';
5
5
  import type { ForgetMethod, GenerationMethod, KeyInfo, KeyInfoMethod, ResetMethod, UpdateMethod } from '@ember-data-mirror/store/-types/q/identifier';
6
6
  export function isStableIdentifier(identifier: unknown): identifier is StableRecordIdentifier;
7
7
  export function isDocumentIdentifier(identifier: unknown): identifier is StableDocumentIdentifier;
@@ -1,8 +1,8 @@
1
1
  declare module '@ember-data-mirror/store/-private/caches/instance-cache' {
2
- import type { Cache } from '@warp-drive/core-types/cache';
3
- import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
4
- import type { Value } from '@warp-drive/core-types/json/raw';
5
- import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive/core-types/record';
2
+ import type { Cache } from '@warp-drive-mirror/core-types/cache';
3
+ import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
4
+ import type { Value } from '@warp-drive-mirror/core-types/json/raw';
5
+ import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive-mirror/core-types/record';
6
6
  import type { OpaqueRecordInstance } from '@ember-data-mirror/store/-types/q/record-instance';
7
7
  import RecordReference from '@ember-data-mirror/store/-private/legacy-model-support/record-reference';
8
8
  import { CacheCapabilitiesManager } from '@ember-data-mirror/store/-private/managers/cache-capabilities-manager';
@@ -1,7 +1,7 @@
1
1
  declare module '@ember-data-mirror/store/-private/document' {
2
- import type { StableDocumentIdentifier } from '@warp-drive/core-types/identifier';
3
- import type { RequestInfo } from '@warp-drive/core-types/request';
4
- import type { Meta, PaginationLinks } from '@warp-drive/core-types/spec/json-api-raw';
2
+ import type { StableDocumentIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
+ import type { RequestInfo } from '@warp-drive-mirror/core-types/request';
4
+ import type { Meta, PaginationLinks } from '@warp-drive-mirror/core-types/spec/json-api-raw';
5
5
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
6
6
  /**
7
7
  * A Document is a class that wraps the response content from a request to the API
@@ -1,9 +1,9 @@
1
1
  declare module '@ember-data-mirror/store/-private/legacy-model-support/record-reference' {
2
- import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
2
+ import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
3
  /**
4
4
  @module @ember-data-mirror/store
5
5
  */
6
- import type { SingleResourceDocument } from '@warp-drive/core-types/spec/json-api-raw';
6
+ import type { SingleResourceDocument } from '@warp-drive-mirror/core-types/spec/json-api-raw';
7
7
  import type { OpaqueRecordInstance } from '@ember-data-mirror/store/-types/q/record-instance';
8
8
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
9
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"record-reference.d.ts","sourceRoot":"","sources":["../../../src/-private/legacy-model-support/record-reference.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF;;EAEE;AACF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;EAEE;AAEF;;;;;;EAME;AACF,MAAM,CAAC,OAAO,OAAO,eAAe;IAC1B,KAAK,EAAE,KAAK,CAAC;IAErB,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,EAAE,sBAAsB,CAAC;IAE9B,IAAI,EAAE,MAAM,CAAC;gBAET,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,sBAAsB;IAa5D,OAAO;IAIP,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;;;;;;;;;;;;;;MAiBE;IACF,EAAE;IAKF;;;;;;;;;;;;;;;;;MAiBE;IACF,UAAU,IAAI,sBAAsB;IAIpC;;;;;;;;;;;;;;;;MAgBE;IACF,UAAU,IAAI,UAAU;IAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsCE;IACF,IAAI,CAAC,eAAe,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAO9G;;;;;;;;;;;;;;;;MAgBE;IACF,KAAK,IAAI,oBAAoB,GAAG,IAAI;IAIpC;;;;;;;;;;;;;;;;MAgBE;IACF,IAAI;IAQJ;;;;;;;;;;;;;;;;MAgBE;IACF,MAAM;CAOP"}
1
+ {"version":3,"file":"record-reference.d.ts","sourceRoot":"","sources":["../../../src/-private/legacy-model-support/record-reference.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF;;EAEE;AACF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;EAEE;AAEF;;;;;;EAME;AACF,MAAM,CAAC,OAAO,OAAO,eAAe;IAC1B,KAAK,EAAE,KAAK,CAAC;IAErB,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,EAAE,sBAAsB,CAAC;IAE9B,IAAI,EAAE,MAAM,CAAC;gBAET,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,sBAAsB;IAa5D,OAAO;IAIP,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;;;;;;;;;;;;;;;MAiBE;IACF,EAAE;IAMF;;;;;;;;;;;;;;;;;MAiBE;IACF,UAAU,IAAI,sBAAsB;IAIpC;;;;;;;;;;;;;;;;MAgBE;IACF,UAAU,IAAI,UAAU;IAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsCE;IACF,IAAI,CAAC,eAAe,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAO9G;;;;;;;;;;;;;;;;MAgBE;IACF,KAAK,IAAI,oBAAoB,GAAG,IAAI;IAIpC;;;;;;;;;;;;;;;;MAgBE;IACF,IAAI;IAQJ;;;;;;;;;;;;;;;;MAgBE;IACF,MAAM;CAOP"}
@@ -1,6 +1,6 @@
1
1
  declare module '@ember-data-mirror/store/-private/legacy-model-support/shim-model-class' {
2
- import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive/core-types/record';
3
- import type { LegacyAttributeField, LegacyRelationshipSchema } from '@warp-drive/core-types/schema/fields';
2
+ import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive-mirror/core-types/record';
3
+ import type { LegacyAttributeField, LegacyRelationshipSchema } from '@warp-drive-mirror/core-types/schema/fields';
4
4
  import type { KeyOrString, ModelSchema } from '@ember-data-mirror/store/-types/q/ds-model';
5
5
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
6
6
  export function getShimClass<T>(store: Store, modelName: T extends TypedRecordInstance ? TypeFromInstance<T> : string): ShimModelClass<T>;
@@ -1,5 +1,5 @@
1
1
  declare module '@ember-data-mirror/store/-private/managers/cache-capabilities-manager' {
2
- import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
2
+ import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
3
  import type { CacheCapabilitiesManager as StoreWrapper } from '@ember-data-mirror/store/-types/q/cache-capabilities-manager';
4
4
  import type { SchemaService } from '@ember-data-mirror/store/-types/q/schema-service';
5
5
  import type { IdentifierCache } from '@ember-data-mirror/store/-private/caches/identifier-cache';
@@ -1,15 +1,15 @@
1
1
  declare module '@ember-data-mirror/store/-private/managers/cache-manager' {
2
- import type { Cache, ChangedAttributesHash, RelationshipDiff } from '@warp-drive/core-types/cache';
3
- import type { Change } from '@warp-drive/core-types/cache/change';
4
- import type { MergeOperation } from '@warp-drive/core-types/cache/operations';
5
- import type { CollectionRelationship, ResourceRelationship } from '@warp-drive/core-types/cache/relationship';
6
- import type { LocalRelationshipOperation } from '@warp-drive/core-types/graph';
7
- import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
8
- import type { Value } from '@warp-drive/core-types/json/raw';
9
- import type { StructuredDataDocument, StructuredDocument } from '@warp-drive/core-types/request';
10
- import type { ResourceDocument, SingleResourceDataDocument } from '@warp-drive/core-types/spec/document';
11
- import type { ApiError } from '@warp-drive/core-types/spec/error';
12
- import type { StoreRequestContext } from '@ember-data-mirror/store/-private/cache-handler';
2
+ import type { Cache, ChangedAttributesHash, RelationshipDiff } from '@warp-drive-mirror/core-types/cache';
3
+ import type { Change } from '@warp-drive-mirror/core-types/cache/change';
4
+ import type { MergeOperation } from '@warp-drive-mirror/core-types/cache/operations';
5
+ import type { CollectionRelationship, ResourceRelationship } from '@warp-drive-mirror/core-types/cache/relationship';
6
+ import type { LocalRelationshipOperation } from '@warp-drive-mirror/core-types/graph';
7
+ import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
8
+ import type { Value } from '@warp-drive-mirror/core-types/json/raw';
9
+ import type { StructuredDataDocument, StructuredDocument } from '@warp-drive-mirror/core-types/request';
10
+ import type { ResourceDocument, SingleResourceDataDocument } from '@warp-drive-mirror/core-types/spec/document';
11
+ import type { ApiError } from '@warp-drive-mirror/core-types/spec/error';
12
+ import type { StoreRequestContext } from '@ember-data-mirror/store/-private/cache-handler/handler';
13
13
  /**
14
14
  * The CacheManager wraps a Cache enforcing that only
15
15
  * the public API surface area is exposed.
@@ -1 +1 @@
1
- {"version":3,"file":"cache-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/cache-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACnG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MA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AAE,sBAAsB,GAAG,OAAO;IAIpD;;;;;;;;OAQG;IACH,KAAK,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAIlD;;;;;;;;OAQG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAItD;;;;;;;;OAQG;IACH,mBAAmB,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;CAGjE"}
@@ -1,8 +1,12 @@
1
1
  declare module '@ember-data-mirror/store/-private/managers/notification-manager' {
2
- import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
2
+ /**
3
+ * @module @ember-data-mirror/store
4
+ */
5
+ import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
6
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
4
7
  export type UnsubscribeToken = object;
5
8
  export type CacheOperation = 'added' | 'removed' | 'updated' | 'state';
9
+ export type DocumentCacheOperation = 'invalidated' | 'added' | 'removed' | 'updated' | 'state';
6
10
  export type NotificationType = 'attributes' | 'relationships' | 'identity' | 'errors' | 'meta' | 'state';
7
11
  export interface NotificationCallback {
8
12
  (identifier: StableRecordIdentifier, notificationType: 'attributes' | 'relationships', key?: string): void;
@@ -12,7 +16,7 @@ declare module '@ember-data-mirror/store/-private/managers/notification-manager'
12
16
  (identifier: StableRecordIdentifier, notificationType: CacheOperation): void;
13
17
  }
14
18
  export interface DocumentOperationCallback {
15
- (identifier: StableDocumentIdentifier, notificationType: CacheOperation): void;
19
+ (identifier: StableDocumentIdentifier, notificationType: DocumentCacheOperation): void;
16
20
  }
17
21
  /**
18
22
  * The NotificationManager provides the ability to subscribe to
@@ -83,7 +87,8 @@ declare module '@ember-data-mirror/store/-private/managers/notification-manager'
83
87
  */
84
88
  notify(identifier: StableRecordIdentifier, value: 'attributes' | 'relationships', key?: string): boolean;
85
89
  notify(identifier: StableRecordIdentifier, value: 'errors' | 'meta' | 'identity' | 'state'): boolean;
86
- notify(identifier: StableRecordIdentifier | StableDocumentIdentifier, value: CacheOperation): boolean;
90
+ notify(identifier: StableRecordIdentifier, value: CacheOperation): boolean;
91
+ notify(identifier: StableDocumentIdentifier, value: DocumentCacheOperation): boolean;
87
92
  _onNextFlush(cb: () => void): void;
88
93
  _scheduleNotify(): void;
89
94
  _flush(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"notification-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/notification-manager.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAG1G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAItC,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAWvE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzG,MAAM,WAAW,oBAAoB;IACnC,CAAC,UAAU,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,YAAY,GAAG,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3G,CAAC,UAAU,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,IAAI,CAAC;CAExG;AAED,MAAM,WAAW,yBAAyB;IAExC,CAAC,UAAU,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,cAAc,GAAG,IAAI,CAAC;CAC9E;AAED,MAAM,WAAW,yBAAyB;IAExC,CAAC,UAAU,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,cAAc,GAAG,IAAI,CAAC;CAChF;AAwBD;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAmB;IAC9B,KAAK,EAAE,KAAK,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,KAAK,EAAE,YAAY,GAAG,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO;IACxG,MAAM,CAAC,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO;IACpG,MAAM,CAAC,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO;IAC1E,MAAM,CAAC,UAAU,EAAE,wBAAwB,EAAE,KAAK,EAAE,sBAAsB,GAAG,OAAO;IA4CpF,YAAY,CAAC,EAAE,EAAE,MAAM,IAAI;IAI3B,eAAe;IAiBf,MAAM;IAiBN,kBAAkB,CAAC,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,YAAY,GAAG,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO;IACpH,kBAAkB,CAAC,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO;IAChH,kBAAkB,CAAC,UAAU,EAAE,sBAAsB,GAAG,wBAAwB,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO;IAoCjH,OAAO;CAKR"}
@@ -1,7 +1,7 @@
1
1
  declare module '@ember-data-mirror/store/-private/managers/record-array-manager' {
2
- import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
3
- import type { ImmutableRequestInfo } from '@warp-drive/core-types/request';
4
- import type { CollectionResourceDocument } from '@warp-drive/core-types/spec/json-api-raw';
2
+ import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
+ import type { ImmutableRequestInfo } from '@warp-drive-mirror/core-types/request';
4
+ import type { CollectionResourceDocument } from '@warp-drive-mirror/core-types/spec/json-api-raw';
5
5
  import { Collection, IdentifierArray } from '@ember-data-mirror/store/-private/record-arrays/identifier-array';
6
6
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
7
7
  import type { UnsubscribeToken } from '@ember-data-mirror/store/-private/managers/notification-manager';
@@ -1,5 +1,5 @@
1
1
  declare module '@ember-data-mirror/store/-private/network/request-cache' {
2
- import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
2
+ import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
3
3
  import type { FindRecordOptions } from '@ember-data-mirror/store/-types/q/store';
4
4
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
5
5
  const Touching: "___(unique) Symbol(Touching)";
@@ -1,9 +1,9 @@
1
1
  declare module '@ember-data-mirror/store/-private/record-arrays/identifier-array' {
2
2
  import type { Signal } from '@ember-data-mirror/tracking/-private';
3
- import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
4
- import type { TypeFromInstanceOrString } from '@warp-drive/core-types/record';
5
- import type { ImmutableRequestInfo } from '@warp-drive/core-types/request';
6
- import type { Links, PaginationLinks } from '@warp-drive/core-types/spec/json-api-raw';
3
+ import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
4
+ import type { TypeFromInstanceOrString } from '@warp-drive-mirror/core-types/record';
5
+ import type { ImmutableRequestInfo } from '@warp-drive-mirror/core-types/request';
6
+ import type { Links, PaginationLinks } from '@warp-drive-mirror/core-types/spec/json-api-raw';
7
7
  import type { RecordArrayManager } from '@ember-data-mirror/store/-private/managers/record-array-manager';
8
8
  import type { Store } from '@ember-data-mirror/store/-private/store-service';
9
9
  import { NativeProxy } from '@ember-data-mirror/store/-private/record-arrays/native-proxy-type-fix';
@@ -1 +1 @@
1
- {"version":3,"file":"identifier-array.d.ts","sourceRoot":"","sources":["../../../src/-private/record-arrays/identifier-array.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAU5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,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M,EAAE,OAAO,CAAC,GAAG,IAAI,CAAQ;IAC5D,QAAQ,EAAE,kBAAkB,CAAC;gBAEzB,OAAO,EAAE,uBAAuB;IAM5C,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAejC,OAAO,CAAC,KAAK,EAAE,OAAO;CAKvB"}
@@ -16,7 +16,7 @@ declare module '@ember-data-mirror/store/-private/record-arrays/native-proxy-typ
16
16
  /**
17
17
  * A trap for `Object.defineProperty()`.
18
18
  * @param target The original object which is being proxied.
19
- * @returns A `Boolean` indicating whether or not the property has been defined.
19
+ * @return A `Boolean` indicating whether or not the property has been defined.
20
20
  * @internal
21
21
  */
22
22
  defineProperty?(target: T, property: string | symbol, attributes: PropertyDescriptor): boolean;
@@ -24,7 +24,7 @@ declare module '@ember-data-mirror/store/-private/record-arrays/native-proxy-typ
24
24
  * A trap for the `delete` operator.
25
25
  * @param target The original object which is being proxied.
26
26
  * @param p The name or `Symbol` of the property to delete.
27
- * @returns A `Boolean` indicating whether or not the property was deleted.
27
+ * @return A `Boolean` indicating whether or not the property was deleted.
28
28
  * @internal
29
29
  */
30
30
  deleteProperty?(target: T, p: string | symbol): boolean;
@@ -79,7 +79,7 @@ declare module '@ember-data-mirror/store/-private/record-arrays/native-proxy-typ
79
79
  * @param target The original object which is being proxied.
80
80
  * @param p The name or `Symbol` of the property to set.
81
81
  * @param receiver The object to which the assignment was originally directed.
82
- * @returns A `Boolean` indicating whether or not the property was set.
82
+ * @return A `Boolean` indicating whether or not the property was set.
83
83
  * @internal
84
84
  */
85
85
  set?(target: T, p: string | symbol, newValue: any, receiver: any): boolean;