@warp-drive/build-config 0.0.0-beta.7 → 4.13.0-alpha.1

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.
@@ -70,6 +70,600 @@ declare module '@warp-drive/build-config/deprecation-versions' {
70
70
  * @public
71
71
  */
72
72
  export const DEPRECATE_CATCH_ALL = "99.0";
73
+ /**
74
+ * **id: ember-data:rsvp-unresolved-async**
75
+ *
76
+ * Deprecates when a request promise did not resolve prior to the store tearing down.
77
+ *
78
+ * Note: in most cases even with the promise guard that is now being deprecated
79
+ * a test crash would still be encountered.
80
+ *
81
+ * To resolve: Tests or Fastboot instances which crash need to find triggers requests
82
+ * and properly await them before tearing down.
83
+ *
84
+ * @property DEPRECATE_RSVP_PROMISE
85
+ * @since 4.4
86
+ * @until 5.0
87
+ * @public
88
+ */
89
+ export const DEPRECATE_RSVP_PROMISE = "4.4";
90
+ /**
91
+ * **id: ember-data:model-save-promise**
92
+ *
93
+ * Affects
94
+ * - model.save / store.saveRecord
95
+ * - model.reload
96
+ *
97
+ * Deprecates the promise-proxy returned by these methods in favor of
98
+ * a Promise return value.
99
+ *
100
+ * To resolve this deprecation, `await` or `.then` the return value
101
+ * before doing work with the result instead of accessing values via
102
+ * the proxy.
103
+ *
104
+ * To continue utilizing flags such as `isPending` in your templates
105
+ * consider using [ember-promise-helpers](https://github.com/fivetanley/ember-promise-helpers)
106
+ *
107
+ * @property DEPRECATE_SAVE_PROMISE_ACCESS
108
+ * @since 4.4
109
+ * @until 5.0
110
+ * @public
111
+ */
112
+ export const DEPRECATE_SAVE_PROMISE_ACCESS = "4.4";
113
+ /**
114
+ * **id: ember-data:deprecate-snapshot-model-class-access**
115
+ *
116
+ * Deprecates accessing the factory class for a given resource type
117
+ * via properties on various classes.
118
+ *
119
+ * Guards
120
+ *
121
+ * - SnapshotRecordArray.type
122
+ * - Snapshot.type
123
+ * - RecordArray.type
124
+ *
125
+ * Use `store.modelFor(<resource-type>)` instead.
126
+ *
127
+ * @property DEPRECATE_SNAPSHOT_MODEL_CLASS_ACCESS
128
+ * @since 4.5
129
+ * @until 5.0
130
+ * @public
131
+ */
132
+ export const DEPRECATE_SNAPSHOT_MODEL_CLASS_ACCESS = "4.5";
133
+ /**
134
+ * **id: ember-data:deprecate-store-find**
135
+ *
136
+ * Deprecates using `store.find` instead of `store.findRecord`. Typically
137
+ * `store.find` is a mistaken call that occurs when using implicit route behaviors
138
+ * in Ember which attempt to derive how to load data via parsing the route params
139
+ * for a route which does not implement a `model` hook.
140
+ *
141
+ * To resolve, use `store.findRecord`. This may require implementing an associated
142
+ * route's `model() {}` hook.
143
+ *
144
+ * @property DEPRECATE_STORE_FIND
145
+ * @since 4.5
146
+ * @until 5.0
147
+ * @public
148
+ */
149
+ export const DEPRECATE_STORE_FIND = "4.5";
150
+ /**
151
+ * **id: ember-data:deprecate-has-record-for-id**
152
+ *
153
+ * Deprecates `store.hasRecordForId(type, id)` in favor of `store.peekRecord({ type, id }) !== null`.
154
+ *
155
+ * Broadly speaking, while the ability to query for presence is important, a key distinction exists
156
+ * between these methods that make relying on `hasRecordForId` unsafe, as it may report `true` for a
157
+ * record which is not-yet loaded and un-peekable. `peekRecord` offers a safe mechanism by which to check
158
+ * for whether a record is present in a usable manner.
159
+ *
160
+ * @property DEPRECATE_HAS_RECORD
161
+ * @since 4.5
162
+ * @until 5.0
163
+ * @public
164
+ */
165
+ export const DEPRECATE_HAS_RECORD = "4.5";
166
+ /**
167
+ * **id: ember-data:deprecate-string-arg-schemas**
168
+ *
169
+ * Deprecates `schema.attributesDefinitionFor(type)` and
170
+ * `schema.relationshipsDefinitionFor(type)` in favor of
171
+ * a consistent object signature (`identifier | { type }`).
172
+ *
173
+ * To resolve change
174
+ *
175
+ * ```diff
176
+ * - store.getSchemaDefinitionService().attributesDefinitionFor('user')
177
+ * + store.getSchemaDefinitionService().attributesDefinitionFor({ type: 'user' })
178
+ * ```
179
+ *
180
+ * @property DEPRECATE_STRING_ARG_SCHEMAS
181
+ * @since 4.5
182
+ * @until 5.0
183
+ * @public
184
+ */
185
+ export const DEPRECATE_STRING_ARG_SCHEMAS = "4.5";
186
+ /**
187
+ * **id: ember-data:deprecate-secret-adapter-fallback**
188
+ *
189
+ * Deprecates the secret `-json-api` fallback adapter in favor
190
+ * or an explicit "catch all" application adapter. In addition
191
+ * to this deprecation ensuring the user has explicitly chosen an
192
+ * adapter, this ensures that the user may choose to use no adapter
193
+ * at all.
194
+ *
195
+ * Simplest fix:
196
+ *
197
+ * *<project>/app/adapters/application.js*
198
+ * ```js
199
+ * export { default } from '@ember-data/adapter/json-api';
200
+ * ```
201
+ *
202
+ * @property DEPRECATE_JSON_API_FALLBACK
203
+ * @since 4.5
204
+ * @until 5.0
205
+ * @public
206
+ */
207
+ export const DEPRECATE_JSON_API_FALLBACK = "4.5";
208
+ /**
209
+ * **id: ember-data:deprecate-model-reopen**
210
+ *
211
+ * ----
212
+ *
213
+ * For properties known ahead of time, instead of
214
+ *
215
+ * ```ts
216
+ * class User extends Model { @attr firstName; }
217
+ *
218
+ * User.reopen({ lastName: attr() });
219
+ * ```
220
+ *
221
+ * Extend `User` again or include it in the initial definition.
222
+ *
223
+ * ```ts
224
+ * class User extends Model { @attr firstName; @attr lastName }
225
+ * ```
226
+ *
227
+ * For properties generated dynamically, consider registering
228
+ * a `SchemaDefinitionService` with the store , as such services
229
+ * are capable of dynamically adjusting their schemas, and utilize
230
+ * the `instantiateRecord` hook to create a Proxy based class that
231
+ * can react to the changes in the schema.
232
+ *
233
+ *
234
+ * Use Foo extends Model to extend your class instead
235
+ *
236
+ *
237
+ *
238
+ *
239
+ * **id: ember-data:deprecate-model-reopenclass**
240
+ *
241
+ * ----
242
+ *
243
+ * Instead of reopenClass, define `static` properties with native class syntax
244
+ * or add them to the final object.
245
+ *
246
+ * ```ts
247
+ * // instead of
248
+ * User.reopenClass({ aStaticMethod() {} });
249
+ *
250
+ * // do this
251
+ * class User {
252
+ * static aStaticMethod() {}
253
+ * }
254
+ *
255
+ * // or do this
256
+ * User.aStaticMethod = function() {}
257
+ * ```
258
+ *
259
+ *
260
+ * @property DEPRECATE_MODEL_REOPEN
261
+ * @since 4.7
262
+ * @until 5.0
263
+ * @public
264
+ */
265
+ export const DEPRECATE_MODEL_REOPEN = "4.7";
266
+ /**
267
+ * **id: ember-data:deprecate-early-static**
268
+ *
269
+ * This deprecation triggers if static computed properties
270
+ * or methods are triggered without looking up the record
271
+ * via the store service's `modelFor` hook. Accessing this
272
+ * static information without looking up the model via the
273
+ * store most commonly occurs when
274
+ *
275
+ * - using ember-cli-mirage (to fix, refactor to not use its auto-discovery of ember-data models)
276
+ * - importing a model class and accessing its static information via the import
277
+ *
278
+ * Instead of
279
+ *
280
+ * ```js
281
+ * import User from 'my-app/models/user';
282
+ *
283
+ * const relationships = User.relationshipsByName;
284
+ * ```
285
+ *
286
+ * Do *at least* this
287
+ *
288
+ * ```js
289
+ * const relationships = store.modelFor('user').relationshipsByName;
290
+ * ```
291
+ *
292
+ * However, the much more future proof refactor is to not use `modelFor` at all but instead
293
+ * to utilize the schema service for this static information.
294
+ *
295
+ * ```js
296
+ * const relationships = store.getSchemaDefinitionService().relationshipsDefinitionFor({ type: 'user' });
297
+ * ```
298
+ *
299
+ *
300
+ * @property DEPRECATE_EARLY_STATIC
301
+ * @since 4.7
302
+ * @until 5.0
303
+ * @public
304
+ */
305
+ export const DEPRECATE_EARLY_STATIC = "4.7";
306
+ /**
307
+ * **id: ember-data:deprecate-errors-hash-to-array-helper**
308
+ * **id: ember-data:deprecate-errors-array-to-hash-helper**
309
+ * **id: ember-data:deprecate-normalize-modelname-helper**
310
+ *
311
+ * Deprecates `errorsHashToArray` `errorsArrayToHash` and `normalizeModelName`
312
+ *
313
+ * Users making use of these (already private) utilities can trivially copy them
314
+ * into their own codebase to continue using them, though we recommend refactoring
315
+ * to a more direct conversion into the expected errors format for the errors helpers.
316
+ *
317
+ * For refactoring normalizeModelName we also recommend following the guidance in
318
+ * [RFC#740 Deprecate Non-Strict Types](https://github.com/emberjs/rfcs/pull/740).
319
+ *
320
+ *
321
+ * @property DEPRECATE_HELPERS
322
+ * @since 4.7
323
+ * @until 5.0
324
+ * @public
325
+ */
326
+ export const DEPRECATE_HELPERS = "4.7";
327
+ /**
328
+ * **id: ember-data:deprecate-promise-many-array-behavior**
329
+ *
330
+ * [RFC Documentation](https://rfcs.emberjs.com/id/0745-ember-data-deprecate-methods-on-promise-many-array)
331
+ *
332
+ * This deprecation deprecates accessing values on the asynchronous proxy
333
+ * in favor of first "resolving" or "awaiting" the promise to retrieve a
334
+ * synchronous value.
335
+ *
336
+ * Template iteration of the asynchronous value will still work and not trigger
337
+ * the deprecation, but all JS access should be avoided and HBS access for anything
338
+ * but `{{#each}}` should also be refactored.
339
+ *
340
+ * Recommended approaches include using the addon `ember-promise-helpers`, using
341
+ * Ember's `resource` pattern (including potentially the addon `ember-data-resources`),
342
+ * resolving the value in routes/provider components, or using the references API.
343
+ *
344
+ * An example of using the [hasMany](https://api.emberjs.com/ember-data/4.11/classes/Model/methods/hasMany?anchor=hasMany) [reference API](https://api.emberjs.com/ember-data/release/classes/HasManyReference):
345
+ *
346
+ * ```ts
347
+ * // get the synchronous "ManyArray" value for the asynchronous "friends" relationship.
348
+ * // note, this will return `null` if the relationship has not been loaded yet
349
+ * const value = person.hasMany('friends').value();
350
+ *
351
+ * // to get just the list of related IDs
352
+ * const ids = person.hasMany('friends').ids();
353
+ * ```
354
+ *
355
+ * References participate in autotracking and getters/cached getters etc. which consume them
356
+ * will recompute if the value changes.
357
+ *
358
+ * @property DEPRECATE_PROMISE_MANY_ARRAY_BEHAVIORS
359
+ * @since 4.7
360
+ * @until 5.0
361
+ * @public
362
+ */
363
+ export const DEPRECATE_PROMISE_MANY_ARRAY_BEHAVIORS = "4.7";
364
+ /**
365
+ * **id: ember-data:deprecate-non-strict-relationships**
366
+ *
367
+ * Deprecates when belongsTo and hasMany relationships are defined
368
+ * without specifying the inverse record's type.
369
+ *
370
+ * Instead of
371
+ *
372
+ * ```ts
373
+ * class Company extends Model {
374
+ * @hasMany() employees;
375
+ * }
376
+ * class Employee extends Model {
377
+ * @belongsTo() company;
378
+ * }
379
+ * ```
380
+ *
381
+ * Use
382
+ *
383
+ * ```ts
384
+ * class Company extends Model {
385
+ * @hasMany('employee', { async: true, inverse: 'company' }) employees;
386
+ * }
387
+ *
388
+ * class Employee extends Model {
389
+ * @belongsTo('company', { async: true, inverse: 'employees' }) company;
390
+ * }
391
+ * ```
392
+ *
393
+ * @property DEPRECATE_RELATIONSHIPS_WITHOUT_TYPE
394
+ * @since 4.7
395
+ * @until 5.0
396
+ * @public
397
+ */
398
+ export const DEPRECATE_RELATIONSHIPS_WITHOUT_TYPE = "4.7";
399
+ /**
400
+ * **id: ember-data:deprecate-non-strict-relationships**
401
+ *
402
+ * Deprecates when belongsTo and hasMany relationships are defined
403
+ * without specifying whether the relationship is asynchronous.
404
+ *
405
+ * The current behavior is that relationships which do not define
406
+ * this setting are aschronous (`{ async: true }`).
407
+ *
408
+ * Instead of
409
+ *
410
+ * ```ts
411
+ * class Company extends Model {
412
+ * @hasMany('employee') employees;
413
+ * }
414
+ * class Employee extends Model {
415
+ * @belongsTo('company') company;
416
+ * }
417
+ * ```
418
+ *
419
+ * Use
420
+ *
421
+ * ```ts
422
+ * class Company extends Model {
423
+ * @hasMany('employee', { async: true, inverse: 'company' }) employees;
424
+ * }
425
+ *
426
+ * class Employee extends Model {
427
+ * @belongsTo('company', { async: true, inverse: 'employees' }) company;
428
+ * }
429
+ * ```
430
+ *
431
+ * @property DEPRECATE_RELATIONSHIPS_WITHOUT_ASYNC
432
+ * @since 4.7
433
+ * @until 5.0
434
+ * @public
435
+ */
436
+ export const DEPRECATE_RELATIONSHIPS_WITHOUT_ASYNC = "4.7";
437
+ /**
438
+ * **id: ember-data:deprecate-non-strict-relationships**
439
+ *
440
+ * Deprecates when belongsTo and hasMany relationships are defined
441
+ * without specifying the inverse field on the related type.
442
+ *
443
+ * The current behavior is that relationships which do not define
444
+ * this setting have their inverse determined at runtime, which is
445
+ * potentially non-deterministic when mixins and polymorphism are involved.
446
+ *
447
+ * If an inverse relationship exists and you wish changes on one side to
448
+ * reflect onto the other side, use the inverse key. If you wish to not have
449
+ * changes reflected or no inverse relationship exists, specify `inverse: null`.
450
+ *
451
+ * Instead of
452
+ *
453
+ * ```ts
454
+ * class Company extends Model {
455
+ * @hasMany('employee') employees;
456
+ * }
457
+ * class Employee extends Model {
458
+ * @belongsTo('company') company;
459
+ * }
460
+ * ```
461
+ *
462
+ * Use
463
+ *
464
+ * ```ts
465
+ * class Company extends Model {
466
+ * @hasMany('employee', { async: true, inverse: 'company' }) employees;
467
+ * }
468
+ *
469
+ * class Employee extends Model {
470
+ * @belongsTo('company', { async: true, inverse: 'employees' }) company;
471
+ * }
472
+ * ```
473
+ *
474
+ * Instead of
475
+ *
476
+ * ```ts
477
+ * class Company extends Model {
478
+ * @hasMany('employee') employees;
479
+ * }
480
+ * class Employee extends Model {
481
+ * @attr name;
482
+ * }
483
+ * ```
484
+ *
485
+ * Use
486
+ *
487
+ * ```ts
488
+ * class Company extends Model {
489
+ * @hasMany('employee', { async: true, inverse: null }) employees;
490
+ * }
491
+ *
492
+ * class Employee extends Model {
493
+ * @attr name;
494
+ * }
495
+ * ```
496
+ *
497
+ * @property DEPRECATE_RELATIONSHIPS_WITHOUT_INVERSE
498
+ * @since 4.7
499
+ * @until 5.0
500
+ * @public
501
+ */
502
+ export const DEPRECATE_RELATIONSHIPS_WITHOUT_INVERSE = "4.7";
503
+ /**
504
+ * **id: ember-data:no-a-with-array-like**
505
+ *
506
+ * Deprecates when calling `A()` on an EmberData ArrayLike class
507
+ * is detected. This deprecation may not always trigger due to complexities
508
+ * in ember-source versions and the use (or disabling) of prototype extensions.
509
+ *
510
+ * To fix, just use the native array methods instead of the EmberArray methods
511
+ * and refrain from wrapping the array in `A()`.
512
+ *
513
+ * Note that some computed property macros may themselves utilize `A()`, in which
514
+ * scenario the computed properties need to be upgraded to octane syntax.
515
+ *
516
+ * For instance, instead of:
517
+ *
518
+ * ```ts
519
+ * class extends Component {
520
+ * @filterBy('items', 'isComplete') completedItems;
521
+ * }
522
+ * ```
523
+ *
524
+ * Use the following:
525
+ *
526
+ * ```ts
527
+ * class extends Component {
528
+ * get completedItems() {
529
+ * return this.items.filter(item => item.isComplete);
530
+ * }
531
+ * }
532
+ * ```
533
+ *
534
+ * @property DEPRECATE_A_USAGE
535
+ * @since 4.7
536
+ * @until 5.0
537
+ * @public
538
+ */
539
+ export const DEPRECATE_A_USAGE = "4.7";
540
+ /**
541
+ * **id: ember-data:deprecate-promise-proxies**
542
+ *
543
+ * Additional Reading: [RFC#846 Deprecate Proxies](https://rfcs.emberjs.com/id/0846-ember-data-deprecate-proxies)
544
+ *
545
+ * Deprecates using the proxy object/proxy array capabilities of values returned from
546
+ *
547
+ * - `store.findRecord`
548
+ * - `store.findAll`
549
+ * - `store.query`
550
+ * - `store.queryRecord`
551
+ * - `record.save`
552
+ * - `recordArray.save`
553
+ * - `recordArray.update`
554
+ *
555
+ * These methods will now return a native Promise that resolves with the value.
556
+ *
557
+ * Note that this does not deprecate the proxy behaviors of `PromiseBelongsTo`. See RFC for reasoning.
558
+ * The opportunity should still be taken if available to stop using these proxy behaviors; however, this class
559
+ * will remain until `import Model from '@ember-data/model';` is deprecated more broadly.
560
+ *
561
+ * @property DEPRECATE_PROMISE_PROXIES
562
+ * @since 4.7
563
+ * @until 5.0
564
+ * @public
565
+ */
566
+ export const DEPRECATE_PROMISE_PROXIES = "4.7";
567
+ /**
568
+ * **id: ember-data:deprecate-array-like**
569
+ *
570
+ * Deprecates Ember "Array-like" methods on RecordArray and ManyArray.
571
+ *
572
+ * These are the arrays returned respectively by `store.peekAll()`, `store.findAll()`and
573
+ * hasMany relationships on instance of Model or `record.hasMany('relationshipName').value()`.
574
+ *
575
+ * The appropriate refactor is to treat these arrays as native arrays and to use native array methods.
576
+ *
577
+ * For instance, instead of:
578
+ *
579
+ * ```ts
580
+ * users.firstObject;
581
+ * ```
582
+ *
583
+ * Use:
584
+ *
585
+ * ```ts
586
+ * users[0];
587
+ * // or
588
+ * users.at(0);
589
+ * ```
590
+ *
591
+ * @property DEPRECATE_ARRAY_LIKE
592
+ * @since 4.7
593
+ * @until 5.0
594
+ * @public
595
+ */
596
+ export const DEPRECATE_ARRAY_LIKE = "4.7";
597
+ /**
598
+ * **id: <none yet assigned>**
599
+ *
600
+ * This is a planned deprecation which will trigger when observer or computed
601
+ * chains are used to watch for changes on any EmberData RecordArray, ManyArray
602
+ * or PromiseManyArray.
603
+ *
604
+ * Support for these chains is currently guarded by the inactive deprecation flag
605
+ * listed here.
606
+ *
607
+ * @property DEPRECATE_COMPUTED_CHAINS
608
+ * @since 5.0
609
+ * @until 6.0
610
+ * @public
611
+ */
612
+ export const DEPRECATE_COMPUTED_CHAINS = "5.0";
613
+ /**
614
+ * **id: ember-data:non-explicit-relationships**
615
+ *
616
+ * Deprecates when polymorphic relationships are detected via inheritance or mixins
617
+ * and no polymorphic relationship configuration has been setup.
618
+ *
619
+ * For further reading please review [RFC#793](https://rfcs.emberjs.com/id/0793-polymporphic-relations-without-inheritance)
620
+ * which introduced support for explicit relationship polymorphism without
621
+ * mixins or inheritance.
622
+ *
623
+ * You may still use mixins and inheritance to setup your polymorphism; however, the class
624
+ * structure is no longer what drives the design. Instead polymorphism is "traits" based or "structural":
625
+ * so long as each model which can satisfy the polymorphic relationship defines the inverse in the same
626
+ * way they work.
627
+ *
628
+ * Notably: `inverse: null` relationships can receive any type as a record with no additional configuration
629
+ * at all.
630
+ *
631
+ * Example Polymorphic Relationship Configuration
632
+ *
633
+ * ```ts
634
+ * // polymorphic relationship
635
+ * class Tag extends Model {
636
+ * @hasMany("taggable", { async: false, polymorphic: true, inverse: "tags" }) tagged;
637
+ * }
638
+ *
639
+ * // an inverse concrete relationship (e.g. satisfies "taggable")
640
+ * class Post extends Model {
641
+ * @hasMany("tag", { async: false, inverse: "tagged", as: "taggable" }) tags;
642
+ * }
643
+ * ```
644
+ *
645
+ * @property DEPRECATE_NON_EXPLICIT_POLYMORPHISM
646
+ * @since 4.7
647
+ * @until 5.0
648
+ * @public
649
+ */
650
+ export const DEPRECATE_NON_EXPLICIT_POLYMORPHISM = "4.7";
651
+ /**
652
+ * **id: ember-data:deprecate-many-array-duplicates**
653
+ *
654
+ * When the flag is `true` (default), adding duplicate records to a `ManyArray`
655
+ * is deprecated in non-production environments. In production environments,
656
+ * duplicate records added to a `ManyArray` will be deduped and no error will
657
+ * be thrown.
658
+ *
659
+ * When the flag is `false`, an error will be thrown when duplicates are added.
660
+ *
661
+ * @property DEPRECATE_MANY_ARRAY_DUPLICATES
662
+ * @since 5.3
663
+ * @until 6.0
664
+ * @public
665
+ */
666
+ export const DEPRECATE_MANY_ARRAY_DUPLICATES = "4.12";
73
667
  /**
74
668
  * **id: ember-data:deprecate-non-strict-types**
75
669
  *
@@ -126,40 +720,6 @@ declare module '@warp-drive/build-config/deprecation-versions' {
126
720
  * @public
127
721
  */
128
722
  export const DEPRECATE_NON_STRICT_ID = "5.3";
129
- /**
130
- * **id: <none yet assigned>**
131
- *
132
- * This is a planned deprecation which will trigger when observer or computed
133
- * chains are used to watch for changes on any EmberData LiveArray, CollectionRecordArray,
134
- * ManyArray or PromiseManyArray.
135
- *
136
- * Support for these chains is currently guarded by the deprecation flag
137
- * listed here, enabling removal of the behavior if desired.
138
- *
139
- * @property DEPRECATE_COMPUTED_CHAINS
140
- * @since 5.0
141
- * @until 6.0
142
- * @public
143
- */
144
- export const DEPRECATE_COMPUTED_CHAINS = "5.0";
145
- /**
146
- * **id: ember-data:deprecate-legacy-imports**
147
- *
148
- * Deprecates when importing from `ember-data/*` instead of `@ember-data/*`
149
- * in order to prepare for the eventual removal of the legacy `ember-data/*`
150
- *
151
- * All imports from `ember-data/*` should be updated to `@ember-data/*`
152
- * except for `ember-data/store`. When you are using `ember-data` (as opposed to
153
- * installing the indivudal packages) you should import from `ember-data/store`
154
- * instead of `@ember-data/store` in order to receive the appropriate configuration
155
- * of defaults.
156
- *
157
- * @property DEPRECATE_LEGACY_IMPORTS
158
- * @since 5.3
159
- * @until 6.0
160
- * @public
161
- */
162
- export const DEPRECATE_LEGACY_IMPORTS = "5.3";
163
723
  /**
164
724
  * **id: ember-data:deprecate-non-unique-collection-payloads**
165
725
  *
@@ -348,22 +908,6 @@ declare module '@warp-drive/build-config/deprecation-versions' {
348
908
  * @public
349
909
  */
350
910
  export const DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE = "5.3";
351
- /**
352
- * **id: ember-data:deprecate-many-array-duplicates**
353
- *
354
- * When the flag is `true` (default), adding duplicate records to a `ManyArray`
355
- * is deprecated in non-production environments. In production environments,
356
- * duplicate records added to a `ManyArray` will be deduped and no error will
357
- * be thrown.
358
- *
359
- * When the flag is `false`, an error will be thrown when duplicates are added.
360
- *
361
- * @property DEPRECATE_MANY_ARRAY_DUPLICATES
362
- * @since 5.3
363
- * @until 6.0
364
- * @public
365
- */
366
- export const DEPRECATE_MANY_ARRAY_DUPLICATES = "5.3";
367
911
  /**
368
912
  * **id: ember-data:deprecate-store-extends-ember-object**
369
913
  *
@@ -432,5 +976,21 @@ declare module '@warp-drive/build-config/deprecation-versions' {
432
976
  * @public
433
977
  */
434
978
  export const DEPRECATE_EMBER_INFLECTOR = "5.3";
979
+ /**
980
+ * This is a special flag that can be used to opt-in early to receiving deprecations introduced in 5.x
981
+ * which have had their infra backported to 4.x versions of EmberData.
982
+ *
983
+ * When this flag is not present or set to `true`, the deprecations from the 5.x branch
984
+ * will not print their messages and the deprecation cannot be resolved.
985
+ *
986
+ * When this flag is present and set to `false`, the deprecations from the 5.x branch will
987
+ * print and can be resolved.
988
+ *
989
+ * @property DISABLE_6X_DEPRECATIONS
990
+ * @since 4.13
991
+ * @until 5.0
992
+ * @public
993
+ */
994
+ export const DISABLE_6X_DEPRECATIONS = "6.0";
435
995
  }
436
996
  //# sourceMappingURL=deprecation-versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation-versions.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgJG;AACH,eAAO,MAAM,yDAAyD,QAAQ,CAAC;AAE/E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,+BAA+B,QAAQ,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oCAAoC,QAAQ,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,4BAA4B,QAAQ,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,yBAAyB,QAAQ,CAAC"}
1
+ {"version":3,"file":"deprecation-versions.d.ts","sourceRoot":"","sources":["../src/deprecation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