@ember-data/legacy-compat 4.13.0-alpha.3 → 4.13.0-alpha.4

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/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { getOwner } from '@ember/application';
2
2
  import { deprecate } from '@ember/debug';
3
3
  import { recordIdentifierFor } from '@ember-data/store';
4
- import { g as guardDestroyedStore, _ as _objectIsAlive, p as payloadIsNotBlank, n as normalizeResponseHelper, a as _guard, i as iterateData, b as _bind, F as FetchManager, c as assertIdentifierHasId, S as SaveOp, d as SnapshotRecordArray } from "./-private-BJlhRRce.js";
4
+ import { g as guardDestroyedStore, _ as _objectIsAlive, p as payloadIsNotBlank, n as normalizeResponseHelper, a as _guard, b as _bind, i as iterateData, F as FetchManager, S as SaveOp, c as assertIdentifierHasId, d as SnapshotRecordArray } from "./-private-BJlhRRce.js";
5
5
  import { n as normalizeModelName } from "./utils-XGHLsgBS.js";
6
6
  import { macroCondition, getGlobalConfig, importSync } from '@embroider/macros';
7
7
  function _findHasMany(adapter, store, identifier, link, relationship, options) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-data/legacy-compat",
3
3
  "description": "Compatibility Shims for Older EmberData",
4
- "version": "4.13.0-alpha.3",
4
+ "version": "4.13.0-alpha.4",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -35,6 +35,9 @@
35
35
  },
36
36
  "./*": {
37
37
  "default": "./dist/*.js"
38
+ },
39
+ "./unstable-preview-types": {
40
+ "types": "./unstable-preview-types/index.d.ts"
38
41
  }
39
42
  },
40
43
  "ember-addon": {
@@ -77,34 +80,34 @@
77
80
  }
78
81
  },
79
82
  "dependencies": {
80
- "@embroider/macros": "^1.16.6",
81
- "@warp-drive/build-config": "4.13.0-alpha.3"
83
+ "@embroider/macros": "^1.16.10",
84
+ "@warp-drive/build-config": "4.13.0-alpha.4"
82
85
  },
83
86
  "peerDependencies": {
84
87
  "ember-source": "3.28.12 || ^4.0.4 || ^5.0.0 || ^6.0.0",
85
- "@ember-data/graph": "4.13.0-alpha.3",
86
- "@ember-data/json-api": "4.13.0-alpha.3",
87
- "@ember-data/request": "4.13.0-alpha.3",
88
- "@ember-data/request-utils": "4.13.0-alpha.3",
89
- "@ember-data/store": "4.13.0-alpha.3",
88
+ "@ember-data/graph": "4.13.0-alpha.4",
89
+ "@ember-data/json-api": "4.13.0-alpha.4",
90
+ "@ember-data/request": "4.13.0-alpha.4",
91
+ "@ember-data/request-utils": "4.13.0-alpha.4",
92
+ "@ember-data/store": "4.13.0-alpha.4",
90
93
  "@ember/test-waiters": "^3.1.0 || >= 4.0.0",
91
- "@warp-drive/core-types": "4.13.0-alpha.3"
94
+ "@warp-drive/core-types": "4.13.0-alpha.4"
92
95
  },
