@ngrx-traits/common 0.0.1 → 12.0.0
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 +23 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
#
|
|
1
|
+
# NGRX-Traits
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NGRX Traits is a library to help you compose and reuse a set ngrx actions, selectors, effects and reducers across your app.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# Features
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- ✅ Reduce boilerplate with generated strongly typed actions, selectors, reducers, and effects.
|
|
8
|
+
- ✅ Easily mix with your own actions, selectors, reducers, and effects
|
|
9
|
+
- ✅ Create your own traits, to easily reuse business logic
|
|
10
|
+
- ✅ Transform any trait config from a global store to a local store bound to a components lifecycle
|
|
11
|
+
- ✅ Trait to load entities list
|
|
12
|
+
- ✅ Trait to filter remote and locally entities list
|
|
13
|
+
- ✅ Trait to sort remote and locally entities list
|
|
14
|
+
- ✅ Trait to paginate entities list
|
|
15
|
+
- ✅ Trait to add single or multi selection entities list
|
|
16
|
+
- ✅ Trait to add crud operations to an entities list
|
|
17
|
+
- ✅ Trait to load single entities
|
|
18
|
+
- ✅ Trait to reduce boilerplate needed when calling backend apis
|
|
19
|
+
- ✅ Trait to set a value in the store
|
|
20
|
+
- ✅ Caching
|
|
21
|
+
|
|
22
|
+
# Installation and Usage
|
|
23
|
+
|
|
24
|
+
`npm i @ngrx-traits/{core,common} --save`
|
|
25
|
+
|
|
26
|
+
For more documentation go to our [github page](https://github.com/gabrielguerrero/ngrx-traits)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrx-traits/common",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^12.0.0",
|
|
6
6
|
"@angular/compiler": "^12.0.0",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ngrx/effects": "^12.2.0",
|
|
9
9
|
"@ngrx/entity": "^12.2.0",
|
|
10
10
|
"@ngrx/store": "^12.2.0",
|
|
11
|
-
"@ngrx-traits/core": "0.0
|
|
11
|
+
"@ngrx-traits/core": "12.0.0",
|
|
12
12
|
"rxjs": "~6.6.0"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|