@epam/uui-db 5.0.1 → 5.1.1
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/index.esm.js +7 -2
- package/index.esm.js.map +1 -1
- package/index.js +7 -2
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/readme.md +17 -17
- package/stats.html +90 -1429
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/uui-db",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "UUI - client-side relational state cache",
|
|
5
5
|
"author": "EPAM",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"prepublish": "yarn build"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@epam/uui-core": "5.
|
|
17
|
+
"@epam/uui-core": "5.1.1",
|
|
18
18
|
"@types/lodash.countby": "4.6.6",
|
|
19
19
|
"@types/lodash.filter": "4.6.6",
|
|
20
20
|
"@types/lodash.foreach": "4.5.6",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"type": "git",
|
|
63
63
|
"url": "https://github.com/epam/UUI"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "be7a3fedf54f874be785ffd03a5ca076df569be4",
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"directory": "build"
|
|
68
68
|
}
|
package/readme.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# UUI DB package
|
|
2
|
-
|
|
3
|
-
This package is a part of [EPAM UUI](https://github.com/epam/UUI) library.
|
|
4
|
-
|
|
5
|
-
@epam/uui-db is an experimental state-management solution. It maintains immutable relational database on client, provides means to load data from server, update it both from client, and save it to server asynchronously with UI operations.
|
|
6
|
-
|
|
7
|
-
## Features
|
|
8
|
-
|
|
9
|
-
- relation data model for state, providing a normalized storage for UI state
|
|
10
|
-
- data loading from server, with automatic GraphQL response normalization into tables
|
|
11
|
-
- synchronous and transactional updates of state from UI
|
|
12
|
-
- asynchronous bi-directional state synchronization between UI and server. UI changes in terms of 'patches' are batched and sent to server. Server can also push updates to UI state
|
|
13
|
-
- GIT-like branch-rebase approach to handle state concurrency
|
|
14
|
-
- tables can be indexed to speed-up queries
|
|
15
|
-
- Views to build arbitrary state projections
|
|
16
|
-
- subscriptions to subscribe parts of UI to changes in Views
|
|
17
|
-
|
|
1
|
+
# UUI DB package
|
|
2
|
+
|
|
3
|
+
This package is a part of [EPAM UUI](https://github.com/epam/UUI) library.
|
|
4
|
+
|
|
5
|
+
@epam/uui-db is an experimental state-management solution. It maintains immutable relational database on client, provides means to load data from server, update it both from client, and save it to server asynchronously with UI operations.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- relation data model for state, providing a normalized storage for UI state
|
|
10
|
+
- data loading from server, with automatic GraphQL response normalization into tables
|
|
11
|
+
- synchronous and transactional updates of state from UI
|
|
12
|
+
- asynchronous bi-directional state synchronization between UI and server. UI changes in terms of 'patches' are batched and sent to server. Server can also push updates to UI state
|
|
13
|
+
- GIT-like branch-rebase approach to handle state concurrency
|
|
14
|
+
- tables can be indexed to speed-up queries
|
|
15
|
+
- Views to build arbitrary state projections
|
|
16
|
+
- subscriptions to subscribe parts of UI to changes in Views
|
|
17
|
+
|