@ember-data/store 5.4.0-alpha.113 → 5.4.0-alpha.116
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 +1 -1
- package/dist/{handler-CET_Ja8V.js → handler-C31NQ9H_.js} +5 -4
- package/dist/handler-C31NQ9H_.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +13 -12
- package/unstable-preview-types/-private/store-service.d.ts.map +1 -1
- package/dist/handler-CET_Ja8V.js.map +0 -1
package/dist/-private.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ARRAY_SIGNAL, C as CacheHandler, j as CollectionRecordArray, I as LiveArray, M as MUTATE, R as RecordArrayManager, k as SOURCE, S as Store, q as StoreMap, _ as _clearCaches, u as _deprecatingNormalize, g as coerceId, f as constructResource, h as ensureStringId, l as fastPush, i as isStableIdentifier, n as notifyArray, p as peekCache, r as recordIdentifierFor, m as removeRecordDataFor, t as setCacheFor, o as setRecordIdentifier, s as storeFor } from "./handler-
|
|
1
|
+
export { A as ARRAY_SIGNAL, C as CacheHandler, j as CollectionRecordArray, I as LiveArray, M as MUTATE, R as RecordArrayManager, k as SOURCE, S as Store, q as StoreMap, _ as _clearCaches, u as _deprecatingNormalize, g as coerceId, f as constructResource, h as ensureStringId, l as fastPush, i as isStableIdentifier, n as notifyArray, p as peekCache, r as recordIdentifierFor, m as removeRecordDataFor, t as setCacheFor, o as setRecordIdentifier, s as storeFor } from "./handler-C31NQ9H_.js";
|
|
@@ -3641,7 +3641,8 @@ const EmptyClass = class {
|
|
|
3641
3641
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
3642
3642
|
constructor(args) {}
|
|
3643
3643
|
};
|
|
3644
|
-
const
|
|
3644
|
+
const _BaseClass = macroCondition(dependencySatisfies('ember-source', '*')) ? macroCondition(getGlobalConfig().WarpDrive.deprecations.DEPRECATE_STORE_EXTENDS_EMBER_OBJECT) ? importSync('@ember/object') : EmptyClass : EmptyClass;
|
|
3645
|
+
const BaseClass = _BaseClass.default ? _BaseClass.default : _BaseClass;
|
|
3645
3646
|
if (BaseClass !== EmptyClass) {
|
|
3646
3647
|
deprecate(`The Store class extending from EmberObject is deprecated.
|
|
3647
3648
|
Please remove usage of EmberObject APIs and mark your class as not requiring it.
|
|
@@ -5396,7 +5397,7 @@ if (macroCondition(getGlobalConfig().WarpDrive.deprecations.ENABLE_LEGACY_SCHEMA
|
|
|
5396
5397
|
})(this._schema) : {};
|
|
5397
5398
|
deprecate(`Use \`store.schema\` instead of \`store.getSchemaDefinitionService()\``, false, {
|
|
5398
5399
|
id: 'ember-data:schema-service-updates',
|
|
5399
|
-
until: '
|
|
5400
|
+
until: '6.0',
|
|
5400
5401
|
for: 'ember-data',
|
|
5401
5402
|
since: {
|
|
5402
5403
|
available: '5.4',
|
|
@@ -5408,7 +5409,7 @@ if (macroCondition(getGlobalConfig().WarpDrive.deprecations.ENABLE_LEGACY_SCHEMA
|
|
|
5408
5409
|
Store.prototype.registerSchemaDefinitionService = function (schema) {
|
|
5409
5410
|
deprecate(`Use \`store.createSchemaService\` instead of \`store.registerSchemaDefinitionService()\``, false, {
|
|
5410
5411
|
id: 'ember-data:schema-service-updates',
|
|
5411
|
-
until: '
|
|
5412
|
+
until: '6.0',
|
|
5412
5413
|
for: 'ember-data',
|
|
5413
5414
|
since: {
|
|
5414
5415
|
available: '5.4',
|
|
@@ -5420,7 +5421,7 @@ if (macroCondition(getGlobalConfig().WarpDrive.deprecations.ENABLE_LEGACY_SCHEMA
|
|
|
5420
5421
|
Store.prototype.registerSchema = function (schema) {
|
|
5421
5422
|
deprecate(`Use \`store.createSchemaService\` instead of \`store.registerSchema()\``, false, {
|
|
5422
5423
|
id: 'ember-data:schema-service-updates',
|
|
5423
|
-
until: '
|
|
5424
|
+
until: '6.0',
|
|
5424
5425
|
for: 'ember-data',
|
|
5425
5426
|
since: {
|
|
5426
5427
|
available: '5.4',
|