@platformatic/db 2.60.0 → 2.62.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/config.d.ts CHANGED
@@ -325,6 +325,7 @@ export interface PlatformaticDB {
325
325
  find?: CrudOperationAuth;
326
326
  save?: CrudOperationAuth;
327
327
  delete?: CrudOperationAuth;
328
+ updateMany?: CrudOperationAuth;
328
329
  }
329
330
  | {
330
331
  /**
@@ -344,6 +345,7 @@ export interface PlatformaticDB {
344
345
  find?: CrudOperationAuth;
345
346
  save?: CrudOperationAuth;
346
347
  delete?: CrudOperationAuth;
348
+ updateMany?: CrudOperationAuth;
347
349
  }
348
350
  )[];
349
351
  };
package/lib/schema.js CHANGED
@@ -254,6 +254,9 @@ const sharedAuthorizationRule = {
254
254
  },
255
255
  delete: {
256
256
  $ref: '#/$defs/crud-operation-auth'
257
+ },
258
+ updateMany: {
259
+ $ref: '#/$defs/crud-operation-auth'
257
260
  }
258
261
  }
259
262
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "2.60.0",
3
+ "version": "2.62.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -73,19 +73,19 @@
73
73
  "rfdc": "^1.3.1",
74
74
  "rimraf": "^4.4.1",
75
75
  "semgrator": "^0.3.0",
76
- "@platformatic/config": "2.60.0",
77
- "@platformatic/generators": "2.60.0",
78
- "@platformatic/db-authorization": "2.60.0",
79
- "@platformatic/db-core": "2.60.0",
80
- "@platformatic/service": "2.60.0",
81
- "@platformatic/sql-events": "2.60.0",
82
- "@platformatic/sql-graphql": "2.60.0",
83
- "@platformatic/sql-json-schema-mapper": "2.60.0",
84
- "@platformatic/sql-openapi": "2.60.0",
85
- "@platformatic/telemetry": "2.60.0",
86
- "@platformatic/ts-compiler": "2.60.0",
87
- "@platformatic/sql-mapper": "2.60.0",
88
- "@platformatic/utils": "2.60.0"
76
+ "@platformatic/config": "2.62.0",
77
+ "@platformatic/db-core": "2.62.0",
78
+ "@platformatic/db-authorization": "2.62.0",
79
+ "@platformatic/service": "2.62.0",
80
+ "@platformatic/sql-events": "2.62.0",
81
+ "@platformatic/sql-graphql": "2.62.0",
82
+ "@platformatic/generators": "2.62.0",
83
+ "@platformatic/sql-mapper": "2.62.0",
84
+ "@platformatic/sql-json-schema-mapper": "2.62.0",
85
+ "@platformatic/sql-openapi": "2.62.0",
86
+ "@platformatic/telemetry": "2.62.0",
87
+ "@platformatic/utils": "2.62.0",
88
+ "@platformatic/ts-compiler": "2.62.0"
89
89
  },
90
90
  "scripts": {
91
91
  "test": "pnpm run lint && borp -T --concurrency=1 --timeout=300000 && tsd ",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/db/2.60.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/2.62.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic DB",
5
5
  "type": "object",
@@ -883,6 +883,9 @@
883
883
  },
884
884
  "delete": {
885
885
  "$ref": "#/$defs/crud-operation-auth"
886
+ },
887
+ "updateMany": {
888
+ "$ref": "#/$defs/crud-operation-auth"
886
889
  }
887
890
  },
888
891
  "required": [
@@ -919,6 +922,9 @@
919
922
  },
920
923
  "delete": {
921
924
  "$ref": "#/$defs/crud-operation-auth"
925
+ },
926
+ "updateMany": {
927
+ "$ref": "#/$defs/crud-operation-auth"
922
928
  }
923
929
  },
924
930
  "required": [