@ember-data-types/store 5.6.0-alpha.3 → 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/package.json +1 -1
- package/unstable-preview-types/-private/cache-handler/handler.d.ts +0 -4
- package/unstable-preview-types/-private/cache-handler/handler.d.ts.map +1 -1
- package/unstable-preview-types/-private/cache-handler/types.d.ts +1 -5
- 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 +0 -6
- 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 +0 -20
- 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 +40 -51
- 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 +29 -31
- package/unstable-preview-types/index.d.ts.map +1 -1
- package/unstable-preview-types/-types/overview.d.ts +0 -21
- package/unstable-preview-types/-types/overview.d.ts.map +0 -1
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare module '@ember-data/store/-types/q/identifier' {
|
|
2
|
-
/**
|
|
3
|
-
@module @ember-data/store
|
|
4
|
-
*/
|
|
5
2
|
import type { ImmutableRequestInfo } from '@ember-data/request';
|
|
6
3
|
import type { IdentifierBucket, StableIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
7
4
|
/**
|
|
@@ -73,11 +70,8 @@ declare module '@ember-data/store/-types/q/identifier' {
|
|
|
73
70
|
|
|
74
71
|
⚠️ Caution: Requests that do not have a `method` assigned are assumed to be `GET`
|
|
75
72
|
|
|
76
|
-
@method setIdentifierGenerationMethod
|
|
77
|
-
@for @ember-data/store
|
|
78
73
|
@param method
|
|
79
74
|
@public
|
|
80
|
-
@static
|
|
81
75
|
*/
|
|
82
76
|
export interface GenerationMethod {
|
|
83
77
|
(data: ImmutableRequestInfo, bucket: 'document'): string | null;
|
|
@@ -115,11 +109,8 @@ declare module '@ember-data/store/-types/q/identifier' {
|
|
|
115
109
|
`updateRecordIdentifier` that attempt to change the `id` or calling update
|
|
116
110
|
without providing an `id` when one is missing will throw an error.
|
|
117
111
|
|
|
118
|
-
@method setIdentifierUpdateMethod
|
|
119
|
-
@for @ember-data/store
|
|
120
112
|
@param method
|
|
121
113
|
@public
|
|
122
|
-
@static
|
|
123
114
|
*/
|
|
124
115
|
export type UpdateMethod = {
|
|
125
116
|
(identifier: StableRecordIdentifier, newData: unknown, bucket: 'record'): void;
|
|
@@ -137,11 +128,8 @@ declare module '@ember-data/store/-types/q/identifier' {
|
|
|
137
128
|
Takes method which can expect to receive an existing `Identifier` that should be eliminated
|
|
138
129
|
from any secondary lookup tables or caches that the user has populated for it.
|
|
139
130
|
|
|
140
|
-
@method setIdentifierForgetMethod
|
|
141
|
-
@for @ember-data/store
|
|
142
131
|
@param method
|
|
143
132
|
@public
|
|
144
|
-
@static
|
|
145
133
|
*/
|
|
146
134
|
export type ForgetMethod = (identifier: StableIdentifier | StableRecordIdentifier, bucket: IdentifierBucket) => void;
|
|
147
135
|
/**
|
|
@@ -158,11 +146,8 @@ declare module '@ember-data/store/-types/q/identifier' {
|
|
|
158
146
|
If you have properly used a WeakMap to encapsulate the state of your customization
|
|
159
147
|
to the application instance, you may not need to implement the `resetMethod`.
|
|
160
148
|
|
|
161
|
-
@method setIdentifierResetMethod
|
|
162
|
-
@for @ember-data/store
|
|
163
149
|
@param method
|
|
164
150
|
@public
|
|
165
|
-
@static
|
|
166
151
|
*/
|
|
167
152
|
export type ResetMethod = () => void;
|
|
168
153
|
/**
|
|
@@ -178,11 +163,8 @@ declare module '@ember-data/store/-types/q/identifier' {
|
|
|
178
163
|
import { setKeyInfoForResource } from '@ember-data/store';
|
|
179
164
|
```
|
|
180
165
|
|
|
181
|
-
@method setKeyInfoForResource
|
|
182
|
-
@for @ember-data/store
|
|
183
166
|
@param method
|
|
184
167
|
@public
|
|
185
|
-
@static
|
|
186
168
|
*/
|
|
187
169
|
export type KeyInfo = {
|
|
188
170
|
id: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../../../src/-types/q/identifier.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../../../src/-types/q/identifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAEpH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuEE;AACF,MAAM,WAAW,gBAAgB;IAC/B,CAAC,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;IAChE,CAAC,IAAI,EAAE,OAAO,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC7D,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,GAAG,MAAM,GAAG,IAAI,CAAC;CAC1D;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BE;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC/E,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,GAAG,IAAI,CAAC;CACvE,CAAC;AAEF;;;;;;;;;;;;;;EAcE;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,gBAAgB,GAAG,sBAAsB,EAAE,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;AAErH;;;;;;;;;;;;;;;;EAgBE;AACF,MAAM,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC;AAErC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAsB,GAAG,IAAI,KAAK,OAAO,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
declare module '@ember-data/store/-types/q/record-data-json-api' {
|
|
2
2
|
import type { Value } from '@warp-drive/core-types/json/raw';
|
|
3
3
|
import type { CollectionResourceRelationship, Link, Links, Meta, SingleResourceRelationship } from '@warp-drive/core-types/spec/json-api-raw';
|
|
4
|
-
/**
|
|
5
|
-
@module @ember-data/store
|
|
6
|
-
*/
|
|
7
4
|
export type AttributesHash = Record<string, Value>;
|
|
8
5
|
export interface JsonApiResource {
|
|
9
6
|
id?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-data-json-api.d.ts","sourceRoot":"","sources":["../../../src/-types/q/record-data-json-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EACV,8BAA8B,EAC9B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,0BAA0B,EAC3B,MAAM,0CAA0C,CAAC;AAElD
|
|
1
|
+
{"version":3,"file":"record-data-json-api.d.ts","sourceRoot":"","sources":["../../../src/-types/q/record-data-json-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EACV,8BAA8B,EAC9B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,0BAA0B,EAC3B,MAAM,0CAA0C,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,8BAA8B,CAAC,CAAC;IAC5F,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,IAAI,CAAC;QACb,IAAI,CAAC,EAAE,IAAI,CAAC;KACb,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare module '@ember-data/store/-types/q/record-instance' {
|
|
2
|
-
/**
|
|
3
|
-
@module @ember-data/store
|
|
4
|
-
*/
|
|
5
2
|
/**
|
|
6
3
|
In EmberData, a "record instance" is a class instance used to present the data
|
|
7
4
|
for a single resource, transforming the resource's cached raw data into a form
|
|
@@ -21,8 +18,6 @@ declare module '@ember-data/store/-types/q/record-instance' {
|
|
|
21
18
|
also allows EmberData to provide typechecking and intellisense for the record
|
|
22
19
|
based on a special symbol prsent on record instances that implement the
|
|
23
20
|
`TypedRecordInstance` interface.
|
|
24
|
-
|
|
25
|
-
@typedoc
|
|
26
21
|
*/
|
|
27
22
|
export type OpaqueRecordInstance = unknown;
|
|
28
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-instance.d.ts","sourceRoot":"","sources":["../../../src/-types/q/record-instance.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"record-instance.d.ts","sourceRoot":"","sources":["../../../src/-types/q/record-instance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;EAmBE;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare module '@ember-data/store/-types/q/schema-service' {
|
|
2
|
-
/**
|
|
3
|
-
@module @ember-data/store
|
|
4
|
-
*/
|
|
5
2
|
import type { StableRecordIdentifier } from '@warp-drive/core-types';
|
|
6
3
|
import type { RecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
7
4
|
import type { ObjectValue } from '@warp-drive/core-types/json/raw';
|
|
@@ -60,7 +57,7 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
60
57
|
* }
|
|
61
58
|
* ```
|
|
62
59
|
*
|
|
63
|
-
* @class
|
|
60
|
+
* @class (Interface) SchemaService
|
|
64
61
|
* @public
|
|
65
62
|
*/
|
|
66
63
|
export interface SchemaService {
|
|
@@ -69,7 +66,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
69
66
|
*
|
|
70
67
|
* Queries whether the SchemaService recognizes `type` as a resource type
|
|
71
68
|
*
|
|
72
|
-
* @method doesTypeExist
|
|
73
69
|
* @public
|
|
74
70
|
* @deprecated
|
|
75
71
|
* @param {String} type
|
|
@@ -79,7 +75,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
79
75
|
/**
|
|
80
76
|
* Queries whether the SchemaService recognizes `type` as a resource type
|
|
81
77
|
*
|
|
82
|
-
* @method hasResource
|
|
83
78
|
* @public
|
|
84
79
|
* @param {StableRecordIdentifier|ObjectWithStringTypeProperty} resource
|
|
85
80
|
* @return {Boolean}
|
|
@@ -88,7 +83,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
88
83
|
/**
|
|
89
84
|
* Queries whether the SchemaService recognizes `type` as a resource trait
|
|
90
85
|
*
|
|
91
|
-
* @method hasTrait
|
|
92
86
|
* @public
|
|
93
87
|
* @param {String} type
|
|
94
88
|
* @return {Boolean}
|
|
@@ -97,7 +91,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
97
91
|
/**
|
|
98
92
|
* Queries whether the given resource has the given trait
|
|
99
93
|
*
|
|
100
|
-
* @method resourceHasTrait
|
|
101
94
|
* @public
|
|
102
95
|
* @param {StableRecordIdentifier|ObjectWithStringTypeProperty} resource
|
|
103
96
|
* @param {String} trait
|
|
@@ -109,7 +102,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
109
102
|
*
|
|
110
103
|
* Should error if the resource type is not recognized.
|
|
111
104
|
*
|
|
112
|
-
* @method fields
|
|
113
105
|
* @public
|
|
114
106
|
* @param {StableRecordIdentifier|ObjectWithStringTypeProperty} resource
|
|
115
107
|
* @return {Map<string, FieldSchema>}
|
|
@@ -119,7 +111,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
119
111
|
* Returns the transformation registered with the name provided
|
|
120
112
|
* by `field.type`. Validates that the field is a valid transformable.
|
|
121
113
|
*
|
|
122
|
-
* @method transformation
|
|
123
114
|
* @public
|
|
124
115
|
* @param {TransformableField|ObjectWithStringTypeProperty} field
|
|
125
116
|
* @return {Transformation}
|
|
@@ -129,7 +120,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
129
120
|
* Returns the hash function registered with the name provided
|
|
130
121
|
* by `field.type`. Validates that the field is a valid HashField.
|
|
131
122
|
*
|
|
132
|
-
* @method hashFn
|
|
133
123
|
* @public
|
|
134
124
|
* @param {HashField|ObjectWithStringTypeProperty} field
|
|
135
125
|
* @return {HashFn}
|
|
@@ -139,7 +129,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
139
129
|
* Returns the derivation registered with the name provided
|
|
140
130
|
* by `field.type`. Validates that the field is a valid DerivedField.
|
|
141
131
|
*
|
|
142
|
-
* @method derivation
|
|
143
132
|
* @public
|
|
144
133
|
* @param {DerivedField|ObjectWithStringTypeProperty} field
|
|
145
134
|
* @return {Derivation}
|
|
@@ -148,7 +137,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
148
137
|
/**
|
|
149
138
|
* Returns the schema for the provided resource type.
|
|
150
139
|
*
|
|
151
|
-
* @method resource
|
|
152
140
|
* @public
|
|
153
141
|
* @param {StableRecordIdentifier|ObjectWithStringTypeProperty} resource
|
|
154
142
|
* @return {ResourceSchema}
|
|
@@ -161,7 +149,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
161
149
|
* or for registering schema information delivered by API calls
|
|
162
150
|
* or other sources just-in-time.
|
|
163
151
|
*
|
|
164
|
-
* @method registerResources
|
|
165
152
|
* @public
|
|
166
153
|
* @param {Schema[]} schemas
|
|
167
154
|
*/
|
|
@@ -175,7 +162,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
175
162
|
* or for registering schema information delivered by API calls
|
|
176
163
|
* or other sources just-in-time.
|
|
177
164
|
*
|
|
178
|
-
* @method registerResource
|
|
179
165
|
* @public
|
|
180
166
|
* @param {Schema} schema
|
|
181
167
|
*/
|
|
@@ -186,7 +172,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
186
172
|
* The transformation can later be retrieved by the name
|
|
187
173
|
* attached to it's `[Type]` property.
|
|
188
174
|
*
|
|
189
|
-
* @method registerTransformations
|
|
190
175
|
* @public
|
|
191
176
|
* @param {Transformation} transform
|
|
192
177
|
*/
|
|
@@ -197,7 +182,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
197
182
|
* The derivation can later be retrieved by the name
|
|
198
183
|
* attached to it's `[Type]` property.
|
|
199
184
|
*
|
|
200
|
-
* @method registerDerivations
|
|
201
185
|
* @public
|
|
202
186
|
* @param {Derivation} derivation
|
|
203
187
|
*/
|
|
@@ -208,7 +192,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
208
192
|
* The hashing function can later be retrieved by the name
|
|
209
193
|
* attached to it's `[Type]` property.
|
|
210
194
|
*
|
|
211
|
-
* @method registerHashFn
|
|
212
195
|
* @public
|
|
213
196
|
* @param {HashFn} hashfn
|
|
214
197
|
*/
|
|
@@ -251,7 +234,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
251
234
|
* }
|
|
252
235
|
* ```
|
|
253
236
|
*
|
|
254
|
-
* @method attributesDefinitionFor
|
|
255
237
|
* @public
|
|
256
238
|
* @deprecated
|
|
257
239
|
* @param {RecordIdentifier|ObjectWithStringTypeProperty} identifier
|
|
@@ -333,7 +315,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
333
315
|
* }
|
|
334
316
|
* ```
|
|
335
317
|
*
|
|
336
|
-
* @method relationshipsDefinitionFor
|
|
337
318
|
* @public
|
|
338
319
|
* @deprecated
|
|
339
320
|
* @param {RecordIdentifier|ObjectWithStringTypeProperty} identifier
|
|
@@ -343,7 +324,6 @@ declare module '@ember-data/store/-types/q/schema-service' {
|
|
|
343
324
|
/**
|
|
344
325
|
* Returns all known resource types
|
|
345
326
|
*
|
|
346
|
-
* @method resourceTypes
|
|
347
327
|
* @public
|
|
348
328
|
* @return {String[]}
|
|
349
329
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-service.d.ts","sourceRoot":"","sources":["../../../src/-types/q/schema-service.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"schema-service.d.ts","sourceRoot":"","sources":["../../../src/-types/q/schema-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACjG,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,uBAAuB,EACvB,WAAW,EACX,MAAM,EACP,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;AACpE,MAAM,MAAM,mBAAmB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AmB,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5E,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;CAClC,CAAC"}
|
|
@@ -3,16 +3,12 @@ declare module '@ember-data/store/configure' {
|
|
|
3
3
|
* Provides a configuration API for the reactivity system
|
|
4
4
|
* that WarpDrive should use.
|
|
5
5
|
*
|
|
6
|
-
* @module
|
|
7
|
-
* @main @ember-data/store/configure
|
|
6
|
+
* @module
|
|
8
7
|
*/
|
|
9
8
|
/**
|
|
10
9
|
* Configures the signals implementation to use. Supports multiple
|
|
11
10
|
* implementations simultaneously.
|
|
12
11
|
*
|
|
13
|
-
* @method setupSignals
|
|
14
|
-
* @static
|
|
15
|
-
* @for @ember-data/store/configure
|
|
16
12
|
* @public
|
|
17
13
|
* @param {function} buildConfig - a function that takes options and returns a configuration object
|
|
18
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../src/configure.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH
|
|
1
|
+
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../src/configure.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH;;;;;;GAMG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC"}
|
|
@@ -1,46 +1,45 @@
|
|
|
1
|
+
/// <reference path="./-private.d.ts" />
|
|
1
2
|
/// <reference path="./types.d.ts" />
|
|
2
3
|
/// <reference path="./configure.d.ts" />
|
|
3
|
-
/// <reference path="./-private.d.ts" />
|
|
4
|
-
/// <reference path="./-types/overview.d.ts" />
|
|
5
|
-
/// <reference path="./-types/q/store.d.ts" />
|
|
6
|
-
/// <reference path="./-types/q/identifier.d.ts" />
|
|
7
|
-
/// <reference path="./-types/q/promise-proxies.d.ts" />
|
|
8
|
-
/// <reference path="./-types/q/schema-service.d.ts" />
|
|
9
|
-
/// <reference path="./-types/q/record-instance.d.ts" />
|
|
10
|
-
/// <reference path="./-types/q/record-data-json-api.d.ts" />
|
|
11
|
-
/// <reference path="./-types/q/cache-capabilities-manager.d.ts" />
|
|
12
|
-
/// <reference path="./-types/q/ds-model.d.ts" />
|
|
13
|
-
/// <reference path="./-private/store-service.d.ts" />
|
|
14
|
-
/// <reference path="./-private/store-service.type-test.d.ts" />
|
|
15
4
|
/// <reference path="./-private/document.d.ts" />
|
|
16
|
-
/// <reference path="./-private/
|
|
17
|
-
/// <reference path="./-private/
|
|
5
|
+
/// <reference path="./-private/store-service.type-test.d.ts" />
|
|
6
|
+
/// <reference path="./-private/store-service.d.ts" />
|
|
7
|
+
/// <reference path="./-private/network/request-cache.d.ts" />
|
|
18
8
|
/// <reference path="./-private/caches/instance-cache.d.ts" />
|
|
9
|
+
/// <reference path="./-private/caches/resource-utils.d.ts" />
|
|
10
|
+
/// <reference path="./-private/caches/cache-utils.d.ts" />
|
|
19
11
|
/// <reference path="./-private/caches/identifier-cache.d.ts" />
|
|
20
|
-
/// <reference path="./-private/legacy-model-support/shim-model-class.d.ts" />
|
|
21
12
|
/// <reference path="./-private/legacy-model-support/record-reference.d.ts" />
|
|
22
|
-
/// <reference path="./-private/
|
|
13
|
+
/// <reference path="./-private/legacy-model-support/shim-model-class.d.ts" />
|
|
14
|
+
/// <reference path="./-private/debug/utils.d.ts" />
|
|
15
|
+
/// <reference path="./-private/utils/normalize-model-name.d.ts" />
|
|
16
|
+
/// <reference path="./-private/utils/construct-resource.d.ts" />
|
|
17
|
+
/// <reference path="./-private/utils/uuid-polyfill.d.ts" />
|
|
18
|
+
/// <reference path="./-private/utils/is-non-empty-string.d.ts" />
|
|
19
|
+
/// <reference path="./-private/utils/coerce-id.d.ts" />
|
|
20
|
+
/// <reference path="./-private/cache-handler/handler.d.ts" />
|
|
21
|
+
/// <reference path="./-private/cache-handler/types.d.ts" />
|
|
22
|
+
/// <reference path="./-private/cache-handler/utils.d.ts" />
|
|
23
23
|
/// <reference path="./-private/managers/record-array-manager.d.ts" />
|
|
24
|
+
/// <reference path="./-private/managers/notification-manager.d.ts" />
|
|
24
25
|
/// <reference path="./-private/managers/cache-capabilities-manager.d.ts" />
|
|
25
26
|
/// <reference path="./-private/managers/cache-manager.d.ts" />
|
|
26
|
-
/// <reference path="./-private/new-core-tmp/request-state.d.ts" />
|
|
27
27
|
/// <reference path="./-private/new-core-tmp/promise-state.d.ts" />
|
|
28
|
+
/// <reference path="./-private/new-core-tmp/request-state.d.ts" />
|
|
28
29
|
/// <reference path="./-private/new-core-tmp/reactivity/internal.d.ts" />
|
|
29
|
-
/// <reference path="./-private/new-core-tmp/reactivity/signal.d.ts" />
|
|
30
30
|
/// <reference path="./-private/new-core-tmp/reactivity/configure.d.ts" />
|
|
31
|
-
/// <reference path="./-private/
|
|
32
|
-
/// <reference path="./-private/network/request-cache.d.ts" />
|
|
33
|
-
/// <reference path="./-private/cache-handler/utils.d.ts" />
|
|
34
|
-
/// <reference path="./-private/cache-handler/types.d.ts" />
|
|
35
|
-
/// <reference path="./-private/cache-handler/handler.d.ts" />
|
|
36
|
-
/// <reference path="./-private/utils/normalize-model-name.d.ts" />
|
|
37
|
-
/// <reference path="./-private/utils/uuid-polyfill.d.ts" />
|
|
38
|
-
/// <reference path="./-private/utils/construct-resource.d.ts" />
|
|
39
|
-
/// <reference path="./-private/utils/is-non-empty-string.d.ts" />
|
|
40
|
-
/// <reference path="./-private/utils/coerce-id.d.ts" />
|
|
31
|
+
/// <reference path="./-private/new-core-tmp/reactivity/signal.d.ts" />
|
|
41
32
|
/// <reference path="./-private/record-arrays/identifier-array.d.ts" />
|
|
42
|
-
/// <reference path="./-private/record-arrays/many-array.d.ts" />
|
|
43
33
|
/// <reference path="./-private/record-arrays/native-proxy-type-fix.d.ts" />
|
|
34
|
+
/// <reference path="./-private/record-arrays/many-array.d.ts" />
|
|
35
|
+
/// <reference path="./-types/q/identifier.d.ts" />
|
|
36
|
+
/// <reference path="./-types/q/store.d.ts" />
|
|
37
|
+
/// <reference path="./-types/q/ds-model.d.ts" />
|
|
38
|
+
/// <reference path="./-types/q/record-instance.d.ts" />
|
|
39
|
+
/// <reference path="./-types/q/promise-proxies.d.ts" />
|
|
40
|
+
/// <reference path="./-types/q/cache-capabilities-manager.d.ts" />
|
|
41
|
+
/// <reference path="./-types/q/schema-service.d.ts" />
|
|
42
|
+
/// <reference path="./-types/q/record-data-json-api.d.ts" />
|
|
44
43
|
declare module '@ember-data/store' {
|
|
45
44
|
/**
|
|
46
45
|
* <p align="center">
|
|
@@ -220,8 +219,7 @@ declare module '@ember-data/store' {
|
|
|
220
219
|
* > The `ember-data` package automatically includes the `@ember-data/model`
|
|
221
220
|
* > package and configures it for you.
|
|
222
221
|
*
|
|
223
|
-
* @module
|
|
224
|
-
* @main @ember-data/store
|
|
222
|
+
* @module
|
|
225
223
|
*/
|
|
226
224
|
export { Store as default, type StoreRequestContext, CacheHandler, type Document, type CachePolicy, type StoreRequestInput, recordIdentifierFor, storeFor, } from '@ember-data/store/-private';
|
|
227
225
|
export type { DocumentCacheOperation, CacheOperation, NotificationType, } from '@ember-data/store/-private/managers/notification-manager';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmLG;AACH,OAAO,EACL,KAAK,IAAI,OAAO,EAChB,KAAK,mBAAmB,EACxB,YAAY,EACZ,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,QAAQ,GACT,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,sBAAsB,EACtB,cAAc,EACd,gBAAgB,GACjB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,oCAAoC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare module '@ember-data/store/-types/overview' {
|
|
2
|
-
export {};
|
|
3
|
-
/**
|
|
4
|
-
* Many parts of EmberData are interface-driven,
|
|
5
|
-
* meaning that no specific base-class is necessary
|
|
6
|
-
* to implement an interopable module of your own
|
|
7
|
-
* utilizing only public APIs.
|
|
8
|
-
*
|
|
9
|
-
* Examples of primitives in EmberData that are interface-driven
|
|
10
|
-
* include Adapters, Serializers, Request Handlers, and the Cache.
|
|
11
|
-
*
|
|
12
|
-
* These **Not Yet Installable** Typescript Types
|
|
13
|
-
* Document key interfaces that libraries and
|
|
14
|
-
* applications interfacing with EmberData would need
|
|
15
|
-
* to conform to.
|
|
16
|
-
*
|
|
17
|
-
@module @ember-data/experimental-preview-types
|
|
18
|
-
@main @ember-data/experimental-preview-types
|
|
19
|
-
*/
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=overview.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"overview.d.ts","sourceRoot":"","sources":["../../src/-types/overview.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG"}
|