@sockethub/schemas 3.0.0-alpha.12 → 3.0.0-alpha.14
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/dist/activity-stream-helper.d.ts +5 -0
- package/dist/activity-stream-helper.js +36 -0
- package/dist/activity-stream-helper.js.map +10 -0
- package/dist/context.d.ts +56 -0
- package/dist/context.js +20 -41
- package/dist/context.js.map +3 -3
- package/dist/helpers/error-parser.d.ts +13 -0
- package/dist/helpers/objects.d.ts +122 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +235 -218
- package/dist/index.js.map +12 -12
- package/dist/maps/context-map.json +2 -2
- package/dist/object-types.d.ts +2 -0
- package/dist/object-types.js +296 -0
- package/dist/object-types.js.map +12 -0
- package/dist/schemas/activity-stream.d.ts +161 -0
- package/dist/schemas/platform/feeds/v1/messages.schema.json +8 -17
- package/dist/schemas/platform/irc/v1/credentials.schema.json +71 -1
- package/dist/schemas/platform/irc/v1/messages.schema.json +84 -0
- package/dist/schemas/platform/metadata/v1/messages.schema.json +1 -16
- package/dist/schemas/platform/xmpp/v1/credentials.schema.json +2 -2
- package/dist/schemas/platform/xmpp/v1/messages.schema.json +108 -0
- package/dist/schemas/platform.d.ts +62 -0
- package/dist/schemas/sockethub-config.d.ts +316 -0
- package/{src/types.ts → dist/types.d.ts} +17 -45
- package/dist/validator.d.ts +26 -0
- package/package.json +13 -8
- package/src/context.ts +0 -125
- package/src/helpers/error-parser.ts +0 -160
- package/src/helpers/objects.ts +0 -283
- package/src/index.test.data.credentials.ts +0 -103
- package/src/index.test.data.objects.ts +0 -241
- package/src/index.test.data.platform.ts +0 -48
- package/src/index.test.data.streams.ts +0 -590
- package/src/index.test.ts +0 -127
- package/src/index.ts +0 -56
- package/src/schemas/activity-object.ts +0 -19
- package/src/schemas/activity-stream.ts +0 -75
- package/src/schemas/json/activity-object.json +0 -405
- package/src/schemas/json/activity-stream.json +0 -502
- package/src/schemas/json/platform.json +0 -48
- package/src/schemas/json/sockethub-config.json +0 -236
- package/src/schemas/platform.ts +0 -71
- package/src/schemas/sockethub-config.ts +0 -220
- package/src/types/ajv-formats-draft2019.d.ts +0 -5
- package/src/validator.ts +0 -207
|
@@ -14,6 +14,90 @@
|
|
|
14
14
|
"announce",
|
|
15
15
|
"disconnect"
|
|
16
16
|
]
|
|
17
|
+
},
|
|
18
|
+
"object": {
|
|
19
|
+
"oneOf": [
|
|
20
|
+
{
|
|
21
|
+
"$ref": "#/definitions/objectTypes/message"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"$ref": "#/definitions/objectTypes/topic"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"$ref": "#/definitions/objectTypes/address"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"$ref": "#/definitions/objectTypes/attendance"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"definitions": {
|
|
36
|
+
"objectTypes": {
|
|
37
|
+
"message": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": [
|
|
40
|
+
"type",
|
|
41
|
+
"content"
|
|
42
|
+
],
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"properties": {
|
|
45
|
+
"type": {
|
|
46
|
+
"enum": [
|
|
47
|
+
"message"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"content": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"topic": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"required": [
|
|
58
|
+
"type",
|
|
59
|
+
"content"
|
|
60
|
+
],
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"properties": {
|
|
63
|
+
"type": {
|
|
64
|
+
"enum": [
|
|
65
|
+
"topic"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"content": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"address": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"required": [
|
|
76
|
+
"type"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"properties": {
|
|
80
|
+
"type": {
|
|
81
|
+
"enum": [
|
|
82
|
+
"address"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"attendance": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"required": [
|
|
90
|
+
"type"
|
|
91
|
+
],
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"properties": {
|
|
94
|
+
"type": {
|
|
95
|
+
"enum": [
|
|
96
|
+
"attendance"
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
17
101
|
}
|
|
18
102
|
}
|
|
19
103
|
}
|
|
@@ -9,21 +9,6 @@
|
|
|
9
9
|
"fetch"
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
|
-
"object":
|
|
13
|
-
"type": "object",
|
|
14
|
-
"oneOf": [
|
|
15
|
-
{
|
|
16
|
-
"$ref": "#/definitions/objectTypes/feed-parameters-url"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"definitions": {
|
|
22
|
-
"objectTypes": {
|
|
23
|
-
"feed-parameters-url": {
|
|
24
|
-
"type": "object",
|
|
25
|
-
"additionalProperties": true
|
|
26
|
-
}
|
|
27
|
-
}
|
|
12
|
+
"object": false
|
|
28
13
|
}
|
|
29
14
|
}
|
|
@@ -16,6 +16,114 @@
|
|
|
16
16
|
"query",
|
|
17
17
|
"disconnect"
|
|
18
18
|
]
|
|
19
|
+
},
|
|
20
|
+
"object": {
|
|
21
|
+
"oneOf": [
|
|
22
|
+
{
|
|
23
|
+
"$ref": "#/definitions/objectTypes/message"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"$ref": "#/definitions/objectTypes/presence"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"$ref": "#/definitions/objectTypes/attendance"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"$ref": "#/definitions/objectTypes/room-info"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"definitions": {
|
|
38
|
+
"objectTypes": {
|
|
39
|
+
"message": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"required": [
|
|
42
|
+
"type",
|
|
43
|
+
"content"
|
|
44
|
+
],
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"properties": {
|
|
47
|
+
"type": {
|
|
48
|
+
"enum": [
|
|
49
|
+
"message"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"id": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"content": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"xmpp:replace": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"required": [
|
|
61
|
+
"id"
|
|
62
|
+
],
|
|
63
|
+
"additionalProperties": false,
|
|
64
|
+
"properties": {
|
|
65
|
+
"id": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"presence": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"required": [
|
|
75
|
+
"type"
|
|
76
|
+
],
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"properties": {
|
|
79
|
+
"type": {
|
|
80
|
+
"enum": [
|
|
81
|
+
"presence"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"presence": {
|
|
85
|
+
"enum": [
|
|
86
|
+
"away",
|
|
87
|
+
"chat",
|
|
88
|
+
"dnd",
|
|
89
|
+
"xa",
|
|
90
|
+
"offline",
|
|
91
|
+
"online"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"content": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"attendance": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"required": [
|
|
102
|
+
"type"
|
|
103
|
+
],
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"properties": {
|
|
106
|
+
"type": {
|
|
107
|
+
"enum": [
|
|
108
|
+
"attendance"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"room-info": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"required": [
|
|
116
|
+
"type"
|
|
117
|
+
],
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"properties": {
|
|
120
|
+
"type": {
|
|
121
|
+
"enum": [
|
|
122
|
+
"room-info"
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
19
127
|
}
|
|
20
128
|
}
|
|
21
129
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of Sockethub.
|
|
3
|
+
*
|
|
4
|
+
* Developed by Nick Jennings (https://github.com/silverbucket)
|
|
5
|
+
*
|
|
6
|
+
* server is licensed under the LGPL.
|
|
7
|
+
* See the LICENSE file for details.
|
|
8
|
+
*
|
|
9
|
+
* The latest version of server can be found here:
|
|
10
|
+
* git://github.com/sockethub/sockethub.git
|
|
11
|
+
*
|
|
12
|
+
* For more information about Sockethub visit https://sockethub.org/.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PlatformSchema: {
|
|
19
|
+
$id: string;
|
|
20
|
+
type: string;
|
|
21
|
+
required: string[];
|
|
22
|
+
additionalProperties: boolean;
|
|
23
|
+
properties: {
|
|
24
|
+
contextUrl: {
|
|
25
|
+
title: string;
|
|
26
|
+
type: string;
|
|
27
|
+
format: string;
|
|
28
|
+
};
|
|
29
|
+
contextVersion: {
|
|
30
|
+
title: string;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
schemaVersion: {
|
|
34
|
+
title: string;
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
messageConstraints: {
|
|
38
|
+
title: string;
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
credentials: {
|
|
42
|
+
title: string;
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
messages: {
|
|
46
|
+
title: string;
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
responses: {
|
|
50
|
+
title: string;
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
name: {
|
|
54
|
+
title: string;
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
version: {
|
|
58
|
+
title: string;
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
export declare const SockethubConfigSchema: {
|
|
2
|
+
$id: string;
|
|
3
|
+
description: string;
|
|
4
|
+
type: string;
|
|
5
|
+
required: string[];
|
|
6
|
+
additionalProperties: boolean;
|
|
7
|
+
properties: {
|
|
8
|
+
$schema: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
examples: {
|
|
12
|
+
type: string;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
info: {
|
|
16
|
+
type: string;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
logging: {
|
|
20
|
+
type: string;
|
|
21
|
+
additionalProperties: boolean;
|
|
22
|
+
properties: {
|
|
23
|
+
level: {
|
|
24
|
+
type: string;
|
|
25
|
+
enum: string[];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
fileLevel: {
|
|
29
|
+
type: string;
|
|
30
|
+
enum: string[];
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
file: {
|
|
34
|
+
type: string;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
platforms: {
|
|
40
|
+
type: string;
|
|
41
|
+
items: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
default: string[];
|
|
45
|
+
};
|
|
46
|
+
packageConfig: {
|
|
47
|
+
type: string;
|
|
48
|
+
properties: {
|
|
49
|
+
"@sockethub/platform-dummy": {
|
|
50
|
+
type: string;
|
|
51
|
+
additionalProperties: boolean;
|
|
52
|
+
properties: {
|
|
53
|
+
greeting: {
|
|
54
|
+
type: string;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
"@sockethub/platform-feeds": {
|
|
60
|
+
type: string;
|
|
61
|
+
additionalProperties: boolean;
|
|
62
|
+
properties: {
|
|
63
|
+
connectTimeoutMs: {
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
allowPrivateAddresses: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
concurrency: {
|
|
70
|
+
type: string;
|
|
71
|
+
minimum: number;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
"@sockethub/platform-irc": {
|
|
76
|
+
type: string;
|
|
77
|
+
additionalProperties: boolean;
|
|
78
|
+
properties: {
|
|
79
|
+
connectTimeoutMs: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
"@sockethub/platform-xmpp": {
|
|
85
|
+
type: string;
|
|
86
|
+
additionalProperties: boolean;
|
|
87
|
+
properties: {
|
|
88
|
+
connectTimeoutMs: {
|
|
89
|
+
type: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
"@sockethub/platform-metadata": {
|
|
94
|
+
type: string;
|
|
95
|
+
additionalProperties: boolean;
|
|
96
|
+
properties: {
|
|
97
|
+
allowPrivateAddresses: {
|
|
98
|
+
type: string;
|
|
99
|
+
};
|
|
100
|
+
concurrency: {
|
|
101
|
+
type: string;
|
|
102
|
+
minimum: number;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
credentials: {
|
|
109
|
+
type: string;
|
|
110
|
+
additionalProperties: boolean;
|
|
111
|
+
properties: {
|
|
112
|
+
ttlMs: {
|
|
113
|
+
type: string;
|
|
114
|
+
minimum: number;
|
|
115
|
+
default: number;
|
|
116
|
+
description: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
credentialCheck: {
|
|
121
|
+
type: string;
|
|
122
|
+
additionalProperties: boolean;
|
|
123
|
+
properties: {
|
|
124
|
+
reconnectIpSource: {
|
|
125
|
+
type: string;
|
|
126
|
+
enum: string[];
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
proxyHeader: {
|
|
130
|
+
type: string;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
public: {
|
|
136
|
+
type: string;
|
|
137
|
+
additionalProperties: boolean;
|
|
138
|
+
properties: {
|
|
139
|
+
protocol: {
|
|
140
|
+
type: string;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
host: {
|
|
144
|
+
type: string;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
port: {
|
|
148
|
+
type: string;
|
|
149
|
+
default: number;
|
|
150
|
+
};
|
|
151
|
+
path: {
|
|
152
|
+
type: string;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
rateLimiter: {
|
|
158
|
+
type: string;
|
|
159
|
+
additionalProperties: boolean;
|
|
160
|
+
properties: {
|
|
161
|
+
windowMs: {
|
|
162
|
+
type: string;
|
|
163
|
+
default: number;
|
|
164
|
+
};
|
|
165
|
+
maxRequests: {
|
|
166
|
+
type: string;
|
|
167
|
+
default: number;
|
|
168
|
+
};
|
|
169
|
+
blockDurationMs: {
|
|
170
|
+
type: string;
|
|
171
|
+
default: number;
|
|
172
|
+
};
|
|
173
|
+
maxConnectionsPerIp: {
|
|
174
|
+
type: string;
|
|
175
|
+
minimum: number;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
limits: {
|
|
181
|
+
type: string;
|
|
182
|
+
additionalProperties: boolean;
|
|
183
|
+
properties: {
|
|
184
|
+
maxPlatformInstances: {
|
|
185
|
+
type: string;
|
|
186
|
+
minimum: number;
|
|
187
|
+
default: number;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
redis: {
|
|
192
|
+
type: string;
|
|
193
|
+
additionalProperties: boolean;
|
|
194
|
+
properties: {
|
|
195
|
+
url: {
|
|
196
|
+
type: string;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
connectTimeout: {
|
|
200
|
+
type: string;
|
|
201
|
+
default: number;
|
|
202
|
+
description: string;
|
|
203
|
+
};
|
|
204
|
+
disconnectTimeout: {
|
|
205
|
+
type: string;
|
|
206
|
+
default: number;
|
|
207
|
+
description: string;
|
|
208
|
+
};
|
|
209
|
+
maxRetriesPerRequest: {
|
|
210
|
+
type: string[];
|
|
211
|
+
default: number | null;
|
|
212
|
+
description: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
sentry: {
|
|
217
|
+
type: string;
|
|
218
|
+
additionalProperties: boolean;
|
|
219
|
+
properties: {
|
|
220
|
+
dsn: {
|
|
221
|
+
type: string;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
traceSampleRate: {
|
|
225
|
+
type: string;
|
|
226
|
+
default: number;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
sockethub: {
|
|
231
|
+
type: string;
|
|
232
|
+
additionalProperties: boolean;
|
|
233
|
+
properties: {
|
|
234
|
+
port: {
|
|
235
|
+
type: string;
|
|
236
|
+
default: number;
|
|
237
|
+
};
|
|
238
|
+
host: {
|
|
239
|
+
type: string;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
path: {
|
|
243
|
+
type: string;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
cors: {
|
|
247
|
+
type: string;
|
|
248
|
+
additionalProperties: boolean;
|
|
249
|
+
properties: {
|
|
250
|
+
origin: {
|
|
251
|
+
type: string;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
httpActions: {
|
|
259
|
+
type: string;
|
|
260
|
+
additionalProperties: boolean;
|
|
261
|
+
properties: {
|
|
262
|
+
enabled: {
|
|
263
|
+
type: string;
|
|
264
|
+
default: boolean;
|
|
265
|
+
};
|
|
266
|
+
path: {
|
|
267
|
+
type: string;
|
|
268
|
+
default: string;
|
|
269
|
+
};
|
|
270
|
+
requireRequestId: {
|
|
271
|
+
type: string;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
maxMessagesPerRequest: {
|
|
275
|
+
type: string;
|
|
276
|
+
minimum: number;
|
|
277
|
+
default: number;
|
|
278
|
+
};
|
|
279
|
+
maxPayloadBytes: {
|
|
280
|
+
type: string;
|
|
281
|
+
minimum: number;
|
|
282
|
+
default: number;
|
|
283
|
+
};
|
|
284
|
+
idempotencyTtlMs: {
|
|
285
|
+
type: string;
|
|
286
|
+
minimum: number;
|
|
287
|
+
default: number;
|
|
288
|
+
};
|
|
289
|
+
requestTimeoutMs: {
|
|
290
|
+
type: string;
|
|
291
|
+
minimum: number;
|
|
292
|
+
default: number;
|
|
293
|
+
};
|
|
294
|
+
idleTimeoutMs: {
|
|
295
|
+
type: string;
|
|
296
|
+
minimum: number;
|
|
297
|
+
default: number;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
platformHeartbeat: {
|
|
302
|
+
type: string;
|
|
303
|
+
additionalProperties: boolean;
|
|
304
|
+
properties: {
|
|
305
|
+
intervalMs: {
|
|
306
|
+
type: string;
|
|
307
|
+
default: number;
|
|
308
|
+
};
|
|
309
|
+
timeoutMs: {
|
|
310
|
+
type: string;
|
|
311
|
+
default: number;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|