@ember-data/model 5.6.0-alpha.5 → 5.6.0-beta.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.
Files changed (74) hide show
  1. package/addon-main.cjs +1 -1
  2. package/dist/-private.js +1 -2
  3. package/dist/hooks.js +1 -2
  4. package/dist/index.js +1 -667
  5. package/dist/migration-support.js +1 -381
  6. package/package.json +7 -31
  7. package/unstable-preview-types/-private.d.ts +3 -8
  8. package/unstable-preview-types/hooks.d.ts +3 -4
  9. package/unstable-preview-types/index.d.ts +31 -66
  10. package/unstable-preview-types/migration-support.d.ts +21 -263
  11. package/dist/-private.js.map +0 -1
  12. package/dist/errors-DsUSZ9m8.js +0 -2605
  13. package/dist/errors-DsUSZ9m8.js.map +0 -1
  14. package/dist/hooks-rXIjX2-H.js +0 -74
  15. package/dist/hooks-rXIjX2-H.js.map +0 -1
  16. package/dist/hooks.js.map +0 -1
  17. package/dist/index.js.map +0 -1
  18. package/dist/migration-support.js.map +0 -1
  19. package/dist/schema-provider-B6-5uzxP.js +0 -2229
  20. package/dist/schema-provider-B6-5uzxP.js.map +0 -1
  21. package/unstable-preview-types/-private/attr.d.ts +0 -167
  22. package/unstable-preview-types/-private/attr.d.ts.map +0 -1
  23. package/unstable-preview-types/-private/attr.type-test.d.ts +0 -4
  24. package/unstable-preview-types/-private/attr.type-test.d.ts.map +0 -1
  25. package/unstable-preview-types/-private/belongs-to.d.ts +0 -175
  26. package/unstable-preview-types/-private/belongs-to.d.ts.map +0 -1
  27. package/unstable-preview-types/-private/belongs-to.type-test.d.ts +0 -4
  28. package/unstable-preview-types/-private/belongs-to.type-test.d.ts.map +0 -1
  29. package/unstable-preview-types/-private/debug/assert-polymorphic-type.d.ts +0 -8
  30. package/unstable-preview-types/-private/debug/assert-polymorphic-type.d.ts.map +0 -1
  31. package/unstable-preview-types/-private/errors.d.ts +0 -292
  32. package/unstable-preview-types/-private/errors.d.ts.map +0 -1
  33. package/unstable-preview-types/-private/has-many.d.ts +0 -166
  34. package/unstable-preview-types/-private/has-many.d.ts.map +0 -1
  35. package/unstable-preview-types/-private/has-many.type-test.d.ts +0 -4
  36. package/unstable-preview-types/-private/has-many.type-test.d.ts.map +0 -1
  37. package/unstable-preview-types/-private/hooks.d.ts +0 -13
  38. package/unstable-preview-types/-private/hooks.d.ts.map +0 -1
  39. package/unstable-preview-types/-private/legacy-relationships-support.d.ts +0 -60
  40. package/unstable-preview-types/-private/legacy-relationships-support.d.ts.map +0 -1
  41. package/unstable-preview-types/-private/model-for-mixin.d.ts +0 -6
  42. package/unstable-preview-types/-private/model-for-mixin.d.ts.map +0 -1
  43. package/unstable-preview-types/-private/model-methods.d.ts +0 -37
  44. package/unstable-preview-types/-private/model-methods.d.ts.map +0 -1
  45. package/unstable-preview-types/-private/model.d.ts +0 -1272
  46. package/unstable-preview-types/-private/model.d.ts.map +0 -1
  47. package/unstable-preview-types/-private/model.type-test.d.ts +0 -4
  48. package/unstable-preview-types/-private/model.type-test.d.ts.map +0 -1
  49. package/unstable-preview-types/-private/notify-changes.d.ts +0 -8
  50. package/unstable-preview-types/-private/notify-changes.d.ts.map +0 -1
  51. package/unstable-preview-types/-private/promise-belongs-to.d.ts +0 -42
  52. package/unstable-preview-types/-private/promise-belongs-to.d.ts.map +0 -1
  53. package/unstable-preview-types/-private/promise-many-array.d.ts +0 -128
  54. package/unstable-preview-types/-private/promise-many-array.d.ts.map +0 -1
  55. package/unstable-preview-types/-private/promise-proxy-base.d.ts +0 -5
  56. package/unstable-preview-types/-private/promise-proxy-base.d.ts.map +0 -1
  57. package/unstable-preview-types/-private/record-state.d.ts +0 -80
  58. package/unstable-preview-types/-private/record-state.d.ts.map +0 -1
  59. package/unstable-preview-types/-private/references/belongs-to.d.ts +0 -497
  60. package/unstable-preview-types/-private/references/belongs-to.d.ts.map +0 -1
  61. package/unstable-preview-types/-private/references/has-many.d.ts +0 -506
  62. package/unstable-preview-types/-private/references/has-many.d.ts.map +0 -1
  63. package/unstable-preview-types/-private/schema-provider.d.ts +0 -65
  64. package/unstable-preview-types/-private/schema-provider.d.ts.map +0 -1
  65. package/unstable-preview-types/-private/type-utils.d.ts +0 -59
  66. package/unstable-preview-types/-private/type-utils.d.ts.map +0 -1
  67. package/unstable-preview-types/-private/util.d.ts +0 -8
  68. package/unstable-preview-types/-private/util.d.ts.map +0 -1
  69. package/unstable-preview-types/-private.d.ts.map +0 -1
  70. package/unstable-preview-types/hooks.d.ts.map +0 -1
  71. package/unstable-preview-types/index.d.ts.map +0 -1
  72. package/unstable-preview-types/migration-support.d.ts.map +0 -1
  73. package/unstable-preview-types/migration-support.type-test.d.ts +0 -4
  74. package/unstable-preview-types/migration-support.type-test.d.ts.map +0 -1
