@warp-drive/legacy 5.8.0-alpha.40 → 5.8.0-alpha.41

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 (115) hide show
  1. package/declarations/adapter/error.d.ts +2 -2
  2. package/declarations/adapter/rest.d.ts +21 -104
  3. package/declarations/adapter.d.ts +2 -2
  4. package/declarations/model/-private/model.d.ts +10 -51
  5. package/declarations/model/-private/promise-many-array.d.ts +0 -18
  6. package/declarations/model/-private/references/belongs-to.d.ts +14 -24
  7. package/declarations/model/-private/references/has-many.d.ts +11 -13
  8. package/declarations/serializer/json-api.d.ts +4 -3
  9. package/declarations/serializer/json.d.ts +2 -2
  10. package/dist/{-private-B1pSSN52.js → -private-BG3bMiKp.js} +2 -1
  11. package/dist/adapter/-private.js +1 -1
  12. package/dist/adapter/error.js +2 -2
  13. package/dist/adapter/json-api.js +1 -1
  14. package/dist/adapter/rest.js +33 -117
  15. package/dist/adapter.js +2 -2
  16. package/dist/compat/-private.js +1 -1
  17. package/dist/compat.js +4 -3
  18. package/dist/{errors-CIGPcDvd.js → errors-Cz5KrzBk.js} +29 -58
  19. package/dist/{hooks-QqRnX108.js → hooks-D6diaM34.js} +1 -1
  20. package/dist/index.js +3 -3
  21. package/dist/{json-BNrV8EYG.js → json-ChdEfB0X.js} +6 -19
  22. package/dist/model/-private.js +1 -1
  23. package/dist/model/migration-support.js +7 -5
  24. package/dist/model.js +3 -3
  25. package/dist/{schema-provider-g5MfTj8n.js → schema-provider-DJCV_6AF.js} +34 -77
  26. package/dist/{serialize-into-hash-BnYvPex3.js → serialize-into-hash-DPZYoF-i.js} +1 -1
  27. package/dist/serializer/json-api.js +2 -2
  28. package/dist/serializer/json.js +1 -1
  29. package/dist/serializer/rest.js +1 -1
  30. package/dist/store.js +2 -1
  31. package/dist/unpkg/{dev-deprecated/-private-DbaSCSym.js → dev/-private-DtjBbEgy.js} +2 -1
  32. package/dist/unpkg/dev/adapter/-private.js +1 -1
  33. package/dist/unpkg/dev/adapter/error.js +2 -2
  34. package/dist/unpkg/dev/adapter/json-api.js +1 -1
  35. package/dist/unpkg/dev/adapter/rest.js +33 -117
  36. package/dist/unpkg/dev/adapter.js +2 -2
  37. package/dist/unpkg/dev/compat/-private.js +1 -1
  38. package/dist/unpkg/dev/compat.js +4 -3
  39. package/dist/unpkg/dev/{errors-DD96TBEs.js → errors-DmGGJr3T.js} +29 -58
  40. package/dist/unpkg/dev/{hooks-CqWjNWeL.js → hooks-CkYiE6Ud.js} +1 -1
  41. package/dist/unpkg/dev/index.js +3 -3
  42. package/dist/unpkg/{dev-deprecated/json-CCU-ZQ4b.js → dev/json-Cu1LNgmQ.js} +6 -19
  43. package/dist/unpkg/dev/model/-private.js +1 -1
  44. package/dist/unpkg/dev/model/migration-support.js +7 -5
  45. package/dist/unpkg/dev/model.js +3 -3
  46. package/dist/unpkg/dev/{schema-provider-B8jiJOYC.js → schema-provider-DDVYxmUV.js} +34 -77
  47. package/dist/unpkg/dev/{serialize-into-hash-CPAZXrQU.js → serialize-into-hash-B2xDbuo5.js} +1 -1
  48. package/dist/unpkg/dev/serializer/json-api.js +6 -5
  49. package/dist/unpkg/dev/serializer/json.js +1 -1
  50. package/dist/unpkg/dev/serializer/rest.js +1 -1
  51. package/dist/unpkg/dev/store.js +2 -1
  52. package/dist/unpkg/{dev/-private-DbaSCSym.js → dev-deprecated/-private-DtjBbEgy.js} +2 -1
  53. package/dist/unpkg/dev-deprecated/adapter/-private.js +1 -1
  54. package/dist/unpkg/dev-deprecated/adapter/error.js +2 -2
  55. package/dist/unpkg/dev-deprecated/adapter/json-api.js +1 -1
  56. package/dist/unpkg/dev-deprecated/adapter/rest.js +33 -117
  57. package/dist/unpkg/dev-deprecated/adapter.js +2 -2
  58. package/dist/unpkg/dev-deprecated/compat/-private.js +1 -1
  59. package/dist/unpkg/dev-deprecated/compat.js +4 -3
  60. package/dist/unpkg/dev-deprecated/{errors-DEnabIZj.js → errors-Spt6ubMd.js} +29 -58
  61. package/dist/unpkg/dev-deprecated/{hooks-CAll-Ets.js → hooks-DOXegvhL.js} +1 -1
  62. package/dist/unpkg/dev-deprecated/index.js +3 -3
  63. package/dist/unpkg/{dev/json-CCU-ZQ4b.js → dev-deprecated/json-Cu1LNgmQ.js} +6 -19
  64. package/dist/unpkg/dev-deprecated/model/-private.js +1 -1
  65. package/dist/unpkg/dev-deprecated/model/migration-support.js +7 -5
  66. package/dist/unpkg/dev-deprecated/model.js +3 -3
  67. package/dist/unpkg/dev-deprecated/{schema-provider-k2qXQTBg.js → schema-provider-BP6_8N-V.js} +34 -77
  68. package/dist/unpkg/dev-deprecated/{serialize-into-hash-CPAZXrQU.js → serialize-into-hash-B2xDbuo5.js} +1 -1
  69. package/dist/unpkg/dev-deprecated/serializer/json-api.js +6 -5
  70. package/dist/unpkg/dev-deprecated/serializer/json.js +1 -1
  71. package/dist/unpkg/dev-deprecated/serializer/rest.js +1 -1
  72. package/dist/unpkg/dev-deprecated/store.js +2 -1
  73. package/dist/unpkg/{prod-deprecated/-private-Cvf_97EG.js → prod/-private-BdyZaGEh.js} +1 -0
  74. package/dist/unpkg/prod/adapter/-private.js +1 -1
  75. package/dist/unpkg/prod/adapter/error.js +2 -2
  76. package/dist/unpkg/prod/adapter/json-api.js +1 -1
  77. package/dist/unpkg/prod/adapter/rest.js +33 -117
  78. package/dist/unpkg/prod/adapter.js +2 -2
  79. package/dist/unpkg/prod/compat/-private.js +1 -1
  80. package/dist/unpkg/prod/compat.js +2 -1
  81. package/dist/unpkg/prod/{errors-CXnfnBfQ.js → errors-BGVFCBmi.js} +29 -58
  82. package/dist/unpkg/prod/{hooks-DvyWhLNg.js → hooks-BztVA_x0.js} +1 -1
  83. package/dist/unpkg/prod/index.js +3 -3
  84. package/dist/unpkg/prod/{json-BYrUP8ao.js → json-BWrZ5546.js} +6 -19
  85. package/dist/unpkg/prod/model/-private.js +1 -1
  86. package/dist/unpkg/prod/model/migration-support.js +7 -5
  87. package/dist/unpkg/prod/model.js +3 -3
  88. package/dist/unpkg/prod/{schema-provider-CHujJvA9.js → schema-provider-DJtD_8jZ.js} +34 -77
  89. package/dist/unpkg/{prod-deprecated/serialize-into-hash-DYU2egXl.js → prod/serialize-into-hash-DGlzQteF.js} +1 -1
  90. package/dist/unpkg/prod/serializer/json-api.js +6 -5
  91. package/dist/unpkg/prod/serializer/json.js +1 -1
  92. package/dist/unpkg/prod/serializer/rest.js +1 -1
  93. package/dist/unpkg/prod/store.js +2 -1
  94. package/dist/unpkg/{prod/-private-Cvf_97EG.js → prod-deprecated/-private-BdyZaGEh.js} +1 -0
  95. package/dist/unpkg/prod-deprecated/adapter/-private.js +1 -1
  96. package/dist/unpkg/prod-deprecated/adapter/error.js +2 -2
  97. package/dist/unpkg/prod-deprecated/adapter/json-api.js +1 -1
  98. package/dist/unpkg/prod-deprecated/adapter/rest.js +33 -117
  99. package/dist/unpkg/prod-deprecated/adapter.js +2 -2
  100. package/dist/unpkg/prod-deprecated/compat/-private.js +1 -1
  101. package/dist/unpkg/prod-deprecated/compat.js +2 -1
  102. package/dist/unpkg/prod-deprecated/{errors-CG1SPYVg.js → errors-CdDaK81x.js} +29 -58
  103. package/dist/unpkg/prod-deprecated/{hooks-BIUBiNGR.js → hooks-yId87yyG.js} +1 -1
  104. package/dist/unpkg/prod-deprecated/index.js +3 -3
  105. package/dist/unpkg/prod-deprecated/{json-BYrUP8ao.js → json-BWrZ5546.js} +6 -19
  106. package/dist/unpkg/prod-deprecated/model/-private.js +1 -1
  107. package/dist/unpkg/prod-deprecated/model/migration-support.js +7 -5
  108. package/dist/unpkg/prod-deprecated/model.js +3 -3
  109. package/dist/unpkg/prod-deprecated/{schema-provider-BJ4TWnZf.js → schema-provider-CjX55uSY.js} +34 -77
  110. package/dist/unpkg/{prod/serialize-into-hash-DYU2egXl.js → prod-deprecated/serialize-into-hash-DGlzQteF.js} +1 -1
  111. package/dist/unpkg/prod-deprecated/serializer/json-api.js +6 -5
  112. package/dist/unpkg/prod-deprecated/serializer/json.js +1 -1
  113. package/dist/unpkg/prod-deprecated/serializer/rest.js +1 -1
  114. package/dist/unpkg/prod-deprecated/store.js +2 -1
  115. package/package.json +6 -6
