@warp-drive-mirror/build-config 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.
Files changed (49) hide show
  1. package/dist/babel-macros.js +45 -12
  2. package/dist/babel-macros.js.map +1 -1
  3. package/dist/babel-plugin-transform-asserts.cjs +2 -2
  4. package/dist/babel-plugin-transform-asserts.cjs.map +1 -1
  5. package/dist/babel-plugin-transform-deprecations.cjs +2 -2
  6. package/dist/babel-plugin-transform-deprecations.cjs.map +1 -1
  7. package/dist/babel-plugin-transform-features.cjs +2 -2
  8. package/dist/babel-plugin-transform-features.cjs.map +1 -1
  9. package/dist/babel-plugin-transform-logging.cjs +2 -2
  10. package/dist/babel-plugin-transform-logging.cjs.map +1 -1
  11. package/dist/canary-features-DF5hbs2w.js +170 -0
  12. package/dist/canary-features-DF5hbs2w.js.map +1 -0
  13. package/dist/canary-features.js +1 -1
  14. package/dist/cjs-set-config.cjs +174 -602
  15. package/dist/cjs-set-config.cjs.map +1 -1
  16. package/dist/{debugging-BtpYr1v0.js → debugging-VdsvkNjX.js} +80 -62
  17. package/dist/debugging-VdsvkNjX.js.map +1 -0
  18. package/dist/debugging.js +1 -1
  19. package/dist/deprecations-BVxAmwe9.js +549 -0
  20. package/dist/deprecations-BVxAmwe9.js.map +1 -0
  21. package/dist/deprecations.js +1 -1
  22. package/dist/env.js +124 -0
  23. package/dist/env.js.map +1 -1
  24. package/dist/index.js +12 -515
  25. package/dist/index.js.map +1 -1
  26. package/dist/macros.js +18 -0
  27. package/dist/macros.js.map +1 -1
  28. package/package.json +2 -5
  29. package/unstable-preview-types/babel-macros.d.ts +10 -0
  30. package/unstable-preview-types/babel-macros.d.ts.map +1 -1
  31. package/unstable-preview-types/canary-features.d.ts +97 -40
  32. package/unstable-preview-types/canary-features.d.ts.map +1 -1
  33. package/unstable-preview-types/debugging.d.ts +59 -48
  34. package/unstable-preview-types/debugging.d.ts.map +1 -1
  35. package/unstable-preview-types/deprecation-versions.d.ts +0 -469
  36. package/unstable-preview-types/deprecation-versions.d.ts.map +1 -1
  37. package/unstable-preview-types/deprecations.d.ts +504 -1
  38. package/unstable-preview-types/deprecations.d.ts.map +1 -1
  39. package/unstable-preview-types/env.d.ts +123 -0
  40. package/unstable-preview-types/env.d.ts.map +1 -1
  41. package/unstable-preview-types/index.d.ts +77 -13
  42. package/unstable-preview-types/index.d.ts.map +1 -1
  43. package/unstable-preview-types/macros.d.ts +16 -0
  44. package/unstable-preview-types/macros.d.ts.map +1 -1
  45. package/dist/canary-features-D1wplYmb.js +0 -113
  46. package/dist/canary-features-D1wplYmb.js.map +0 -1
  47. package/dist/debugging-BtpYr1v0.js.map +0 -1
  48. package/dist/deprecations-D_dBAPC9.js +0 -34
  49. package/dist/deprecations-D_dBAPC9.js.map +0 -1