93
96
  "devDependencies": {
94
97
  "@babel/core": "^7.24.5",
95
98
  "@babel/plugin-transform-typescript": "^7.24.5",
96
99
  "@babel/preset-env": "^7.24.5",
97
100
  "@babel/preset-typescript": "^7.24.1",
98
- "@ember-data/graph": "4.13.0-alpha.3",
99
- "@ember-data/json-api": "4.13.0-alpha.3",
100
- "@ember-data/request": "4.13.0-alpha.3",
101
- "@ember-data/request-utils": "4.13.0-alpha.3",
102
- "@ember-data/store": "4.13.0-alpha.3",
103
- "@ember-data/tracking": "4.13.0-alpha.3",
101
+ "@ember-data/graph": "4.13.0-alpha.4",
102
+ "@ember-data/json-api": "4.13.0-alpha.4",
103
+ "@ember-data/request": "4.13.0-alpha.4",
104
+ "@ember-data/request-utils": "4.13.0-alpha.4",
105
+ "@ember-data/store": "4.13.0-alpha.4",
106
+ "@ember-data/tracking": "4.13.0-alpha.4",
104
107
  "@ember/test-waiters": "^3.1.0",
105
108
  "@glimmer/component": "^1.1.2",
106
- "@warp-drive/core-types": "4.13.0-alpha.3",
107
- "@warp-drive/internal-config": "4.13.0-alpha.3",
109
+ "@warp-drive/core-types": "4.13.0-alpha.4",
110
+ "@warp-drive/internal-config": "4.13.0-alpha.4",
108
111
  "ember-source": "~5.12.0",
109
112
  "pnpm-sync-dependencies-meta-injected": "0.0.14",
110
113
  "typescript": "^5.7.2",
@@ -113,6 +116,13 @@
113
116
  "ember": {
114
117
  "edition": "octane"
115
118
  },
119
+ "typesVersions": {
120
+ "*": {
121
+ "unstable-preview-types": [
122
+ "./unstable-preview-types"
123
+ ]
124
+ }
125
+ },
116
126
  "scripts": {
117
127
  "lint": "eslint . --quiet --cache --cache-strategy=content",
118
128
  "build:pkg": "vite build;",
@@ -2,21 +2,21 @@
2
2
  /// <reference path="./utils.d.ts" />
3
3
  /// <reference path="./-private.d.ts" />
4
4
  /// <reference path="./builders/find-record.d.ts" />
5
- /// <reference path="./builders/query.d.ts" />
5
+ /// <reference path="./builders/find-all.d.ts" />
6
6
  /// <reference path="./builders/utils.d.ts" />
7
7
  /// <reference path="./builders/save-record.d.ts" />
8
- /// <reference path="./builders/find-all.d.ts" />
9
- /// <reference path="./legacy-network-handler/legacy-data-fetch.d.ts" />
8
+ /// <reference path="./builders/query.d.ts" />
9
+ /// <reference path="./legacy-network-handler/snapshot.d.ts" />
10
10
  /// <reference path="./legacy-network-handler/fetch-manager.d.ts" />
11
+ /// <reference path="./legacy-network-handler/legacy-data-utils.d.ts" />
12
+ /// <reference path="./legacy-network-handler/identifier-has-id.d.ts" />
13
+ /// <reference path="./legacy-network-handler/snapshot-record-array.d.ts" />
14
+ /// <reference path="./legacy-network-handler/utils.d.ts" />
11
15
  /// <reference path="./legacy-network-handler/minimum-adapter-interface.d.ts" />
16
+ /// <reference path="./legacy-network-handler/serializer-response.d.ts" />
12
17
  /// <reference path="./legacy-network-handler/minimum-serializer-interface.d.ts" />
13
- /// <reference path="./legacy-network-handler/snapshot.d.ts" />
18
+ /// <reference path="./legacy-network-handler/legacy-data-fetch.d.ts" />
14
19
  /// <reference path="./legacy-network-handler/legacy-network-handler.d.ts" />
15
- /// <reference path="./legacy-network-handler/serializer-response.d.ts" />
16
- /// <reference path="./legacy-network-handler/snapshot-record-array.d.ts" />
17
- /// <reference path="./legacy-network-handler/identifier-has-id.d.ts" />
18
- /// <reference path="./legacy-network-handler/utils.d.ts" />
19
- /// <reference path="./legacy-network-handler/legacy-data-utils.d.ts" />
20
20
  declare module '@ember-data/legacy-compat' {
21
21
  import type Store from '@ember-data/store';
22
22
  import type { ObjectValue } from '@warp-drive/core-types/json/raw';