@platformatic/runtime 2.31.0 → 2.32.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 +1 -1
- package/lib/runtime.js +6 -6
- package/package.json +14 -14
- package/schema.json +1 -1
package/config.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type HttpsSchemasPlatformaticDevPlatformaticRuntime2320Json = {
|
|
9
9
|
[k: string]: unknown;
|
|
10
10
|
} & {
|
|
11
11
|
$schema?: string;
|
package/lib/runtime.js
CHANGED
|
@@ -637,18 +637,18 @@ class Runtime extends EventEmitter {
|
|
|
637
637
|
return serviceDetails
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
async getService (id) {
|
|
641
|
-
return this.#getServiceById(id,
|
|
640
|
+
async getService (id, ensureStarted = true) {
|
|
641
|
+
return this.#getServiceById(id, ensureStarted)
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
async getServiceConfig (id) {
|
|
645
|
-
const service = await this.#getServiceById(id,
|
|
644
|
+
async getServiceConfig (id, ensureStarted = true) {
|
|
645
|
+
const service = await this.#getServiceById(id, ensureStarted)
|
|
646
646
|
|
|
647
647
|
return sendViaITC(service, 'getServiceConfig')
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
async getServiceEnv (id) {
|
|
651
|
-
const service = await this.#getServiceById(id,
|
|
650
|
+
async getServiceEnv (id, ensureStarted = true) {
|
|
651
|
+
const service = await this.#getServiceById(id, ensureStarted)
|
|
652
652
|
|
|
653
653
|
return sendViaITC(service, 'getServiceEnv')
|
|
654
654
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"typescript": "^5.5.4",
|
|
36
36
|
"undici-oidc-interceptor": "^0.5.0",
|
|
37
37
|
"why-is-node-running": "^2.2.2",
|
|
38
|
-
"@platformatic/composer": "2.
|
|
39
|
-
"@platformatic/db": "2.
|
|
40
|
-
"@platformatic/node": "2.
|
|
41
|
-
"@platformatic/service": "2.
|
|
42
|
-
"@platformatic/sql-
|
|
43
|
-
"@platformatic/sql-
|
|
38
|
+
"@platformatic/composer": "2.32.0",
|
|
39
|
+
"@platformatic/db": "2.32.0",
|
|
40
|
+
"@platformatic/node": "2.32.0",
|
|
41
|
+
"@platformatic/service": "2.32.0",
|
|
42
|
+
"@platformatic/sql-graphql": "2.32.0",
|
|
43
|
+
"@platformatic/sql-mapper": "2.32.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@fastify/accepts": "^5.0.0",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"undici": "^7.0.0",
|
|
75
75
|
"undici-thread-interceptor": "^0.10.3",
|
|
76
76
|
"ws": "^8.16.0",
|
|
77
|
-
"@platformatic/basic": "2.
|
|
78
|
-
"@platformatic/
|
|
79
|
-
"@platformatic/
|
|
80
|
-
"@platformatic/itc": "2.
|
|
81
|
-
"@platformatic/
|
|
82
|
-
"@platformatic/
|
|
83
|
-
"@platformatic/utils": "2.
|
|
77
|
+
"@platformatic/basic": "2.32.0",
|
|
78
|
+
"@platformatic/generators": "2.32.0",
|
|
79
|
+
"@platformatic/config": "2.32.0",
|
|
80
|
+
"@platformatic/itc": "2.32.0",
|
|
81
|
+
"@platformatic/ts-compiler": "2.32.0",
|
|
82
|
+
"@platformatic/telemetry": "2.32.0",
|
|
83
|
+
"@platformatic/utils": "2.32.0"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"test": "npm run lint && borp --concurrency=1 --timeout=300000 && tsd",
|
package/schema.json
CHANGED