@platformatic/db 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 +9 -0
- package/package.json +12 -12
- package/schema.json +29 -1
package/config.d.ts
CHANGED
|
@@ -812,6 +812,15 @@ export interface PlatformaticDatabaseConfig {
|
|
|
812
812
|
maxRetries?: number;
|
|
813
813
|
[k: string]: unknown;
|
|
814
814
|
}[];
|
|
815
|
+
policies?: {
|
|
816
|
+
deny: {
|
|
817
|
+
/**
|
|
818
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
819
|
+
* via the `patternProperty` "^.*$".
|
|
820
|
+
*/
|
|
821
|
+
[k: string]: string | [string, ...string[]];
|
|
822
|
+
};
|
|
823
|
+
};
|
|
815
824
|
};
|
|
816
825
|
watch?:
|
|
817
826
|
| {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/db",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
"rfdc": "^1.3.1",
|
|
67
67
|
"rimraf": "^4.4.1",
|
|
68
68
|
"semgrator": "^0.3.0",
|
|
69
|
-
"@platformatic/basic": "3.
|
|
70
|
-
"@platformatic/db-authorization": "3.
|
|
71
|
-
"@platformatic/
|
|
72
|
-
"@platformatic/
|
|
73
|
-
"@platformatic/service": "3.
|
|
74
|
-
"@platformatic/sql-
|
|
75
|
-
"@platformatic/sql-
|
|
76
|
-
"@platformatic/sql-json-schema-mapper": "3.
|
|
77
|
-
"@platformatic/sql-mapper": "3.
|
|
78
|
-
"@platformatic/telemetry": "3.
|
|
79
|
-
"@platformatic/sql-openapi": "3.
|
|
69
|
+
"@platformatic/basic": "3.13.0",
|
|
70
|
+
"@platformatic/db-authorization": "3.13.0",
|
|
71
|
+
"@platformatic/db-core": "3.13.0",
|
|
72
|
+
"@platformatic/foundation": "3.13.0",
|
|
73
|
+
"@platformatic/service": "3.13.0",
|
|
74
|
+
"@platformatic/sql-events": "3.13.0",
|
|
75
|
+
"@platformatic/sql-graphql": "3.13.0",
|
|
76
|
+
"@platformatic/sql-json-schema-mapper": "3.13.0",
|
|
77
|
+
"@platformatic/sql-mapper": "3.13.0",
|
|
78
|
+
"@platformatic/telemetry": "3.13.0",
|
|
79
|
+
"@platformatic/sql-openapi": "3.13.0"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/db/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/db/3.13.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Database Config",
|
|
5
5
|
"type": "object",
|
|
@@ -2677,6 +2677,34 @@
|
|
|
2677
2677
|
"callbackUrl"
|
|
2678
2678
|
]
|
|
2679
2679
|
}
|
|
2680
|
+
},
|
|
2681
|
+
"policies": {
|
|
2682
|
+
"type": "object",
|
|
2683
|
+
"properties": {
|
|
2684
|
+
"deny": {
|
|
2685
|
+
"type": "object",
|
|
2686
|
+
"patternProperties": {
|
|
2687
|
+
"^.*$": {
|
|
2688
|
+
"oneOf": [
|
|
2689
|
+
{
|
|
2690
|
+
"type": "string"
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"type": "array",
|
|
2694
|
+
"items": {
|
|
2695
|
+
"type": "string"
|
|
2696
|
+
},
|
|
2697
|
+
"minItems": 1
|
|
2698
|
+
}
|
|
2699
|
+
]
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
"required": [
|
|
2705
|
+
"deny"
|
|
2706
|
+
],
|
|
2707
|
+
"additionalProperties": false
|
|
2680
2708
|
}
|
|
2681
2709
|
},
|
|
2682
2710
|
"additionalProperties": false
|