Skip to content

Commit 61ea6de

Browse files
committed
Extend intersystems.servers objects to contain optional superServer object
1 parent ec86c62 commit 61ea6de

File tree

4 files changed

+43
-1
lines changed

4 files changed

+43
-1
lines changed

package.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,38 @@
181181
],
182182
"additionalProperties": false
183183
},
184+
"superServer": {
185+
"type": "object",
186+
"description": "InterSystems server's superserver.",
187+
"properties": {
188+
"host": {
189+
"type": "string",
190+
"description": "Hostname or IP address of the InterSystems server. If omitted, use the value of 'webServer.host'.",
191+
"anyOf": [
192+
{
193+
"format": "hostname"
194+
},
195+
{
196+
"format": "ipv4"
197+
},
198+
{
199+
"format": "ipv6"
200+
}
201+
]
202+
},
203+
"port": {
204+
"type": "integer",
205+
"description": "TCP port number the superserver listens on.",
206+
"minimum": 1,
207+
"maximum": 65535,
208+
"default": 1972
209+
}
210+
},
211+
"required": [
212+
"port"
213+
],
214+
"additionalProperties": false
215+
},
184216
"username": {
185217
"type": "string",
186218
"description": "Username to connect as. If not set here it must be provided when connecting."

types/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Package defining the interfaces used in the API that is published by the `inters
66

77
# Changelog
88

9+
### v3.4.1
10+
11+
- Add optional `superServer` object.
12+
913
### v3.0.4
1014

1115
- Export constants correctly.

types/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@ export interface IWebServerSpec {
1414
pathPrefix?: string;
1515
}
1616

17+
export interface ISuperServerSpec {
18+
host?: string;
19+
port: number;
20+
}
21+
1722
export interface IJSONServerSpec {
1823
webServer: IWebServerSpec;
24+
superServer?: ISuperServerSpec;
1925
username?: string;
2026
password?: string;
2127
description?: string;

types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@intersystems-community/intersystems-servermanager",
3-
"version": "3.0.4",
3+
"version": "3.4.1",
44
"description": "InterSystems Server Manager VS Code extension API interfaces and constants",
55
"types": "index.d.ts",
66
"main": "index.js",

0 commit comments

Comments
 (0)