@ember-data-types/store 5.6.0-alpha.2 → 5.6.0-alpha.4
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 +5 -5
- package/package.json +1 -1
- package/unstable-preview-types/-private/cache-handler/handler.d.ts +3 -6
- package/unstable-preview-types/-private/cache-handler/handler.d.ts.map +1 -1
- package/unstable-preview-types/-private/cache-handler/types.d.ts +1 -7
- package/unstable-preview-types/-private/cache-handler/types.d.ts.map +1 -1
- package/unstable-preview-types/-private/caches/identifier-cache.d.ts +0 -9
- package/unstable-preview-types/-private/caches/identifier-cache.d.ts.map +1 -1
- package/unstable-preview-types/-private/caches/instance-cache.d.ts +2 -3
- package/unstable-preview-types/-private/caches/instance-cache.d.ts.map +1 -1
- package/unstable-preview-types/-private/document.d.ts +10 -16
- package/unstable-preview-types/-private/document.d.ts.map +1 -1
- package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +0 -13
- package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts.map +1 -1
- package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +0 -3
- package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts.map +1 -1
- package/unstable-preview-types/-private/managers/cache-manager.d.ts +2 -35
- package/unstable-preview-types/-private/managers/cache-manager.d.ts.map +1 -1
- package/unstable-preview-types/-private/managers/notification-manager.d.ts +0 -6
- package/unstable-preview-types/-private/managers/notification-manager.d.ts.map +1 -1
- package/unstable-preview-types/-private/managers/record-array-manager.d.ts +0 -1
- package/unstable-preview-types/-private/managers/record-array-manager.d.ts.map +1 -1
- package/unstable-preview-types/-private/network/request-cache.d.ts +0 -3
- package/unstable-preview-types/-private/network/request-cache.d.ts.map +1 -1
- package/unstable-preview-types/-private/new-core-tmp/promise-state.d.ts +0 -32
- package/unstable-preview-types/-private/new-core-tmp/promise-state.d.ts.map +1 -1
- package/unstable-preview-types/-private/new-core-tmp/reactivity/configure.d.ts +0 -1
- package/unstable-preview-types/-private/new-core-tmp/reactivity/configure.d.ts.map +1 -1
- package/unstable-preview-types/-private/new-core-tmp/request-state.d.ts +9 -29
- package/unstable-preview-types/-private/new-core-tmp/request-state.d.ts.map +1 -1
- package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +0 -2
- package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +1 -1
- package/unstable-preview-types/-private/record-arrays/many-array.d.ts +12 -13
- package/unstable-preview-types/-private/record-arrays/many-array.d.ts.map +1 -1
- package/unstable-preview-types/-private/store-service.d.ts +41 -52
- package/unstable-preview-types/-private/store-service.d.ts.map +1 -1
- package/unstable-preview-types/-private/utils/coerce-id.d.ts +0 -3
- package/unstable-preview-types/-private/utils/coerce-id.d.ts.map +1 -1
- package/unstable-preview-types/-private/utils/uuid-polyfill.d.ts.map +1 -1
- package/unstable-preview-types/-private.d.ts +0 -3
- package/unstable-preview-types/-private.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts +0 -8
- package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/ds-model.d.ts +0 -1
- package/unstable-preview-types/-types/q/ds-model.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/identifier.d.ts +0 -18
- package/unstable-preview-types/-types/q/identifier.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/record-data-json-api.d.ts +0 -3
- package/unstable-preview-types/-types/q/record-data-json-api.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/record-instance.d.ts +0 -5
- package/unstable-preview-types/-types/q/record-instance.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/schema-service.d.ts +1 -21
- package/unstable-preview-types/-types/q/schema-service.d.ts.map +1 -1
- package/unstable-preview-types/-types/q/store.d.ts +0 -1
- package/unstable-preview-types/-types/q/store.d.ts.map +1 -1
- package/unstable-preview-types/configure.d.ts +1 -5
- package/unstable-preview-types/configure.d.ts.map +1 -1
- package/unstable-preview-types/index.d.ts +34 -35
- package/unstable-preview-types/-types/overview.d.ts +0 -21
- package/unstable-preview-types/-types/overview.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -124,11 +124,11 @@ import RequestManager from '@ember-data/request';
|
|
|
124
124
|
import { CacheHandler } from '@ember-data/store';
|
|
125
125
|
import Fetch from '@ember-data/request/fetch';
|
|
126
126
|
|
|
127
|
-
export default
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
export default {
|
|
128
|
+
create() {
|
|
129
|
+
return new RequestManager()
|
|
130
|
+
.use([Fetch])
|
|
131
|
+
.useCache(CacheHandler);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
```
|
package/package.json
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
declare module '@ember-data/store/-private/cache-handler/handler' {
|
|
2
|
-
/**
|
|
3
|
-
* @module @ember-data/store
|
|
4
|
-
*/
|
|
5
2
|
import type { CacheHandler as CacheHandlerType } from '@ember-data/request';
|
|
6
3
|
import type { ImmutableRequestInfo, RequestContext } from '@warp-drive/core-types/request';
|
|
7
4
|
import type { ResourceIdentifierObject } from '@warp-drive/core-types/spec/json-api-raw';
|
|
5
|
+
import type { RequestSignature } from '@warp-drive/core-types/symbols';
|
|
8
6
|
import type { Store } from '@ember-data/store/-private/store-service';
|
|
9
|
-
export type LooseStoreRequestInfo<
|
|
7
|
+
export type LooseStoreRequestInfo<RT = unknown, T = unknown> = Omit<ImmutableRequestInfo<RT, T>, 'records' | 'headers' | typeof RequestSignature> & {
|
|
10
8
|
records?: ResourceIdentifierObject[];
|
|
11
9
|
headers?: Headers;
|
|
12
10
|
};
|
|
13
|
-
export type StoreRequestInput<
|
|
11
|
+
export type StoreRequestInput<RT = unknown, T = unknown> = ImmutableRequestInfo<RT, T> | LooseStoreRequestInfo<RT, T>;
|
|
14
12
|
export interface StoreRequestContext extends RequestContext {
|
|
15
13
|
request: ImmutableRequestInfo & {
|
|
16
14
|
store: Store;
|
|
@@ -55,7 +53,6 @@ declare module '@ember-data/store/-private/cache-handler/handler' {
|
|
|
55
53
|
* [EnableHydration]: true
|
|
56
54
|
* });
|
|
57
55
|
*
|
|
58
|
-
* @typedoc
|
|
59
56
|
*/
|
|
60
57
|
export const CacheHandler: CacheHandlerType;
|
|
61
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/-private/cache-handler/handler.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/-private/cache-handler/handler.ts"],"names":[],"mappings":"AAAA,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;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAU9C,MAAM,MAAM,qBAAqB,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,IAAI,CACjE,oBAAoB,CAAC,EAAE,EAAE,CAAC,CAAC,EAC3B,SAAS,GAAG,SAAS,GAAG,OAAO,gBAAgB,CAChD,GAAG;IACF,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,oBAAoB,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAEtH,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,OAAO,EAAE,oBAAoB,GAAG;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC;CAClD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,YAAY,EAAE,gBA0E1B,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare module '@ember-data/store/-private/cache-handler/types' {
|
|
|
13
13
|
* Implementing this service allows you to programatically define
|
|
14
14
|
* when a request should be considered expired.
|
|
15
15
|
*
|
|
16
|
-
* @class
|
|
16
|
+
* @class (Interface) CachePolicy
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
19
|
export interface CachePolicy {
|
|
@@ -27,7 +27,6 @@ declare module '@ember-data/store/-private/cache-handler/types' {
|
|
|
27
27
|
* the request will be fulfilled from the configured request handlers
|
|
28
28
|
* and the cache will be updated before returning the response.
|
|
29
29
|
*
|
|
30
|
-
* @method isHardExpired
|
|
31
30
|
* @public
|
|
32
31
|
* @param {StableDocumentIdentifier} identifier
|
|
33
32
|
* @param {Store} store
|
|
@@ -43,7 +42,6 @@ declare module '@ember-data/store/-private/cache-handler/types' {
|
|
|
43
42
|
* If true, the request will be fulfilled from cache while a backgrounded
|
|
44
43
|
* request is made to update the cache via the configured request handlers.
|
|
45
44
|
*
|
|
46
|
-
* @method isSoftExpired
|
|
47
45
|
* @public
|
|
48
46
|
* @param {StableDocumentIdentifier} identifier
|
|
49
47
|
* @param {Store} store
|
|
@@ -56,7 +54,6 @@ declare module '@ember-data/store/-private/cache-handler/types' {
|
|
|
56
54
|
*
|
|
57
55
|
* Note, this is invoked regardless of whether the request has a cache-key.
|
|
58
56
|
*
|
|
59
|
-
* @method willRequest [Optional]
|
|
60
57
|
* @public
|
|
61
58
|
* @param {ImmutableRequestInfo} request
|
|
62
59
|
* @param {StableDocumentIdentifier | null} identifier
|
|
@@ -90,10 +87,7 @@ declare module '@ember-data/store/-private/cache-handler/types' {
|
|
|
90
87
|
* });
|
|
91
88
|
* ```
|
|
92
89
|
*
|
|
93
|
-
* Note,
|
|
94
90
|
*
|
|
95
|
-
*
|
|
96
|
-
* @method didRequest [Optional]
|
|
97
91
|
* @public
|
|
98
92
|
* @param {ImmutableRequestInfo} request
|
|
99
93
|
* @param {ImmutableResponse} response
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,UAAU,EAAE,wBAAwB,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC;IAC3E;;;;;;;;;;;;;OAaG;IACH,aAAa,CAAC,UAAU,EAAE,wBAAwB,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC;IAE3E;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,CAAC,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,wBAAwB,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAE7G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;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"}
|
|
@@ -58,7 +58,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
58
58
|
* we allow late binding of this private internal merge so that
|
|
59
59
|
* the cache can insert itself here to handle elimination of duplicates
|
|
60
60
|
*
|
|
61
|
-
* @method __configureMerge
|
|
62
61
|
* @private
|
|
63
62
|
*/
|
|
64
63
|
__configureMerge(method: MergeMethod | null): void;
|
|
@@ -68,7 +67,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
68
67
|
lid?: string;
|
|
69
68
|
}): StableRecordIdentifier;
|
|
70
69
|
/**
|
|
71
|
-
* @method _getRecordIdentifier
|
|
72
70
|
* @private
|
|
73
71
|
*/
|
|
74
72
|
_getRecordIdentifier(resource: {
|
|
@@ -83,7 +81,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
83
81
|
* useful for the "create" case when we need to see if
|
|
84
82
|
* we are accidentally overwritting something
|
|
85
83
|
*
|
|
86
|
-
* @method peekRecordIdentifier
|
|
87
84
|
* @param resource
|
|
88
85
|
* @return {StableRecordIdentifier | undefined}
|
|
89
86
|
* @private
|
|
@@ -93,7 +90,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
93
90
|
Returns the DocumentIdentifier for the given Request, creates one if it does not yet exist.
|
|
94
91
|
Returns `null` if the request does not have a `cacheKey` or `url`.
|
|
95
92
|
|
|
96
|
-
@method getOrCreateDocumentIdentifier
|
|
97
93
|
@param request
|
|
98
94
|
@return {StableDocumentIdentifier | null}
|
|
99
95
|
@public
|
|
@@ -109,7 +105,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
109
105
|
`id` + `type` or `lid` will return the same `lid` value)
|
|
110
106
|
- this referential stability of the object itself is guaranteed
|
|
111
107
|
|
|
112
|
-
@method getOrCreateRecordIdentifier
|
|
113
108
|
@param resource
|
|
114
109
|
@return {StableRecordIdentifier}
|
|
115
110
|
@public
|
|
@@ -123,7 +118,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
123
118
|
Delegates generation to the user supplied `GenerateMethod` if one has been provided
|
|
124
119
|
with the signature `generateMethod({ type }, 'record')`.
|
|
125
120
|
|
|
126
|
-
@method createIdentifierForNewRecord
|
|
127
121
|
@param data
|
|
128
122
|
@return {StableRecordIdentifier}
|
|
129
123
|
@public
|
|
@@ -148,7 +142,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
148
142
|
provided identifier. In this case the abandoned identifier will go through the usual
|
|
149
143
|
`forgetRecordIdentifier` codepaths.
|
|
150
144
|
|
|
151
|
-
@method updateRecordIdentifier
|
|
152
145
|
@param identifierObject
|
|
153
146
|
@param data
|
|
154
147
|
@return {StableRecordIdentifier}
|
|
@@ -156,7 +149,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
156
149
|
*/
|
|
157
150
|
updateRecordIdentifier(identifierObject: RecordIdentifier, data: unknown): StableRecordIdentifier;
|
|
158
151
|
/**
|
|
159
|
-
* @method _mergeRecordIdentifiers
|
|
160
152
|
* @private
|
|
161
153
|
*/
|
|
162
154
|
_mergeRecordIdentifiers(keyInfo: KeyInfo, identifier: StableRecordIdentifier, existingIdentifier: StableRecordIdentifier, data: unknown): StableRecordIdentifier;
|
|
@@ -168,7 +160,6 @@ declare module '@ember-data/store/-private/caches/identifier-cache' {
|
|
|
168
160
|
we do not care about the record anymore. Especially useful when an `id` of a
|
|
169
161
|
deleted record might be reused later for a new record.
|
|
170
162
|
|
|
171
|
-
@method forgetRecordIdentifier
|
|
172
163
|
@param identifierObject
|
|
173
164
|
@public
|
|
174
165
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identifier-cache.d.ts","sourceRoot":"","sources":["../../../src/-private/caches/identifier-cache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"identifier-cache.d.ts","sourceRoot":"","sources":["../../../src/-private/caches/identifier-cache.ts"],"names":[],"mappings":"AAQA,OAAO,EAKL,KAAK,UAAU,EAEf,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EAEnC,KAAK,sBAAsB,EAC5B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EACV,gCAAgC,EAEhC,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;AAElD,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,WAAW,EACX,YAAY,EACb,MAAM,2BAA2B,CAAC;AAQnC,KAAK,kBAAkB,CAAC,CAAC,IAAI,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,MAAM,CAAC;AAEtE,KAAK,0BAA0B,CAAC,CAAC,IAAI,CAAC,SAAS,gCAAgC,GAC3E,8BAA8B,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GACrD,sBAAsB,CAAC;AAI3B,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,IAAI,sBAAsB,CAE5F;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,IAAI,wBAAwB,CAEhG;AAwBD,UAAU,UAAU;IAClB,GAAG,EAAE,aAAa,CAAC;IACnB,EAAE,EAAE,aAAa,CAAC;CACnB;AACD,KAAK,OAAO,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE,CAAC;AAI7C,KAAK,aAAa,GAAG,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;A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OR"}
|
|
@@ -13,6 +13,7 @@ declare module '@ember-data/store/-private/caches/instance-cache' {
|
|
|
13
13
|
/**
|
|
14
14
|
Retrieves the unique referentially-stable [RecordIdentifier](/ember-data/release/classes/StableRecordIdentifier)
|
|
15
15
|
assigned to the given record instance.
|
|
16
|
+
|
|
16
17
|
```js
|
|
17
18
|
import { recordIdentifierFor } from "@ember-data/store";
|
|
18
19
|
// ... gain access to a record, for instance with peekRecord or findRecord
|
|
@@ -22,10 +23,8 @@ declare module '@ember-data/store/-private/caches/instance-cache' {
|
|
|
22
23
|
// access the identifier's properties.
|
|
23
24
|
const { id, type, lid } = identifier;
|
|
24
25
|
```
|
|
25
|
-
|
|
26
|
+
|
|
26
27
|
@public
|
|
27
|
-
@static
|
|
28
|
-
@for @ember-data/store
|
|
29
28
|
@param {Object} record a record instance previously obstained from the store.
|
|
30
29
|
@return {StableRecordIdentifier}
|
|
31
30
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-cache.d.ts","sourceRoot":"","sources":["../../../src/-private/caches/instance-cache.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC1G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAA4B,MAAM,+BAA+B,CAAC;AAQrH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,eAAe,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,E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EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,QAwB3G;AAiCD,wBAAgB,YAAY,SAI3B"}
|
|
@@ -86,56 +86,51 @@ declare module '@ember-data/store/-private/document' {
|
|
|
86
86
|
* with the document when the request completes. If no related link is present,
|
|
87
87
|
* will fallback to the self link if present
|
|
88
88
|
*
|
|
89
|
-
* @method fetch
|
|
90
89
|
* @public
|
|
91
90
|
* @param {Object} options
|
|
92
|
-
* @return Promise<Document>
|
|
91
|
+
* @return {Promise<Document>}
|
|
93
92
|
*/
|
|
94
|
-
fetch(options?:
|
|
93
|
+
fetch(options?: RequestInfo<ReactiveDocument<T>, T>): Promise<ReactiveDocument<T>>;
|
|
95
94
|
/**
|
|
96
95
|
* Fetches the next link for this document, returning a promise that resolves
|
|
97
96
|
* with the new document when the request completes, or null if there is no
|
|
98
97
|
* next link.
|
|
99
98
|
*
|
|
100
|
-
* @method next
|
|
101
99
|
* @public
|
|
102
100
|
* @param {Object} options
|
|
103
|
-
* @return Promise<Document | null>
|
|
101
|
+
* @return {Promise<Document | null>}
|
|
104
102
|
*/
|
|
105
|
-
next(options?:
|
|
103
|
+
next(options?: RequestInfo<ReactiveDocument<T>, T>): Promise<ReactiveDocument<T> | null>;
|
|
106
104
|
/**
|
|
107
105
|
* Fetches the prev link for this document, returning a promise that resolves
|
|
108
106
|
* with the new document when the request completes, or null if there is no
|
|
109
107
|
* prev link.
|
|
110
108
|
*
|
|
111
|
-
* @method prev
|
|
112
109
|
* @public
|
|
113
110
|
* @param {Object} options
|
|
114
|
-
* @return Promise<Document | null>
|
|
111
|
+
* @return {Promise<Document | null>}
|
|
115
112
|
*/
|
|
116
|
-
prev(options
|
|
113
|
+
prev(options: RequestInfo<ReactiveDocument<T>, T>): Promise<ReactiveDocument<T> | null>;
|
|
117
114
|
/**
|
|
118
115
|
* Fetches the first link for this document, returning a promise that resolves
|
|
119
116
|
* with the new document when the request completes, or null if there is no
|
|
120
117
|
* first link.
|
|
121
118
|
*
|
|
122
|
-
* @method first
|
|
123
119
|
* @public
|
|
124
120
|
* @param {Object} options
|
|
125
|
-
* @return Promise<Document | null>
|
|
121
|
+
* @return {Promise<Document | null>}
|
|
126
122
|
*/
|
|
127
|
-
first(options
|
|
123
|
+
first(options: RequestInfo<ReactiveDocument<T>, T>): Promise<ReactiveDocument<T> | null>;
|
|
128
124
|
/**
|
|
129
125
|
* Fetches the last link for this document, returning a promise that resolves
|
|
130
126
|
* with the new document when the request completes, or null if there is no
|
|
131
127
|
* last link.
|
|
132
128
|
*
|
|
133
|
-
* @method last
|
|
134
129
|
* @public
|
|
135
130
|
* @param {Object} options
|
|
136
|
-
* @return Promise<Document | null>
|
|
131
|
+
* @return {Promise<Document | null>}
|
|
137
132
|
*/
|
|
138
|
-
last(options
|
|
133
|
+
last(options: RequestInfo<ReactiveDocument<T>, T>): Promise<ReactiveDocument<T> | null>;
|
|
139
134
|
/**
|
|
140
135
|
* Implemented for `JSON.stringify` support.
|
|
141
136
|
*
|
|
@@ -145,7 +140,6 @@ declare module '@ember-data/store/-private/document' {
|
|
|
145
140
|
* the document's contents, leaving that to the individual record
|
|
146
141
|
* instances to determine how to do, if at all.
|
|
147
142
|
*
|
|
148
|
-
* @method toJSON
|
|
149
143
|
* @public
|
|
150
144
|
* @return
|
|
151
145
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../src/-private/document.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../src/-private/document.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAExF,OAAO,KAAK,EAAkC,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7G,OAAO,KAAK,EAAQ,IAAI,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C,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAIvF;;;;;;;;OAQG;IACH,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAIxF;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAIvF;;;;;;;;;;;OAWG;IACH,MAAM,IAAI,MAAM;CAiBjB"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
declare module '@ember-data/store/-private/legacy-model-support/record-reference' {
|
|
2
2
|
import type { StableRecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
3
|
-
/**
|
|
4
|
-
@module @ember-data/store
|
|
5
|
-
*/
|
|
6
3
|
import type { SingleResourceDocument } from '@warp-drive/core-types/spec/json-api-raw';
|
|
7
4
|
import type { OpaqueRecordInstance } from '@ember-data/store/-types/q/record-instance';
|
|
8
5
|
import type { Store } from '@ember-data/store/-private/store-service';
|
|
9
|
-
/**
|
|
10
|
-
@module @ember-data/store
|
|
11
|
-
*/
|
|
12
6
|
/**
|
|
13
7
|
A `RecordReference` is a low-level API that allows users and
|
|
14
8
|
addon authors to perform meta-operations on a record.
|
|
@@ -38,7 +32,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
38
32
|
userRef.id(); // '1'
|
|
39
33
|
```
|
|
40
34
|
|
|
41
|
-
@method id
|
|
42
35
|
@public
|
|
43
36
|
@return {String} The id of the record.
|
|
44
37
|
*/
|
|
@@ -57,7 +50,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
57
50
|
userRef.identifier(); // '1'
|
|
58
51
|
```
|
|
59
52
|
|
|
60
|
-
@method identifier
|
|
61
53
|
@public
|
|
62
54
|
@return {String} The identifier of the record.
|
|
63
55
|
*/
|
|
@@ -75,7 +67,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
75
67
|
userRef.remoteType(); // 'identity'
|
|
76
68
|
```
|
|
77
69
|
|
|
78
|
-
@method remoteType
|
|
79
70
|
@public
|
|
80
71
|
@return {String} 'identity'
|
|
81
72
|
*/
|
|
@@ -114,7 +105,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
114
105
|
});
|
|
115
106
|
```
|
|
116
107
|
|
|
117
|
-
@method push
|
|
118
108
|
@public
|
|
119
109
|
@param objectOrPromise a JSON:API ResourceDocument or a promise resolving to one
|
|
120
110
|
@return a promise for the value (record or relationship)
|
|
@@ -133,7 +123,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
133
123
|
userRef.value(); // user
|
|
134
124
|
```
|
|
135
125
|
|
|
136
|
-
@method value
|
|
137
126
|
@public
|
|
138
127
|
@return {Model} the record for this RecordReference
|
|
139
128
|
*/
|
|
@@ -151,7 +140,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
151
140
|
userRef.load().then(...)
|
|
152
141
|
```
|
|
153
142
|
|
|
154
|
-
@method load
|
|
155
143
|
@public
|
|
156
144
|
@return {Promise<record>} the record for this RecordReference
|
|
157
145
|
*/
|
|
@@ -169,7 +157,6 @@ declare module '@ember-data/store/-private/legacy-model-support/record-reference
|
|
|
169
157
|
userRef.reload().then(...)
|
|
170
158
|
```
|
|
171
159
|
|
|
172
|
-
@method reload
|
|
173
160
|
@public
|
|
174
161
|
@return {Promise<record>} the record for this RecordReference
|
|
175
162
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-reference.d.ts","sourceRoot":"","sources":["../../../src/-private/legacy-model-support/record-reference.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF
|
|
1
|
+
{"version":3,"file":"record-reference.d.ts","sourceRoot":"","sources":["../../../src/-private/legacy-model-support/record-reference.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAG3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;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;;;;;;;;;;;;;;;;MAgBE;IACF,EAAE;IAMF;;;;;;;;;;;;;;;;MAgBE;IACF,UAAU,IAAI,sBAAsB;IAIpC;;;;;;;;;;;;;;;MAeE;IACF,UAAU,IAAI,UAAU;IAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCE;IACF,IAAI,CAAC,eAAe,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAO9G;;;;;;;;;;;;;;;MAeE;IACF,KAAK,IAAI,oBAAoB,GAAG,IAAI;IAIpC;;;;;;;;;;;;;;;MAeE;IACF,IAAI;IAQJ;;;;;;;;;;;;;;;MAeE;IACF,MAAM;CAOP"}
|
|
@@ -5,9 +5,6 @@ declare module '@ember-data/store/-private/managers/cache-capabilities-manager'
|
|
|
5
5
|
import type { IdentifierCache } from '@ember-data/store/-private/caches/identifier-cache';
|
|
6
6
|
import type { Store } from '@ember-data/store/-private/store-service';
|
|
7
7
|
import type { NotificationType } from '@ember-data/store/-private/managers/notification-manager';
|
|
8
|
-
/**
|
|
9
|
-
@module @ember-data/store
|
|
10
|
-
*/
|
|
11
8
|
export interface CacheCapabilitiesManager {
|
|
12
9
|
getSchemaDefinitionService(): SchemaService;
|
|
13
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-capabilities-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/cache-capabilities-manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE1G,OAAO,KAAK,EAAE,wBAAwB,IAAI,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAC1G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"cache-capabilities-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/cache-capabilities-manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE1G,OAAO,KAAK,EAAE,wBAAwB,IAAI,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAC1G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,C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