@@ -0,0 +1,549 @@
1
+ /**
2
+ * # Deprecations
3
+ *
4
+ * This guide is intended to help you understand both how to address an active
5
+ * deprecation and how to eliminate the code that supports the deprecation once
6
+ * it has been resolved.
7
+ *
8
+ * Eliminating the associated code reduces the size of your application, often opts
9
+ * applications into more performant fast-paths, and ensures your application does
10
+ * not revert to using the deprecated behavior in the future.
11
+ *
12
+ * ## Active Deprecation IDs
13
+ *
14
+ * - {@link DEPRECATE_NON_STRICT_TYPES | ember-data:deprecate-non-strict-types}
15
+ * - {@link DEPRECATE_NON_STRICT_ID | ember-data:deprecate-non-strict-id}
16
+ * - {@link DEPRECATE_LEGACY_IMPORTS | ember-data:deprecate-legacy-imports}
17
+ * - {@link DEPRECATE_NON_UNIQUE_PAYLOADS | ember-data:deprecate-non-unique-collection-payloads}
18
+ * - {@link DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE | ember-data:deprecate-relationship-remote-update-clearing-local-state}
19
+ * - {@link DEPRECATE_MANY_ARRAY_DUPLICATES | ember-data:deprecate-many-array-duplicates}
20
+ * - {@link DEPRECATE_STORE_EXTENDS_EMBER_OBJECT | ember-data:deprecate-store-extends-ember-object}
21
+ * - {@link ENABLE_LEGACY_SCHEMA_SERVICE | ember-data:schema-service-updates}
22
+ * - {@link DEPRECATE_EMBER_INFLECTOR | warp-drive.ember-inflector}
23
+ * - {@link DEPRECATE_TRACKING_PACKAGE | warp-drive:deprecate-tracking-package}
24
+ *
25
+ * ## Removing Code for Deprecated Features
26
+ *
27
+ * ***Warp*Drive** enables applications to opt-in to fully eliminating the code
28
+ * for a deprecated feature once the application has taken the necessary steps to
29
+ * ensure that it no longer requires the use of the code which triggers the deprecation.
30
+ *
31
+ * Each deprecation ID is associated to a deprecation flag which is used to instrument
32
+ * the library for build-time removal of the deprecated code. Some flags have multiple
33
+ * deprecation IDs associated to them, in which case to remove the deprecated code all
34
+ * of the deprecation IDs must be resolved.
35
+ *
36
+ *
37
+ * There are two modes for opting into deprecated code removal:
38
+ *
39
+ * - by version
40
+ * - by deprecation flag
41
+ *
42
+ * If your app has resolved all deprecations present in a given version,
43
+ * you may specify that version as your "compatWith" version. This will
44
+ * remove the code for all deprecations that were introduced in or before
45
+ * that version.
46
+ *
47
+ * ::: code-group
48
+ *
49
+ * ```ts [ember-cli-build.js]
50
+ * setConfig(app, __dirname, {
51
+ * compatWith: '5.0', // [!code highlight]
52
+ * });
53
+ * ```
54
+ *
55
+ * ```ts [babel.config.mjs]
56
+ * setConfig(context, {
57
+ * compatWith: '5.0', // [!code highlight]
58
+ * });
59
+ * ```
60
+ *
61
+ * :::
62
+ *
63
+ * For instance, if a deprecation was introduced in 5.3, and the app specifies
64
+ * 5.2 as its minimum version compatibility, any deprecations introduced in or
65
+ * before 5.2 will be removed, but any deprecations introduced in 5.3 will remain.
66
+ *
67
+ * You may also specify that specific deprecations are resolved. These approaches
68
+ * may be used together.
69
+ *
70
+ * ::: code-group
71
+ *
72
+ * ```ts [ember-cli-build.js]
73
+ * setConfig(app, __dirname, {
74
+ * deprecations: {
75
+ * DEPRECATE_NON_STRICT_TYPES: false, // [!code highlight]
76
+ * DEPRECATE_NON_STRICT_ID: false, // [!code highlight]
77
+ * }
78
+ * });
79
+ * ```
80
+ *
81
+ * ```ts [babel.config.mjs]
82
+ * setConfig(context, {
83
+ * deprecations: {
84
+ * DEPRECATE_NON_STRICT_TYPES: false, // [!code highlight]
85
+ * DEPRECATE_NON_STRICT_ID: false, // [!code highlight]
86
+ * }
87
+ * });
88
+ * ```
89
+ *
90
+ * :::
91
+ *
92
+ *
93
+ * ::: info 💡 Report Bugs if You Find Them
94
+ * ***Warp*Drive** does not test against permutations of deprecations
95
+ * being stripped, our tests run against "all deprecated code included"
96
+ * and "all deprecated code removed". Unspecified behavior may sometimes
97
+ * occur when removing code for only specific deprecations.
98
+ *
99
+ * If this happens, we'd like to know 💜
100
+ * :::
101
+ *
102
+ * @module
103
+ */
104
+
105
+ /** @internal */
106
+ const DEPRECATE_CATCH_ALL = true;
107
+
108
+ /**
109
+ * <Badge type="danger" text="no-id-assigned" />
110
+ *
111
+ * This is a planned deprecation which will trigger when observer or computed
112
+ * chains are used to watch for changes on any EmberData LiveArray, CollectionRecordArray,
113
+ * ManyArray or PromiseManyArray.
114
+ *
115
+ * Support for these chains is currently guarded by the deprecation flag
116
+ * listed here, enabling removal of the behavior if desired.
117
+ *
118
+ * The instrumentation was added in 5.0 but the version number
119
+ * is set to 7.0 as we do not want to strip support without
120
+ * adding a deprecation message.
121
+ *
122
+ * Once we've added the deprecation message, we will
123
+ * update this version number to the proper version.
124
+ *
125
+ * @since 5.0
126
+ * @until 8.0
127
+ * @public
128
+ */
129
+ const DEPRECATE_COMPUTED_CHAINS = true;
130
+
131
+ /**
132
+ * <Badge type="warning" text="ember-data-mirror:deprecate-non-strict-types" />
133
+ *
134
+ * Currently, ***Warp*Drive** expects that the `type` property associated with
135
+ * a resource follows several conventions.
136
+ *
137
+ * - The `type` property must be a non-empty string
138
+ * - The `type` property must be singular
139
+ * - The `type` property must be dasherized
140
+ *
141
+ * We are deprecating support for types that do not match this pattern
142
+ * in order to unlock future improvements in which we can support `type`
143
+ * being any string of your choosing.
144
+ *
145
+ * The goal is that in the future, you will be able to use any string
146
+ * so long as it matches what your configured cache, identifier generation,
147
+ * and schemas expect.
148
+ *
149
+ * E.G. It will matter not that your string is in a specific format like
150
+ * singular, dasherized, etc. so long as everywhere you refer to the type
151
+ * you use the same string.
152
+ *
153
+ * If using @ember-data-mirror/model, there will always be a restriction that the
154
+ * `type` must match the path on disk where the model is defined.
155
+ *
156
+ * e.g. `app/models/foo/bar-bem.js` must have a type of `foo/bar-bem`
157
+ *
158
+ * @since 5.3
159
+ * @until 6.0
160
+ * @public
161
+ */
162
+ const DEPRECATE_NON_STRICT_TYPES = true;
163
+
164
+ /**
165
+ * <Badge type="warning" text="ember-data-mirror:deprecate-non-strict-id" />
166
+ *
167
+ * Currently, EmberData expects that the `id` property associated with
168
+ * a resource is a string.
169
+ *
170
+ * However, for legacy support in many locations we would accept a number
171
+ * which would then immediately be coerced into a string.
172
+ *
173
+ * We are deprecating this legacy support for numeric IDs.
174
+ *
175
+ * The goal is that in the future, you will be able to use any ID format
176
+ * so long as everywhere you refer to the ID you use the same format.
177
+ *
178
+ * However, for identifiers we will always use string IDs and so any
179
+ * custom identifier configuration should provide a string ID.
180
+ *
181
+ * @since 5.3
182
+ * @until 6.0
183
+ * @public
184
+ */
185
+ const DEPRECATE_NON_STRICT_ID = true;
186
+
187
+ /**
188
+ * <Badge type="warning" text="ember-data-mirror:deprecate-legacy-imports" />
189
+ *
190
+ * Deprecates when importing from `ember-data/*` instead of `@ember-data/*`
191
+ * in order to prepare for the eventual removal of the legacy `ember-data/*`
192
+ *
193
+ * All imports from `ember-data/*` should be updated to `@ember-data/*`
194
+ * except for `ember-data/store`. When you are using `ember-data` (as opposed to
195
+ * installing the indivudal packages) you should import from `ember-data/store`
196
+ * instead of `@ember-data-mirror/store` in order to receive the appropriate configuration
197
+ * of defaults.
198
+ *
199
+ * @since 5.3
200
+ * @until 6.0
201
+ * @public
202
+ */
203
+ const DEPRECATE_LEGACY_IMPORTS = true;
204
+
205
+ /**
206
+ * <Badge type="warning" text="ember-data-mirror:deprecate-non-unique-collection-payloads" />
207
+ *
208
+ * Deprecates when the data for a hasMany relationship contains
209
+ * duplicate identifiers.
210
+ *
211
+ * Previously, relationships would silently de-dupe the data
212
+ * when received, but this behavior is being removed in favor
213
+ * of erroring if the same related record is included multiple
214
+ * times.
215
+ *
216
+ * For instance, in JSON:API the below relationship data would
217
+ * be considered invalid:
218
+ *
219
+ * ```json
220
+ * {
221
+ * "data": {
222
+ * "type": "article",
223
+ * "id": "1",
224
+ * "relationships": {
225
+ * "comments": {
226
+ * "data": [
227
+ * { "type": "comment", "id": "1" },
228
+ * { "type": "comment", "id": "2" },
229
+ * { "type": "comment", "id": "1" } // duplicate
230
+ * ]
231
+ * }
232
+ * }
233
+ * }
234
+ * ```
235
+ *
236
+ * To resolve this deprecation, either update your server to
237
+ * not include duplicate data, or implement normalization logic
238
+ * in either a request handler or serializer which removes
239
+ * duplicate data from relationship payloads.
240
+ *
241
+ * @since 5.3
242
+ * @until 6.0
243
+ * @public
244
+ */
245
+ const DEPRECATE_NON_UNIQUE_PAYLOADS = true;
246
+
247
+ /**
248
+ * <Badge type="warning" text="ember-data-mirror:deprecate-relationship-remote-update-clearing-local-state" />
249
+ *
250
+ * Deprecates when a relationship is updated remotely and the local state
251
+ * is cleared of all changes except for "new" records.
252
+ *
253
+ * Instead, any records not present in the new payload will be considered
254
+ * "removed" while any records present in the new payload will be considered "added".
255
+ *
256
+ * This allows us to "commit" local additions and removals, preserving any additions
257
+ * or removals that are not yet reflected in the remote state.
258
+ *
259
+ * For instance, given the following initial state:
260
+ *
261
+ * remote: A, B, C
262
+ * local: add D, E
263
+ * remove B, C
264
+ * => A, D, E
265
+ *
266
+ *
267
+ * If after an update, the remote state is now A, B, D, F then the new state will be
268
+ *
269
+ * remote: A, B, D, F
270
+ * local: add E
271
+ * remove B
272
+ * => A, D, E, F
273
+ *
274
+ * Under the old behavior the updated local state would instead have been
275
+ * => A, B, D, F
276
+ *
277
+ * Similarly, if a belongsTo remote State was A while its local state was B,
278
+ * then under the old behavior if the remote state changed to C, the local state
279
+ * would be updated to C. Under the new behavior, the local state would remain B.
280
+ *
281
+ * If the remote state was A while its local state was `null`, then under the old
282
+ * behavior if the remote state changed to C, the local state would be updated to C.
283
+ * Under the new behavior, the local state would remain `null`.
284
+ *
285
+ * Thus the new correct mental model is that the state of the relationship at any point
286
+ * in time is whatever the most recent remote state is, plus any local additions or removals
287
+ * you have made that have not yet been reflected by the remote state.
288
+ *
289
+ * > Note: The old behavior extended to modifying the inverse of a relationship. So if
290
+ * > you had local state not reflected in the new remote state, inverses would be notified
291
+ * > and their state reverted as well when "resetting" the relationship.
292
+ * > Under the new behavior, since the local state is preserved the inverses will also
293
+ * > not be reverted.
294
+ *
295
+ * ### Resolving this deprecation
296
+ *
297
+ * Resolving this deprecation can be done individually for each relationship
298
+ * or globally for all relationships.
299
+ *
300
+ * To resolve it globally, set the `DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE`
301
+ * to `false` in ember-cli-build.js
302
+ *
303
+ * ```js
304
+ * const { setConfig } = await import('@warp-drive-mirror/build-config');
305
+ *
306
+ * let app = new EmberApp(defaults, {});
307
+ *
308
+ * setConfig(app, __dirname, {
309
+ * deprecations: {
310
+ * // set to false to strip the deprecated code (thereby opting into the new behavior)
311
+ * DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: false
312
+ * }
313
+ * });
314
+ * ```
315
+ *
316
+ * To resolve this deprecation on an individual relationship, adjust the `options` passed to
317
+ * the relationship. For relationships with inverses, both sides MUST be migrated to the new
318
+ * behavior at the same time.
319
+ *
320
+ * ```js
321
+ * class Person extends Model {
322
+ * @hasMany('person', {
323
+ * async: false,
324
+ * inverse: null,
325
+ * resetOnRemoteUpdate: false
326
+ * }) children;
327
+ *
328
+ * @belongsTo('person', {
329
+ * async: false,
330
+ * inverse: null,
331
+ * resetOnRemoteUpdate: false
332
+ * }) parent;
333
+ * }
334
+ * ```
335
+ *
336
+ * > Note: false is the only valid value here, all other values (including missing)
337
+ * > will be treated as true, where `true` is the legacy behavior that is now deprecated.
338
+ *
339
+ * Once you have migrated all relationships, you can remove the the resetOnRemoteUpdate
340
+ * option and set the deprecation flag to false in ember-cli-build.
341
+ *
342
+ * ### What if I don't want the new behavior?
343
+ *
344
+ * EmberData's philosophy is to not make assumptions about your application. Where possible
345
+ * we seek out "100%" solutions – solutions that work for all use cases - and where that is
346
+ * not possible we default to "90%" solutions – solutions that work for the vast majority of use
347
+ * cases. In the case of "90%" solutions we look for primitives that allow you to resolve the
348
+ * 10% case in your application. If no such primitives exist, we provide an escape hatch that
349
+ * ensures you can build the behavior you need without adopting the cost of the default solution.
350
+ *
351
+ * In this case, the old behavior was a "40%" solution. The inability for an application developer
352
+ * to determine what changes were made locally, and thus what changes should be preserved, made
353
+ * it impossible to build certain features easily, or in some cases at all. The proliferation of
354
+ * feature requests, bug reports (from folks surprised by the prior behavior) and addon attempts
355
+ * in this space are all evidence of this.
356
+ *
357
+ * We believe the new behavior is a "90%" solution. It works for the vast majority of use cases,
358
+ * often without noticeable changes to existing application behavior, and provides primitives that
359
+ * allow you to build the behavior you need for the remaining 10%.
360
+ *
361
+ * The great news is that this behavior defaults to trusting your API similar to the old behavior.
362
+ * If your API is correct, you will not need to make any changes to your application to adopt
363
+ * the new behavior.
364
+ *
365
+ * This means the 10% cases are those where you can't trust your API to provide the correct
366
+ * information. In these cases, because you now have cheap access to a diff of the relationship
367
+ * state, there are a few options that weren't available before:
368
+ *
369
+ * - you can adjust returned API payloads to contain the expected changes that it doesn't include
370
+ * - you can modify local state by adding or removing records on the HasMany record array to remove
371
+ * any local changes that were not returned by the API.
372
+ * - you can use `<Cache>.mutate(mutation)` to directly modify the local cache state of the relationship
373
+ * to match the expected state.
374
+ *
375
+ * What this version (5.3) does not yet provide is a way to directly modify the cache's remote state
376
+ * for the relationship via public APIs other than via the broader action of upserting a response via
377
+ * `<Cache>.put(document)`. However, such an API was sketched in the Cache 2.1 RFC
378
+ * `<Cache>.patch(operation)` and is likely to be added in a future 5.x release of EmberData.
379
+ *
380
+ * This version (5.3) also does not yet provide a way to directly modify the graph (a general purpose
381
+ * subset of cache behaviors specific to relationships) via public APIs. However, during the
382
+ * 5.x release series we will be working on finalizing the Graph API and making it public.
383
+ *
384
+ * If none of these options work for you, you can always opt-out more broadly by implementing
385
+ * a custom Cache with the relationship behaviors you need.
386
+ *
387
+ * @since 5.3
388
+ * @until 6.0
389
+ * @public
390
+ */
391
+ const DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE = true;
392
+
393
+ /**
394
+ * <Badge type="warning" text="ember-data-mirror:deprecate-many-array-duplicates" />
395
+ *
396
+ * When the flag is `true` (default), adding duplicate records to a `ManyArray`
397
+ * is deprecated in non-production environments. In production environments,
398
+ * duplicate records added to a `ManyArray` will be deduped and no error will
399
+ * be thrown.
400
+ *
401
+ * When the flag is `false`, an error will be thrown when duplicates are added.
402
+ *
403
+ * @since 5.3
404
+ * @until 6.0
405
+ * @public
406
+ */
407
+ const DEPRECATE_MANY_ARRAY_DUPLICATES = true;
408
+
409
+ /**
410
+ * <Badge type="warning" text="ember-data-mirror:deprecate-store-extends-ember-object" />
411
+ *
412
+ * When the flag is `true` (default), the Store class will extend from `@ember/object`.
413
+ * When the flag is `false` or `ember-source` is not present, the Store will not extend
414
+ * from EmberObject.
415
+
416
+ * @since 5.4
417
+ * @until 6.0
418
+ * @public
419
+ */
420
+ const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT = true;
421
+
422
+ /**
423
+ * <Badge type="warning" text="ember-data-mirror:schema-service-updates" />
424
+ *
425
+ * When the flag is `true` (default), the legacy schema
426
+ * service features will be enabled on the store and
427
+ * the service, and deprecations will be thrown when
428
+ * they are used.
429
+ *
430
+ * Deprecated features include:
431
+ *
432
+ * - `Store.registerSchema` method is deprecated in favor of the `Store.createSchemaService` hook
433
+ * - `Store.registerSchemaDefinitionService` method is deprecated in favor of the `Store.createSchemaService` hook
434
+ * - `Store.getSchemaDefinitionService` method is deprecated in favor of `Store.schema` property
435
+ * - `SchemaService.doesTypeExist` method is deprecated in favor of the `SchemaService.hasResource` method
436
+ * - `SchemaService.attributesDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method
437
+ * - `SchemaService.relationshipsDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method
438
+ *
439
+ * @since 5.4
440
+ * @until 6.0
441
+ * @public
442
+ */
443
+ const ENABLE_LEGACY_SCHEMA_SERVICE = true;
444
+
445
+ /**
446
+ * <Badge type="warning" text=" warp-drive.ember-inflector" />
447
+ *
448
+ * Deprecates the use of ember-inflector for pluralization and singularization in favor
449
+ * of the `@ember-data-mirror/request-utils` package.
450
+ *
451
+ * Rule configuration methods (singular, plural, uncountable, irregular) and
452
+ * usage methods (singularize, pluralize) are are available as imports from
453
+ * `@ember-data-mirror/request-utils/string`
454
+ *
455
+ * Notable differences with ember-inflector:
456
+ * - there cannot be multiple inflector instances with separate rules
457
+ * - pluralization does not support a count argument
458
+ * - string caches now default to 10k entries instead of 1k, and this
459
+ * size is now configurable. Additionally, the cache is now a LRU cache
460
+ * instead of a first-N cache.
461
+ *
462
+ * This deprecation can be resolved by removing usage of ember-inflector or by using
463
+ * both ember-inflector and @ember-data-mirror/request-utils in parallel and updating your
464
+ * EmberData/WarpDrive build config to mark the deprecation as resolved
465
+ * in ember-cli-build
466
+ *
467
+ * ```js
468
+ * setConfig(app, __dirname, { deprecations: { DEPRECATE_EMBER_INFLECTOR: false }});
469
+ * ```
470
+ *
471
+ * @since 5.3
472
+ * @until 6.0
473
+ * @public
474
+ */
475
+ const DEPRECATE_EMBER_INFLECTOR = true;
476
+
477
+ /**
478
+ * <Badge type="warning" text="warp-drive:deprecate-tracking-package" />
479
+ *
480
+ * Deprecates the use of the @ember-data-mirror/tracking package which
481
+ * historically provided bindings into Ember's reactivity system.
482
+ *
483
+ * This package is no longer needed as the configuration is now
484
+ * provided by the @warp-drive-mirror/ember package.
485
+ *
486
+ * This deprecation can be resolved by removing the
487
+ * @ember-data-mirror/tracking package from your project and ensuring
488
+ * that your app.js file has the following import:
489
+ *
490
+ * ```js
491
+ * import '@warp-drive-mirror/ember/install';
492
+ * ```
493
+ *
494
+ * Once this import is present, you can remove the deprecation
495
+ * by setting the deprecation to `false` in your build config:
496
+ *
497
+ * ```js
498
+ * // inside of ember-cli-build.js
499
+ *
500
+ * const { setConfig } = await import('@warp-drive-mirror/build-config');
501
+ *
502
+ * setConfig(app, __dirname, {
503
+ * deprecations: {
504
+ * DEPRECATE_TRACKING_PACKAGE: false
505
+ * }
506
+ * });
507
+ * ```
508
+ *
509
+ * @since 5.5
510
+ * @until 6.0
511
+ * @public
512
+ */
513
+ const DEPRECATE_TRACKING_PACKAGE = true;
514
+
515
+ /**
516
+ * This is a special flag that can be used to opt-in early to receiving deprecations introduced in 6.x
517
+ * which have had their infra backported to 5.x versions of ***Warp*Drive**.
518
+ *
519
+ * When this flag is not present or set to `true`, the deprecations from the 6.x branch
520
+ * will not print their messages and the deprecation cannot be resolved.
521
+ *
522
+ * When this flag is present and set to `false`, the deprecations from the 6.x branch will
523
+ * print and can be resolved.
524
+ *
525
+ * @since 5.3
526
+ * @until 7.0
527
+ * @public
528
+ */
529
+ const DISABLE_7X_DEPRECATIONS = true;
530
+
531
+ const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
532
+ __proto__: null,
533
+ DEPRECATE_CATCH_ALL,
534
+ DEPRECATE_COMPUTED_CHAINS,
535
+ DEPRECATE_EMBER_INFLECTOR,
536
+ DEPRECATE_LEGACY_IMPORTS,
537
+ DEPRECATE_MANY_ARRAY_DUPLICATES,
538
+ DEPRECATE_NON_STRICT_ID,
539
+ DEPRECATE_NON_STRICT_TYPES,
540
+ DEPRECATE_NON_UNIQUE_PAYLOADS,
541
+ DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE,
542
+ DEPRECATE_STORE_EXTENDS_EMBER_OBJECT,
543
+ DEPRECATE_TRACKING_PACKAGE,
544
+ DISABLE_7X_DEPRECATIONS,
545
+ ENABLE_LEGACY_SCHEMA_SERVICE
546
+ }, Symbol.toStringTag, { value: 'Module' }));
547
+
548
+ export { CURRENT_DEPRECATIONS as C, DEPRECATE_CATCH_ALL as D, ENABLE_LEGACY_SCHEMA_SERVICE as E, DEPRECATE_COMPUTED_CHAINS as a, DEPRECATE_NON_STRICT_TYPES as b, DEPRECATE_NON_STRICT_ID as c, DEPRECATE_LEGACY_IMPORTS as d, DEPRECATE_NON_UNIQUE_PAYLOADS as e, DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE as f, DEPRECATE_MANY_ARRAY_DUPLICATES as g, DEPRECATE_STORE_EXTENDS_EMBER_OBJECT as h, DEPRECATE_EMBER_INFLECTOR as i, DEPRECATE_TRACKING_PACKAGE as j, DISABLE_7X_DEPRECATIONS as k };
549
+ //# sourceMappingURL=deprecations-BVxAmwe9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deprecations-BVxAmwe9.js","sources":["../src/deprecations.ts"],"sourcesContent":["/**\n * # Deprecations\n *\n * This guide is intended to help you understand both how to address an active\n * deprecation and how to eliminate the code that supports the deprecation once\n * it has been resolved.\n *\n * Eliminating the associated code reduces the size of your application, often opts\n * applications into more performant fast-paths, and ensures your application does\n * not revert to using the deprecated behavior in the future.\n *\n * ## Active Deprecation IDs\n *\n * - {@link DEPRECATE_NON_STRICT_TYPES | ember-data:deprecate-non-strict-types}\n * - {@link DEPRECATE_NON_STRICT_ID | ember-data:deprecate-non-strict-id}\n * - {@link DEPRECATE_LEGACY_IMPORTS | ember-data:deprecate-legacy-imports}\n * - {@link DEPRECATE_NON_UNIQUE_PAYLOADS | ember-data:deprecate-non-unique-collection-payloads}\n * - {@link DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE | ember-data:deprecate-relationship-remote-update-clearing-local-state}\n * - {@link DEPRECATE_MANY_ARRAY_DUPLICATES | ember-data:deprecate-many-array-duplicates}\n * - {@link DEPRECATE_STORE_EXTENDS_EMBER_OBJECT | ember-data:deprecate-store-extends-ember-object}\n * - {@link ENABLE_LEGACY_SCHEMA_SERVICE | ember-data:schema-service-updates}\n * - {@link DEPRECATE_EMBER_INFLECTOR | warp-drive.ember-inflector}\n * - {@link DEPRECATE_TRACKING_PACKAGE | warp-drive:deprecate-tracking-package}\n *\n * ## Removing Code for Deprecated Features\n *\n * ***Warp*Drive** enables applications to opt-in to fully eliminating the code\n * for a deprecated feature once the application has taken the necessary steps to\n * ensure that it no longer requires the use of the code which triggers the deprecation.\n *\n * Each deprecation ID is associated to a deprecation flag which is used to instrument\n * the library for build-time removal of the deprecated code. Some flags have multiple\n * deprecation IDs associated to them, in which case to remove the deprecated code all\n * of the deprecation IDs must be resolved.\n *\n *\n * There are two modes for opting into deprecated code removal:\n *\n * - by version\n * - by deprecation flag\n *\n * If your app has resolved all deprecations present in a given version,\n * you may specify that version as your \"compatWith\" version. This will\n * remove the code for all deprecations that were introduced in or before\n * that version.\n *\n * ::: code-group\n *\n * ```ts [ember-cli-build.js]\n * setConfig(app, __dirname, {\n * compatWith: '5.0', // [!code highlight]\n * });\n * ```\n *\n * ```ts [babel.config.mjs]\n * setConfig(context, {\n * compatWith: '5.0', // [!code highlight]\n * });\n * ```\n *\n * :::\n *\n * For instance, if a deprecation was introduced in 5.3, and the app specifies\n * 5.2 as its minimum version compatibility, any deprecations introduced in or\n * before 5.2 will be removed, but any deprecations introduced in 5.3 will remain.\n *\n * You may also specify that specific deprecations are resolved. These approaches\n * may be used together.\n *\n * ::: code-group\n *\n * ```ts [ember-cli-build.js]\n * setConfig(app, __dirname, {\n * deprecations: {\n * DEPRECATE_NON_STRICT_TYPES: false, // [!code highlight]\n * DEPRECATE_NON_STRICT_ID: false, // [!code highlight]\n * }\n * });\n * ```\n *\n * ```ts [babel.config.mjs]\n * setConfig(context, {\n * deprecations: {\n * DEPRECATE_NON_STRICT_TYPES: false, // [!code highlight]\n * DEPRECATE_NON_STRICT_ID: false, // [!code highlight]\n * }\n * });\n * ```\n *\n * :::\n *\n *\n * ::: info 💡 Report Bugs if You Find Them\n * ***Warp*Drive** does not test against permutations of deprecations\n * being stripped, our tests run against \"all deprecated code included\"\n * and \"all deprecated code removed\". Unspecified behavior may sometimes\n * occur when removing code for only specific deprecations.\n *\n * If this happens, we'd like to know 💜\n * :::\n *\n * @module\n */\n\n/** @internal */\nexport const DEPRECATE_CATCH_ALL: boolean = true;\n\n/**\n * <Badge type=\"danger\" text=\"no-id-assigned\" />\n *\n * This is a planned deprecation which will trigger when observer or computed\n * chains are used to watch for changes on any EmberData LiveArray, CollectionRecordArray,\n * ManyArray or PromiseManyArray.\n *\n * Support for these chains is currently guarded by the deprecation flag\n * listed here, enabling removal of the behavior if desired.\n *\n * The instrumentation was added in 5.0 but the version number\n * is set to 7.0 as we do not want to strip support without\n * adding a deprecation message.\n *\n * Once we've added the deprecation message, we will\n * update this version number to the proper version.\n *\n * @since 5.0\n * @until 8.0\n * @public\n */\nexport const DEPRECATE_COMPUTED_CHAINS: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-non-strict-types\" />\n *\n * Currently, ***Warp*Drive** expects that the `type` property associated with\n * a resource follows several conventions.\n *\n * - The `type` property must be a non-empty string\n * - The `type` property must be singular\n * - The `type` property must be dasherized\n *\n * We are deprecating support for types that do not match this pattern\n * in order to unlock future improvements in which we can support `type`\n * being any string of your choosing.\n *\n * The goal is that in the future, you will be able to use any string\n * so long as it matches what your configured cache, identifier generation,\n * and schemas expect.\n *\n * E.G. It will matter not that your string is in a specific format like\n * singular, dasherized, etc. so long as everywhere you refer to the type\n * you use the same string.\n *\n * If using @ember-data-mirror/model, there will always be a restriction that the\n * `type` must match the path on disk where the model is defined.\n *\n * e.g. `app/models/foo/bar-bem.js` must have a type of `foo/bar-bem`\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_NON_STRICT_TYPES: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-non-strict-id\" />\n *\n * Currently, EmberData expects that the `id` property associated with\n * a resource is a string.\n *\n * However, for legacy support in many locations we would accept a number\n * which would then immediately be coerced into a string.\n *\n * We are deprecating this legacy support for numeric IDs.\n *\n * The goal is that in the future, you will be able to use any ID format\n * so long as everywhere you refer to the ID you use the same format.\n *\n * However, for identifiers we will always use string IDs and so any\n * custom identifier configuration should provide a string ID.\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_NON_STRICT_ID: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-legacy-imports\" />\n *\n * Deprecates when importing from `ember-data/*` instead of `@ember-data/*`\n * in order to prepare for the eventual removal of the legacy `ember-data/*`\n *\n * All imports from `ember-data/*` should be updated to `@ember-data/*`\n * except for `ember-data/store`. When you are using `ember-data` (as opposed to\n * installing the indivudal packages) you should import from `ember-data/store`\n * instead of `@ember-data-mirror/store` in order to receive the appropriate configuration\n * of defaults.\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_LEGACY_IMPORTS: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-non-unique-collection-payloads\" />\n *\n * Deprecates when the data for a hasMany relationship contains\n * duplicate identifiers.\n *\n * Previously, relationships would silently de-dupe the data\n * when received, but this behavior is being removed in favor\n * of erroring if the same related record is included multiple\n * times.\n *\n * For instance, in JSON:API the below relationship data would\n * be considered invalid:\n *\n * ```json\n * {\n * \"data\": {\n * \"type\": \"article\",\n * \"id\": \"1\",\n * \"relationships\": {\n * \"comments\": {\n * \"data\": [\n * { \"type\": \"comment\", \"id\": \"1\" },\n * { \"type\": \"comment\", \"id\": \"2\" },\n * { \"type\": \"comment\", \"id\": \"1\" } // duplicate\n * ]\n * }\n * }\n * }\n * ```\n *\n * To resolve this deprecation, either update your server to\n * not include duplicate data, or implement normalization logic\n * in either a request handler or serializer which removes\n * duplicate data from relationship payloads.\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_NON_UNIQUE_PAYLOADS: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-relationship-remote-update-clearing-local-state\" />\n *\n * Deprecates when a relationship is updated remotely and the local state\n * is cleared of all changes except for \"new\" records.\n *\n * Instead, any records not present in the new payload will be considered\n * \"removed\" while any records present in the new payload will be considered \"added\".\n *\n * This allows us to \"commit\" local additions and removals, preserving any additions\n * or removals that are not yet reflected in the remote state.\n *\n * For instance, given the following initial state:\n *\n * remote: A, B, C\n * local: add D, E\n * remove B, C\n * => A, D, E\n *\n *\n * If after an update, the remote state is now A, B, D, F then the new state will be\n *\n * remote: A, B, D, F\n * local: add E\n * remove B\n * => A, D, E, F\n *\n * Under the old behavior the updated local state would instead have been\n * => A, B, D, F\n *\n * Similarly, if a belongsTo remote State was A while its local state was B,\n * then under the old behavior if the remote state changed to C, the local state\n * would be updated to C. Under the new behavior, the local state would remain B.\n *\n * If the remote state was A while its local state was `null`, then under the old\n * behavior if the remote state changed to C, the local state would be updated to C.\n * Under the new behavior, the local state would remain `null`.\n *\n * Thus the new correct mental model is that the state of the relationship at any point\n * in time is whatever the most recent remote state is, plus any local additions or removals\n * you have made that have not yet been reflected by the remote state.\n *\n * > Note: The old behavior extended to modifying the inverse of a relationship. So if\n * > you had local state not reflected in the new remote state, inverses would be notified\n * > and their state reverted as well when \"resetting\" the relationship.\n * > Under the new behavior, since the local state is preserved the inverses will also\n * > not be reverted.\n *\n * ### Resolving this deprecation\n *\n * Resolving this deprecation can be done individually for each relationship\n * or globally for all relationships.\n *\n * To resolve it globally, set the `DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE`\n * to `false` in ember-cli-build.js\n *\n * ```js\n * const { setConfig } = await import('@warp-drive-mirror/build-config');\n *\n * let app = new EmberApp(defaults, {});\n *\n * setConfig(app, __dirname, {\n * deprecations: {\n * // set to false to strip the deprecated code (thereby opting into the new behavior)\n * DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: false\n * }\n * });\n * ```\n *\n * To resolve this deprecation on an individual relationship, adjust the `options` passed to\n * the relationship. For relationships with inverses, both sides MUST be migrated to the new\n * behavior at the same time.\n *\n * ```js\n * class Person extends Model {\n * @hasMany('person', {\n * async: false,\n * inverse: null,\n * resetOnRemoteUpdate: false\n * }) children;\n *\n * @belongsTo('person', {\n * async: false,\n * inverse: null,\n * resetOnRemoteUpdate: false\n * }) parent;\n * }\n * ```\n *\n * > Note: false is the only valid value here, all other values (including missing)\n * > will be treated as true, where `true` is the legacy behavior that is now deprecated.\n *\n * Once you have migrated all relationships, you can remove the the resetOnRemoteUpdate\n * option and set the deprecation flag to false in ember-cli-build.\n *\n * ### What if I don't want the new behavior?\n *\n * EmberData's philosophy is to not make assumptions about your application. Where possible\n * we seek out \"100%\" solutions – solutions that work for all use cases - and where that is\n * not possible we default to \"90%\" solutions – solutions that work for the vast majority of use\n * cases. In the case of \"90%\" solutions we look for primitives that allow you to resolve the\n * 10% case in your application. If no such primitives exist, we provide an escape hatch that\n * ensures you can build the behavior you need without adopting the cost of the default solution.\n *\n * In this case, the old behavior was a \"40%\" solution. The inability for an application developer\n * to determine what changes were made locally, and thus what changes should be preserved, made\n * it impossible to build certain features easily, or in some cases at all. The proliferation of\n * feature requests, bug reports (from folks surprised by the prior behavior) and addon attempts\n * in this space are all evidence of this.\n *\n * We believe the new behavior is a \"90%\" solution. It works for the vast majority of use cases,\n * often without noticeable changes to existing application behavior, and provides primitives that\n * allow you to build the behavior you need for the remaining 10%.\n *\n * The great news is that this behavior defaults to trusting your API similar to the old behavior.\n * If your API is correct, you will not need to make any changes to your application to adopt\n * the new behavior.\n *\n * This means the 10% cases are those where you can't trust your API to provide the correct\n * information. In these cases, because you now have cheap access to a diff of the relationship\n * state, there are a few options that weren't available before:\n *\n * - you can adjust returned API payloads to contain the expected changes that it doesn't include\n * - you can modify local state by adding or removing records on the HasMany record array to remove\n * any local changes that were not returned by the API.\n * - you can use `<Cache>.mutate(mutation)` to directly modify the local cache state of the relationship\n * to match the expected state.\n *\n * What this version (5.3) does not yet provide is a way to directly modify the cache's remote state\n * for the relationship via public APIs other than via the broader action of upserting a response via\n * `<Cache>.put(document)`. However, such an API was sketched in the Cache 2.1 RFC\n * `<Cache>.patch(operation)` and is likely to be added in a future 5.x release of EmberData.\n *\n * This version (5.3) also does not yet provide a way to directly modify the graph (a general purpose\n * subset of cache behaviors specific to relationships) via public APIs. However, during the\n * 5.x release series we will be working on finalizing the Graph API and making it public.\n *\n * If none of these options work for you, you can always opt-out more broadly by implementing\n * a custom Cache with the relationship behaviors you need.\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-many-array-duplicates\" />\n *\n * When the flag is `true` (default), adding duplicate records to a `ManyArray`\n * is deprecated in non-production environments. In production environments,\n * duplicate records added to a `ManyArray` will be deduped and no error will\n * be thrown.\n *\n * When the flag is `false`, an error will be thrown when duplicates are added.\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_MANY_ARRAY_DUPLICATES: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:deprecate-store-extends-ember-object\" />\n *\n * When the flag is `true` (default), the Store class will extend from `@ember/object`.\n * When the flag is `false` or `ember-source` is not present, the Store will not extend\n * from EmberObject.\n\n * @since 5.4\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"ember-data-mirror:schema-service-updates\" />\n *\n * When the flag is `true` (default), the legacy schema\n * service features will be enabled on the store and\n * the service, and deprecations will be thrown when\n * they are used.\n *\n * Deprecated features include:\n *\n * - `Store.registerSchema` method is deprecated in favor of the `Store.createSchemaService` hook\n * - `Store.registerSchemaDefinitionService` method is deprecated in favor of the `Store.createSchemaService` hook\n * - `Store.getSchemaDefinitionService` method is deprecated in favor of `Store.schema` property\n * - `SchemaService.doesTypeExist` method is deprecated in favor of the `SchemaService.hasResource` method\n * - `SchemaService.attributesDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method\n * - `SchemaService.relationshipsDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method\n *\n * @since 5.4\n * @until 6.0\n * @public\n */\nexport const ENABLE_LEGACY_SCHEMA_SERVICE: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\" warp-drive.ember-inflector\" />\n *\n * Deprecates the use of ember-inflector for pluralization and singularization in favor\n * of the `@ember-data-mirror/request-utils` package.\n *\n * Rule configuration methods (singular, plural, uncountable, irregular) and\n * usage methods (singularize, pluralize) are are available as imports from\n * `@ember-data-mirror/request-utils/string`\n *\n * Notable differences with ember-inflector:\n * - there cannot be multiple inflector instances with separate rules\n * - pluralization does not support a count argument\n * - string caches now default to 10k entries instead of 1k, and this\n * size is now configurable. Additionally, the cache is now a LRU cache\n * instead of a first-N cache.\n *\n * This deprecation can be resolved by removing usage of ember-inflector or by using\n * both ember-inflector and @ember-data-mirror/request-utils in parallel and updating your\n * EmberData/WarpDrive build config to mark the deprecation as resolved\n * in ember-cli-build\n *\n * ```js\n * setConfig(app, __dirname, { deprecations: { DEPRECATE_EMBER_INFLECTOR: false }});\n * ```\n *\n * @since 5.3\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_EMBER_INFLECTOR: boolean = true;\n\n/**\n * <Badge type=\"warning\" text=\"warp-drive:deprecate-tracking-package\" />\n *\n * Deprecates the use of the @ember-data-mirror/tracking package which\n * historically provided bindings into Ember's reactivity system.\n *\n * This package is no longer needed as the configuration is now\n * provided by the @warp-drive-mirror/ember package.\n *\n * This deprecation can be resolved by removing the\n * @ember-data-mirror/tracking package from your project and ensuring\n * that your app.js file has the following import:\n *\n * ```js\n * import '@warp-drive-mirror/ember/install';\n * ```\n *\n * Once this import is present, you can remove the deprecation\n * by setting the deprecation to `false` in your build config:\n *\n * ```js\n * // inside of ember-cli-build.js\n *\n * const { setConfig } = await import('@warp-drive-mirror/build-config');\n *\n * setConfig(app, __dirname, {\n * deprecations: {\n * DEPRECATE_TRACKING_PACKAGE: false\n * }\n * });\n * ```\n *\n * @since 5.5\n * @until 6.0\n * @public\n */\nexport const DEPRECATE_TRACKING_PACKAGE: boolean = true;\n\n/**\n * This is a special flag that can be used to opt-in early to receiving deprecations introduced in 6.x\n * which have had their infra backported to 5.x versions of ***Warp*Drive**.\n *\n * When this flag is not present or set to `true`, the deprecations from the 6.x branch\n * will not print their messages and the deprecation cannot be resolved.\n *\n * When this flag is present and set to `false`, the deprecations from the 6.x branch will\n * print and can be resolved.\n *\n * @since 5.3\n * @until 7.0\n * @public\n */\nexport const DISABLE_7X_DEPRECATIONS: boolean = true;\n"],"names":["DEPRECATE_CATCH_ALL","DEPRECATE_COMPUTED_CHAINS","DEPRECATE_NON_STRICT_TYPES","DEPRECATE_NON_STRICT_ID","DEPRECATE_LEGACY_IMPORTS","DEPRECATE_NON_UNIQUE_PAYLOADS","DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE","DEPRECATE_MANY_ARRAY_DUPLICATES","DEPRECATE_STORE_EXTENDS_EMBER_OBJECT","ENABLE_LEGACY_SCHEMA_SERVICE","DEPRECATE_EMBER_INFLECTOR","DEPRECATE_TRACKING_PACKAGE","DISABLE_7X_DEPRECATIONS"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACO,MAAMA,mBAA4B,GAAG;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,yBAAkC,GAAG;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,0BAAmC,GAAG;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,uBAAgC,GAAG;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,wBAAiC,GAAG;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,6BAAsC,GAAG;;AAEtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,yDAAkE,GAAG;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,+BAAwC,GAAG;;AAExD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACO,MAAMC,oCAA6C,GAAG;;AAE7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,4BAAqC,GAAG;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,yBAAkC,GAAG;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,0BAAmC,GAAG;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,uBAAgC,GAAG;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, i as DEPRECATE_EMBER_INFLECTOR, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, k as DEPRECATE_TRACKING_PACKAGE, j as DISABLE_7X_DEPRECATIONS, E as ENABLE_LEGACY_SCHEMA_SERVICE } from './deprecations-D_dBAPC9.js';
1
+ export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, i as DEPRECATE_EMBER_INFLECTOR, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, j as DEPRECATE_TRACKING_PACKAGE, k as DISABLE_7X_DEPRECATIONS, E as ENABLE_LEGACY_SCHEMA_SERVICE } from './deprecations-BVxAmwe9.js';
2
2
  //# sourceMappingURL=deprecations.js.map