@platformatic/service 3.8.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 +7 -7
- package/schema.json +41 -2
package/config.d.ts
CHANGED
|
@@ -520,6 +520,7 @@ export interface PlatformaticServiceConfig {
|
|
|
520
520
|
};
|
|
521
521
|
};
|
|
522
522
|
plugins?: string[];
|
|
523
|
+
timeout?: number | string;
|
|
523
524
|
};
|
|
524
525
|
telemetry?: {
|
|
525
526
|
enabled?: boolean | string;
|
|
@@ -608,6 +609,7 @@ export interface PlatformaticServiceConfig {
|
|
|
608
609
|
timeWindowSec?: number;
|
|
609
610
|
cooldownSec?: number;
|
|
610
611
|
scaleIntervalSec?: number;
|
|
612
|
+
gracePeriod?: number;
|
|
611
613
|
};
|
|
612
614
|
inspectorOptions?: {
|
|
613
615
|
host?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.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.
|
|
71
|
-
"@platformatic/foundation": "3.
|
|
72
|
-
"@platformatic/generators": "3.
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/
|
|
75
|
-
"@platformatic/
|
|
70
|
+
"@platformatic/basic": "3.10.0",
|
|
71
|
+
"@platformatic/foundation": "3.10.0",
|
|
72
|
+
"@platformatic/generators": "3.10.0",
|
|
73
|
+
"@platformatic/metrics": "3.10.0",
|
|
74
|
+
"@platformatic/scalar-theme": "3.10.0",
|
|
75
|
+
"@platformatic/telemetry": "3.10.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.
|
|
3
|
-
"version": "3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.10.0.json",
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"title": "Platformatic Service Config",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1213,6 +1213,30 @@
|
|
|
1213
1213
|
"nodeOptions": {
|
|
1214
1214
|
"type": "string"
|
|
1215
1215
|
},
|
|
1216
|
+
"permissions": {
|
|
1217
|
+
"type": "object",
|
|
1218
|
+
"properties": {
|
|
1219
|
+
"fs": {
|
|
1220
|
+
"type": "object",
|
|
1221
|
+
"properties": {
|
|
1222
|
+
"read": {
|
|
1223
|
+
"type": "array",
|
|
1224
|
+
"items": {
|
|
1225
|
+
"type": "string"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"write": {
|
|
1229
|
+
"type": "array",
|
|
1230
|
+
"items": {
|
|
1231
|
+
"type": "string"
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"additionalProperties": false
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"additionalProperties": false
|
|
1239
|
+
},
|
|
1216
1240
|
"telemetry": {
|
|
1217
1241
|
"type": "object",
|
|
1218
1242
|
"properties": {
|
|
@@ -2023,6 +2047,17 @@
|
|
|
2023
2047
|
}
|
|
2024
2048
|
]
|
|
2025
2049
|
}
|
|
2050
|
+
},
|
|
2051
|
+
"timeout": {
|
|
2052
|
+
"anyOf": [
|
|
2053
|
+
{
|
|
2054
|
+
"type": "integer"
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"type": "string"
|
|
2058
|
+
}
|
|
2059
|
+
],
|
|
2060
|
+
"default": 10000
|
|
2026
2061
|
}
|
|
2027
2062
|
},
|
|
2028
2063
|
"additionalProperties": false
|
|
@@ -2204,6 +2239,10 @@
|
|
|
2204
2239
|
"scaleIntervalSec": {
|
|
2205
2240
|
"type": "number",
|
|
2206
2241
|
"minimum": 0
|
|
2242
|
+
},
|
|
2243
|
+
"gracePeriod": {
|
|
2244
|
+
"type": "number",
|
|
2245
|
+
"minimum": 0
|
|
2207
2246
|
}
|
|
2208
2247
|
},
|
|
2209
2248
|
"additionalProperties": false
|