@platformatic/composer 3.9.0 → 3.10.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 +2 -0
- package/package.json +3 -3
- package/schema.json +40 -1
package/config.d.ts
CHANGED
|
@@ -385,6 +385,7 @@ export interface PlatformaticComposerConfig {
|
|
|
385
385
|
};
|
|
386
386
|
};
|
|
387
387
|
plugins?: string[];
|
|
388
|
+
timeout?: number | string;
|
|
388
389
|
};
|
|
389
390
|
telemetry?: {
|
|
390
391
|
enabled?: boolean | string;
|
|
@@ -473,6 +474,7 @@ export interface PlatformaticComposerConfig {
|
|
|
473
474
|
timeWindowSec?: number;
|
|
474
475
|
cooldownSec?: number;
|
|
475
476
|
scaleIntervalSec?: number;
|
|
477
|
+
gracePeriod?: number;
|
|
476
478
|
};
|
|
477
479
|
inspectorOptions?: {
|
|
478
480
|
host?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/composer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.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/foundation": "3.
|
|
27
|
-
"@platformatic/gateway": "3.
|
|
26
|
+
"@platformatic/foundation": "3.10.0",
|
|
27
|
+
"@platformatic/gateway": "3.10.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.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/composer/3.10.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Composer Config",
|
|
5
5
|
"type": "object",
|
|
@@ -887,6 +887,30 @@
|
|
|
887
887
|
"nodeOptions": {
|
|
888
888
|
"type": "string"
|
|
889
889
|
},
|
|
890
|
+
"permissions": {
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {
|
|
893
|
+
"fs": {
|
|
894
|
+
"type": "object",
|
|
895
|
+
"properties": {
|
|
896
|
+
"read": {
|
|
897
|
+
"type": "array",
|
|
898
|
+
"items": {
|
|
899
|
+
"type": "string"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"write": {
|
|
903
|
+
"type": "array",
|
|
904
|
+
"items": {
|
|
905
|
+
"type": "string"
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
"additionalProperties": false
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"additionalProperties": false
|
|
913
|
+
},
|
|
890
914
|
"telemetry": {
|
|
891
915
|
"type": "object",
|
|
892
916
|
"properties": {
|
|
@@ -1697,6 +1721,17 @@
|
|
|
1697
1721
|
}
|
|
1698
1722
|
]
|
|
1699
1723
|
}
|
|
1724
|
+
},
|
|
1725
|
+
"timeout": {
|
|
1726
|
+
"anyOf": [
|
|
1727
|
+
{
|
|
1728
|
+
"type": "integer"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"type": "string"
|
|
1732
|
+
}
|
|
1733
|
+
],
|
|
1734
|
+
"default": 10000
|
|
1700
1735
|
}
|
|
1701
1736
|
},
|
|
1702
1737
|
"additionalProperties": false
|
|
@@ -1878,6 +1913,10 @@
|
|
|
1878
1913
|
"scaleIntervalSec": {
|
|
1879
1914
|
"type": "number",
|
|
1880
1915
|
"minimum": 0
|
|
1916
|
+
},
|
|
1917
|
+
"gracePeriod": {
|
|
1918
|
+
"type": "number",
|
|
1919
|
+
"minimum": 0
|
|
1881
1920
|
}
|
|
1882
1921
|
},
|
|
1883
1922
|
"additionalProperties": false
|