@platformatic/composer 3.11.0 → 3.13.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/schema.json +29 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/composer",
3
- "version": "3.11.0",
3
+ "version": "3.13.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "json-schema-to-typescript": "^15.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@platformatic/gateway": "3.11.0",
27
- "@platformatic/foundation": "3.11.0"
26
+ "@platformatic/foundation": "3.13.0",
27
+ "@platformatic/gateway": "3.13.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.11.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/composer/3.13.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Composer Config",
5
5
  "type": "object",
@@ -2040,6 +2040,34 @@
2040
2040
  "callbackUrl"
2041
2041
  ]
2042
2042
  }
2043
+ },
2044
+ "policies": {
2045
+ "type": "object",
2046
+ "properties": {
2047
+ "deny": {
2048
+ "type": "object",
2049
+ "patternProperties": {
2050
+ "^.*$": {
2051
+ "oneOf": [
2052
+ {
2053
+ "type": "string"
2054
+ },
2055
+ {
2056
+ "type": "array",
2057
+ "items": {
2058
+ "type": "string"
2059
+ },
2060
+ "minItems": 1
2061
+ }
2062
+ ]
2063
+ }
2064
+ }
2065
+ }
2066
+ },
2067
+ "required": [
2068
+ "deny"
2069
+ ],
2070
+ "additionalProperties": false
2043
2071
  }
2044
2072
  },
2045
2073
  "additionalProperties": false