@warp-drive-mirror/schema-record 5.9.0-alpha.8 → 5.9.0-alpha.9
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/README.md +6 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
|
|
29
29
|
# @warp-drive-mirror/schema-record
|
|
30
30
|
|
|
31
|
+
> [!WARNING]
|
|
32
|
+
> **⚠️ This package** has been merged into [@warp-drive-mirror/core](https://warp-drive.io/api/@warp-drive-mirror/core/) and is not recommended for new applications.
|
|
33
|
+
|
|
31
34
|
<h3 align="center">Your Data, Managed.</h3>
|
|
32
35
|
<p align="center">🌲 Get back to Nature 🐿️ Or shipping 💚</p>
|
|
33
36
|
|
|
@@ -86,7 +89,7 @@ class AppStore extends Store {
|
|
|
86
89
|
}
|
|
87
90
|
```
|
|
88
91
|
|
|
89
|
-
Any Store API that returns a record instance will use the `instantiateRecord`
|
|
92
|
+
Any Store API that returns a record instance will use the `instantiateRecord`
|
|
90
93
|
hook configured above to instantiate a SchemaRecord once this is in place.
|
|
91
94
|
After that, its up to you what SchemaRecord can do.
|
|
92
95
|
|
|
@@ -139,7 +142,7 @@ store.schema.registerResources([
|
|
|
139
142
|
},
|
|
140
143
|
{ kind: 'field', name: 'firstName' },
|
|
141
144
|
{ kind: 'field', name: 'lastName' },
|
|
142
|
-
{
|
|
145
|
+
{
|
|
143
146
|
kind: 'derived',
|
|
144
147
|
name: 'name',
|
|
145
148
|
type: 'concat',
|
|
@@ -253,7 +256,7 @@ store.schema.registerResources([
|
|
|
253
256
|
fields: [
|
|
254
257
|
{ kind: 'field', name: 'firstName' },
|
|
255
258
|
{ kind: 'field', name: 'lastName' },
|
|
256
|
-
{
|
|
259
|
+
{
|
|
257
260
|
kind: 'derived',
|
|
258
261
|
name: 'name',
|
|
259
262
|
type: 'concat',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/schema-record",
|
|
3
|
-
"version": "5.9.0-alpha.
|
|
4
|
-
"description": "Schema Driven Resource Presentation for WarpDrive and EmberData",
|
|
3
|
+
"version": "5.9.0-alpha.9",
|
|
4
|
+
"description": "(Legacy) Schema Driven Resource Presentation for WarpDrive and EmberData",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
7
7
|
],
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"peerDependencies": {},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@embroider/macros": "^1.19.6",
|
|
42
|
-
"@warp-drive-mirror/core": "5.9.0-alpha.
|
|
42
|
+
"@warp-drive-mirror/core": "5.9.0-alpha.9"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@babel/core": "^7.28.3",
|
|
46
46
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
47
47
|
"@babel/preset-env": "^7.28.3",
|
|
48
48
|
"@babel/preset-typescript": "^7.27.1",
|
|
49
|
-
"@warp-drive/internal-config": "5.9.0-alpha.
|
|
49
|
+
"@warp-drive/internal-config": "5.9.0-alpha.9",
|
|
50
50
|
"vite": "^7.3.1"
|
|
51
51
|
},
|
|
52
52
|
"ember": {
|