@platformatic/service 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.
package/config.d.ts CHANGED
@@ -642,6 +642,15 @@ export interface PlatformaticServiceConfig {
642
642
  maxRetries?: number;
643
643
  [k: string]: unknown;
644
644
  }[];
645
+ policies?: {
646
+ deny: {
647
+ /**
648
+ * This interface was referenced by `undefined`'s JSON-Schema definition
649
+ * via the `patternProperty` "^.*$".
650
+ */
651
+ [k: string]: string | [string, ...string[]];
652
+ };
653
+ };
645
654
  };
646
655
  }
647
656
  export interface Info {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "3.11.0",
3
+ "version": "3.13.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -67,12 +67,12 @@
67
67
  "rfdc": "^1.3.1",
68
68
  "semgrator": "^0.3.0",
69
69
  "undici": "^7.0.0",
70
- "@platformatic/basic": "3.11.0",
71
- "@platformatic/foundation": "3.11.0",
72
- "@platformatic/generators": "3.11.0",
73
- "@platformatic/scalar-theme": "3.11.0",
74
- "@platformatic/metrics": "3.11.0",
75
- "@platformatic/telemetry": "3.11.0"
70
+ "@platformatic/basic": "3.13.0",
71
+ "@platformatic/foundation": "3.13.0",
72
+ "@platformatic/generators": "3.13.0",
73
+ "@platformatic/metrics": "3.13.0",
74
+ "@platformatic/scalar-theme": "3.13.0",
75
+ "@platformatic/telemetry": "3.13.0"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/service/3.11.0.json",
3
- "version": "3.11.0",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/service/3.13.0.json",
3
+ "version": "3.13.0",
4
4
  "title": "Platformatic Service Config",
5
5
  "type": "object",
6
6
  "properties": {
@@ -2366,6 +2366,34 @@
2366
2366
  "callbackUrl"
2367
2367
  ]
2368
2368
  }
2369
+ },
2370
+ "policies": {
2371
+ "type": "object",
2372
+ "properties": {
2373
+ "deny": {
2374
+ "type": "object",
2375
+ "patternProperties": {
2376
+ "^.*$": {
2377
+ "oneOf": [
2378
+ {
2379
+ "type": "string"
2380
+ },
2381
+ {
2382
+ "type": "array",
2383
+ "items": {
2384
+ "type": "string"
2385
+ },
2386
+ "minItems": 1
2387
+ }
2388
+ ]
2389
+ }
2390
+ }
2391
+ }
2392
+ },
2393
+ "required": [
2394
+ "deny"
2395
+ ],
2396
+ "additionalProperties": false
2369
2397
  }
2370
2398
  },
2371
2399
  "additionalProperties": false