@myko/core 4.8.1 → 4.11.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/dist/client.d.ts +30 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +281 -96
- package/dist/generated/MykoMessage.d.ts +0 -5
- package/dist/generated/MykoMessage.d.ts.map +1 -1
- package/dist/generated/SearchServer.d.ts +10 -0
- package/dist/generated/SearchServer.d.ts.map +1 -0
- package/dist/generated/SearchServer.js +2 -0
- package/dist/generated/SearchServerResult.d.ts +5 -0
- package/dist/generated/SearchServerResult.d.ts.map +1 -0
- package/dist/generated/SearchServerResult.js +1 -0
- package/dist/generated/index.d.ts +206 -197
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +138 -131
- package/package.json +2 -2
package/dist/generated/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
// Auto-generated by type_gen - do not edit manually
|
|
2
2
|
export * from "./serde_json/JsonValue";
|
|
3
3
|
// Query classes
|
|
4
|
-
export class
|
|
5
|
-
static queryId = "
|
|
6
|
-
static queryItemType = "
|
|
7
|
-
queryId = "
|
|
8
|
-
queryItemType = "
|
|
4
|
+
export class GetClientsByQuery {
|
|
5
|
+
static queryId = "GetClientsByQuery";
|
|
6
|
+
static queryItemType = "Client";
|
|
7
|
+
queryId = "GetClientsByQuery";
|
|
8
|
+
queryItemType = "Client";
|
|
9
9
|
query;
|
|
10
10
|
constructor(args) {
|
|
11
11
|
this.query = args;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class
|
|
15
|
-
static queryId = "
|
|
16
|
-
static queryItemType = "
|
|
17
|
-
queryId = "
|
|
18
|
-
queryItemType = "
|
|
14
|
+
export class GetClientsByIds {
|
|
15
|
+
static queryId = "GetClientsByIds";
|
|
16
|
+
static queryItemType = "Client";
|
|
17
|
+
queryId = "GetClientsByIds";
|
|
18
|
+
queryItemType = "Client";
|
|
19
19
|
query;
|
|
20
20
|
constructor(args) {
|
|
21
21
|
this.query = args;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
export class
|
|
25
|
-
static queryId = "
|
|
26
|
-
static queryItemType = "
|
|
27
|
-
queryId = "
|
|
28
|
-
queryItemType = "
|
|
24
|
+
export class GetAllClients {
|
|
25
|
+
static queryId = "GetAllClients";
|
|
26
|
+
static queryItemType = "Client";
|
|
27
|
+
queryId = "GetAllClients";
|
|
28
|
+
queryItemType = "Client";
|
|
29
29
|
query;
|
|
30
30
|
constructor(args) {
|
|
31
31
|
this.query = args;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
export class
|
|
35
|
-
static queryId = "
|
|
34
|
+
export class GetServersByIds {
|
|
35
|
+
static queryId = "GetServersByIds";
|
|
36
36
|
static queryItemType = "Server";
|
|
37
|
-
queryId = "
|
|
37
|
+
queryId = "GetServersByIds";
|
|
38
38
|
queryItemType = "Server";
|
|
39
39
|
query;
|
|
40
40
|
constructor(args) {
|
|
@@ -51,31 +51,31 @@ export class GetPeerServers {
|
|
|
51
51
|
this.query = args;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
export class
|
|
55
|
-
static queryId = "
|
|
56
|
-
static queryItemType = "
|
|
57
|
-
queryId = "
|
|
58
|
-
queryItemType = "
|
|
54
|
+
export class GetServersByQuery {
|
|
55
|
+
static queryId = "GetServersByQuery";
|
|
56
|
+
static queryItemType = "Server";
|
|
57
|
+
queryId = "GetServersByQuery";
|
|
58
|
+
queryItemType = "Server";
|
|
59
59
|
query;
|
|
60
60
|
constructor(args) {
|
|
61
61
|
this.query = args;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
export class
|
|
65
|
-
static queryId = "
|
|
66
|
-
static queryItemType = "
|
|
67
|
-
queryId = "
|
|
68
|
-
queryItemType = "
|
|
64
|
+
export class GetConnectedServer {
|
|
65
|
+
static queryId = "GetConnectedServer";
|
|
66
|
+
static queryItemType = "Server";
|
|
67
|
+
queryId = "GetConnectedServer";
|
|
68
|
+
queryItemType = "Server";
|
|
69
69
|
query;
|
|
70
70
|
constructor(args) {
|
|
71
71
|
this.query = args;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
export class
|
|
75
|
-
static queryId = "
|
|
76
|
-
static queryItemType = "
|
|
77
|
-
queryId = "
|
|
78
|
-
queryItemType = "
|
|
74
|
+
export class GetAllServers {
|
|
75
|
+
static queryId = "GetAllServers";
|
|
76
|
+
static queryItemType = "Server";
|
|
77
|
+
queryId = "GetAllServers";
|
|
78
|
+
queryItemType = "Server";
|
|
79
79
|
query;
|
|
80
80
|
constructor(args) {
|
|
81
81
|
this.query = args;
|
|
@@ -83,186 +83,194 @@ export class GetClientsByQuery {
|
|
|
83
83
|
}
|
|
84
84
|
// View classes
|
|
85
85
|
// Report classes
|
|
86
|
-
export class
|
|
87
|
-
static reportId = "
|
|
88
|
-
reportId = "
|
|
86
|
+
export class EntitySnapshotDifference {
|
|
87
|
+
static reportId = "EntitySnapshotDifference";
|
|
88
|
+
reportId = "EntitySnapshotDifference";
|
|
89
89
|
report;
|
|
90
90
|
constructor(args) {
|
|
91
91
|
this.report = args;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
export class
|
|
95
|
-
static reportId = "
|
|
96
|
-
reportId = "
|
|
94
|
+
export class ChildEntities {
|
|
95
|
+
static reportId = "ChildEntities";
|
|
96
|
+
reportId = "ChildEntities";
|
|
97
97
|
report;
|
|
98
98
|
constructor(args) {
|
|
99
99
|
this.report = args;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
export class
|
|
103
|
-
static reportId = "
|
|
104
|
-
reportId = "
|
|
102
|
+
export class ServerLogLevel {
|
|
103
|
+
static reportId = "ServerLogLevel";
|
|
104
|
+
reportId = "ServerLogLevel";
|
|
105
105
|
report;
|
|
106
106
|
constructor(args) {
|
|
107
107
|
this.report = args;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
export class
|
|
111
|
-
static reportId = "
|
|
112
|
-
reportId = "
|
|
110
|
+
export class Loggers {
|
|
111
|
+
static reportId = "Loggers";
|
|
112
|
+
reportId = "Loggers";
|
|
113
113
|
report;
|
|
114
114
|
constructor(args) {
|
|
115
115
|
this.report = args;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
export class
|
|
119
|
-
static reportId = "
|
|
120
|
-
reportId = "
|
|
118
|
+
export class FullChildEntities {
|
|
119
|
+
static reportId = "FullChildEntities";
|
|
120
|
+
reportId = "FullChildEntities";
|
|
121
121
|
report;
|
|
122
122
|
constructor(args) {
|
|
123
123
|
this.report = args;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
export class
|
|
127
|
-
static reportId = "
|
|
128
|
-
reportId = "
|
|
126
|
+
export class ChildEntitiesAllTime {
|
|
127
|
+
static reportId = "ChildEntitiesAllTime";
|
|
128
|
+
reportId = "ChildEntitiesAllTime";
|
|
129
129
|
report;
|
|
130
130
|
constructor(args) {
|
|
131
131
|
this.report = args;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
export class
|
|
135
|
-
static reportId = "
|
|
136
|
-
reportId = "
|
|
134
|
+
export class GetItemsByTypeAndIds {
|
|
135
|
+
static reportId = "GetItemsByTypeAndIds";
|
|
136
|
+
reportId = "GetItemsByTypeAndIds";
|
|
137
137
|
report;
|
|
138
138
|
constructor(args) {
|
|
139
139
|
this.report = args;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
export class
|
|
143
|
-
static reportId = "
|
|
144
|
-
reportId = "
|
|
142
|
+
export class PeerAlive {
|
|
143
|
+
static reportId = "PeerAlive";
|
|
144
|
+
reportId = "PeerAlive";
|
|
145
145
|
report;
|
|
146
146
|
constructor(args) {
|
|
147
147
|
this.report = args;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
export class
|
|
151
|
-
static reportId = "
|
|
152
|
-
reportId = "
|
|
150
|
+
export class EventsForTransaction {
|
|
151
|
+
static reportId = "EventsForTransaction";
|
|
152
|
+
reportId = "EventsForTransaction";
|
|
153
153
|
report;
|
|
154
154
|
constructor(args) {
|
|
155
155
|
this.report = args;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
export class
|
|
159
|
-
static reportId = "
|
|
160
|
-
reportId = "
|
|
158
|
+
export class GetPersistHealth {
|
|
159
|
+
static reportId = "GetPersistHealth";
|
|
160
|
+
reportId = "GetPersistHealth";
|
|
161
161
|
report;
|
|
162
162
|
constructor(args) {
|
|
163
163
|
this.report = args;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
export class
|
|
167
|
-
static reportId = "
|
|
168
|
-
reportId = "
|
|
166
|
+
export class ExportEntityTree {
|
|
167
|
+
static reportId = "ExportEntityTree";
|
|
168
|
+
reportId = "ExportEntityTree";
|
|
169
169
|
report;
|
|
170
170
|
constructor(args) {
|
|
171
171
|
this.report = args;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
export class
|
|
175
|
-
static reportId = "
|
|
176
|
-
reportId = "
|
|
174
|
+
export class CountClients {
|
|
175
|
+
static reportId = "CountClients";
|
|
176
|
+
reportId = "CountClients";
|
|
177
177
|
report;
|
|
178
178
|
constructor(args) {
|
|
179
179
|
this.report = args;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
export class
|
|
183
|
-
static reportId = "
|
|
184
|
-
reportId = "
|
|
182
|
+
export class CountAllClients {
|
|
183
|
+
static reportId = "CountAllClients";
|
|
184
|
+
reportId = "CountAllClients";
|
|
185
185
|
report;
|
|
186
186
|
constructor(args) {
|
|
187
187
|
this.report = args;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
export class
|
|
191
|
-
static reportId = "
|
|
192
|
-
reportId = "
|
|
190
|
+
export class GetClientById {
|
|
191
|
+
static reportId = "GetClientById";
|
|
192
|
+
reportId = "GetClientById";
|
|
193
193
|
report;
|
|
194
194
|
constructor(args) {
|
|
195
195
|
this.report = args;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
export class
|
|
199
|
-
static reportId = "
|
|
200
|
-
reportId = "
|
|
198
|
+
export class ClientStatus {
|
|
199
|
+
static reportId = "ClientStatus";
|
|
200
|
+
reportId = "ClientStatus";
|
|
201
201
|
report;
|
|
202
202
|
constructor(args) {
|
|
203
203
|
this.report = args;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
export class
|
|
207
|
-
static reportId = "
|
|
208
|
-
reportId = "
|
|
206
|
+
export class WindbackStatus {
|
|
207
|
+
static reportId = "WindbackStatus";
|
|
208
|
+
reportId = "WindbackStatus";
|
|
209
209
|
report;
|
|
210
210
|
constructor(args) {
|
|
211
211
|
this.report = args;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
export class
|
|
215
|
-
static reportId = "
|
|
216
|
-
reportId = "
|
|
214
|
+
export class CountServers {
|
|
215
|
+
static reportId = "CountServers";
|
|
216
|
+
reportId = "CountServers";
|
|
217
217
|
report;
|
|
218
218
|
constructor(args) {
|
|
219
219
|
this.report = args;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
export class
|
|
223
|
-
static reportId = "
|
|
224
|
-
reportId = "
|
|
222
|
+
export class CountAllServers {
|
|
223
|
+
static reportId = "CountAllServers";
|
|
224
|
+
reportId = "CountAllServers";
|
|
225
225
|
report;
|
|
226
226
|
constructor(args) {
|
|
227
227
|
this.report = args;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
export class
|
|
231
|
-
static reportId = "
|
|
232
|
-
reportId = "
|
|
230
|
+
export class SearchServer {
|
|
231
|
+
static reportId = "SearchServer";
|
|
232
|
+
reportId = "SearchServer";
|
|
233
233
|
report;
|
|
234
234
|
constructor(args) {
|
|
235
235
|
this.report = args;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
export class
|
|
239
|
-
static reportId = "
|
|
240
|
-
reportId = "
|
|
238
|
+
export class GetServerById {
|
|
239
|
+
static reportId = "GetServerById";
|
|
240
|
+
reportId = "GetServerById";
|
|
241
241
|
report;
|
|
242
242
|
constructor(args) {
|
|
243
243
|
this.report = args;
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
export class
|
|
247
|
-
static reportId = "
|
|
248
|
-
reportId = "
|
|
246
|
+
export class ServerStats {
|
|
247
|
+
static reportId = "ServerStats";
|
|
248
|
+
reportId = "ServerStats";
|
|
249
|
+
report;
|
|
250
|
+
constructor(args) {
|
|
251
|
+
this.report = args;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
export class EntitySearch {
|
|
255
|
+
static reportId = "EntitySearch";
|
|
256
|
+
reportId = "EntitySearch";
|
|
249
257
|
report;
|
|
250
258
|
constructor(args) {
|
|
251
259
|
this.report = args;
|
|
252
260
|
}
|
|
253
261
|
}
|
|
254
262
|
// Command classes
|
|
255
|
-
export class
|
|
256
|
-
static commandId = "
|
|
257
|
-
commandId = "
|
|
263
|
+
export class SetLogLevel {
|
|
264
|
+
static commandId = "SetLogLevel";
|
|
265
|
+
commandId = "SetLogLevel";
|
|
258
266
|
command;
|
|
259
267
|
constructor(args) {
|
|
260
268
|
this.command = args;
|
|
261
269
|
}
|
|
262
270
|
}
|
|
263
|
-
export class
|
|
264
|
-
static commandId = "
|
|
265
|
-
commandId = "
|
|
271
|
+
export class ImportItems {
|
|
272
|
+
static commandId = "ImportItems";
|
|
273
|
+
commandId = "ImportItems";
|
|
266
274
|
command;
|
|
267
275
|
constructor(args) {
|
|
268
276
|
this.command = args;
|
|
@@ -276,6 +284,14 @@ export class SetClientWindbackTime {
|
|
|
276
284
|
this.command = args;
|
|
277
285
|
}
|
|
278
286
|
}
|
|
287
|
+
export class ClearClientWindbackTime {
|
|
288
|
+
static commandId = "ClearClientWindbackTime";
|
|
289
|
+
commandId = "ClearClientWindbackTime";
|
|
290
|
+
command;
|
|
291
|
+
constructor(args) {
|
|
292
|
+
this.command = args;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
279
295
|
export class DeleteClient {
|
|
280
296
|
static commandId = "DeleteClient";
|
|
281
297
|
commandId = "DeleteClient";
|
|
@@ -292,25 +308,17 @@ export class DeleteClients {
|
|
|
292
308
|
this.command = args;
|
|
293
309
|
}
|
|
294
310
|
}
|
|
295
|
-
export class
|
|
296
|
-
static commandId = "
|
|
297
|
-
commandId = "
|
|
298
|
-
command;
|
|
299
|
-
constructor(args) {
|
|
300
|
-
this.command = args;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
export class SetLogLevel {
|
|
304
|
-
static commandId = "SetLogLevel";
|
|
305
|
-
commandId = "SetLogLevel";
|
|
311
|
+
export class DeleteServer {
|
|
312
|
+
static commandId = "DeleteServer";
|
|
313
|
+
commandId = "DeleteServer";
|
|
306
314
|
command;
|
|
307
315
|
constructor(args) {
|
|
308
316
|
this.command = args;
|
|
309
317
|
}
|
|
310
318
|
}
|
|
311
|
-
export class
|
|
312
|
-
static commandId = "
|
|
313
|
-
commandId = "
|
|
319
|
+
export class DeleteServers {
|
|
320
|
+
static commandId = "DeleteServers";
|
|
321
|
+
commandId = "DeleteServers";
|
|
314
322
|
command;
|
|
315
323
|
constructor(args) {
|
|
316
324
|
this.command = args;
|
|
@@ -318,32 +326,31 @@ export class ImportItems {
|
|
|
318
326
|
}
|
|
319
327
|
// Item constructors
|
|
320
328
|
export const items = {
|
|
321
|
-
Server: (args) => ({ item: args, itemType: "Server" }),
|
|
322
329
|
Client: (args) => ({ item: args, itemType: "Client" }),
|
|
330
|
+
Server: (args) => ({ item: args, itemType: "Server" }),
|
|
323
331
|
};
|
|
324
332
|
// Message events
|
|
325
333
|
export const MykoEvent = {
|
|
326
|
-
ReportError: "ws:m:report-error",
|
|
327
334
|
QueryError: "ws:m:query-error",
|
|
328
335
|
ReportResponse: "ws:m:report-response",
|
|
329
|
-
|
|
336
|
+
CommandResponse: "ws:m:command-response",
|
|
337
|
+
ReportCancel: "ws:m:report-cancel",
|
|
338
|
+
CommandError: "ws:m:command-error",
|
|
339
|
+
Command: "ws:m:command",
|
|
340
|
+
Benchmark: "ws:m:benchmark",
|
|
330
341
|
Event: "ws:m:event",
|
|
331
|
-
ViewResponse: "ws:m:view-response",
|
|
332
|
-
ViewWindow: "ws:m:view-window",
|
|
333
342
|
ViewError: "ws:m:view-error",
|
|
343
|
+
EventBatch: "ws:m:event-batch",
|
|
344
|
+
Ping: "ws:m:ping",
|
|
345
|
+
ViewCancel: "ws:m:view-cancel",
|
|
334
346
|
QueryCancel: "ws:m:query-cancel",
|
|
335
|
-
|
|
347
|
+
ViewResponse: "ws:m:view-response",
|
|
348
|
+
ViewWindow: "ws:m:view-window",
|
|
336
349
|
Report: "ws:m:report",
|
|
337
350
|
QueryWindow: "ws:m:query-window",
|
|
338
|
-
Benchmark: "ws:m:benchmark",
|
|
339
|
-
Command: "ws:m:command",
|
|
340
|
-
Query: "ws:m:query",
|
|
341
|
-
ProtocolSwitch: "ws:m:protocol-switch",
|
|
342
|
-
ViewCancel: "ws:m:view-cancel",
|
|
343
351
|
View: "ws:m:view",
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
CommandResponse: "ws:m:command-response",
|
|
352
|
+
QueryResponse: "ws:m:query-response",
|
|
353
|
+
ReportError: "ws:m:report-error",
|
|
354
|
+
Query: "ws:m:query",
|
|
348
355
|
};
|
|
349
356
|
// Shared constants
|
package/package.json
CHANGED