ywana-core8 0.0.793 → 0.0.794
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/dist/index.cjs +99 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +99 -45
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +99 -45
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain2/CollectionContext.js +6 -9
package/package.json
CHANGED
@@ -96,13 +96,6 @@ export const CollectionContextProvider = (props) => {
|
|
96
96
|
}
|
97
97
|
return
|
98
98
|
}
|
99
|
-
|
100
|
-
/*
|
101
|
-
async function reloadSelection() {
|
102
|
-
const result = await this.fetch(this.selected.id)
|
103
|
-
this.selected = result
|
104
|
-
}
|
105
|
-
|
106
99
|
|
107
100
|
async function update(form) {
|
108
101
|
try {
|
@@ -146,8 +139,6 @@ export const CollectionContextProvider = (props) => {
|
|
146
139
|
return
|
147
140
|
}
|
148
141
|
|
149
|
-
*/
|
150
|
-
|
151
142
|
const value = {
|
152
143
|
all,
|
153
144
|
load,
|
@@ -167,6 +158,12 @@ export const CollectionContextProvider = (props) => {
|
|
167
158
|
queries,
|
168
159
|
setQueries,
|
169
160
|
|
161
|
+
create,
|
162
|
+
update,
|
163
|
+
patch,
|
164
|
+
updateProperty,
|
165
|
+
remove,
|
166
|
+
|
170
167
|
}
|
171
168
|
|
172
169
|
return (
|