@ember-data/legacy-compat 5.9.0-alpha.21 → 5.9.0-alpha.22
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/-private.d.ts +1 -0
- package/dist/-private.js +1 -1
- package/dist/builders.d.ts +1 -0
- package/dist/builders.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +1 -1
- package/package.json +12 -11
- package/unstable-preview-types/-private.d.ts +0 -7
- package/unstable-preview-types/builders.d.ts +0 -11
- package/unstable-preview-types/index.d.ts +2 -6
- package/unstable-preview-types/utils.d.ts +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@warp-drive/legacy/compat/-private";
|
package/dist/-private.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "@warp-drive/legacy/compat/-private"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@warp-drive/legacy/compat/builders";
|
package/dist/builders.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "@warp-drive/legacy/compat/builders"
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
|
|
2
|
+
export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
|
package/dist/index.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
|
|
2
|
+
|
|
3
|
+
export { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@warp-drive/legacy/compat/utils";
|
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "@warp-drive/legacy/compat/utils"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-data/legacy-compat",
|
|
3
3
|
"description": "Compatibility Shims for Older (Legacy) EmberData",
|
|
4
|
-
"version": "5.9.0-alpha.
|
|
4
|
+
"version": "5.9.0-alpha.22",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Chris Thoburn <runspired@users.noreply.github.com>",
|
|
7
7
|
"repository": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"extends": "../../package.json"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
-
"unstable-preview-types",
|
|
22
21
|
"addon-main.cjs",
|
|
23
22
|
"dist",
|
|
24
23
|
"README.md",
|
|
25
24
|
"LICENSE.md",
|
|
26
|
-
"logos"
|
|
25
|
+
"logos",
|
|
26
|
+
"unstable-preview-types"
|
|
27
27
|
],
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@embroider/macros": "^1.20.6",
|
|
46
|
-
"@warp-drive/core": "5.9.0-alpha.
|
|
47
|
-
"@warp-drive/legacy": "5.9.0-alpha.
|
|
48
|
-
"@warp-drive/utilities": "5.9.0-alpha.
|
|
46
|
+
"@warp-drive/core": "5.9.0-alpha.22",
|
|
47
|
+
"@warp-drive/legacy": "5.9.0-alpha.22",
|
|
48
|
+
"@warp-drive/utilities": "5.9.0-alpha.22"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@babel/core": "^7.28.3",
|
|
52
52
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
53
53
|
"@babel/preset-env": "^7.28.3",
|
|
54
54
|
"@babel/preset-typescript": "^7.27.1",
|
|
55
|
-
"@warp-drive/internal-config": "5.9.0-alpha.
|
|
56
|
-
"
|
|
57
|
-
"
|
|
55
|
+
"@warp-drive/internal-config": "5.9.0-alpha.22",
|
|
56
|
+
"tsdown": "^0.22.14",
|
|
57
|
+
"typescript": "^5.9.3"
|
|
58
58
|
},
|
|
59
59
|
"ember": {
|
|
60
60
|
"edition": "octane"
|
|
@@ -68,8 +68,9 @@
|
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"lint": "eslint . --quiet --cache --cache-strategy=content",
|
|
71
|
-
"
|
|
71
|
+
"check:types": "tsc --noEmit",
|
|
72
|
+
"build:pkg": "node node_modules/tsdown/dist/run.mjs",
|
|
72
73
|
"sync": "echo \"syncing\"",
|
|
73
|
-
"start": "
|
|
74
|
+
"start": "node node_modules/tsdown/dist/run.mjs --watch"
|
|
74
75
|
}
|
|
75
76
|
}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
1
|
declare module '@ember-data/legacy-compat/builders' {
|
|
2
|
-
/**
|
|
3
|
-
Builders for migrating from `store` methods to `store.request`.
|
|
4
|
-
|
|
5
|
-
These builders enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.
|
|
6
|
-
This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.
|
|
7
|
-
To that end, these builders are deprecated and will be removed in a future version of Ember Data.
|
|
8
|
-
|
|
9
|
-
@module
|
|
10
|
-
@deprecated
|
|
11
|
-
*/
|
|
12
2
|
export * from "@warp-drive/legacy/compat/builders";
|
|
13
|
-
|
|
14
3
|
}
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
/// <reference path="./utils.d.ts" />
|
|
3
3
|
/// <reference path="./-private.d.ts" />
|
|
4
4
|
declare module '@ember-data/legacy-compat' {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* @mergeModuleWith <project>
|
|
8
|
-
*/
|
|
9
|
-
export { normalize, pushPayload, serializeRecord, cleanup, serializerFor, adapterFor, LegacyNetworkHandler, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, type AdapterPayload, type LegacyStoreCompat, type CompatStore } from "@warp-drive/legacy/compat";
|
|
10
|
-
|
|
5
|
+
import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
|
|
6
|
+
export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
|
|
11
7
|
}
|