@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
@@ -2,10 +2,11 @@ import { getOwner } from '@ember/application';
2
2
  import { deprecate } from '@ember/debug';
3
3
  import EmberObject from '@ember/object';
4
4
  import { recordIdentifierFor, storeFor } from '@warp-drive/core';
5
- import { assertPrivateStore, notifyInternalSignal, peekInternalSignal, withSignalStore, recordIdentifierFor as recordIdentifierFor$1, gate, memoized, defineSignal, coerceId, entangleSignal, defineGate } from '@warp-drive/core/store/-private';
5
+ import { notifyInternalSignal, peekInternalSignal, withSignalStore, gate, memoized, defineSignal, entangleSignal, defineGate } from '@warp-drive/core/signals/-leaked';
6
+ import { assertPrivateStore, recordIdentifierFor as recordIdentifierFor$1, coerceId } from '@warp-drive/core/store/-private';
6
7
  import { RecordStore } from '@warp-drive/core/types/symbols';
7
- import { l as lookupLegacySupport, L as LEGACY_SUPPORT, E as Errors } from "./errors-CIGPcDvd.js";
8
- import { u as upgradeStore, F as FetchManager } from "./-private-B1pSSN52.js";
8
+ import { l as lookupLegacySupport, L as LEGACY_SUPPORT, E as Errors } from "./errors-Cz5KrzBk.js";
9
+ import { u as upgradeStore, F as FetchManager } from "./-private-BG3bMiKp.js";
9
10
  import { macroCondition, getGlobalConfig } from '@embroider/macros';
10
11
  import { cacheFor } from '@ember/object/internals';
11
12
  import { Context } from '@warp-drive/core/reactive/-private';