@@ -1,10 +1,11 @@
1
1
  import { getOwner } from '@ember/application';
2
2
  import EmberObject from '@ember/object';
3
3
  import { recordIdentifierFor, storeFor } from '@warp-drive/core';
4
- import { assertPrivateStore, notifyInternalSignal, peekInternalSignal, withSignalStore, recordIdentifierFor as recordIdentifierFor$1, gate, memoized, defineSignal, coerceId, entangleSignal, defineGate } from '@warp-drive/core/store/-private';
4
+ import { notifyInternalSignal, peekInternalSignal, withSignalStore, gate, memoized, defineSignal, entangleSignal, defineGate } from '@warp-drive/core/signals/-leaked';
5
+ import { assertPrivateStore, recordIdentifierFor as recordIdentifierFor$1, coerceId } from '@warp-drive/core/store/-private';
5
6
  import { RecordStore } from '@warp-drive/core/types/symbols';
6
- import { l as lookupLegacySupport, L as LEGACY_SUPPORT, E as Errors } from "./errors-DEnabIZj.js";
7
- import { u as upgradeStore, F as FetchManager } from "./-private-DbaSCSym.js";
7
+ import { l as lookupLegacySupport, L as LEGACY_SUPPORT, E as Errors } from "./errors-Spt6ubMd.js";
8
+ import { u as upgradeStore, F as FetchManager } from "./-private-DtjBbEgy.js";
8
9
  import { cacheFor } from '@ember/object/internals';
