@ember-data-types/active-record 5.8.0-alpha.28 → 5.8.0-alpha.29
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 +41 -52
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,70 +1,59 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<img
|
|
3
3
|
class="project-logo"
|
|
4
|
-
src="./logos/
|
|
5
|
-
alt="
|
|
6
|
-
width="
|
|
7
|
-
title="
|
|
8
|
-
/>
|
|
9
|
-
<img
|
|
10
|
-
class="project-logo"
|
|
11
|
-
src="./logos/ember-data-logo-light.svg#gh-light-mode-only"
|
|
12
|
-
alt="EmberData ActiveRecord"
|
|
13
|
-
width="240px"
|
|
14
|
-
title="EmberData ActiveRecord"
|
|
4
|
+
src="./logos/logo-yellow-slab.svg"
|
|
5
|
+
alt="WarpDrive"
|
|
6
|
+
width="120px"
|
|
7
|
+
title="WarpDrive"
|
|
15
8
|
/>
|
|
16
9
|
</p>
|
|
17
10
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
```sh
|
|
27
|
-
pnpm add @ember-data/active-record
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
**Tagged Releases**
|
|
31
|
-
|
|
32
|
-
- 
|
|
33
|
-
- 
|
|
34
|
-
- 
|
|
35
|
-
- 
|
|
36
|
-
- 
|
|
11
|
+

|
|
12
|
+

|
|
13
|
+

|
|
14
|
+
[](https://discord.gg/zT3asNS
|
|
15
|
+
)
|
|
16
|
+
[](https://discord.gg/PHBbnWJx5S
|
|
17
|
+
)
|
|
37
18
|
|
|
19
|
+
<p align="center">
|
|
20
|
+
<br>
|
|
21
|
+
<a href="https://warp-drive.io">WarpDrive</a> is the lightweight data library for web apps —
|
|
22
|
+
<br>
|
|
23
|
+
universal, typed, reactive, and ready to scale.
|
|
24
|
+
<br/><br/>
|
|
25
|
+
</p>
|
|
38
26
|
|
|
39
|
-
|
|
27
|
+
***Warp*Drive** makes it easy to build scalable, fast, feature
|
|
28
|
+
rich applications — letting you ship better experiences more quickly without re-architecting your app or API. ***Warp*Drive** is:
|
|
40
29
|
|
|
41
|
-
|
|
30
|
+
- 🌌 Seamless Reactivity in any Framework
|
|
31
|
+
- ⚡️ Committed to Best-In-Class Performance
|
|
32
|
+
- 💚 Typed
|
|
33
|
+
- ⚛️ Works with any API
|
|
34
|
+
- 🌲 Focused on being as tiny as possible
|
|
35
|
+
- 🚀 SSR Ready
|
|
36
|
+
- 🐹 Built with ♥️ by [Ember](https://emberjs.com)
|
|
42
37
|
|
|
43
|
-
|
|
38
|
+
<br>
|
|
39
|
+
<br>
|
|
44
40
|
|
|
45
|
-
|
|
41
|
+
*Get Started* → [Guides](https://warp-drive.io/guides/)
|
|
46
42
|
|
|
47
|
-
|
|
43
|
+
<br>
|
|
48
44
|
|
|
49
|
-
|
|
50
|
-
import { findRecord } from '@ember-data/active-record/request';
|
|
45
|
+
---
|
|
51
46
|
|
|
52
|
-
|
|
47
|
+
# @ember-data/active-record
|
|
53
48
|
|
|
54
|
-
|
|
55
|
-
=> {
|
|
56
|
-
url: 'https://api.example.com/v1/ember_developers/1?include=friends,pets',
|
|
57
|
-
method: 'GET',
|
|
58
|
-
headers: <Headers>, // 'Content-Type': 'application/json;charset=utf-8'
|
|
59
|
-
op: 'findRecord';
|
|
60
|
-
records: [{ type: 'ember-developer', id: '1' }]
|
|
61
|
-
}
|
|
62
|
-
*/
|
|
63
|
-
```
|
|
49
|
+
This package provides utilities for working with **Active**Record APIs with [***Warp*Drive**](https://warp-drive.io/) when using the older package configuration.
|
|
64
50
|
|
|
65
|
-
|
|
51
|
+
For for modern usage of these utilities, see [@warp-drive/utilities](https://www.npmjs.com/package/@warp-drive/utilities).
|
|
66
52
|
|
|
67
|
-
|
|
68
|
-
the query or values in an array changes.
|
|
53
|
+
**Tagged Releases**
|
|
69
54
|
|
|
70
|
-
|
|
55
|
+
- 
|
|
56
|
+
- 
|
|
57
|
+
- 
|
|
58
|
+
- 
|
|
59
|
+
- 
|