@@ -775,9 +776,7 @@ class Model extends EmberObject {
775
776
  the server or the `created` state if the record is created on the
776
777
  client. A record can also enter the empty state if the adapter is
777
778
  unable to locate the record.
778
- @property isEmpty
779
- @public
780
- @readonly
779
+ @public
781
780
  */
782
781
  get isEmpty() {
783
782
  return this.currentState.isEmpty;
@@ -788,9 +787,7 @@ class Model extends EmberObject {
788
787
  record enters this state when the store asks the adapter for its
789
788
  data. It remains in this state until the adapter provides the
790
789
  requested data.
791
- @property isLoading
792
- @public
793
- @readonly
790
+ @public
794
791
  */
795
792
  static {
796
793
  decorateMethodV2(this.prototype, "isEmpty", [memoized]);
@@ -811,9 +808,7 @@ class Model extends EmberObject {
811
808
  const { content: { data: model } } = await store.request(findRecord({ type: 'model', id: '1' }));
812
809
  model.isLoaded;
813
810
  ```
814
- @property isLoaded
815
- @public
816
- @readonly
811
+ @public
817
812
  */
818
813
  static {
819
814
  decorateMethodV2(this.prototype, "isLoading", [memoized]);
@@ -837,9 +832,7 @@ class Model extends EmberObject {
837
832
  model.hasDirtyAttributes; // true
838
833
  ```
839
834
  @since 1.13.0
840
- @property hasDirtyAttributes
841
835
  @public
842
- @readonly
843
836
  */
844
837
  static {
845
838
  decorateMethodV2(this.prototype, "isLoaded", [memoized]);
@@ -863,9 +856,7 @@ class Model extends EmberObject {
863
856
  record.isSaving; // false
864
857
  });
865
858
  ```
866
- @property isSaving
867
- @public
868
- @readonly
859
+ @public
869
860
  */
870
861
  static {
871
862
  decorateMethodV2(this.prototype, "hasDirtyAttributes", [memoized]);
@@ -901,9 +892,7 @@ class Model extends EmberObject {
901
892
  record.hasDirtyAttributes; // false
902
893
  });
903
894
  ```
904
- @property isDeleted
905
- @public
906
- @readonly
895
+ @public
907
896
  */
908
897
  static {
909
898
  decorateMethodV2(this.prototype, "isSaving", [memoized]);
@@ -925,9 +914,7 @@ class Model extends EmberObject {
925
914
  model.isNew; // false
926
915
  });
927
916
  ```
928
- @property isNew
929
- @public
930
- @readonly
917
+ @public
931
918
  */
932
919
  static {
933
920
  decorateMethodV2(this.prototype, "isDeleted", [memoized]);
@@ -940,9 +927,7 @@ class Model extends EmberObject {
940
927
  If this property is `true` the record is in the `valid` state.
941
928
  A record will be in the `valid` state when the adapter did not report any
942
929
  server-side validation failures.
943
- @property isValid
944
- @public
945
- @readonly
930
+ @public
946
931
  */
947
932
  static {
948
933
  decorateMethodV2(this.prototype, "isNew", [memoized]);
@@ -963,9 +948,7 @@ class Model extends EmberObject {
963
948
  let record = store.createRecord('model');
964
949
  record.dirtyType; // 'created'
965
950
  ```
966
- @property dirtyType
967
- @public
968
- @readonly
951
+ @public
969
952
  */
970
953
  static {
971
954
  decorateMethodV2(this.prototype, "isValid", [memoized]);
@@ -986,9 +969,7 @@ class Model extends EmberObject {
986
969
  record.isError; // true
987
970
  });
988
971
  ```
989
- @property isError
990
- @public
991
- @readonly
972
+ @public
992
973
  */
993
974
  static {
994
975
  decorateMethodV2(this.prototype, "dirtyType", [memoized]);
@@ -1013,9 +994,7 @@ class Model extends EmberObject {
1013
994
  record.reload();
1014
995
  record.isReloading; // true
1015
996
  ```
1016
- @property isReloading
1017
- @public
1018
- @readonly
997
+ @public
1019
998
  */
1020
999
 
1021
1000
  /**
@@ -1030,8 +1009,7 @@ class Model extends EmberObject {
1030
1009
  const { content: { data: model } } = await store.request(findRecord({ type: 'model', id: '1' }));
1031
1010
  model.id; // '1'
1032
1011
  ```
1033
- @property id
1034
- @public
1012
+ @public
1035
1013
  */
1036
1014
  get id() {
1037
1015
  // this guard exists, because some dev-only deprecation code
@@ -1069,7 +1047,6 @@ class Model extends EmberObject {
1069
1047
  }
1070
1048
 
1071
1049
  /**
1072
- @property currentState
1073
1050
  @private
1074
1051
  */
1075
1052
  // TODO we can probably make this a computeOnce
@@ -1095,8 +1072,7 @@ class Model extends EmberObject {
1095
1072
 
1096
1073
  /**
1097
1074
  The store service instance which created this record instance
1098
- @property store
1099
- @public
1075
+ @public
1100
1076
  */
1101
1077
 
1102
1078
  /**
@@ -1139,8 +1115,7 @@ class Model extends EmberObject {
1139
1115
  </div>
1140
1116
  {{/each}}
1141
1117
  ```
1142
- @property errors
1143
- @public
1118
+ @public
1144
1119
  */
1145
1120
  get errors() {
1146
1121
  const errors = Errors.create({
@@ -1153,8 +1128,7 @@ class Model extends EmberObject {
1153
1128
  /**
1154
1129
  This property holds the `AdapterError` object with which
1155
1130
  last adapter operation was rejected.
1156
- @property adapterError
1157
- @public
1131
+ @public
1158
1132
  */
1159
1133
  static {
1160
1134
  decorateMethodV2(this.prototype, "errors", [computeOnce]);
@@ -1270,9 +1244,7 @@ class Model extends EmberObject {
1270
1244
  }
1271
1245
  });
1272
1246
  ```
1273
- @property modelName
1274
- @public
1275
- @readonly
1247
+ @public
1276
1248
  */
1277
1249
  static modelName = null;
1278
1250
 
@@ -1438,11 +1410,8 @@ class Model extends EmberObject {
1438
1410
  relationships.post;
1439
1411
  //=> [ { name: 'posts', kind: 'hasMany' } ]
1440
1412
  ```
1441
- @property relationships
1442
- @public
1443
- @readonly
1413
+ @public
1444
1414
  */
1445
-
1446
1415
  static get relationships() {
1447
1416
  macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
1448
1417
  if (!test) {
@@ -1486,9 +1455,7 @@ class Model extends EmberObject {
1486
1455
  relationshipNames.belongsTo;
1487
1456
  //=> ['owner']
1488
1457
  ```
1489
- @property relationshipNames
1490
- @public
1491
- @readonly
1458
+ @public
1492
1459
  */
1493
1460
  static {
1494
1461
  decorateMethodV2(this, "relationships", [computeOnce]);
@@ -1530,9 +1497,7 @@ class Model extends EmberObject {
1530
1497
  let relatedTypes = Blog.relatedTypes');
1531
1498
  //=> ['user', 'post']
1532
1499
  ```
1533
- @property relatedTypes
1534
- @public
1535
- @readonly
1500
+ @public
1536
1501
  */
1537
1502
  static {
1538
1503
  decorateMethodV2(this, "relationshipNames", [computeOnce]);
@@ -1582,9 +1547,7 @@ class Model extends EmberObject {
1582
1547
  relationshipsByName.owner;
1583
1548
  //=> { name: 'owner', kind: 'belongsTo', type: 'user', options: Object }
1584
1549
  ```
1585
- @property relationshipsByName
1586
- @public
1587
- @readonly
1550
+ @public
1588
1551
  */
1589
1552
  static {
1590
1553
  decorateMethodV2(this, "relatedTypes", [computeOnce]);
@@ -1664,9 +1627,7 @@ class Model extends EmberObject {
1664
1627
  // posts, hasMany
1665
1628
  // title, attribute
1666
1629
  ```
1667
- @property fields
1668
- @public
1669
- @readonly
1630
+ @public
1670
1631
  */
1671
1632
  static {
1672
1633
  decorateMethodV2(this, "relationshipsObject", [computeOnce]);
@@ -1693,8 +1654,8 @@ class Model extends EmberObject {
1693
1654
  invoking the callback with the name of each relationship and its relationship
1694
1655
  descriptor.
1695
1656
  @public
1696
- @param {Function} callback the callback to invoke
1697
- @param {any} binding the value to which the callback's `this` should be bound
1657
+ @param callback the callback to invoke
1658
+ @param binding the value to which the callback's `this` should be bound
1698
1659
  */
1699
1660
  static {
1700
1661
  decorateMethodV2(this, "fields", [computeOnce]);
@@ -1716,8 +1677,8 @@ class Model extends EmberObject {
1716
1677
  returned just once, regardless of how many different relationships it has
1717
1678
  with a model.
1718
1679
  @public
1719
- @param {Function} callback the callback to invoke
1720
- @param {any} binding the value to which the callback's `this` should be bound
1680
+ @param callback the callback to invoke
1681
+ @param binding the value to which the callback's `this` should be bound
1721
1682
  */
1722
1683
  static eachRelatedType(callback, binding) {
1723
1684
  macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
@@ -1785,9 +1746,7 @@ class Model extends EmberObject {
1785
1746
  // lastName {type: "string", kind: 'attribute', options: Object, parentType: function, name: "lastName"}
1786
1747
  // birthday {type: "date", kind: 'attribute', options: Object, parentType: function, name: "birthday"}
1787
1748
  ```
1788
- @property attributes
1789
- @public
1790
- @readonly
1749
+ @public
1791
1750
  */
1792
1751
  static get attributes() {
1793
1752
  macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
@@ -1837,9 +1796,7 @@ class Model extends EmberObject {
1837
1796
  // lastName string
1838
1797
  // birthday date
1839
1798
  ```
1840
- @property transformedAttributes
1841
- @public
1842
- @readonly
1799
+ @public
1843
1800
  */
1844
1801
  static {
1845
1802
  decorateMethodV2(this, "attributes", [computeOnce]);
@@ -1888,8 +1845,8 @@ class Model extends EmberObject {
1888
1845
  // birthday {type: "date", kind: 'attribute', options: Object, parentType: function, name: "birthday"}
1889
1846
  ```
1890
1847
  @public
1891
- @param {Function} callback The callback to execute
1892
- @param {Object} [binding] the value to which the callback's `this` should be bound
1848
+ @param callback The callback to execute
1849
+ @param binding [optional] the value to which the callback's `this` should be bound
1893
1850
  */
1894
1851
  static {
1895
1852
  decorateMethodV2(this, "transformedAttributes", [computeOnce]);
@@ -1935,8 +1892,8 @@ class Model extends EmberObject {
1935
1892
  // birthday date
1936
1893
  ```
1937
1894
  @public
1938
- @param {Function} callback The callback to execute
1939
- @param {Object} [binding] the value to which the callback's `this` should be bound
1895
+ @param callback The callback to execute
1896
+ @param binding [optional] the value to which the callback's `this` should be bound
1940
1897
  */
1941
1898
  static eachTransformedAttribute(callback, binding) {
1942
1899
  macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
@@ -1,7 +1,7 @@
1
1
  import { warn } from '@ember/debug';
2
2
  import { macroCondition, getGlobalConfig } from '@embroider/macros';
3
3
  import '@warp-drive/core/reactive/-private';
4
- import "./-private-B1pSSN52.js";
4
+ import "./-private-BG3bMiKp.js";
5
5
  import '@warp-drive/core/store/-private';
6
6
  const newline = /\r?\n/;
7
7
  function parseResponseHeaders(headersString) {
@@ -1,6 +1,6 @@
1
1
  import { warn } from '@ember/debug';
2
2
  import { dasherize, pluralize, singularize } from '@warp-drive/utilities/string';
3
- import { J as JSONSerializer } from "../json-BNrV8EYG.js";
3
+ import { J as JSONSerializer } from "../json-ChdEfB0X.js";
4
4
  import { macroCondition, getGlobalConfig } from '@embroider/macros';
5
5
 
6
6
  /* eslint-disable @typescript-eslint/no-unsafe-return */
@@ -179,7 +179,7 @@ const JSONAPISerializer = JSONSerializer.extend({
179
179
  },
180
180
  /**
181
181
  Dasherizes and singularizes the model name in the payload to match
182
- the format Ember Data uses internally for the model name.
182
+ the common convention for model names.
183
183
  For example the key `posts` would be converted to `post` and the
184
184
  key `studentAssesments` would be converted to `student-assesment`.
185
185
  @public
@@ -2,5 +2,5 @@ import '@ember/application';
2
2
  import '@ember/debug';
3
3
  import '@warp-drive/utilities/string';
4
4
  import '../serializer.js';
5
- export { J as JSONSerializer } from "../json-BNrV8EYG.js";
5
+ export { J as JSONSerializer } from "../json-ChdEfB0X.js";
6
6
  import '@embroider/macros';
@@ -1,6 +1,6 @@
1
1
  import { warn } from '@ember/debug';
2
2
  import { camelize, dasherize, singularize } from '@warp-drive/utilities/string';
3
- import { J as JSONSerializer, c as coerceId } from "../json-BNrV8EYG.js";
3
+ import { J as JSONSerializer, c as coerceId } from "../json-ChdEfB0X.js";
4
4
  import { macroCondition, getGlobalConfig } from '@embroider/macros';
5
5
  import Mixin from '@ember/object/mixin';
6
6
 
package/dist/store.js CHANGED
@@ -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-Cqw9eRj5.js";
4
4
  import { n as normalizeModelName } from "./util-Dul6TZts.js";
5
+ import { defineSignal } from '@warp-drive/core/signals/-leaked';
5
6
  import { getOrSetGlobal } from '@warp-drive/core/types/-private';
6
7
  import { macroCondition, getGlobalConfig } from '@embroider/macros';
7
8
 
@@ -1,6 +1,7 @@
1
1
  import { Context } from '@warp-drive/core/reactive/-private';
2
2
  import { createDeferred } from '@warp-drive/core/request';
3
- import { assertPrivateStore, waitFor, coerceId } from '@warp-drive/core/store/-private';
3
+ import { waitFor } from '@warp-drive/core/signals/-leaked';
4
+ import { assertPrivateStore, coerceId } from '@warp-drive/core/store/-private';
4
5
  import { getOrSetGlobal } from '@warp-drive/core/types/-private';
5
6
 
6
7
  /**
@@ -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-CPAZXrQU.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-B2xDbuo5.js";
@@ -124,8 +124,8 @@ function extend(ParentErrorClass, defaultMessage) {
124
124
  transition to the `invalid` state and the errors will be set to the
125
125
  `errors` property on the record.
126
126
 
127
- For Ember Data to correctly map errors to their corresponding
128
- properties on the model, Ember Data expects each error to be
127
+ For WarpDrive to correctly map errors to their corresponding
128
+ properties on the model, WarpDrive expects each error to be
129
129
  a valid JSON-API error object with a `source/pointer` that matches
130
130
  the property name. For example, if you had a Post model that
131
131
  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-CPAZXrQU.js";
2
+ import { b as serializeIntoHash } from "../serialize-into-hash-B2xDbuo5.js";
3
3
  import { RESTAdapter } from './rest.js';
4
4
 
5
5
  // eslint-disable-next-line @typescript-eslint/no-unused-vars