@ember-data/model 5.1.0-alpha.8 → 5.1.0-beta.0
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/addon/-private.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Model } from "./
|
|
2
|
-
export { E as Errors, L as LEGACY_SUPPORT, R as ManyArray, P as PromiseBelongsTo, c as PromiseManyArray, a as attr, b as belongsTo, h as hasMany } from "./
|
|
1
|
+
import { M as Model } from "./index-8a7de041";
|
|
2
|
+
export { E as Errors, L as LEGACY_SUPPORT, R as ManyArray, P as PromiseBelongsTo, c as PromiseManyArray, a as attr, b as belongsTo, h as hasMany } from "./index-8a7de041";
|
|
3
3
|
import { getOwner } from '@ember/application';
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -4,18 +4,18 @@ import EmberObject, { computed, get } from '@ember/object';
|
|
|
4
4
|
import { recordIdentifierFor, storeFor as storeFor$1 } from '@ember-data/store';
|
|
5
5
|
import { peekCache, RecordArray, MUTATE, SOURCE, recordIdentifierFor as recordIdentifierFor$1, IDENTIFIER_ARRAY_TAG, notifyArray, isStableIdentifier, storeFor, fastPush, coerceId } from '@ember-data/store/-private';
|
|
6
6
|
import { dasherize } from '@ember/string';
|
|
7
|
-
import { A } from '@ember/array';
|
|
8
|
-
import { singularize } from 'ember-inflector';
|
|
9
7
|
import { dependentKeyCompat } from '@ember/object/compat';
|
|
10
8
|
import { run } from '@ember/runloop';
|
|
11
9
|
import { cached, tracked } from '@glimmer/tracking';
|
|
12
10
|
import Ember from 'ember';
|
|
11
|
+
import { A } from '@ember/array';
|
|
13
12
|
import ArrayProxy from '@ember/array/proxy';
|
|
14
13
|
import { mapBy, not } from '@ember/object/computed';
|
|
15
14
|
import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';
|
|
16
15
|
import ObjectProxy from '@ember/object/proxy';
|
|
17
16
|
import { cacheFor } from '@ember/object/internals';
|
|
18
17
|
import { addToTransaction, subscribe } from '@ember-data/tracking/-private';
|
|
18
|
+
import { singularize } from 'ember-inflector';
|
|
19
19
|
function isElementDescriptor(args) {
|
|
20
20
|
let [maybeTarget, maybeKey, maybeDesc] = args;
|
|
21
21
|
return (
|