9
10
  import { Context } from '@warp-drive/core/reactive/-private';
10
11
  import { d as decorateMethodV2 } from "./runtime-BPCpkOf1-BKOwiRJp.js";
@@ -728,9 +729,7 @@ class Model extends EmberObject {
728
729
  the server or the `created` state if the record is created on the
729
730
  client. A record can also enter the empty state if the adapter is
730
731
  unable to locate the record.
731
- @property isEmpty
732
- @public
733
- @readonly
732
+ @public
734
733
  */
735
734
  get isEmpty() {
736
735
  return this.currentState.isEmpty;
@@ -741,9 +740,7 @@ class Model extends EmberObject {
741
740
  record enters this state when the store asks the adapter for its
742
741
  data. It remains in this state until the adapter provides the
743
742
  requested data.
744
- @property isLoading
745
- @public
746
- @readonly
743
+ @public
747
744
  */
748
745
  static {
749
746
  decorateMethodV2(this.prototype, "isEmpty", [memoized]);
@@ -764,9 +761,7 @@ class Model extends EmberObject {
764
761
  const { content: { data: model } } = await store.request(findRecord({ type: 'model', id: '1' }));
765
762
  model.isLoaded;
766
763
  ```
767
- @property isLoaded
768
- @public
769
- @readonly
764
+ @public
770
765
  */
771
766
  static {
772
767
  decorateMethodV2(this.prototype, "isLoading", [memoized]);
@@ -790,9 +785,7 @@ class Model extends EmberObject {
790
785
  model.hasDirtyAttributes; // true
791
786
  ```
792
787
  @since 1.13.0
793
- @property hasDirtyAttributes
794
788
  @public
795
- @readonly
796
789
  */
797
790
  static {
798
791
  decorateMethodV2(this.prototype, "isLoaded", [memoized]);
@@ -816,9 +809,7 @@ class Model extends EmberObject {
816
809
  record.isSaving; // false
817
810
  });
818
811
  ```
819
- @property isSaving
820
- @public
821
- @readonly
812
+ @public
822
813
  */
823
814
  static {
824
815
  decorateMethodV2(this.prototype, "hasDirtyAttributes", [memoized]);
@@ -854,9 +845,7 @@ class Model extends EmberObject {
854
845
  record.hasDirtyAttributes; // false
855
846
  });
856
847
  ```
857
- @property isDeleted
858
- @public
859
- @readonly
848
+ @public
860
849
  */
861
850
  static {
862
851
  decorateMethodV2(this.prototype, "isSaving", [memoized]);
@@ -878,9 +867,7 @@ class Model extends EmberObject {
878
867
  model.isNew; // false
879
868
  });
880
869
  ```
881
- @property isNew
882
- @public
883
- @readonly
870
+ @public
884
871
  */
885
872
  static {
886
873
  decorateMethodV2(this.prototype, "isDeleted", [memoized]);
@@ -893,9 +880,7 @@ class Model extends EmberObject {
893
880
  If this property is `true` the record is in the `valid` state.
894
881
  A record will be in the `valid` state when the adapter did not report any
895
882
  server-side validation failures.
896
- @property isValid
897
- @public
898
- @readonly
883
+ @public
899
884
  */
900
885
  static {
901
886
  decorateMethodV2(this.prototype, "isNew", [memoized]);
@@ -916,9 +901,7 @@ class Model extends EmberObject {
916
901
  let record = store.createRecord('model');
917
902
  record.dirtyType; // 'created'
918
903
  ```
919
- @property dirtyType
920
- @public
921
- @readonly
904
+ @public
922
905
  */
923
906
  static {
924
907
  decorateMethodV2(this.prototype, "isValid", [memoized]);
@@ -939,9 +922,7 @@ class Model extends EmberObject {
939
922
  record.isError; // true
940
923
  });
941
924
  ```
942
- @property isError
943
- @public
944
- @readonly
925
+ @public
945
926
  */
946
927
  static {
947
928
  decorateMethodV2(this.prototype, "dirtyType", [memoized]);
@@ -966,9 +947,7 @@ class Model extends EmberObject {
966
947
  record.reload();
967
948
  record.isReloading; // true
968
949
  ```
969
- @property isReloading
970
- @public
971
- @readonly
950
+ @public
972
951
  */
973
952
 
974
953
  /**
@@ -983,8 +962,7 @@ class Model extends EmberObject {
983
962
  const { content: { data: model } } = await store.request(findRecord({ type: 'model', id: '1' }));
984
963
  model.id; // '1'
985
964
  ```
986
- @property id
987
- @public
965
+ @public
988
966
  */
989
967
  get id() {
990
968
  // this guard exists, because some dev-only deprecation code
@@ -1022,7 +1000,6 @@ class Model extends EmberObject {
1022
1000
  }
1023
1001
 
1024
1002
  /**
1025
- @property currentState
1026
1003
  @private
1027
1004
  */
1028
1005
  // TODO we can probably make this a computeOnce
@@ -1044,8 +1021,7 @@ class Model extends EmberObject {
1044
1021
 
1045
1022
  /**
1046
1023
  The store service instance which created this record instance
1047
- @property store
1048
- @public
1024
+ @public
1049
1025
  */
1050
1026
 
1051
1027
  /**
@@ -1088,8 +1064,7 @@ class Model extends EmberObject {
1088
1064
  </div>
1089
1065
  {{/each}}
1090
1066
  ```
1091
- @property errors
1092
- @public
1067
+ @public
1093
1068
  */
1094
1069
  get errors() {
1095
1070
  const errors = Errors.create({
@@ -1102,8 +1077,7 @@ class Model extends EmberObject {
1102
1077
  /**
1103
1078
  This property holds the `AdapterError` object with which
1104
1079
  last adapter operation was rejected.
1105
- @property adapterError
1106
- @public
1080
+ @public
1107
1081
  */
1108
1082
  static {
1109
1083
  decorateMethodV2(this.prototype, "errors", [computeOnce]);
@@ -1219,9 +1193,7 @@ class Model extends EmberObject {
1219
1193
  }
1220
1194
  });
1221
1195
  ```
1222
- @property modelName
1223
- @public
1224
- @readonly
1196
+ @public
1225
1197
  */
1226
1198
  static modelName = null;
1227
1199
 
@@ -1387,11 +1359,8 @@ class Model extends EmberObject {
1387
1359
  relationships.post;
1388
1360
  //=> [ { name: 'posts', kind: 'hasMany' } ]
1389
1361
  ```
1390
- @property relationships
1391
- @public
1392
- @readonly
1362
+ @public
1393
1363
  */
1394
-
1395
1364
  static get relationships() {
1396
1365
  (test => {
1397
1366
  if (!test) {
@@ -1435,9 +1404,7 @@ class Model extends EmberObject {
1435
1404
  relationshipNames.belongsTo;
1436
1405
  //=> ['owner']
1437
1406
  ```
1438
- @property relationshipNames
1439
- @public
1440
- @readonly
1407
+ @public
1441
1408
  */
1442
1409
  static {
1443
1410
  decorateMethodV2(this, "relationships", [computeOnce]);
@@ -1479,9 +1446,7 @@ class Model extends EmberObject {
1479
1446
  let relatedTypes = Blog.relatedTypes');
1480
1447
  //=> ['user', 'post']
1481
1448
  ```
1482
- @property relatedTypes
1483
- @public
1484
- @readonly
1449
+ @public
1485
1450
  */
1486
1451
  static {
1487
1452
  decorateMethodV2(this, "relationshipNames", [computeOnce]);
@@ -1531,9 +1496,7 @@ class Model extends EmberObject {
1531
1496
  relationshipsByName.owner;
1532
1497
  //=> { name: 'owner', kind: 'belongsTo', type: 'user', options: Object }
1533
1498
  ```
1534
- @property relationshipsByName
1535
- @public
1536
- @readonly
1499
+ @public
1537
1500
  */
1538
1501
  static {
1539
1502
  decorateMethodV2(this, "relatedTypes", [computeOnce]);
@@ -1613,9 +1576,7 @@ class Model extends EmberObject {
1613
1576
  // posts, hasMany
1614
1577
  // title, attribute
1615
1578
  ```
1616
- @property fields
1617
- @public
1618
- @readonly
1579
+ @public
1619
1580
  */
1620
1581
  static {
1621
1582
  decorateMethodV2(this, "relationshipsObject", [computeOnce]);
@@ -1642,8 +1603,8 @@ class Model extends EmberObject {
1642
1603
  invoking the callback with the name of each relationship and its relationship
1643
1604
  descriptor.
1644
1605
  @public
1645
- @param {Function} callback the callback to invoke
1646
- @param {any} binding the value to which the callback's `this` should be bound
1606
+ @param callback the callback to invoke
1607
+ @param binding the value to which the callback's `this` should be bound
1647
1608
  */
1648
1609
  static {
1649
1610
  decorateMethodV2(this, "fields", [computeOnce]);
@@ -1665,8 +1626,8 @@ class Model extends EmberObject {
1665
1626
  returned just once, regardless of how many different relationships it has
1666
1627
  with a model.
1667
1628
  @public
1668
- @param {Function} callback the callback to invoke
1669
- @param {any} binding the value to which the callback's `this` should be bound
1629
+ @param callback the callback to invoke
1630
+ @param binding the value to which the callback's `this` should be bound
1670
1631
  */
1671
1632
  static eachRelatedType(callback, binding) {
1672
1633
  (test => {
@@ -1734,9 +1695,7 @@ class Model extends EmberObject {
1734
1695
  // lastName {type: "string", kind: 'attribute', options: Object, parentType: function, name: "lastName"}
1735
1696
  // birthday {type: "date", kind: 'attribute', options: Object, parentType: function, name: "birthday"}
1736
1697
  ```
1737
- @property attributes
1738
- @public
1739
- @readonly
1698
+ @public
1740
1699
  */
1741
1700
  static get attributes() {
1742
1701
  (test => {
@@ -1786,9 +1745,7 @@ class Model extends EmberObject {
1786
1745
  // lastName string
1787
1746
  // birthday date
1788
1747
  ```
1789
- @property transformedAttributes
1790
- @public
1791
- @readonly
1748
+ @public
1792
1749
  */
1793
1750
  static {
1794
1751
  decorateMethodV2(this, "attributes", [computeOnce]);
@@ -1837,8 +1794,8 @@ class Model extends EmberObject {
1837
1794
  // birthday {type: "date", kind: 'attribute', options: Object, parentType: function, name: "birthday"}
1838
1795
  ```
1839
1796
  @public
1840
- @param {Function} callback The callback to execute
1841
- @param {Object} [binding] the value to which the callback's `this` should be bound
1797
+ @param callback The callback to execute
1798
+ @param binding [optional] the value to which the callback's `this` should be bound
1842
1799
  */
1843
1800
  static {
1844
1801
  decorateMethodV2(this, "transformedAttributes", [computeOnce]);
@@ -1884,8 +1841,8 @@ class Model extends EmberObject {
1884
1841
  // birthday date
1885
1842
  ```
1886
1843
  @public
1887
- @param {Function} callback The callback to execute
1888
- @param {Object} [binding] the value to which the callback's `this` should be bound
1844
+ @param callback The callback to execute
1845
+ @param binding [optional] the value to which the callback's `this` should be bound
1889
1846
  */
1890
1847
  static eachTransformedAttribute(callback, binding) {
1891
1848
  (test => {
@@ -1,5 +1,5 @@
1
1
  import '@warp-drive/core/reactive/-private';
2
- import "./-private-DbaSCSym.js";
2
+ import "./-private-DtjBbEgy.js";
3
3
  import '@warp-drive/core/store/-private';
4
4
  const newline = /\r?\n/;
5
5
  function parseResponseHeaders(headersString) {
@@ -1,5 +1,5 @@
1
1
  import { dasherize, pluralize, singularize } from '@warp-drive/utilities/string';
2
- import { J as JSONSerializer } from "../json-CCU-ZQ4b.js";
2
+ import { J as JSONSerializer } from "../json-Cu1LNgmQ.js";
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-unsafe-return */
5
5
  /* eslint-disable @typescript-eslint/no-unsafe-assignment */
@@ -19,8 +19,9 @@ import { J as JSONSerializer } from "../json-CCU-ZQ4b.js";
19
19
  This process involves normalizing property names, transforming
20
20
  attribute values and serializing relationships.
21
21
 
22
- `JSONAPISerializer` supports the http://jsonapi.org/ spec and is the
23
- serializer recommended by Ember Data.
22
+ `JSONAPISerializer` supports the http://jsonapi.org/ spec, though
23
+ even compliant {json:api} servers may find writing an application
24
+ specific serializer better suited to their needs and more performant.
24
25
 
25
26
  This serializer normalizes a JSON API payload that looks like:
26
27
 
@@ -89,7 +90,7 @@ import { J as JSONSerializer } from "../json-CCU-ZQ4b.js";
89
90
  }
90
91
  ```
91
92
 
92
- to the format that the Ember Data store expects.
93
+ to the format that the JSONAPICache expects.
93
94
 
94
95
  ### Customizing meta
95
96
 
@@ -300,7 +301,7 @@ const JSONAPISerializer = JSONSerializer.extend({
300
301
  },
301
302
  /**
302
303
  Dasherizes and singularizes the model name in the payload to match
303
- the format Ember Data uses internally for the model name.
304
+ the common convention for model names.
304
305
  For example the key `posts` would be converted to `post` and the
305
306
  key `studentAssesments` would be converted to `student-assesment`.
306
307
  @public
@@ -1,4 +1,4 @@
1
1
  import '@ember/application';
2
2
  import '@warp-drive/utilities/string';
3
3
  import '../serializer.js';
4
- export { J as JSONSerializer } from "../json-CCU-ZQ4b.js";
4
+ export { J as JSONSerializer } from "../json-Cu1LNgmQ.js";
@@ -1,5 +1,5 @@
1
1
  import { camelize, dasherize, singularize } from '@warp-drive/utilities/string';
2
- import { J as JSONSerializer, c as coerceId } from "../json-CCU-ZQ4b.js";
2
+ import { J as JSONSerializer, c as coerceId } from "../json-Cu1LNgmQ.js";
3
3
  import Mixin from '@ember/object/mixin';
4
4
 
5
5
  /* eslint-disable @typescript-eslint/no-unsafe-argument */
@@ -1,7 +1,8 @@
1
- import { defineSignal, assertPrivateStore, ensureStringId, recordIdentifierFor, constructResource, storeFor } from '@warp-drive/core/store/-private';
1
+ import { assertPrivateStore, ensureStringId, recordIdentifierFor, constructResource, storeFor } from '@warp-drive/core/store/-private';
2
2
  import { SkipCache } from '@warp-drive/core/types/request';
3
3
  import { i as isMaybeIdentifier } from "./utils-C9PJehtL.js";
4
4
  import { n as normalizeModelName } from "./util-CWr5WQOT.js";
5
+ import { defineSignal } from '@warp-drive/core/signals/-leaked';
5
6
  import { getOrSetGlobal } from '@warp-drive/core/types/-private';
6
7
 
7
8
  /*
@@ -1,5 +1,6 @@
1
1
  import { Context } from '@warp-drive/core/reactive/-private';
2
2
  import { createDeferred } from '@warp-drive/core/request';
3
+ import '@warp-drive/core/signals/-leaked';
3
4
  import { assertPrivateStore } from '@warp-drive/core/store/-private';
4
5
  import { getOrSetGlobal } from '@warp-drive/core/types/-private';
5
6
 
@@ -1 +1 @@
1
- export { d as determineBodyPromise, g as fetch, p as parseResponseHeaders, b as serializeIntoHash, s as serializeQueryParams, a as setupFastboot } from "../serialize-into-hash-DYU2egXl.js";
1
+ export { d as determineBodyPromise, g as fetch, p as parseResponseHeaders, b as serializeIntoHash, s as serializeQueryParams, a as setupFastboot } from "../serialize-into-hash-DGlzQteF.js";
@@ -119,8 +119,8 @@ function extend(ParentErrorClass, defaultMessage) {
119
119
  transition to the `invalid` state and the errors will be set to the
120
120
  `errors` property on the record.
121
121
 
122
- For Ember Data to correctly map errors to their corresponding
123
- properties on the model, Ember Data expects each error to be
122
+ For WarpDrive to correctly map errors to their corresponding
123
+ properties on the model, WarpDrive expects each error to be
124
124
  a valid JSON-API error object with a `source/pointer` that matches
125
125
  the property name. For example, if you had a Post model that
126
126
  looked like this.
@@ -1,5 +1,5 @@
1
1
  import { dasherize, pluralize } from '@warp-drive/utilities/string';
2
- import { b as serializeIntoHash } from "../serialize-into-hash-DYU2egXl.js";
2
+ import { b as serializeIntoHash } from "../serialize-into-hash-DGlzQteF.js";
3
3
  import { RESTAdapter } from './rest.js';
4
4
 
5
5
  // eslint-disable-next-line @typescript-eslint/no-unused-vars