@ember-data-mirror/store 5.3.9 → 5.3.11
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/README.md +3 -6
- package/addon-main.cjs +1 -1
- package/dist/-private.js +1 -1
- package/dist/{handler-CET_Ja8V.js → handler-DX830Swd.js} +172 -276
- package/dist/handler-DX830Swd.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +31 -20
- package/unstable-preview-types/-private/cache-handler/handler.d.ts +3 -5
- package/unstable-preview-types/-private/cache-handler/handler.d.ts.map +1 -1
- package/unstable-preview-types/-private/cache-handler/types.d.ts +2 -2
- package/unstable-preview-types/-private/cache-handler/utils.d.ts +4 -4
- package/unstable-preview-types/-private/caches/cache-utils.d.ts +2 -2
- package/unstable-preview-types/-private/caches/identifier-cache.d.ts +3 -3
- package/unstable-preview-types/-private/caches/instance-cache.d.ts +4 -4
- package/unstable-preview-types/-private/document.d.ts +3 -3
- package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +2 -2
- package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts +2 -2
- package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +1 -1
- package/unstable-preview-types/-private/managers/cache-manager.d.ts +10 -10
- package/unstable-preview-types/-private/managers/cache-manager.d.ts.map +1 -1
- package/unstable-preview-types/-private/managers/notification-manager.d.ts +4 -1
- package/unstable-preview-types/-private/managers/notification-manager.d.ts.map +1 -1
- package/unstable-preview-types/-private/managers/record-array-manager.d.ts +3 -3
- package/unstable-preview-types/-private/network/request-cache.d.ts +1 -1
- package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +4 -4
- package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +1 -1
- package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts +3 -3
- package/unstable-preview-types/-private/store-service.d.ts +9 -12
- package/unstable-preview-types/-private/store-service.d.ts.map +1 -1
- package/unstable-preview-types/-private/utils/construct-resource.d.ts +1 -1
- package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts +1 -1
- package/unstable-preview-types/-types/q/ds-model.d.ts +2 -2
- package/unstable-preview-types/-types/q/identifier.d.ts +1 -1
- package/unstable-preview-types/-types/q/record-data-json-api.d.ts +2 -2
- package/unstable-preview-types/-types/q/schema-service.d.ts +8 -8
- package/unstable-preview-types/-types/q/store.d.ts +2 -2
- package/unstable-preview-types/index.d.ts +22 -25
- package/unstable-preview-types/index.d.ts.map +1 -1
- package/dist/handler-CET_Ja8V.js.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 "./handler-
|
|
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-DX830Swd.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.
|
|
3
|
+
"version": "5.3.11",
|
|
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,39 +42,40 @@
|
|
|
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.
|
|
56
|
-
"@warp-drive/build-config": "0.0.
|
|
53
|
+
"@embroider/macros": "^1.16.10",
|
|
54
|
+
"@warp-drive-mirror/build-config": "0.0.1"
|
|
57
55
|
},
|
|
58
56
|
"peerDependencies": {
|
|
59
|
-
"
|
|
60
|
-
"@ember-data-mirror/request
|
|
61
|
-
"@ember-data-mirror/
|
|
62
|
-
"@
|
|
57
|
+
"ember-source": "3.28.12 || ^4.0.4 || ^5.0.0 || ^6.0.0",
|
|
58
|
+
"@ember-data-mirror/request": "5.3.11",
|
|
59
|
+
"@ember-data-mirror/request-utils": "5.3.11",
|
|
60
|
+
"@ember-data-mirror/tracking": "5.3.11",
|
|
61
|
+
"@warp-drive-mirror/core-types": "0.0.1"
|
|
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.
|
|
70
|
-
"@ember-data-mirror/request-utils": "5.3.
|
|
71
|
-
"@ember-data-mirror/tracking": "5.3.
|
|
68
|
+
"@ember-data-mirror/request": "5.3.11",
|
|
69
|
+
"@ember-data-mirror/request-utils": "5.3.11",
|
|
70
|
+
"@ember-data-mirror/tracking": "5.3.11",
|
|
72
71
|
"@glimmer/component": "^1.1.2",
|
|
73
|
-
"@warp-drive/core-types": "0.0.
|
|
74
|
-
"@warp-drive/internal-config": "5.3.
|
|
72
|
+
"@warp-drive-mirror/core-types": "0.0.1",
|
|
73
|
+
"@warp-drive/internal-config": "5.3.11",
|
|
75
74
|
"decorator-transforms": "^2.2.2",
|
|
76
75
|
"ember-source": "~5.12.0",
|
|
77
76
|
"expect-type": "^0.20.0",
|
|
78
77
|
"pnpm-sync-dependencies-meta-injected": "0.0.14",
|
|
79
|
-
"typescript": "^5.
|
|
78
|
+
"typescript": "^5.7.2",
|
|
80
79
|
"vite": "^5.2.11"
|
|
81
80
|
},
|
|
82
81
|
"engines": {
|
|
@@ -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
|
}
|
|
@@ -3,9 +3,8 @@ declare module '@ember-data-mirror/store/-private/cache-handler/handler' {
|
|
|
3
3
|
* @module @ember-data-mirror/store
|
|
4
4
|
*/
|
|
5
5
|
import type { CacheHandler as CacheHandlerType } from '@ember-data-mirror/request';
|
|
6
|
-
import type { ImmutableRequestInfo, RequestContext } from '@warp-drive/core-types/request';
|
|
7
|
-
import {
|
|
8
|
-
import type { ResourceIdentifierObject } from '@warp-drive/core-types/spec/json-api-raw';
|
|
6
|
+
import type { ImmutableRequestInfo, RequestContext } from '@warp-drive-mirror/core-types/request';
|
|
7
|
+
import type { ResourceIdentifierObject } from '@warp-drive-mirror/core-types/spec/json-api-raw';
|
|
9
8
|
import type { Store } from '@ember-data-mirror/store/-private/store-service';
|
|
10
9
|
export type LooseStoreRequestInfo<T = unknown, RT = unknown> = Omit<ImmutableRequestInfo<T, RT>, 'records' | 'headers'> & {
|
|
11
10
|
records?: ResourceIdentifierObject[];
|
|
@@ -15,7 +14,6 @@ declare module '@ember-data-mirror/store/-private/cache-handler/handler' {
|
|
|
15
14
|
export interface StoreRequestContext extends RequestContext {
|
|
16
15
|
request: ImmutableRequestInfo & {
|
|
17
16
|
store: Store;
|
|
18
|
-
[EnableHydration]?: boolean;
|
|
19
17
|
};
|
|
20
18
|
}
|
|
21
19
|
/**
|
|
@@ -48,7 +46,7 @@ declare module '@ember-data-mirror/store/-private/cache-handler/handler' {
|
|
|
48
46
|
* approach of EmberData allows for this flexibility.
|
|
49
47
|
*
|
|
50
48
|
* ```ts
|
|
51
|
-
* import { EnableHydration } from '@warp-drive/core-types/request';
|
|
49
|
+
* import { EnableHydration } from '@warp-drive-mirror/core-types/request';
|
|
52
50
|
*
|
|
53
51
|
* requestManager.request({
|
|
54
52
|
* store: store,
|
|
@@ -1 +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;
|
|
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;AAQxC,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,CAAA;KAAE,CAAC;CAClD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,YAAY,EAAE,gBAqF1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-private/cache-handler/types' {
|
|
2
|
-
import type { StableDocumentIdentifier } from '@warp-drive/core-types/identifier';
|
|
3
|
-
import type { ImmutableRequestInfo, ResponseInfo } from '@warp-drive/core-types/request';
|
|
2
|
+
import type { StableDocumentIdentifier } from '@warp-drive-mirror/core-types/identifier';
|
|
3
|
+
import type { ImmutableRequestInfo, ResponseInfo } from '@warp-drive-mirror/core-types/request';
|
|
4
4
|
import type { Store } from '@ember-data-mirror/store/-private/store-service';
|
|
5
5
|
/**
|
|
6
6
|
* A service which an application may provide to the store via
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-private/cache-handler/utils' {
|
|
2
|
-
import type { StableDocumentIdentifier } from '@warp-drive/core-types/identifier';
|
|
3
|
-
import type { ImmutableCreateRequestOptions, ImmutableDeleteRequestOptions, ImmutableRequestInfo, ImmutableUpdateRequestOptions, StructuredDataDocument } from '@warp-drive/core-types/request';
|
|
4
|
-
import type { ResourceDataDocument, ResourceErrorDocument } from '@warp-drive/core-types/spec/document';
|
|
5
|
-
import type { ApiError } from '@warp-drive/core-types/spec/error';
|
|
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
6
|
import type { Store } from '@ember-data-mirror/store/-private/store-service';
|
|
7
7
|
export const MUTATION_OPS: Set<string>;
|
|
8
8
|
export function calcShouldFetch(store: Store, request: ImmutableRequestInfo, hasCachedValue: boolean, identifier: StableDocumentIdentifier | null): boolean;
|
|
@@ -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,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,14 +1,14 @@
|
|
|
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';
|
|
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
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
|
|
@@ -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;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;;OAOG;IACH,eAAe,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAI5D;;;;;;;OAOG;IACH,aAAa,CAAC,UAAU,EAAE,sBAAsB,GAAG,MAAM,EAAE;IAO3D;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,oBAAoB,CAAC,UAAU,EAAE,sBAAsB,GAAG,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAIvF;;;;;;;OAOG;IACH,uBAAuB,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAIpE;;;;;;;;;;;OAWG;IACH,qBAAqB,CAAC,UAAU,EAAE,sBAAsB,GAAG,MAAM,EAAE;IAInE;;;;;;;;OAQG;IACH,eAAe,CACb,UAAU,EAAE,sBAAsB,EAClC,YAAY,EAAE,MAAM,GACnB,oBAAoB,GAAG,sBAAsB;IAOhD;;;;;;;;OAQG;IACH,YAAY,CAAC,UAAU,EAAE,sBAAsB,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI;IAI1E;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,QAAQ,EAAE;IAIzD;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU,EAAE,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,5 +1,8 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-private/managers/notification-manager' {
|
|
2
|
-
|
|
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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/notification-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/notification-manager.ts"],"names":[],"mappings":"AAAA;;GAEG;AAOH,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;AACvE,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAa/F,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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AG,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;
|
|
1
|
+
{"version":3,"file":"identifier-array.d.ts","sourceRoot":"","sources":["../../../src/-private/record-arrays/identifier-array.ts"],"names":[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wOpD;;;;;;;;;;;;;;;;;;;MAmBE;IACF,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAyBrC,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAUtC;;;;;;;;;;;;;;;;MAgBE;IACF,IAAI,IAAI,OAAO,CAAC,eAAe,CAAC;CAKjC;AAsBD,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,GAAG;IACnE,OAAO,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7D,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,qBAAa,UAAU,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,eAAe,CAAC,CAAC,CAAC;IAC7D,KAAK,EAAE,oBAAoB,GAAG,MAAM,CAAC,MAAM,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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-private/store-service' {
|
|
2
2
|
import type RequestManager from '@ember-data-mirror/request';
|
|
3
3
|
import type { Future } from '@ember-data-mirror/request';
|
|
4
|
-
import type { Cache } from '@warp-drive/core-types/cache';
|
|
5
|
-
import type { Graph } from '@warp-drive/core-types/graph';
|
|
6
|
-
import type { StableDocumentIdentifier, StableExistingRecordIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
7
|
-
import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive/core-types/record';
|
|
8
|
-
import type { CollectionResourceDocument, EmptyResourceDocument, JsonApiDocument, ResourceIdentifierObject, SingleResourceDocument } from '@warp-drive/core-types/spec/json-api-raw';
|
|
9
|
-
import type { Type } from '@warp-drive/core-types/symbols';
|
|
4
|
+
import type { Cache } from '@warp-drive-mirror/core-types/cache';
|
|
5
|
+
import type { Graph } from '@warp-drive-mirror/core-types/graph';
|
|
6
|
+
import type { StableDocumentIdentifier, StableExistingRecordIdentifier, StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
|
|
7
|
+
import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive-mirror/core-types/record';
|
|
8
|
+
import type { CollectionResourceDocument, EmptyResourceDocument, JsonApiDocument, ResourceIdentifierObject, SingleResourceDocument } from '@warp-drive-mirror/core-types/spec/json-api-raw';
|
|
9
|
+
import type { Type } from '@warp-drive-mirror/core-types/symbols';
|
|
10
10
|
import type { CacheCapabilitiesManager } from '@ember-data-mirror/store/-types/q/cache-capabilities-manager';
|
|
11
11
|
import type { ModelSchema } from '@ember-data-mirror/store/-types/q/ds-model';
|
|
12
12
|
import type { OpaqueRecordInstance } from '@ember-data-mirror/store/-types/q/record-instance';
|
|
@@ -237,12 +237,9 @@ declare module '@ember-data-mirror/store/-private/store-service' {
|
|
|
237
237
|
* import Fetch from '@ember-data-mirror/request/fetch';
|
|
238
238
|
*
|
|
239
239
|
* class extends Store {
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
* this.requestManager.use([Fetch]);
|
|
244
|
-
* this.requestManager.useCache(CacheHandler);
|
|
245
|
-
* }
|
|
240
|
+
* requestManager = new RequestManager()
|
|
241
|
+
* .use([Fetch])
|
|
242
|
+
* .useCache(CacheHandler);
|
|
246
243
|
* }
|
|
247
244
|
* ```
|
|
248
245
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-service.d.ts","sourceRoot":"","sources":["../../src/-private/store-service.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQlD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAG3F,OAAO,KAAK,EACV,0BAA0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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsJE;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI;IACvC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAC7D,IAAI,CAAC,IAAI,EAAE,sBAAsB,GAAG,oBAAoB;IACxD,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,0BAA0B,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE;IACnE,IAAI,CAAC,IAAI,EAAE,0BAA0B,GAAG,oBAAoB,EAAE;IAkB9D;;;;;;;;MAQE;IACF,KAAK,CACH,UAAU,EAAE,eAAe,EAC3B,UAAU,CAAC,EAAE,OAAO,GACnB,8BAA8B,GAAG,8BAA8B,EAAE,GAAG,IAAI;IA4B3E;;;;;;;;;;OAUG;IACH,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IA6C3E;;;;;;;;;;;OAWG;IAEH;;;;;;OAMG;IACH,IAAI,KAAK,IAAI,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAU3C;IAED,OAAO,IAAI,IAAI;IAkBf,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAG7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-private/utils/construct-resource' {
|
|
2
|
-
import type { ExistingResourceIdentifierObject, ResourceIdentifierObject } from '@warp-drive/core-types/spec/json-api-raw';
|
|
2
|
+
import type { ExistingResourceIdentifierObject, ResourceIdentifierObject } from '@warp-drive-mirror/core-types/spec/json-api-raw';
|
|
3
3
|
export function constructResource(type: ResourceIdentifierObject): ResourceIdentifierObject;
|
|
4
4
|
export function constructResource(type: string, id: string, lid: string): ExistingResourceIdentifierObject;
|
|
5
5
|
export function constructResource(type: string | undefined, id: null | undefined, lid: string): ExistingResourceIdentifierObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-types/q/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 { IdentifierCache } from '@ember-data-mirror/store/-private/caches/identifier-cache';
|
|
4
4
|
import type { NotificationType } from '@ember-data-mirror/store/-private/managers/notification-manager';
|
|
5
5
|
import type { SchemaService } from '@ember-data-mirror/store/-types/q/schema-service';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-types/q/ds-model' {
|
|
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
|
export type KeyOrString<T> = keyof T & string extends never ? string : keyof T & string;
|
|
5
5
|
/**
|
|
6
6
|
* Minimum subset of static schema methods and properties on the
|
|
@@ -3,7 +3,7 @@ declare module '@ember-data-mirror/store/-types/q/identifier' {
|
|
|
3
3
|
@module @ember-data-mirror/store
|
|
4
4
|
*/
|
|
5
5
|
import type { ImmutableRequestInfo } from '@ember-data-mirror/request';
|
|
6
|
-
import type { IdentifierBucket, StableIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
6
|
+
import type { IdentifierBucket, StableIdentifier, StableRecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
|
|
7
7
|
/**
|
|
8
8
|
Configures how unique identifier lid strings are generated by @ember-data-mirror/store.
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-types/q/record-data-json-api' {
|
|
2
|
-
import type { Value } from '@warp-drive/core-types/json/raw';
|
|
3
|
-
import type { CollectionResourceRelationship, Link, Links, Meta, SingleResourceRelationship } from '@warp-drive/core-types/spec/json-api-raw';
|
|
2
|
+
import type { Value } from '@warp-drive-mirror/core-types/json/raw';
|
|
3
|
+
import type { CollectionResourceRelationship, Link, Links, Meta, SingleResourceRelationship } from '@warp-drive-mirror/core-types/spec/json-api-raw';
|
|
4
4
|
/**
|
|
5
5
|
@module @ember-data-mirror/store
|
|
6
6
|
*/
|
|
@@ -2,11 +2,11 @@ declare module '@ember-data-mirror/store/-types/q/schema-service' {
|
|
|
2
2
|
/**
|
|
3
3
|
@module @ember-data-mirror/store
|
|
4
4
|
*/
|
|
5
|
-
import type { StableRecordIdentifier } from '@warp-drive/core-types';
|
|
6
|
-
import type { RecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
7
|
-
import type { ObjectValue } from '@warp-drive/core-types/json/raw';
|
|
8
|
-
import type { Derivation, HashFn, Transformation } from '@warp-drive/core-types/schema/concepts';
|
|
9
|
-
import type { ArrayField, DerivedField, FieldSchema, GenericField, HashField, LegacyAttributeField, LegacyBelongsToField, LegacyHasManyField, ObjectField, ResourceSchema } from '@warp-drive/core-types/schema/fields';
|
|
5
|
+
import type { StableRecordIdentifier } from '@warp-drive-mirror/core-types';
|
|
6
|
+
import type { RecordIdentifier } from '@warp-drive-mirror/core-types/identifier';
|
|
7
|
+
import type { ObjectValue } from '@warp-drive-mirror/core-types/json/raw';
|
|
8
|
+
import type { Derivation, HashFn, Transformation } from '@warp-drive-mirror/core-types/schema/concepts';
|
|
9
|
+
import type { ArrayField, DerivedField, FieldSchema, GenericField, HashField, LegacyAttributeField, LegacyBelongsToField, LegacyHasManyField, ObjectField, ResourceSchema } from '@warp-drive-mirror/core-types/schema/fields';
|
|
10
10
|
export type AttributesSchema = Record<string, LegacyAttributeField>;
|
|
11
11
|
export type RelationshipsSchema = Record<string, LegacyBelongsToField | LegacyHasManyField>;
|
|
12
12
|
/**
|
|
@@ -125,7 +125,7 @@ declare module '@ember-data-mirror/store/-types/q/schema-service' {
|
|
|
125
125
|
* @method transformation
|
|
126
126
|
* @public
|
|
127
127
|
* @param {TransformableField|{ type: string }} field
|
|
128
|
-
* @
|
|
128
|
+
* @return {Transformation}
|
|
129
129
|
*/
|
|
130
130
|
transformation(field: GenericField | ObjectField | ArrayField | {
|
|
131
131
|
type: string;
|
|
@@ -137,7 +137,7 @@ declare module '@ember-data-mirror/store/-types/q/schema-service' {
|
|
|
137
137
|
* @method hashFn
|
|
138
138
|
* @public
|
|
139
139
|
* @param {HashField|{ type: string }} field
|
|
140
|
-
* @
|
|
140
|
+
* @return {HashFn}
|
|
141
141
|
*/
|
|
142
142
|
hashFn(field: HashField | {
|
|
143
143
|
type: string;
|
|
@@ -149,7 +149,7 @@ declare module '@ember-data-mirror/store/-types/q/schema-service' {
|
|
|
149
149
|
* @method derivation
|
|
150
150
|
* @public
|
|
151
151
|
* @param {DerivedField|{ type: string }} field
|
|
152
|
-
* @
|
|
152
|
+
* @return {Derivation}
|
|
153
153
|
*/
|
|
154
154
|
derivation(field: DerivedField | {
|
|
155
155
|
type: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare module '@ember-data-mirror/store/-types/q/store' {
|
|
2
|
-
import type { Value } from '@warp-drive/core-types/json/raw';
|
|
3
|
-
import type { Includes, TypedRecordInstance } from '@warp-drive/core-types/record';
|
|
2
|
+
import type { Value } from '@warp-drive-mirror/core-types/json/raw';
|
|
3
|
+
import type { Includes, TypedRecordInstance } from '@warp-drive-mirror/core-types/record';
|
|
4
4
|
export interface BaseFinderOptions<T = unknown> {
|
|
5
5
|
reload?: boolean;
|
|
6
6
|
backgroundReload?: boolean;
|