electrodb 2.3.0 → 2.3.2
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/notes +23 -0
- package/package.json +1 -1
- package/src/entity.js +1 -0
- package/src/errors.js +6 -0
- package/src/filters.js +1 -0
- package/src/where.js +1 -0
package/notes
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
put
|
|
2
|
+
1. checkCreate
|
|
3
|
+
- getValidate
|
|
4
|
+
- `val()`
|
|
5
|
+
- `cast()`
|
|
6
|
+
- undefined ? `default()`
|
|
7
|
+
- `isValid()`
|
|
8
|
+
- `_isType()`
|
|
9
|
+
- `validate()` - user validation
|
|
10
|
+
|
|
11
|
+
2. items added to clause state via `applyPut`
|
|
12
|
+
3. pk && sk are expected
|
|
13
|
+
put(batch)
|
|
14
|
+
create
|
|
15
|
+
1. checkCreate
|
|
16
|
+
2. items added to clause state via `applyPut`
|
|
17
|
+
upsert
|
|
18
|
+
1. checkCreate
|
|
19
|
+
update
|
|
20
|
+
patch
|
|
21
|
+
remove
|
|
22
|
+
delete
|
|
23
|
+
delete(batch)
|
package/package.json
CHANGED
package/src/entity.js
CHANGED
package/src/errors.js
CHANGED
|
@@ -133,6 +133,12 @@ const ErrorCodes = {
|
|
|
133
133
|
name: "InvalidListenerProvided",
|
|
134
134
|
sym: ErrorCode,
|
|
135
135
|
},
|
|
136
|
+
InvalidLoggerProvided: {
|
|
137
|
+
code: 1020,
|
|
138
|
+
section: "invalid-listener-provided",
|
|
139
|
+
name: "InvalidListenerProvided",
|
|
140
|
+
sym: ErrorCode,
|
|
141
|
+
},
|
|
136
142
|
InvalidClientProvided: {
|
|
137
143
|
code: 1021,
|
|
138
144
|
section: "invalid-client-provided",
|
package/src/filters.js
CHANGED