@ember-data/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/dist/-private.js +2 -2
- package/dist/{configure-BfLLW6GY.js → configure-BCr2QDik.js} +0 -1
- package/dist/configure-BCr2QDik.js.map +1 -0
- package/dist/configure.js +1 -1
- package/dist/index.js +2 -2
- package/dist/{request-state-DCuV984f.js → request-state-BEsHKec0.js} +101 -243
- package/dist/request-state-BEsHKec0.js.map +1 -0
- package/package.json +11 -14
- 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/dist/configure-BfLLW6GY.js.map +0 -1
- package/dist/request-state-DCuV984f.js.map +0 -1
- package/unstable-preview-types/-types/overview.d.ts +0 -21
- package/unstable-preview-types/-types/overview.d.ts.map +0 -1
|
@@ -50,7 +50,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
50
50
|
* a `content` member and therefor must not assume the existence
|
|
51
51
|
* of `request` and `response` on the document.
|
|
52
52
|
*
|
|
53
|
-
* @method put
|
|
54
53
|
* @param {StructuredDocument} doc
|
|
55
54
|
* @return {ResourceDocument}
|
|
56
55
|
* @public
|
|
@@ -64,7 +63,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
64
63
|
* Note: currently the only valid operation is a MergeOperation
|
|
65
64
|
* which occurs when a collision of identifiers is detected.
|
|
66
65
|
*
|
|
67
|
-
* @method patch
|
|
68
66
|
* @public
|
|
69
67
|
* @param op the operation to perform
|
|
70
68
|
* @return {void}
|
|
@@ -74,7 +72,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
74
72
|
* Update resource data with a local mutation. Currently supports operations
|
|
75
73
|
* on relationships only.
|
|
76
74
|
*
|
|
77
|
-
* @method mutate
|
|
78
75
|
* @public
|
|
79
76
|
* @param mutation
|
|
80
77
|
*/
|
|
@@ -106,7 +103,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
106
103
|
* of the Graph handling necessary entanglements and
|
|
107
104
|
* notifications for relational data.
|
|
108
105
|
*
|
|
109
|
-
* @method peek
|
|
110
106
|
* @public
|
|
111
107
|
* @param {StableRecordIdentifier | StableDocumentIdentifier} identifier
|
|
112
108
|
* @return {ResourceDocument | ResourceBlob | null} the known resource data
|
|
@@ -119,7 +115,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
119
115
|
* Peek the Cache for the existing request data associated with
|
|
120
116
|
* a cacheable request
|
|
121
117
|
*
|
|
122
|
-
* @method peekRequest
|
|
123
118
|
* @param {StableDocumentIdentifier}
|
|
124
119
|
* @return {StableDocumentIdentifier | null}
|
|
125
120
|
* @public
|
|
@@ -128,7 +123,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
128
123
|
/**
|
|
129
124
|
* Push resource data from a remote source into the cache for this identifier
|
|
130
125
|
*
|
|
131
|
-
* @method upsert
|
|
132
126
|
* @public
|
|
133
127
|
* @param identifier
|
|
134
128
|
* @param data
|
|
@@ -143,9 +137,8 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
143
137
|
* preferring instead to fork at the Store level, which will
|
|
144
138
|
* utilize this method to fork the cache.
|
|
145
139
|
*
|
|
146
|
-
* @method fork
|
|
147
140
|
* @public
|
|
148
|
-
* @return Promise<Cache>
|
|
141
|
+
* @return {Promise<Cache>}
|
|
149
142
|
*/
|
|
150
143
|
fork(): Promise<Cache>;
|
|
151
144
|
/**
|
|
@@ -155,10 +148,9 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
155
148
|
* preferring instead to merge at the Store level, which will
|
|
156
149
|
* utilize this method to merge the caches.
|
|
157
150
|
*
|
|
158
|
-
* @method merge
|
|
159
151
|
* @param {Cache} cache
|
|
160
152
|
* @public
|
|
161
|
-
* @return Promise<void>
|
|
153
|
+
* @return {Promise<void>}
|
|
162
154
|
*/
|
|
163
155
|
merge(cache: Cache): Promise<void>;
|
|
164
156
|
/**
|
|
@@ -191,7 +183,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
191
183
|
* }
|
|
192
184
|
* ```
|
|
193
185
|
*
|
|
194
|
-
* @method diff
|
|
195
186
|
* @public
|
|
196
187
|
*/
|
|
197
188
|
diff(): Promise<Change[]>;
|
|
@@ -200,7 +191,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
200
191
|
* which may be fed back into a new instance of the same Cache
|
|
201
192
|
* via `cache.hydrate`.
|
|
202
193
|
*
|
|
203
|
-
* @method dump
|
|
204
194
|
* @return {Promise<ReadableStream>}
|
|
205
195
|
* @public
|
|
206
196
|
*/
|
|
@@ -217,7 +207,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
217
207
|
* behavior supports optimizing pre/fetching of data for route transitions
|
|
218
208
|
* via data-only SSR modes.
|
|
219
209
|
*
|
|
220
|
-
* @method hydrate
|
|
221
210
|
* @param {ReadableStream} stream
|
|
222
211
|
* @return {Promise<void>}
|
|
223
212
|
* @public
|
|
@@ -229,7 +218,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
229
218
|
* It returns properties from options that should be set on the record during the create
|
|
230
219
|
* process. This return value behavior is deprecated.
|
|
231
220
|
*
|
|
232
|
-
* @method clientDidCreate
|
|
233
221
|
* @public
|
|
234
222
|
* @param identifier
|
|
235
223
|
* @param options
|
|
@@ -239,7 +227,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
239
227
|
* [LIFECYCLE] Signals to the cache that a resource
|
|
240
228
|
* will be part of a save transaction.
|
|
241
229
|
*
|
|
242
|
-
* @method willCommit
|
|
243
230
|
* @public
|
|
244
231
|
* @param identifier
|
|
245
232
|
*/
|
|
@@ -248,7 +235,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
248
235
|
* [LIFECYCLE] Signals to the cache that a resource
|
|
249
236
|
* was successfully updated as part of a save transaction.
|
|
250
237
|
*
|
|
251
|
-
* @method didCommit
|
|
252
238
|
* @public
|
|
253
239
|
* @param identifier
|
|
254
240
|
* @param data
|
|
@@ -258,7 +244,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
258
244
|
* [LIFECYCLE] Signals to the cache that a resource
|
|
259
245
|
* was update via a save transaction failed.
|
|
260
246
|
*
|
|
261
|
-
* @method commitWasRejected
|
|
262
247
|
* @public
|
|
263
248
|
* @param identifier
|
|
264
249
|
* @param errors
|
|
@@ -268,7 +253,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
268
253
|
* [LIFECYCLE] Signals to the cache that all data for a resource
|
|
269
254
|
* should be cleared.
|
|
270
255
|
*
|
|
271
|
-
* @method unloadRecord
|
|
272
256
|
* @public
|
|
273
257
|
* @param identifier
|
|
274
258
|
*/
|
|
@@ -276,7 +260,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
276
260
|
/**
|
|
277
261
|
* Retrieve the data for an attribute from the cache
|
|
278
262
|
*
|
|
279
|
-
* @method getAttr
|
|
280
263
|
* @public
|
|
281
264
|
* @param identifier
|
|
282
265
|
* @param propertyName
|
|
@@ -286,7 +269,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
286
269
|
/**
|
|
287
270
|
* Retrieve the remote state for an attribute from the cache
|
|
288
271
|
*
|
|
289
|
-
* @method getRemoteAttr
|
|
290
272
|
* @public
|
|
291
273
|
* @param identifier
|
|
292
274
|
* @param propertyName
|
|
@@ -296,7 +278,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
296
278
|
/**
|
|
297
279
|
* Mutate the data for an attribute in the cache
|
|
298
280
|
*
|
|
299
|
-
* @method setAttr
|
|
300
281
|
* @public
|
|
301
282
|
* @param identifier
|
|
302
283
|
* @param propertyName
|
|
@@ -306,7 +287,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
306
287
|
/**
|
|
307
288
|
* Query the cache for the changed attributes of a resource.
|
|
308
289
|
*
|
|
309
|
-
* @method changedAttrs
|
|
310
290
|
* @public
|
|
311
291
|
* @param identifier
|
|
312
292
|
* @return
|
|
@@ -315,7 +295,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
315
295
|
/**
|
|
316
296
|
* Query the cache for whether any mutated attributes exist
|
|
317
297
|
*
|
|
318
|
-
* @method hasChangedAttrs
|
|
319
298
|
* @public
|
|
320
299
|
* @param identifier
|
|
321
300
|
* @return {Boolean}
|
|
@@ -324,7 +303,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
324
303
|
/**
|
|
325
304
|
* Tell the cache to discard any uncommitted mutations to attributes
|
|
326
305
|
*
|
|
327
|
-
* @method rollbackAttrs
|
|
328
306
|
* @public
|
|
329
307
|
* @param identifier
|
|
330
308
|
* @return the names of attributes that were restored
|
|
@@ -352,7 +330,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
352
330
|
};
|
|
353
331
|
```
|
|
354
332
|
*
|
|
355
|
-
* @method changedRelationships
|
|
356
333
|
* @public
|
|
357
334
|
* @param {StableRecordIdentifier} identifier
|
|
358
335
|
* @return {Map<string, RelationshipDiff>}
|
|
@@ -361,7 +338,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
361
338
|
/**
|
|
362
339
|
* Query the cache for whether any mutated attributes exist
|
|
363
340
|
*
|
|
364
|
-
* @method hasChangedRelationships
|
|
365
341
|
* @public
|
|
366
342
|
* @param {StableRecordIdentifier} identifier
|
|
367
343
|
* @return {Boolean}
|
|
@@ -374,7 +350,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
374
350
|
*
|
|
375
351
|
* This method is a candidate to become a mutation
|
|
376
352
|
*
|
|
377
|
-
* @method rollbackRelationships
|
|
378
353
|
* @public
|
|
379
354
|
* @param {StableRecordIdentifier} identifier
|
|
380
355
|
* @return {String[]} the names of relationships that were restored
|
|
@@ -383,7 +358,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
383
358
|
/**
|
|
384
359
|
* Query the cache for the current state of a relationship property
|
|
385
360
|
*
|
|
386
|
-
* @method getRelationship
|
|
387
361
|
* @public
|
|
388
362
|
* @param identifier
|
|
389
363
|
* @param propertyName
|
|
@@ -393,7 +367,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
393
367
|
/**
|
|
394
368
|
* Query the cache for the remote state of a relationship property
|
|
395
369
|
*
|
|
396
|
-
* @method getRelationship
|
|
397
370
|
* @public
|
|
398
371
|
* @param identifier
|
|
399
372
|
* @param propertyName
|
|
@@ -404,7 +377,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
404
377
|
* Update the cache state for the given resource to be marked as locally deleted,
|
|
405
378
|
* or remove such a mark.
|
|
406
379
|
*
|
|
407
|
-
* @method setIsDeleted
|
|
408
380
|
* @public
|
|
409
381
|
* @param identifier
|
|
410
382
|
* @param isDeleted
|
|
@@ -413,7 +385,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
413
385
|
/**
|
|
414
386
|
* Query the cache for any validation errors applicable to the given resource.
|
|
415
387
|
*
|
|
416
|
-
* @method getErrors
|
|
417
388
|
* @public
|
|
418
389
|
* @param identifier
|
|
419
390
|
* @return
|
|
@@ -422,7 +393,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
422
393
|
/**
|
|
423
394
|
* Query the cache for whether a given resource has any available data
|
|
424
395
|
*
|
|
425
|
-
* @method isEmpty
|
|
426
396
|
* @public
|
|
427
397
|
* @param identifier
|
|
428
398
|
* @return {Boolean}
|
|
@@ -432,7 +402,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
432
402
|
* Query the cache for whether a given resource was created locally and not
|
|
433
403
|
* yet persisted.
|
|
434
404
|
*
|
|
435
|
-
* @method isNew
|
|
436
405
|
* @public
|
|
437
406
|
* @param identifier
|
|
438
407
|
* @return {Boolean}
|
|
@@ -442,7 +411,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
442
411
|
* Query the cache for whether a given resource is marked as deleted (but not
|
|
443
412
|
* necessarily persisted yet).
|
|
444
413
|
*
|
|
445
|
-
* @method isDeleted
|
|
446
414
|
* @public
|
|
447
415
|
* @param identifier
|
|
448
416
|
* @return {Boolean}
|
|
@@ -452,7 +420,6 @@ declare module '@ember-data/store/-private/managers/cache-manager' {
|
|
|
452
420
|
* Query the cache for whether a given resource has been deleted and that deletion
|
|
453
421
|
* has also been persisted.
|
|
454
422
|
*
|
|
455
|
-
* @method isDeletionCommitted
|
|
456
423
|
* @public
|
|
457
424
|
* @param identifier
|
|
458
425
|
* @return {Boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/cache-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACnG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAC9G,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC1G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,YAAa,YAAW,KAAK;;IACxC,OAAO,EAAG,GAAG,CAAU;gBAIX,KAAK,EAAE,KAA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sB;IAIhD;;;;;;;OAOG;IACH,qBAAqB,CACnB,UAAU,EAAE,sBAAsB,EAClC,YAAY,EAAE,MAAM,GACnB,oBAAoB,GAAG,sBAAsB;IAOhD;;;;;;;OAOG;IACH,YAAY,CAAC,UAAU,EAAE,sBAAsB,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI;IAI1E;;;;;;OAMG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,QAAQ,EAAE;IAIzD;;;;;;OAMG;IACH,OAAO,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAIpD;;;;;;;OAOG;IACH,KAAK,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAIlD;;;;;;;OAOG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;IAItD;;;;;;;OAOG;IACH,mBAAmB,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO;CAGjE"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
declare module '@ember-data/store/-private/managers/notification-manager' {
|
|
2
|
-
/**
|
|
3
|
-
* @module @ember-data/store
|
|
4
|
-
*/
|
|
5
2
|
import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
|
|
6
3
|
import type { Store } from '@ember-data/store/-private/store-service';
|
|
7
4
|
export type UnsubscribeToken = object;
|
|
@@ -58,7 +55,6 @@ declare module '@ember-data/store/-private/managers/notification-manager' {
|
|
|
58
55
|
* }
|
|
59
56
|
* ```
|
|
60
57
|
*
|
|
61
|
-
* @method subscribe
|
|
62
58
|
* @public
|
|
63
59
|
* @param {StableDocumentIdentifier | StableRecordIdentifier | 'resource' | 'document'} identifier
|
|
64
60
|
* @param {NotificationCallback | ResourceOperationCallback | DocumentOperationCallback} callback
|
|
@@ -70,7 +66,6 @@ declare module '@ember-data/store/-private/managers/notification-manager' {
|
|
|
70
66
|
/**
|
|
71
67
|
* remove a previous subscription
|
|
72
68
|
*
|
|
73
|
-
* @method unsubscribe
|
|
74
69
|
* @public
|
|
75
70
|
* @param {UnsubscribeToken} token
|
|
76
71
|
*/
|
|
@@ -78,7 +73,6 @@ declare module '@ember-data/store/-private/managers/notification-manager' {
|
|
|
78
73
|
/**
|
|
79
74
|
* Custom Caches and Application Code should not call this method directly.
|
|
80
75
|
*
|
|
81
|
-
* @method notify
|
|
82
76
|
* @param identifier
|
|
83
77
|
* @param value
|
|
84
78
|
* @param key
|
|
@@ -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":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAK1G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC,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;AAQ/F,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,cAAc,CAAC;AAEhH,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;IACvG,CAAC,UAAU,EAAE,sBAAsB,EAAE,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AG,OAAO;IACxG,MAAM,CAAC,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO;IACpG,MAAM,CAAC,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO;IAC1E,MAAM,CAAC,UAAU,EAAE,wBAAwB,EAAE,KAAK,EAAE,sBAAsB,GAAG,OAAO;IAmEpF,YAAY,CAAC,EAAE,EAAE,MAAM,IAAI;IAI3B,eAAe,IAAI,OAAO;IAkB1B,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;IAyCjH,OAAO;CAIR"}
|
|
@@ -73,7 +73,6 @@ declare module '@ember-data/store/-private/managers/record-array-manager' {
|
|
|
73
73
|
Get the `RecordArray` for a modelName, which contains all loaded records of
|
|
74
74
|
given modelName.
|
|
75
75
|
|
|
76
|
-
@method liveArrayFor
|
|
77
76
|
@internal
|
|
78
77
|
@param {String} modelName
|
|
79
78
|
@return {RecordArray}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-array-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/record-array-manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"record-array-manager.d.ts","sourceRoot":"","sources":["../../../src/-private/managers/record-array-manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,wBAAwB,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,GAAG,CAAC,UAAU,CAAC,CAAC,EACzD,KAAK,EAAE,UAAU,EACjB,UAAU,EAAE,sBAAsB,QAMnC"}
|
|
@@ -79,7 +79,6 @@ declare module '@ember-data/store/-private/network/request-cache' {
|
|
|
79
79
|
* with the RequestManager for these purposes is likely to be a better long-term
|
|
80
80
|
* design.
|
|
81
81
|
*
|
|
82
|
-
* @method subscribeForRecord
|
|
83
82
|
* @public
|
|
84
83
|
* @param {StableRecordIdentifier} identifier
|
|
85
84
|
* @param {(state: RequestCacheRequestState) => void} callback
|
|
@@ -88,7 +87,6 @@ declare module '@ember-data/store/-private/network/request-cache' {
|
|
|
88
87
|
/**
|
|
89
88
|
* Retrieve all active requests for a given resource identity.
|
|
90
89
|
*
|
|
91
|
-
* @method getPendingRequestsForRecord
|
|
92
90
|
* @public
|
|
93
91
|
* @param {StableRecordIdentifier} identifier
|
|
94
92
|
* @return {RequestCacheRequestState[]} an array of request states for any pending requests for the given identifier
|
|
@@ -97,7 +95,6 @@ declare module '@ember-data/store/-private/network/request-cache' {
|
|
|
97
95
|
/**
|
|
98
96
|
* Retrieve the last completed request for a given resource identity.
|
|
99
97
|
*
|
|
100
|
-
* @method getLastRequestForRecord
|
|
101
98
|
* @public
|
|
102
99
|
* @param {StableRecordIdentifier} identifier
|
|
103
100
|
* @return {RequestCacheRequestState | null} the state of the most recent request for the given identifier
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-cache.d.ts","sourceRoot":"","sources":["../../../src/-private/network/request-cache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"request-cache.d.ts","sourceRoot":"","sources":["../../../src/-private/network/request-cache.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAEhF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,Q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AC,sBAAsB,EAAE,mBAAmB,EAAE,CAAC,CAAa;IAC/E,QAAQ,EAAE,eAAe,EAAE,CAAM;IACjC,MAAM,EAAE,KAAK,CAAC;gBAEF,KAAK,EAAE,KAAK;IAIxB,aAAa,CAAC,UAAU,EAAE,sBAAsB;IAIhD,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAiDnE,qBAAqB,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAcjD,MAAM,IAAI,IAAI;IAOd,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IASzC,QAAQ,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,EAAE,eAAe;IAQrE,QAAQ,CAAC,OAAO,EAAE,eAAe;IAwBjC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,kBAAkB,CAAC,UAAU,EAAE,sBAAsB,EAAE,QAAQ,EAAE,mBAAmB;IASpF;;;;;;OAMG;IACH,2BAA2B,CAAC,UAAU,EAAE,sBAAsB,GAAG,wBAAwB,EAAE;IAI3F;;;;;;OAMG;IACH,uBAAuB,CAAC,UAAU,EAAE,sBAAsB,GAAG,wBAAwB,GAAG,IAAI;CAO7F"}
|
|
@@ -4,47 +4,40 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
4
4
|
* The state of a promise in the "pending"
|
|
5
5
|
* state. This is the default initial state.
|
|
6
6
|
*
|
|
7
|
-
* @typedoc
|
|
8
7
|
*/
|
|
9
8
|
export interface PendingPromise {
|
|
10
9
|
/**
|
|
11
10
|
* The status of the promise.
|
|
12
11
|
*
|
|
13
|
-
* @typedoc
|
|
14
12
|
*/
|
|
15
13
|
status: 'pending';
|
|
16
14
|
/**
|
|
17
15
|
* Whether the promise is pending.
|
|
18
16
|
*
|
|
19
|
-
* @typedoc
|
|
20
17
|
*/
|
|
21
18
|
isPending: true;
|
|
22
19
|
/**
|
|
23
20
|
* Whether the promise is pending.
|
|
24
21
|
*
|
|
25
22
|
* @deprecated use `isPending` instead
|
|
26
|
-
* @typedoc
|
|
27
23
|
*/
|
|
28
24
|
isLoading: true;
|
|
29
25
|
/**
|
|
30
26
|
* Whether the promise has resolved
|
|
31
27
|
* successfully.
|
|
32
28
|
*
|
|
33
|
-
* @typedoc
|
|
34
29
|
*/
|
|
35
30
|
isSuccess: false;
|
|
36
31
|
/**
|
|
37
32
|
* Whether the promise has rejected
|
|
38
33
|
* with an error.
|
|
39
34
|
*
|
|
40
|
-
* @typedoc
|
|
41
35
|
*/
|
|
42
36
|
isError: false;
|
|
43
37
|
/**
|
|
44
38
|
* Once the promise has resolved, this will
|
|
45
39
|
* be the value the promise resolved to.
|
|
46
40
|
*
|
|
47
|
-
* @typedoc
|
|
48
41
|
*/
|
|
49
42
|
value: null;
|
|
50
43
|
/**
|
|
@@ -52,7 +45,6 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
52
45
|
* be the value the promise resolved to.
|
|
53
46
|
*
|
|
54
47
|
* @deprecated use `value` instead
|
|
55
|
-
* @typedoc
|
|
56
48
|
*/
|
|
57
49
|
result: null;
|
|
58
50
|
/**
|
|
@@ -61,14 +53,12 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
61
53
|
*
|
|
62
54
|
*
|
|
63
55
|
* @deprecated use `reason` instead
|
|
64
|
-
* @typedoc
|
|
65
56
|
*/
|
|
66
57
|
error: null;
|
|
67
58
|
/**
|
|
68
59
|
* Once the promise has rejected, this will
|
|
69
60
|
* be the error the promise rejected with.
|
|
70
61
|
*
|
|
71
|
-
* @typedoc
|
|
72
62
|
*/
|
|
73
63
|
reason: null;
|
|
74
64
|
}
|
|
@@ -77,47 +67,40 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
77
67
|
* This is the state of a promise that has resolved
|
|
78
68
|
* successfully.
|
|
79
69
|
*
|
|
80
|
-
* @typedoc
|
|
81
70
|
*/
|
|
82
71
|
export interface ResolvedPromise<T> {
|
|
83
72
|
/**
|
|
84
73
|
* The status of the promise.
|
|
85
74
|
*
|
|
86
|
-
* @typedoc
|
|
87
75
|
*/
|
|
88
76
|
status: 'fulfilled';
|
|
89
77
|
/**
|
|
90
78
|
* Whether the promise is pending.
|
|
91
79
|
*
|
|
92
|
-
* @typedoc
|
|
93
80
|
*/
|
|
94
81
|
isPending: false;
|
|
95
82
|
/**
|
|
96
83
|
* Whether the promise is pending.
|
|
97
84
|
*
|
|
98
85
|
* @deprecated use `isPending` instead
|
|
99
|
-
* @typedoc
|
|
100
86
|
*/
|
|
101
87
|
isLoading: false;
|
|
102
88
|
/**
|
|
103
89
|
* Whether the promise has resolved
|
|
104
90
|
* successfully.
|
|
105
91
|
*
|
|
106
|
-
* @typedoc
|
|
107
92
|
*/
|
|
108
93
|
isSuccess: true;
|
|
109
94
|
/**
|
|
110
95
|
* Whether the promise has rejected
|
|
111
96
|
* with an error.
|
|
112
97
|
*
|
|
113
|
-
* @typedoc
|
|
114
98
|
*/
|
|
115
99
|
isError: false;
|
|
116
100
|
/**
|
|
117
101
|
* Once the promise has resolved, this will
|
|
118
102
|
* be the value the promise resolved to.
|
|
119
103
|
*
|
|
120
|
-
* @typedoc
|
|
121
104
|
*/
|
|
122
105
|
value: T;
|
|
123
106
|
/**
|
|
@@ -125,7 +108,6 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
125
108
|
* be the value the promise resolved to.
|
|
126
109
|
*
|
|
127
110
|
* @deprecated use `value` instead
|
|
128
|
-
* @typedoc
|
|
129
111
|
*/
|
|
130
112
|
result: T;
|
|
131
113
|
/**
|
|
@@ -134,14 +116,12 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
134
116
|
*
|
|
135
117
|
*
|
|
136
118
|
* @deprecated use `reason` instead
|
|
137
|
-
* @typedoc
|
|
138
119
|
*/
|
|
139
120
|
error: null;
|
|
140
121
|
/**
|
|
141
122
|
* Once the promise has rejected, this will
|
|
142
123
|
* be the error the promise rejected with.
|
|
143
124
|
*
|
|
144
|
-
* @typedoc
|
|
145
125
|
*/
|
|
146
126
|
reason: null;
|
|
147
127
|
}
|
|
@@ -150,47 +130,40 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
150
130
|
* This is the state of a promise that has rejected
|
|
151
131
|
* with an error.
|
|
152
132
|
*
|
|
153
|
-
* @typedoc
|
|
154
133
|
*/
|
|
155
134
|
export interface RejectedPromise<E> {
|
|
156
135
|
/**
|
|
157
136
|
* The status of the promise.
|
|
158
137
|
*
|
|
159
|
-
* @typedoc
|
|
160
138
|
*/
|
|
161
139
|
status: 'rejected';
|
|
162
140
|
/**
|
|
163
141
|
* Whether the promise is pending.
|
|
164
142
|
*
|
|
165
|
-
* @typedoc
|
|
166
143
|
*/
|
|
167
144
|
isPending: false;
|
|
168
145
|
/**
|
|
169
146
|
* Whether the promise is pending.
|
|
170
147
|
*
|
|
171
148
|
* @deprecated use `isPending` instead
|
|
172
|
-
* @typedoc
|
|
173
149
|
*/
|
|
174
150
|
isLoading: false;
|
|
175
151
|
/**
|
|
176
152
|
* Whether the promise has resolved
|
|
177
153
|
* successfully.
|
|
178
154
|
*
|
|
179
|
-
* @typedoc
|
|
180
155
|
*/
|
|
181
156
|
isSuccess: false;
|
|
182
157
|
/**
|
|
183
158
|
* Whether the promise has rejected
|
|
184
159
|
* with an error.
|
|
185
160
|
*
|
|
186
|
-
* @typedoc
|
|
187
161
|
*/
|
|
188
162
|
isError: true;
|
|
189
163
|
/**
|
|
190
164
|
* Once the promise has resolved, this will
|
|
191
165
|
* be the value the promise resolved to.
|
|
192
166
|
*
|
|
193
|
-
* @typedoc
|
|
194
167
|
*/
|
|
195
168
|
value: null;
|
|
196
169
|
/**
|
|
@@ -198,7 +171,6 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
198
171
|
* be the value the promise resolved to.
|
|
199
172
|
*
|
|
200
173
|
* @deprecated use `value` instead
|
|
201
|
-
* @typedoc
|
|
202
174
|
*/
|
|
203
175
|
result: null;
|
|
204
176
|
/**
|
|
@@ -207,14 +179,12 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
207
179
|
*
|
|
208
180
|
*
|
|
209
181
|
* @deprecated use `reason` instead
|
|
210
|
-
* @typedoc
|
|
211
182
|
*/
|
|
212
183
|
error: E;
|
|
213
184
|
/**
|
|
214
185
|
* Once the promise has rejected, this will
|
|
215
186
|
* be the error the promise rejected with.
|
|
216
187
|
*
|
|
217
|
-
* @typedoc
|
|
218
188
|
*/
|
|
219
189
|
reason: E;
|
|
220
190
|
}
|
|
@@ -227,7 +197,6 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
227
197
|
* - {@link ResolvedPromise}
|
|
228
198
|
* - {@link RejectedPromise}
|
|
229
199
|
*
|
|
230
|
-
* @typedoc
|
|
231
200
|
*/
|
|
232
201
|
export type PromiseState<T = unknown, E = unknown> = PendingPromise | ResolvedPromise<T> | RejectedPromise<E>;
|
|
233
202
|
export function createPromiseState<T, E>(promise: Promise<T> | Awaitable<T, E>): Readonly<PromiseState<T, E>>;
|
|
@@ -282,7 +251,6 @@ declare module '@ember-data/store/-private/new-core-tmp/promise-state' {
|
|
|
282
251
|
*
|
|
283
252
|
* If looking to use in a template, consider also the `<Await />` component.
|
|
284
253
|
*
|
|
285
|
-
* @typedoc
|
|
286
254
|
*/
|
|
287
255
|
export function getPromiseState<T = unknown, E = unknown>(promise: Promise<T> | Awaitable<T, E>): Readonly<PromiseState<T, E>>;
|
|
288
256
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promise-state.d.ts","sourceRoot":"","sources":["../../../src/-private/new-core-tmp/promise-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOrD
|
|
1
|
+
{"version":3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AEjB;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC;IAEjB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;IAEd;;;;OAIG;IACH,KAAK,EAAE,IAAI,CAAC;IAEZ;;;;;OAKG;IACH,MAAM,EAAE,IAAI,CAAC;IAEb;;;;;;OAMG;IACH,KAAK,EAAE,CAAC,CAAC;IAET;;;;OAIG;IACH,MAAM,EAAE,CAAC,CAAC;CACX;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,IAAI,cAAc,GAAG,eAAe,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;AAgB9G,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CA4C5G;AAaD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAgB,eAAe,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC,QAAQ,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAU9B"}
|
|
@@ -48,7 +48,6 @@ declare module '@ember-data/store/-private/new-core-tmp/reactivity/configure' {
|
|
|
48
48
|
* method, and consuming the correct one via the correct framework via
|
|
49
49
|
* the `consumeSignal` and `notifySignal` methods.
|
|
50
50
|
*
|
|
51
|
-
* @typedoc
|
|
52
51
|
*/
|
|
53
52
|
export interface SignalHooks<T = SignalRef> {
|
|
54
53
|
createSignal: (obj: object, key: string | symbol) => T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/-private/new-core-tmp/reactivity/configure.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,2BAAuC,CAAC;AACjE,eAAO,MAAM,aAAa,2BAAuC,CAAC;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC;AAChC
|
|
1
|
+
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../../../src/-private/new-core-tmp/reactivity/configure.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,2BAAuC,CAAC;AACjE,eAAO,MAAM,aAAa,2BAAuC,CAAC;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC;AAChC;;;;;;;;;GASG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,SAAS;IACxC,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,KAAK,CAAC,CAAC;IACvD,aAAa,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,CAAC;IAC3E,qBAAqB,EAAE,MAAM,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;KACxB,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAA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