@steedos/service-object-mixin 2.6.7 → 2.6.8-beta.10

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/package.json +2 -2
  2. package/package.service.js +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-object-mixin",
3
- "version": "2.6.7",
3
+ "version": "2.6.8-beta.10",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -13,5 +13,5 @@
13
13
  "description": "steedos package",
14
14
  "repository": {},
15
15
  "license": "MIT",
16
- "gitHead": "7852282dc4524d9669457debd787bcd6c8614a3d"
16
+ "gitHead": "ab5c21a2ebc83ecff03d350f8a0b28760053cd33"
17
17
  }
@@ -136,6 +136,17 @@ module.exports = {
136
136
  }
137
137
  })
138
138
  },
139
+ directUpdateMany: async (queryFilters, doc, userSession) => {
140
+ return await this.broker.call("objectql.directUpdateMany", {
141
+ objectName,
142
+ queryFilters,
143
+ doc,
144
+ }, {
145
+ meta: {
146
+ user: userSession
147
+ }
148
+ })
149
+ },
139
150
  delete: async (id, userSession) => {
140
151
  return await this.broker.call("objectql.delete", {
141
152
  objectName: objectName,