@@ -1,497 +0,0 @@
1
- declare module '@ember-data/model/-private/references/belongs-to' {
2
- import type { Graph, ResourceEdge } from '@ember-data/graph/-private';
3
- import type Store from '@ember-data/store';
4
- import type { StableRecordIdentifier } from '@warp-drive/core-types';
5
- import type { TypeFromInstance, TypeFromInstanceOrString } from '@warp-drive/core-types/record';
6
- import type { Links, Meta, SingleResourceDocument, SingleResourceRelationship } from '@warp-drive/core-types/spec/json-api-raw';
7
- import type { IsUnknown } from '@ember-data/model/-private/belongs-to';
8
- import type { MaybeBelongsToFields } from '@ember-data/model/-private/type-utils';
9
- /**
10
- A `BelongsToReference` is a low-level API that allows access
11
- and manipulation of a belongsTo relationship.
12
-
13
- It is especially useful when you're dealing with `async` relationships
14
- from `@ember-data/model` as it allows synchronous access to
15
- the relationship data if loaded, as well as APIs for loading, reloading
16
- the data or accessing available information without triggering a load.
17
-
18
- It may also be useful when using `sync` relationships with `@ember-data/model`
19
- that need to be loaded/reloaded with more precise timing than marking the
20
- relationship as `async` and relying on autofetch would have allowed.
21
-
22
- However,keep in mind that marking a relationship as `async: false` will introduce
23
- bugs into your application if the data is not always guaranteed to be available
24
- by the time the relationship is accessed. Ergo, it is recommended when using this
25
- approach to utilize `links` for unloaded relationship state instead of identifiers.
26
-
27
- Reference APIs are entangled with the relationship's underlying state,
28
- thus any getters or cached properties that utilize these will properly
29
- invalidate if the relationship state changes.
30
-
31
- References are "stable", meaning that multiple calls to retrieve the reference
32
- for a given relationship will always return the same HasManyReference.
33
-
34
- @class BelongsToReference
35
- @public
36
- */
37
- export default class BelongsToReference<T = unknown, K extends string = IsUnknown<T> extends true ? string : MaybeBelongsToFields<T>, Related = K extends keyof T ? Exclude<Awaited<T[K]>, null> : unknown> {
38
- graph: Graph;
39
- store: Store;
40
- belongsToRelationship: ResourceEdge;
41
- /**
42
- * The field name on the parent record for this has-many relationship.
43
- *
44
- * @property key
45
- * @type {String}
46
- * @public
47
- */
48
- key: K;
49
- /**
50
- * The type of resource this relationship will contain.
51
- *
52
- * @property type
53
- * @type {String}
54
- * @public
55
- */
56
- type: TypeFromInstanceOrString<Related>;
57
- ___token: object;
58
- ___identifier: StableRecordIdentifier<TypeFromInstanceOrString<T>>;
59
- ___relatedToken: object | null;
60
- _ref: number;
61
- constructor(store: Store, graph: Graph, parentIdentifier: StableRecordIdentifier<TypeFromInstanceOrString<T>>, belongsToRelationship: ResourceEdge, key: K);
62
- destroy(): void;
63
- /**
64
- * The identifier of the record that this reference refers to.
65
- * `null` if no related record is known.
66
- *
67
- * @property identifier
68
- * @type {StableRecordIdentifier | null}
69
- * @public
70
- */
71
- get identifier(): StableRecordIdentifier<TypeFromInstanceOrString<Related>> | null;
72
- /**
73
- The `id` of the record that this reference refers to. Together, the
74
- `type()` and `id()` methods form a composite key for the identity
75
- map. This can be used to access the id of an async relationship
76
- without triggering a fetch that would normally happen if you
77
- attempted to use `record.relationship.id`.
78
-
79
- Example
80
-
81
- ```javascript
82
- // models/blog.js
83
- import Model, { belongsTo } from '@ember-data/model';
84
-
85
- export default class BlogModel extends Model {
86
- @belongsTo('user', { async: true, inverse: null }) user;
87
- }
88
-
89
- let blog = store.push({
90
- data: {
91
- type: 'blog',
92
- id: 1,
93
- relationships: {
94
- user: {
95
- data: { type: 'user', id: 1 }
96
- }
97
- }
98
- }
99
- });
100
- let userRef = blog.belongsTo('user');
101
-
102
- // get the identifier of the reference
103
- if (userRef.remoteType() === "id") {
104
- let id = userRef.id();
105
- }
106
- ```
107
-
108
- @public
109
- @return {String} The id of the record in this belongsTo relationship.
110
- */
111
- id(): string | null;
112
- /**
113
- The link Ember Data will use to fetch or reload this belongs-to
114
- relationship. By default it uses only the "related" resource linkage.
115
-
116
- Example
117
-
118
- ```javascript
119
- // models/blog.js
120
- import Model, { belongsTo } from '@ember-data/model';
121
- export default Model.extend({
122
- user: belongsTo('user', { async: true, inverse: null })
123
- });
124
-
125
- let blog = store.push({
126
- data: {
127
- type: 'blog',
128
- id: 1,
129
- relationships: {
130
- user: {
131
- links: {
132
- related: '/articles/1/author'
133
- }
134
- }
135
- }
136
- }
137
- });
138
- let userRef = blog.belongsTo('user');
139
-
140
- // get the identifier of the reference
141
- if (userRef.remoteType() === "link") {
142
- let link = userRef.link();
143
- }
144
- ```
145
-
146
- @public
147
- @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.
148
- */
149
- link(): string | null;
150
- /**
151
- * any links that have been received for this relationship
152
- *
153
- * @public
154
- * @return
155
- */
156
- links(): Links | null;
157
- /**
158
- The meta data for the belongs-to relationship.
159
-
160
- Example
161
-
162
- ```javascript
163
- // models/blog.js
164
- import Model, { belongsTo } from '@ember-data/model';
165
- export default Model.extend({
166
- user: belongsTo('user', { async: true, inverse: null })
167
- });
168
-
169
- let blog = store.push({
170
- data: {
171
- type: 'blog',
172
- id: 1,
173
- relationships: {
174
- user: {
175
- links: {
176
- related: {
177
- href: '/articles/1/author'
178
- },
179
- },
180
- meta: {
181
- lastUpdated: 1458014400000
182
- }
183
- }
184
- }
185
- }
186
- });
187
-
188
- let userRef = blog.belongsTo('user');
189
-
190
- userRef.meta() // { lastUpdated: 1458014400000 }
191
- ```
192
-
193
- @public
194
- @return {Object} The meta information for the belongs-to relationship.
195
- */
196
- meta(): Meta | null;
197
- _resource(): SingleResourceRelationship<StableRecordIdentifier<TypeFromInstance<Related>>>;
198
- /**
199
- This returns a string that represents how the reference will be
200
- looked up when it is loaded. If the relationship has a link it will
201
- use the "link" otherwise it defaults to "id".
202
-
203
- Example
204
-
205
- ```js [app/models/post.js]
206
- import Model, { hasMany } from '@ember-data/model';
207
-
208
- export default class PostModel extends Model {
209
- @hasMany('comment', { async: true, inverse: null }) comments;
210
- }
211
- ```
212
-
213
- ```javascript
214
- let post = store.push({
215
- data: {
216
- type: 'post',
217
- id: 1,
218
- relationships: {
219
- comments: {
220
- data: [{ type: 'comment', id: 1 }]
221
- }
222
- }
223
- }
224
- });
225
-
226
- let commentsRef = post.hasMany('comments');
227
-
228
- // get the identifier of the reference
229
- if (commentsRef.remoteType() === "ids") {
230
- let ids = commentsRef.ids();
231
- } else if (commentsRef.remoteType() === "link") {
232
- let link = commentsRef.link();
233
- }
234
- ```
235
-
236
- @public
237
- @return {String} The name of the remote type. This should either be `link` or `id`
238
- */
239
- remoteType(): 'link' | 'id';
240
- /**
241
- `push` can be used to update the data in the relationship and EmberData
242
- will treat the new data as the canonical value of this relationship on
243
- the backend. A value of `null` (e.g. `{ data: null }`) can be passed to
244
- clear the relationship.
245
-
246
- Example model
247
-
248
- ```js [app/models/blog.js]
249
- import Model, { belongsTo } from '@ember-data/model';
250
-
251
- export default class BlogModel extends Model {
252
- @belongsTo('user', { async: true, inverse: null }) user;
253
- }
254
- ```
255
-
256
- Setup some initial state, note we haven't loaded the user yet:
257
-
258
- ```js
259
- const blog = store.push({
260
- data: {
261
- type: 'blog',
262
- id: '1',
263
- relationships: {
264
- user: {
265
- data: { type: 'user', id: '1' }
266
- }
267
- }
268
- }
269
- });
270
-
271
- const userRef = blog.belongsTo('user');
272
- userRef.id(); // '1'
273
- ```
274
-
275
- Update the state using `push`, note we can do this even without
276
- having loaded the user yet by providing a resource-identifier.
277
-
278
- Both full a resource and a resource-identifier are supported.
279
-
280
- ```js
281
- await userRef.push({
282
- data: {
283
- type: 'user',
284
- id: '2',
285
- }
286
- });
287
-
288
- userRef.id(); // '2'
289
- ```
290
-
291
- You may also pass in links and meta fore the relationship, and sideload
292
- additional resources that might be required.
293
-
294
- ```js
295
- await userRef.push({
296
- data: {
297
- type: 'user',
298
- id: '2',
299
- },
300
- links: {
301
- related: '/articles/1/author'
302
- },
303
- meta: {
304
- lastUpdated: Date.now()
305
- },
306
- included: [
307
- {
308
- type: 'user-preview',
309
- id: '2',
310
- attributes: {
311
- username: '@runspired'
312
- }
313
- }
314
- ]
315
- });
316
- ```
317
-
318
- By default, the store will attempt to fetch the record if it is not loaded or its
319
- resource data is not included in the call to `push` before resolving the returned
320
- promise with the new state..
321
-
322
- Alternatively, pass `true` as the second argument to avoid fetching unloaded records
323
- and instead the promise will resolve with void without attempting to fetch. This is
324
- particularly useful if you want to update the state of the relationship without
325
- forcing the load of all of the associated record.
326
-
327
- @public
328
- @param {Object} doc a JSONAPI document object describing the new value of this relationship.
329
- @param {Boolean} [skipFetch] if `true`, do not attempt to fetch unloaded records
330
- @return {Promise<OpaqueRecordInstance | null | void>}
331
- */
332
- push(doc: SingleResourceDocument, skipFetch?: boolean): Promise<Related | null | void>;
333
- /**
334
- `value()` synchronously returns the current value of the belongs-to
335
- relationship. Unlike `record.relationshipName`, calling
336
- `value()` on a reference does not trigger a fetch if the async
337
- relationship is not yet loaded. If the relationship is not loaded
338
- it will always return `null`.
339
-
340
- Example
341
-
342
- ```javascript
343
- // models/blog.js
344
- import Model, { belongsTo } from '@ember-data/model';
345
-
346
- export default class BlogModel extends Model {
347
- @belongsTo('user', { async: true, inverse: null }) user;
348
- }
349
-
350
- let blog = store.push({
351
- data: {
352
- type: 'blog',
353
- id: 1,
354
- relationships: {
355
- user: {
356
- data: { type: 'user', id: 1 }
357
- }
358
- }
359
- }
360
- });
361
- let userRef = blog.belongsTo('user');
362
-
363
- userRef.value(); // null
364
-
365
- // provide data for reference
366
- userRef.push({
367
- data: {
368
- type: 'user',
369
- id: 1,
370
- attributes: {
371
- username: "@user"
372
- }
373
- }
374
- }).then(function(user) {
375
- userRef.value(); // user
376
- });
377
- ```
378
-
379
- @public
380
- @return {Model} the record in this relationship
381
- */
382
- value(): Related | null;
383
- /**
384
- Loads a record in a belongs-to relationship if it is not already
385
- loaded. If the relationship is already loaded this method does not
386
- trigger a new load.
387
-
388
- Example
389
-
390
- ```javascript
391
- // models/blog.js
392
- import Model, { belongsTo } from '@ember-data/model';
393
-
394
- export default class BlogModel extends Model {
395
- @belongsTo('user', { async: true, inverse: null }) user;
396
- }
397
-
398
- let blog = store.push({
399
- data: {
400
- type: 'blog',
401
- id: 1,
402
- relationships: {
403
- user: {
404
- data: { type: 'user', id: 1 }
405
- }
406
- }
407
- }
408
- });
409
- let userRef = blog.belongsTo('user');
410
-
411
- userRef.value(); // null
412
-
413
- userRef.load().then(function(user) {
414
- userRef.value() === user
415
- });
416
- ```
417
-
418
- You may also pass in an options object whose properties will be
419
- fed forward. This enables you to pass `adapterOptions` into the
420
- request given to the adapter via the reference.
421
-
422
- Example
423
-
424
- ```javascript
425
- userRef.load({ adapterOptions: { isPrivate: true } }).then(function(user) {
426
- userRef.value() === user;
427
- });
428
- ```
429
- ```js [app/adapters/user.js]
430
- import Adapter from '@ember-data/adapter';
431
-
432
- export default class UserAdapter extends Adapter {
433
- findRecord(store, type, id, snapshot) {
434
- // In the adapter you will have access to adapterOptions.
435
- let adapterOptions = snapshot.adapterOptions;
436
- }
437
- });
438
- ```
439
-
440
- @public
441
- @param {Object} options the options to pass in.
442
- @return {Promise} a promise that resolves with the record in this belongs-to relationship.
443
- */
444
- load(options?: Record<string, unknown>): Promise<Related | null>;
445
- /**
446
- Triggers a reload of the value in this relationship. If the
447
- remoteType is `"link"` Ember Data will use the relationship link to
448
- reload the relationship. Otherwise it will reload the record by its
449
- id.
450
-
451
- Example
452
-
453
- ```javascript
454
- // models/blog.js
455
- import Model, { belongsTo } from '@ember-data/model';
456
-
457
- export default class BlogModel extends Model {
458
- @belongsTo('user', { async: true, inverse: null }) user;
459
- }
460
-
461
- let blog = store.push({
462
- data: {
463
- type: 'blog',
464
- id: 1,
465
- relationships: {
466
- user: {
467
- data: { type: 'user', id: 1 }
468
- }
469
- }
470
- }
471
- });
472
- let userRef = blog.belongsTo('user');
473
-
474
- userRef.reload().then(function(user) {
475
- userRef.value() === user
476
- });
477
- ```
478
-
479
- You may also pass in an options object whose properties will be
480
- fed forward. This enables you to pass `adapterOptions` into the
481
- request given to the adapter via the reference. A full example
482
- can be found in the `load` method.
483
-
484
- Example
485
-
486
- ```javascript
487
- userRef.reload({ adapterOptions: { isPrivate: true } })
488
- ```
489
-
490
- @public
491
- @param {Object} options the options to pass in.
492
- @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.
493
- */
494
- reload(options?: Record<string, unknown>): Promise<Related | null>;
495
- }
496
- }
497
- //# sourceMappingURL=belongs-to.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"belongs-to.d.ts","sourceRoot":"","sources":["../../../src/-private/references/belongs-to.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAI3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,KAAK,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAChG,OAAO,KAAK,EAEV,KAAK,EACL,IAAI,EACJ,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,0CAA0C,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAgB1D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAkB,CACrC,CAAC,GAAG,OAAO,EACX,CAAC,SAAS,MA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