@platformatic/runtime 3.49.1 → 3.51.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/index.d.ts +16 -16
- package/package.json +19 -17
- package/schema.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { BaseGenerator } from '@platformatic/generators'
|
|
|
4
4
|
import { JSONSchemaType } from 'ajv'
|
|
5
5
|
import * as colorette from 'colorette'
|
|
6
6
|
import { Logger } from 'pino'
|
|
7
|
-
import { PlatformaticRuntimeConfig } from './config'
|
|
7
|
+
import { PlatformaticRuntimeConfig } from './config.js'
|
|
8
8
|
|
|
9
9
|
export type RuntimeConfiguration = Promise<Configuration<PlatformaticRuntimeConfig>>
|
|
10
10
|
|
|
@@ -48,21 +48,21 @@ export namespace errors {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export namespace symbols {
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
65
|
-
export
|
|
51
|
+
export const kConfig: unique symbol
|
|
52
|
+
export const kId: unique symbol
|
|
53
|
+
export const kFullId: unique symbol
|
|
54
|
+
export const kApplicationId: unique symbol
|
|
55
|
+
export const kWorkerId: unique symbol
|
|
56
|
+
export const kITC: unique symbol
|
|
57
|
+
export const kHealthCheckTimer: unique symbol
|
|
58
|
+
export const kHealthMetricsTimer: unique symbol
|
|
59
|
+
export const kLastHealthCheckELU: unique symbol
|
|
60
|
+
export const kLastWorkerScalerELU: unique symbol
|
|
61
|
+
export const kWorkerStatus: unique symbol
|
|
62
|
+
export const kWorkerHealthSignals: unique symbol
|
|
63
|
+
export const kStderrMarker: string
|
|
64
|
+
export const kInterceptors: unique symbol
|
|
65
|
+
export const kWorkersBroadcast: unique symbol
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export interface InjectParams {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.51.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,24 +25,25 @@
|
|
|
25
25
|
"eslint": "9",
|
|
26
26
|
"execa": "^9.0.0",
|
|
27
27
|
"express": "^4.18.3",
|
|
28
|
-
"fast-jwt": "^
|
|
28
|
+
"fast-jwt": "^6.0.0",
|
|
29
29
|
"get-port": "^7.1.0",
|
|
30
30
|
"inspector-client": "^0.2.0",
|
|
31
31
|
"json-schema-to-typescript": "^15.0.0",
|
|
32
32
|
"neostandard": "^0.12.0",
|
|
33
33
|
"pino-abstract-transport": "^2.0.0",
|
|
34
34
|
"split2": "^4.2.0",
|
|
35
|
+
"tstyche": "^6.2.0",
|
|
35
36
|
"typescript": "^5.5.4",
|
|
36
37
|
"undici-oidc-interceptor": "^0.5.0",
|
|
37
38
|
"why-is-node-running": "^2.2.2",
|
|
38
|
-
"@platformatic/composer": "3.
|
|
39
|
-
"@platformatic/
|
|
40
|
-
"@platformatic/node": "3.
|
|
41
|
-
"@platformatic/
|
|
42
|
-
"@platformatic/sql-graphql": "3.
|
|
43
|
-
"@platformatic/
|
|
44
|
-
"@platformatic/sql-mapper": "3.
|
|
45
|
-
"@platformatic/wattpm-pprof-capture": "3.
|
|
39
|
+
"@platformatic/composer": "3.51.0",
|
|
40
|
+
"@platformatic/db": "3.51.0",
|
|
41
|
+
"@platformatic/node": "3.51.0",
|
|
42
|
+
"@platformatic/service": "3.51.0",
|
|
43
|
+
"@platformatic/sql-graphql": "3.51.0",
|
|
44
|
+
"@platformatic/gateway": "3.51.0",
|
|
45
|
+
"@platformatic/sql-mapper": "3.51.0",
|
|
46
|
+
"@platformatic/wattpm-pprof-capture": "3.51.0"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
49
|
"@fastify/accepts": "^5.0.0",
|
|
@@ -72,23 +73,24 @@
|
|
|
72
73
|
"undici": "^7.0.0",
|
|
73
74
|
"undici-thread-interceptor": "^1.3.1",
|
|
74
75
|
"ws": "^8.16.0",
|
|
75
|
-
"@platformatic/
|
|
76
|
-
"@platformatic/
|
|
77
|
-
"@platformatic/
|
|
78
|
-
"@platformatic/
|
|
79
|
-
"@platformatic/
|
|
80
|
-
"@platformatic/
|
|
76
|
+
"@platformatic/basic": "3.51.0",
|
|
77
|
+
"@platformatic/generators": "3.51.0",
|
|
78
|
+
"@platformatic/foundation": "3.51.0",
|
|
79
|
+
"@platformatic/metrics": "3.51.0",
|
|
80
|
+
"@platformatic/itc": "3.51.0",
|
|
81
|
+
"@platformatic/telemetry": "3.51.0"
|
|
81
82
|
},
|
|
82
83
|
"engines": {
|
|
83
84
|
"node": ">=22.19.0"
|
|
84
85
|
},
|
|
85
86
|
"scripts": {
|
|
86
|
-
"test": "npm run test:main && npm run test:api && npm run test:cli && npm run test:start && npm run test:multiple-workers",
|
|
87
|
+
"test": "npm run test:types && npm run test:main && npm run test:api && npm run test:cli && npm run test:start && npm run test:multiple-workers",
|
|
87
88
|
"test:main": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/versions/*.test.js",
|
|
88
89
|
"test:api": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/api/*.test.js test/management-api/*.test.js",
|
|
89
90
|
"test:cli": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/cli/*.test.js test/cli/**/*.test.js",
|
|
90
91
|
"test:start": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/start/*.test.js",
|
|
91
92
|
"test:multiple-workers": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/multiple-workers/*.test.js",
|
|
93
|
+
"test:types": "tstyche",
|
|
92
94
|
"gen-schema": "node lib/schema.js > schema.json",
|
|
93
95
|
"gen-types": "json2ts > config.d.ts < schema.json",
|
|
94
96
|
"build": "npm run gen-schema && npm run gen-types",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.51.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Runtime Config",
|
|
5
5
|
"type": "object",
|