@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.
Files changed (2) hide show
  1. package/README.md +41 -52
  2. 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/ember-data-logo-dark.svg#gh-dark-mode-only"
5
- alt="EmberData ActiveRecord"
6
- width="240px"
7
- title="EmberData ActiveRecord"
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
- <p align="center">Elegantly composable. Made for <strong>Active</strong>Record</p>
19
-
20
- This package provides utilities for working with **Active**Record APIs with [*Ember***Data**](https://github.com/warp-drive-data/warp-drive/).
21
-
22
- ## Installation
23
-
24
- Install using your javascript package manager of choice. For instance with [pnpm](https://pnpm.io/)
25
-
26
- ```sh
27
- pnpm add @ember-data/active-record
28
- ```
29
-
30
- **Tagged Releases**
31
-
32
- - ![NPM Canary Version](https://img.shields.io/npm/v/%40ember-data/active-record/canary?label=%40canary&color=FFBF00)
33
- - ![NPM Beta Version](https://img.shields.io/npm/v/%40ember-data/active-record/beta?label=%40beta&color=ff00ff)
34
- - ![NPM Stable Version](https://img.shields.io/npm/v/%40ember-data/active-record/latest?label=%40latest&color=90EE90)
35
- - ![NPM LTS Version](https://img.shields.io/npm/v/%40ember-data/active-record/lts?label=%40lts&color=0096FF)
36
- - ![NPM LTS 4.12 Version](https://img.shields.io/npm/v/%40ember-data/active-record/lts-4-12?label=%40lts-4-12&color=bbbbbb)
11
+ ![NPM Stable Version](https://img.shields.io/npm/v/ember-data/latest?label=version&style=flat&color=fdb155)
12
+ ![NPM Downloads](https://img.shields.io/npm/dm/ember-data.svg?style=flat&color=fdb155)
13
+ ![License](https://img.shields.io/github/license/warp-drive-data/warp-drive.svg?style=flat&color=fdb155)
14
+ [![EmberJS Discord Community Server](https://img.shields.io/badge/EmberJS-grey?logo=discord&logoColor=fdb155)](https://discord.gg/zT3asNS
15
+ )
16
+ [![WarpDrive Discord Server](https://img.shields.io/badge/WarpDrive-grey?logo=discord&logoColor=fdb155)](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 &mdash;
22
+ <br>
23
+ universal, typed, reactive, and ready to scale.
24
+ <br/><br/>
25
+ </p>
38
26
 
39
- ## Getting Started
27
+ ***Warp*Drive** makes it easy to build scalable, fast, feature
28
+ rich applications &mdash; letting you ship better experiences more quickly without re-architecting your app or API. ***Warp*Drive** is:
40
29
 
41
- If this package is how you are first learning about EmberData, we recommend starting with learning about the [Store](https://github.com/warp-drive-data/warp-drive/blob/main/packages/store/README.md) and [Requests](https://github.com/warp-drive-data/warp-drive/blob/main/packages/request/README.md)
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
- ## Request Builders
38
+ <br>
39
+ <br>
44
40
 
45
- Request builders are functions that produce [Fetch Options](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). They take a few contextual inputs about the request you want to make, abstracting away the gnarlier details.
41
+ *Get Started* [Guides](https://warp-drive.io/guides/)
46
42
 
47
- For instance, to fetch a resource from your API
43
+ <br>
48
44
 
49
- ```ts
50
- import { findRecord } from '@ember-data/active-record/request';
45
+ ---
51
46
 
52
- const options = findRecord('ember-developer', '1', { include: ['pets', 'friends'] });
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
- Request builder output may be used with either `requestManager.request` or `store.request`.
51
+ For for modern usage of these utilities, see [@warp-drive/utilities](https://www.npmjs.com/package/@warp-drive/utilities).
66
52
 
67
- URLs are stable. The same query will produce the same URL every time, even if the order of keys in
68
- the query or values in an array changes.
53
+ **Tagged Releases**
69
54
 
70
- URLs follow the most common ActiveRecord format (underscored pluralized resource types).
55
+ - ![NPM Canary Version](https://img.shields.io/npm/v/%40ember-data/active-record/canary?label=%40canary&color=FFBF00)
56
+ - ![NPM Beta Version](https://img.shields.io/npm/v/%40ember-data/active-record/beta?label=%40beta&color=ff00ff)
57
+ - ![NPM Stable Version](https://img.shields.io/npm/v/%40ember-data/active-record/latest?label=%40latest&color=90EE90)
58
+ - ![NPM LTS Version](https://img.shields.io/npm/v/%40ember-data/active-record/lts?label=%40lts&color=0096FF)
59
+ - ![NPM LTS 4.12 Version](https://img.shields.io/npm/v/%40ember-data/active-record/lts-4-12?label=%40lts-4-12&color=bbbbbb)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-data-types/active-record",
3
- "version": "5.8.0-alpha.28",
3
+ "version": "5.8.0-alpha.29",
4
4
  "files": [
5
5
  "README.md",
6
6
  "LICENSE.md",