@ember-data/model 5.4.0-alpha.33 → 5.4.0-alpha.34
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 +1 -1
- package/addon/{has-many-Qm5aUQol.js → has-many-Mz5PIxmL.js} +10 -0
- package/addon/{has-many-Qm5aUQol.js.map → has-many-Mz5PIxmL.js.map} +1 -1
- package/addon/index.js +1 -1
- package/addon/model-eXqU5A13.js.map +1 -1
- package/package.json +19 -19
- package/unstable-preview-types/-private/attr.d.ts +2 -2
- package/unstable-preview-types/-private/attr.type-test.d.ts +2 -2
- package/unstable-preview-types/-private/belongs-to.d.ts +3 -4
- package/unstable-preview-types/-private/belongs-to.d.ts.map +1 -1
- package/unstable-preview-types/-private/belongs-to.type-test.d.ts +2 -2
- package/unstable-preview-types/-private/debug/assert-polymorphic-type.d.ts +2 -2
- package/unstable-preview-types/-private/errors.d.ts +2 -2
- package/unstable-preview-types/-private/has-many.d.ts +3 -4
- package/unstable-preview-types/-private/has-many.d.ts.map +1 -1
- package/unstable-preview-types/-private/has-many.type-test.d.ts +2 -2
- package/unstable-preview-types/-private/hooks.d.ts +2 -2
- package/unstable-preview-types/-private/legacy-relationships-support.d.ts +2 -2
- package/unstable-preview-types/-private/many-array.d.ts +4 -3
- package/unstable-preview-types/-private/many-array.d.ts.map +1 -1
- package/unstable-preview-types/-private/model-for-mixin.d.ts +2 -2
- package/unstable-preview-types/-private/model-methods.d.ts +2 -2
- package/unstable-preview-types/-private/model.type-test.d.ts +2 -2
- package/unstable-preview-types/-private/notify-changes.d.ts +2 -2
- package/unstable-preview-types/-private/promise-belongs-to.d.ts +2 -2
- package/unstable-preview-types/-private/promise-many-array.d.ts +2 -2
- package/unstable-preview-types/-private/record-state.d.ts +2 -2
- package/unstable-preview-types/-private/references/belongs-to.d.ts +2 -2
- package/unstable-preview-types/-private/references/has-many.d.ts +2 -2
- package/unstable-preview-types/-private/schema-provider.d.ts +2 -2
- package/unstable-preview-types/-private/util.d.ts +2 -2
- package/unstable-preview-types/-private.d.ts +2 -2
- package/unstable-preview-types/hooks.d.ts +2 -2
- package/unstable-preview-types/index.d.ts +2 -2
- package/unstable-preview-types/migration-support.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-data/model",
|
|
3
|
-
"version": "5.4.0-alpha.
|
|
3
|
+
"version": "5.4.0-alpha.34",
|
|
4
4
|
"description": "A basic Ember implementation of a resource presentation layer for use with @ember-data/store",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"ember-data-logo-light.svg"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@ember-data/debug": "5.4.0-alpha.
|
|
33
|
-
"@ember-data/graph": "5.4.0-alpha.
|
|
34
|
-
"@ember-data/json-api": "5.4.0-alpha.
|
|
35
|
-
"@ember-data/legacy-compat": "5.4.0-alpha.
|
|
36
|
-
"@ember-data/store": "5.4.0-alpha.
|
|
37
|
-
"@ember-data/tracking": "5.4.0-alpha.
|
|
32
|
+
"@ember-data/debug": "5.4.0-alpha.34",
|
|
33
|
+
"@ember-data/graph": "5.4.0-alpha.34",
|
|
34
|
+
"@ember-data/json-api": "5.4.0-alpha.34",
|
|
35
|
+
"@ember-data/legacy-compat": "5.4.0-alpha.34",
|
|
36
|
+
"@ember-data/store": "5.4.0-alpha.34",
|
|
37
|
+
"@ember-data/tracking": "5.4.0-alpha.34",
|
|
38
38
|
"@ember/string": "^3.1.1",
|
|
39
|
-
"@warp-drive/core-types": "0.0.0-alpha.
|
|
39
|
+
"@warp-drive/core-types": "0.0.0-alpha.20",
|
|
40
40
|
"ember-inflector": "^4.0.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@ember-data/private-build-infra": "5.4.0-alpha.
|
|
92
|
+
"@ember-data/private-build-infra": "5.4.0-alpha.34",
|
|
93
93
|
"@ember/edition-utils": "^1.2.0",
|
|
94
94
|
"@embroider/macros": "^1.13.5",
|
|
95
95
|
"ember-cli-babel": "^8.2.0",
|
|
@@ -109,21 +109,21 @@
|
|
|
109
109
|
"@babel/preset-env": "^7.23.9",
|
|
110
110
|
"@babel/preset-typescript": "^7.23.3",
|
|
111
111
|
"@babel/runtime": "^7.23.9",
|
|
112
|
-
"@ember-data/debug": "5.4.0-alpha.
|
|
113
|
-
"@ember-data/graph": "5.4.0-alpha.
|
|
114
|
-
"@ember-data/json-api": "5.4.0-alpha.
|
|
115
|
-
"@ember-data/legacy-compat": "5.4.0-alpha.
|
|
116
|
-
"@ember-data/request": "5.4.0-alpha.
|
|
117
|
-
"@ember-data/request-utils": "5.4.0-alpha.
|
|
118
|
-
"@ember-data/store": "5.4.0-alpha.
|
|
119
|
-
"@ember-data/tracking": "5.4.0-alpha.
|
|
112
|
+
"@ember-data/debug": "5.4.0-alpha.34",
|
|
113
|
+
"@ember-data/graph": "5.4.0-alpha.34",
|
|
114
|
+
"@ember-data/json-api": "5.4.0-alpha.34",
|
|
115
|
+
"@ember-data/legacy-compat": "5.4.0-alpha.34",
|
|
116
|
+
"@ember-data/request": "5.4.0-alpha.34",
|
|
117
|
+
"@ember-data/request-utils": "5.4.0-alpha.34",
|
|
118
|
+
"@ember-data/store": "5.4.0-alpha.34",
|
|
119
|
+
"@ember-data/tracking": "5.4.0-alpha.34",
|
|
120
120
|
"@ember/string": "^3.1.1",
|
|
121
121
|
"@embroider/addon-dev": "^4.1.2",
|
|
122
122
|
"@glimmer/component": "^1.1.2",
|
|
123
123
|
"@rollup/plugin-babel": "^6.0.4",
|
|
124
124
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
125
|
-
"@warp-drive/core-types": "0.0.0-alpha.
|
|
126
|
-
"@warp-drive/internal-config": "5.4.0-alpha.
|
|
125
|
+
"@warp-drive/core-types": "0.0.0-alpha.20",
|
|
126
|
+
"@warp-drive/internal-config": "5.4.0-alpha.34",
|
|
127
127
|
"ember-inflector": "^4.0.2",
|
|
128
128
|
"ember-source": "~5.6.0",
|
|
129
129
|
"expect-type": "^0.18.0",
|
|
@@ -170,5 +170,5 @@ declare module '@ember-data/model/-private/attr' {
|
|
|
170
170
|
export declare function attr(type: string, options?: AttrOptions & object): DataDecorator;
|
|
171
171
|
export declare function attr(target: object, key: string | symbol, desc?: PropertyDescriptor): void;
|
|
172
172
|
export {};
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=attr.d.ts.map
|
|
@@ -174,8 +174,7 @@ declare module '@ember-data/model/-private/belongs-to' {
|
|
|
174
174
|
*/
|
|
175
175
|
export declare function belongsTo(): never;
|
|
176
176
|
export declare function belongsTo(type: string): never;
|
|
177
|
-
export declare function belongsTo<T>(type: TypeFromInstance<NoNull<T>>, options: RelationshipOptions<T,
|
|
178
|
-
export declare function belongsTo<K extends Promise<unknown>, T extends Awaited<K> = Awaited<K>>(type: TypeFromInstance<NoNull<T>>, options: RelationshipOptions<T, true>): RelationshipDecorator<K>;
|
|
177
|
+
export declare function belongsTo<T>(type: TypeFromInstance<NoNull<T>>, options: RelationshipOptions<T, boolean>): RelationshipDecorator<T>;
|
|
179
178
|
export declare function belongsTo(type: string, options: RelationshipOptions<unknown, boolean>): RelationshipDecorator<unknown>;
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=belongs-to.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"belongs-to.d.ts","sourceRoot":"","sources":["../../src/-private/belongs-to.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAMtE;;EAEE;AAEF,MAAM,MAAM,SAAS,CAAC,CAAC,IA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AAK5B,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -4,5 +4,5 @@ declare module '@ember-data/model/-private/debug/assert-polymorphic-type' {
|
|
|
4
4
|
import type { UpgradedMeta } from '@ember-data/graph/-private/-edge-definition';
|
|
5
5
|
declare let assertPolymorphicType: (parentIdentifier: StableRecordIdentifier, parentDefinition: UpgradedMeta, addedIdentifier: StableRecordIdentifier, store: Store) => void;
|
|
6
6
|
export { assertPolymorphicType };
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=assert-polymorphic-type.d.ts.map
|
|
@@ -163,8 +163,7 @@ declare module '@ember-data/model/-private/has-many' {
|
|
|
163
163
|
*/
|
|
164
164
|
export declare function hasMany(): never;
|
|
165
165
|
export declare function hasMany(type: string): never;
|
|
166
|
-
export declare function hasMany<T>(type: TypeFromInstance<NoNull<T>>, options: RelationshipOptions<T,
|
|
167
|
-
export declare function hasMany<K extends Promise<unknown>, T extends Awaited<K> = Awaited<K>>(type: TypeFromInstance<NoNull<T>>, options: RelationshipOptions<T, true>): RelationshipDecorator<K>;
|
|
166
|
+
export declare function hasMany<T>(type: TypeFromInstance<NoNull<T>>, options: RelationshipOptions<T, boolean>): RelationshipDecorator<T>;
|
|
168
167
|
export declare function hasMany(type: string, options: RelationshipOptions<unknown, boolean>): RelationshipDecorator<unknown>;
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
}
|
|
169
|
+
//# sourceMappingURL=has-many.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-many.d.ts","sourceRoot":"","sources":["../../src/-private/has-many.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE,OAAO,KAAK,EAAE,MAAM,EAAE,qB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AO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -9,5 +9,5 @@ declare module '@ember-data/model/-private/hooks' {
|
|
|
9
9
|
export declare function teardownRecord(record: Model): void;
|
|
10
10
|
export declare function modelFor<T>(type: TypeFromInstance<T>): typeof Model | void;
|
|
11
11
|
export declare function modelFor(type: string): typeof Model | void;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -58,5 +58,5 @@ declare module '@ember-data/model/-private/legacy-relationships-support' {
|
|
|
58
58
|
destroy(): void;
|
|
59
59
|
}
|
|
60
60
|
export declare function areAllInverseRecordsLoaded(store: Store, resource: JsonApiRelationship): boolean;
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=legacy-relationships-support.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare module '@ember-data/model/-private/many-array' {
|
|
2
2
|
import type Store from '@ember-data/store';
|
|
3
|
+
import type { NativeProxy } from '@ember-data/store/-private';
|
|
3
4
|
import { MUTATE, RecordArray } from '@ember-data/store/-private';
|
|
4
5
|
import type { CreateRecordProperties } from '@ember-data/store/-private/store-service';
|
|
5
6
|
import type { Cache } from '@ember-data/store/-types/q/cache';
|
|
@@ -139,7 +140,7 @@ declare module '@ember-data/model/-private/many-array' {
|
|
|
139
140
|
type: ModelSchema;
|
|
140
141
|
modelName: T extends TypedRecordInstance ? TypeFromInstance<T> : string;
|
|
141
142
|
constructor(options: ManyArrayCreateArgs);
|
|
142
|
-
[MUTATE](target: StableRecordIdentifier[], receiver: typeof
|
|
143
|
+
[MUTATE](target: StableRecordIdentifier[], receiver: typeof NativeProxy<StableRecordIdentifier[], T[]>, prop: string, args: unknown[], _SIGNAL: Signal): unknown;
|
|
143
144
|
notify(): void;
|
|
144
145
|
/**
|
|
145
146
|
Reloads all of the records in the manyArray. If the manyArray
|
|
@@ -193,5 +194,5 @@ declare module '@ember-data/model/-private/many-array' {
|
|
|
193
194
|
createRecord(hash: CreateRecordProperties<T>): T;
|
|
194
195
|
destroy(): void;
|
|
195
196
|
}
|
|
196
|
-
|
|
197
|
-
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=many-array.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"many-array.d.ts","sourceRoot":"","sources":["../../src/-private/many-array.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAGL,MAAM,EAEN,WAAW,EAGZ,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC3F,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,aAAa,CAAC;IAEvB,UAAU,EAA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;;;;;;;;;;;;MAiBE;IAEF;;;;;;;MAOE;IACF,YAAY,CAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,GAAG,CAAC;IASvC,OAAO;CAGjB"}
|
|
@@ -2,5 +2,5 @@ declare module '@ember-data/model/-private/model-for-mixin' {
|
|
|
2
2
|
import type Store from '@ember-data/store';
|
|
3
3
|
import { type ModelFactory } from '@ember-data/model/-private/model';
|
|
4
4
|
export default function modelForMixin(store: Store, normalizedModelName: string): ModelFactory | undefined;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=model-for-mixin.d.ts.map
|
|
@@ -30,5 +30,5 @@ declare module '@ember-data/model/-private/model-methods' {
|
|
|
30
30
|
export declare function save<T extends MinimalLegacyRecord>(this: T, options?: Record<string, unknown>): Promise<T>;
|
|
31
31
|
export declare function destroyRecord<T extends MinimalLegacyRecord>(this: T, options?: Record<string, unknown>): Promise<T>;
|
|
32
32
|
export declare function createSnapshot<T extends MinimalLegacyRecord>(this: T): Snapshot<T>;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=model-methods.d.ts.map
|
|
@@ -4,5 +4,5 @@ declare module '@ember-data/model/-private/notify-changes' {
|
|
|
4
4
|
import type { StableRecordIdentifier } from '@warp-drive/core-types';
|
|
5
5
|
import type { Model } from '@ember-data/model/-private/model';
|
|
6
6
|
export default function notifyChanges(identifier: StableRecordIdentifier, value: NotificationType, key: string | undefined, record: Model, store: Store): void;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=notify-changes.d.ts.map
|
|
@@ -43,5 +43,5 @@ declare module '@ember-data/model/-private/promise-belongs-to' {
|
|
|
43
43
|
reload(options: Record<string, unknown>): Promise<this>;
|
|
44
44
|
}
|
|
45
45
|
export { PromiseBelongsTo };
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=promise-belongs-to.d.ts.map
|
|
@@ -125,5 +125,5 @@ declare module '@ember-data/model/-private/promise-many-array' {
|
|
|
125
125
|
_update(promise: Promise<ManyArray<T>>, content?: ManyArray<T>): void;
|
|
126
126
|
static create<T>({ promise, content }: HasManyProxyCreateArgs<T>): PromiseManyArray<T>;
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=promise-many-array.d.ts.map
|
|
@@ -87,5 +87,5 @@ declare module '@ember-data/model/-private/record-state' {
|
|
|
87
87
|
get stateName(): "root.loading" | "root.empty" | "root.deleted.inFlight" | "root.deleted.saved" | "root.deleted.invalid" | "root.deleted.uncommitted" | "root.loaded.created.inFlight" | "root.loaded.created.invalid" | "root.loaded.created.uncommitted" | "root.loaded.updated.inFlight" | "root.loaded.updated.invalid" | "root.loaded.updated.uncommitted" | "root.loaded.saved";
|
|
88
88
|
get dirtyType(): "" | "deleted" | "created" | "updated";
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=record-state.d.ts.map
|
|
@@ -511,5 +511,5 @@ declare module '@ember-data/model/-private/references/has-many' {
|
|
|
511
511
|
}
|
|
512
512
|
export declare function isMaybeResource(object: ExistingResourceObject | ResourceIdentifier): object is ExistingResourceObject;
|
|
513
513
|
export {};
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
}
|
|
515
|
+
//# sourceMappingURL=has-many.d.ts.map
|
|
@@ -23,5 +23,5 @@ declare module '@ember-data/model/-private/schema-provider' {
|
|
|
23
23
|
}
|
|
24
24
|
export declare function buildSchema(store: Store): ModelSchemaProvider;
|
|
25
25
|
export declare function getModelFactory(store: ModelStore, type: string): ModelFactory | null;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=schema-provider.d.ts.map
|
|
@@ -7,5 +7,5 @@ declare module '@ember-data/model/-private/util' {
|
|
|
7
7
|
export type DataDecoratorFactory = (...args: unknown[]) => DataDecorator;
|
|
8
8
|
export declare function computedMacroWithOptionalParams(fn: DataDecorator | DataDecoratorFactory): (...maybeDesc: unknown[]) => DecoratorPropertyDescriptor | DataDecorator;
|
|
9
9
|
export declare function normalizeModelName(type: string): string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -8,5 +8,5 @@ declare module '@ember-data/model/-private' {
|
|
|
8
8
|
export { PromiseBelongsTo } from '@ember-data/model/-private/promise-belongs-to';
|
|
9
9
|
export { default as PromiseManyArray } from '@ember-data/model/-private/promise-many-array';
|
|
10
10
|
export { lookupLegacySupport, LEGACY_SUPPORT } from '@ember-data/model/-private/legacy-relationships-support';
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=-private.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare module '@ember-data/model/hooks' {
|
|
2
2
|
export { instantiateRecord, teardownRecord, modelFor } from '@ember-data/model/-private/hooks';
|
|
3
3
|
export { buildSchema } from '@ember-data/model/-private/schema-provider';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -71,5 +71,5 @@ declare module '@ember-data/model' {
|
|
|
71
71
|
export type { default as ManyArray } from './-private/many-array';
|
|
72
72
|
export { instantiateRecord, teardownRecord, modelFor } from '@ember-data/model/-private/hooks';
|
|
73
73
|
export { ModelSchemaProvider } from '@ember-data/model/-private/schema-provider';
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,5 +7,5 @@ declare module '@ember-data/model/migration-support' {
|
|
|
7
7
|
export declare function withFields(fields: FieldSchema[]): FieldSchema[];
|
|
8
8
|
export declare function registerDerivations(schema: SchemaService): void;
|
|
9
9
|
export {};
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=migration-support.d.ts.map
|