@myko/core 5.0.5 → 6.0.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/generated/ClearClientWindbackTime.d.ts +1 -1
- package/dist/generated/ClearClientWindbackTimeArgs.d.ts +1 -1
- package/dist/generated/Client.d.ts +2 -2
- package/dist/generated/Client.d.ts.map +1 -1
- package/dist/generated/ClientQuery.d.ts +11 -0
- package/dist/generated/ClientQuery.d.ts.map +1 -0
- package/dist/generated/CountAllClients.d.ts +1 -1
- package/dist/generated/CountAllServers.d.ts +1 -1
- package/dist/generated/CountClients.d.ts +2 -2
- package/dist/generated/CountClients.d.ts.map +1 -1
- package/dist/generated/CountServers.d.ts +2 -2
- package/dist/generated/CountServers.d.ts.map +1 -1
- package/dist/generated/DeleteClient.d.ts +0 -3
- package/dist/generated/DeleteClient.d.ts.map +1 -1
- package/dist/generated/DeleteClientResult.d.ts +0 -3
- package/dist/generated/DeleteClientResult.d.ts.map +1 -1
- package/dist/generated/DeleteClients.d.ts +0 -3
- package/dist/generated/DeleteClients.d.ts.map +1 -1
- package/dist/generated/DeleteClientsResult.d.ts +0 -3
- package/dist/generated/DeleteClientsResult.d.ts.map +1 -1
- package/dist/generated/DeleteServer.d.ts +0 -3
- package/dist/generated/DeleteServer.d.ts.map +1 -1
- package/dist/generated/DeleteServerResult.d.ts +0 -3
- package/dist/generated/DeleteServerResult.d.ts.map +1 -1
- package/dist/generated/DeleteServers.d.ts +0 -3
- package/dist/generated/DeleteServers.d.ts.map +1 -1
- package/dist/generated/DeleteServersResult.d.ts +0 -3
- package/dist/generated/DeleteServersResult.d.ts.map +1 -1
- package/dist/generated/EntitySnapshotDifferenceData.d.ts +1 -1
- package/dist/generated/EqFilter.d.ts +4 -0
- package/dist/generated/EqFilter.d.ts.map +1 -0
- package/dist/generated/GetAllClients.d.ts +1 -1
- package/dist/generated/GetAllServers.d.ts +1 -1
- package/dist/generated/GetClientsByQuery.d.ts +2 -2
- package/dist/generated/GetClientsByQuery.d.ts.map +1 -1
- package/dist/generated/GetConnectedServer.d.ts +1 -1
- package/dist/generated/GetPeerServers.d.ts +1 -1
- package/dist/generated/GetPersistHealth.d.ts +1 -1
- package/dist/generated/GetServersByQuery.d.ts +2 -2
- package/dist/generated/GetServersByQuery.d.ts.map +1 -1
- package/dist/generated/IdFilter.d.ts +4 -0
- package/dist/generated/IdFilter.d.ts.map +1 -0
- package/dist/generated/IdFilter.js +2 -0
- package/dist/generated/Loggers.d.ts +1 -1
- package/dist/generated/NumericFilter.d.ts +9 -0
- package/dist/generated/NumericFilter.d.ts.map +1 -0
- package/dist/generated/NumericFilter.js +2 -0
- package/dist/generated/SearchServer.d.ts +1 -3
- package/dist/generated/SearchServer.d.ts.map +1 -1
- package/dist/generated/ServerQuery.d.ts +12 -0
- package/dist/generated/ServerQuery.d.ts.map +1 -0
- package/dist/generated/ServerStats.d.ts +1 -1
- package/dist/generated/ServerStatsOutput.d.ts +3 -3
- package/dist/generated/ServerStatsOutput.d.ts.map +1 -1
- package/dist/generated/StringFilter.d.ts +8 -0
- package/dist/generated/StringFilter.d.ts.map +1 -0
- package/dist/generated/StringFilter.js +2 -0
- package/dist/generated/Unfilterable.d.ts +2 -0
- package/dist/generated/Unfilterable.d.ts.map +1 -0
- package/dist/generated/Unfilterable.js +2 -0
- package/dist/generated/WindbackStatus.d.ts +1 -1
- package/dist/generated/WindbackStatusOutput.d.ts +1 -1
- package/dist/generated/WindbackStatusOutput.d.ts.map +1 -1
- package/dist/generated/index.d.ts +157 -153
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +103 -103
- package/dist/generated/serde_json/JsonValue.d.ts +1 -1
- package/dist/generated/serde_json/JsonValue.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/generated/EventOptions.d.ts +0 -11
- package/dist/generated/EventOptions.d.ts.map +0 -1
- package/dist/generated/PartialClient.d.ts +0 -16
- package/dist/generated/PartialClient.d.ts.map +0 -1
- package/dist/generated/PartialServer.d.ts +0 -9
- package/dist/generated/PartialServer.d.ts.map +0 -1
- /package/dist/generated/{PartialClient.js → ClientQuery.js} +0 -0
- /package/dist/generated/{EventOptions.js → EqFilter.js} +0 -0
- /package/dist/generated/{PartialServer.js → ServerQuery.js} +0 -0
package/dist/generated/index.js
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
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 GetClientsByQuery {
|
|
5
|
+
static queryId = "GetClientsByQuery";
|
|
6
|
+
static queryItemType = "Client";
|
|
7
|
+
queryId = "GetClientsByQuery";
|
|
8
|
+
queryItemType = "Client";
|
|
9
|
+
query;
|
|
10
|
+
constructor(args) {
|
|
11
|
+
this.query = args;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class GetClientsByIds {
|
|
15
|
+
static queryId = "GetClientsByIds";
|
|
16
|
+
static queryItemType = "Client";
|
|
17
|
+
queryId = "GetClientsByIds";
|
|
18
|
+
queryItemType = "Client";
|
|
19
|
+
query;
|
|
20
|
+
constructor(args) {
|
|
21
|
+
this.query = args;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export class GetAllClients {
|
|
25
|
+
static queryId = "GetAllClients";
|
|
26
|
+
static queryItemType = "Client";
|
|
27
|
+
queryId = "GetAllClients";
|
|
28
|
+
queryItemType = "Client";
|
|
29
|
+
query;
|
|
30
|
+
constructor(args) {
|
|
31
|
+
this.query = args;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
4
34
|
export class GetServersByQuery {
|
|
5
35
|
static queryId = "GetServersByQuery";
|
|
6
36
|
static queryItemType = "Server";
|
|
@@ -51,81 +81,59 @@ export class GetConnectedServer {
|
|
|
51
81
|
this.query = args;
|
|
52
82
|
}
|
|
53
83
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
constructor(args) {
|
|
61
|
-
this.query = args;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export class GetClientsByIds {
|
|
65
|
-
static queryId = "GetClientsByIds";
|
|
66
|
-
static queryItemType = "Client";
|
|
67
|
-
queryId = "GetClientsByIds";
|
|
68
|
-
queryItemType = "Client";
|
|
69
|
-
query;
|
|
70
|
-
constructor(args) {
|
|
71
|
-
this.query = args;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class GetAllClients {
|
|
75
|
-
static queryId = "GetAllClients";
|
|
76
|
-
static queryItemType = "Client";
|
|
77
|
-
queryId = "GetAllClients";
|
|
78
|
-
queryItemType = "Client";
|
|
79
|
-
query;
|
|
84
|
+
// View classes
|
|
85
|
+
// Report classes
|
|
86
|
+
export class EntitySearch {
|
|
87
|
+
static reportId = "EntitySearch";
|
|
88
|
+
reportId = "EntitySearch";
|
|
89
|
+
report;
|
|
80
90
|
constructor(args) {
|
|
81
|
-
this.
|
|
91
|
+
this.report = args;
|
|
82
92
|
}
|
|
83
93
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
static reportId = "GetServerById";
|
|
88
|
-
reportId = "GetServerById";
|
|
94
|
+
export class ExportEntityTree {
|
|
95
|
+
static reportId = "ExportEntityTree";
|
|
96
|
+
reportId = "ExportEntityTree";
|
|
89
97
|
report;
|
|
90
98
|
constructor(args) {
|
|
91
99
|
this.report = args;
|
|
92
100
|
}
|
|
93
101
|
}
|
|
94
|
-
export class
|
|
95
|
-
static reportId = "
|
|
96
|
-
reportId = "
|
|
102
|
+
export class CountAllClients {
|
|
103
|
+
static reportId = "CountAllClients";
|
|
104
|
+
reportId = "CountAllClients";
|
|
97
105
|
report;
|
|
98
106
|
constructor(args) {
|
|
99
107
|
this.report = args;
|
|
100
108
|
}
|
|
101
109
|
}
|
|
102
|
-
export class
|
|
103
|
-
static reportId = "
|
|
104
|
-
reportId = "
|
|
110
|
+
export class GetClientById {
|
|
111
|
+
static reportId = "GetClientById";
|
|
112
|
+
reportId = "GetClientById";
|
|
105
113
|
report;
|
|
106
114
|
constructor(args) {
|
|
107
115
|
this.report = args;
|
|
108
116
|
}
|
|
109
117
|
}
|
|
110
|
-
export class
|
|
111
|
-
static reportId = "
|
|
112
|
-
reportId = "
|
|
118
|
+
export class CountClients {
|
|
119
|
+
static reportId = "CountClients";
|
|
120
|
+
reportId = "CountClients";
|
|
113
121
|
report;
|
|
114
122
|
constructor(args) {
|
|
115
123
|
this.report = args;
|
|
116
124
|
}
|
|
117
125
|
}
|
|
118
|
-
export class
|
|
119
|
-
static reportId = "
|
|
120
|
-
reportId = "
|
|
126
|
+
export class WindbackStatus {
|
|
127
|
+
static reportId = "WindbackStatus";
|
|
128
|
+
reportId = "WindbackStatus";
|
|
121
129
|
report;
|
|
122
130
|
constructor(args) {
|
|
123
131
|
this.report = args;
|
|
124
132
|
}
|
|
125
133
|
}
|
|
126
|
-
export class
|
|
127
|
-
static reportId = "
|
|
128
|
-
reportId = "
|
|
134
|
+
export class ClientStatus {
|
|
135
|
+
static reportId = "ClientStatus";
|
|
136
|
+
reportId = "ClientStatus";
|
|
129
137
|
report;
|
|
130
138
|
constructor(args) {
|
|
131
139
|
this.report = args;
|
|
@@ -179,6 +187,14 @@ export class PeerAlive {
|
|
|
179
187
|
this.report = args;
|
|
180
188
|
}
|
|
181
189
|
}
|
|
190
|
+
export class ServerLogLevel {
|
|
191
|
+
static reportId = "ServerLogLevel";
|
|
192
|
+
reportId = "ServerLogLevel";
|
|
193
|
+
report;
|
|
194
|
+
constructor(args) {
|
|
195
|
+
this.report = args;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
182
198
|
export class ChildEntities {
|
|
183
199
|
static reportId = "ChildEntities";
|
|
184
200
|
reportId = "ChildEntities";
|
|
@@ -203,122 +219,106 @@ export class GetPersistHealth {
|
|
|
203
219
|
this.report = args;
|
|
204
220
|
}
|
|
205
221
|
}
|
|
206
|
-
export class
|
|
207
|
-
static reportId = "
|
|
208
|
-
reportId = "
|
|
209
|
-
report;
|
|
210
|
-
constructor(args) {
|
|
211
|
-
this.report = args;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
export class GetClientById {
|
|
215
|
-
static reportId = "GetClientById";
|
|
216
|
-
reportId = "GetClientById";
|
|
217
|
-
report;
|
|
218
|
-
constructor(args) {
|
|
219
|
-
this.report = args;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
export class CountClients {
|
|
223
|
-
static reportId = "CountClients";
|
|
224
|
-
reportId = "CountClients";
|
|
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 GetServerById {
|
|
231
|
+
static reportId = "GetServerById";
|
|
232
|
+
reportId = "GetServerById";
|
|
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 CountServers {
|
|
239
|
+
static reportId = "CountServers";
|
|
240
|
+
reportId = "CountServers";
|
|
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 SearchServer {
|
|
247
|
+
static reportId = "SearchServer";
|
|
248
|
+
reportId = "SearchServer";
|
|
249
249
|
report;
|
|
250
250
|
constructor(args) {
|
|
251
251
|
this.report = args;
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
export class
|
|
255
|
-
static reportId = "
|
|
256
|
-
reportId = "
|
|
254
|
+
export class ServerStats {
|
|
255
|
+
static reportId = "ServerStats";
|
|
256
|
+
reportId = "ServerStats";
|
|
257
257
|
report;
|
|
258
258
|
constructor(args) {
|
|
259
259
|
this.report = args;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
// Command classes
|
|
263
|
-
export class
|
|
264
|
-
static commandId = "
|
|
265
|
-
commandId = "
|
|
263
|
+
export class DeleteClient {
|
|
264
|
+
static commandId = "DeleteClient";
|
|
265
|
+
commandId = "DeleteClient";
|
|
266
266
|
command;
|
|
267
267
|
constructor(args) {
|
|
268
268
|
this.command = args;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
export class
|
|
272
|
-
static commandId = "
|
|
273
|
-
commandId = "
|
|
271
|
+
export class SetClientWindbackTime {
|
|
272
|
+
static commandId = "SetClientWindbackTime";
|
|
273
|
+
commandId = "SetClientWindbackTime";
|
|
274
274
|
command;
|
|
275
275
|
constructor(args) {
|
|
276
276
|
this.command = args;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
export class
|
|
280
|
-
static commandId = "
|
|
281
|
-
commandId = "
|
|
279
|
+
export class ClearClientWindbackTime {
|
|
280
|
+
static commandId = "ClearClientWindbackTime";
|
|
281
|
+
commandId = "ClearClientWindbackTime";
|
|
282
282
|
command;
|
|
283
283
|
constructor(args) {
|
|
284
284
|
this.command = args;
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
export class
|
|
288
|
-
static commandId = "
|
|
289
|
-
commandId = "
|
|
287
|
+
export class DeleteClients {
|
|
288
|
+
static commandId = "DeleteClients";
|
|
289
|
+
commandId = "DeleteClients";
|
|
290
290
|
command;
|
|
291
291
|
constructor(args) {
|
|
292
292
|
this.command = args;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
export class
|
|
296
|
-
static commandId = "
|
|
297
|
-
commandId = "
|
|
295
|
+
export class SetLogLevel {
|
|
296
|
+
static commandId = "SetLogLevel";
|
|
297
|
+
commandId = "SetLogLevel";
|
|
298
298
|
command;
|
|
299
299
|
constructor(args) {
|
|
300
300
|
this.command = args;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
export class
|
|
304
|
-
static commandId = "
|
|
305
|
-
commandId = "
|
|
303
|
+
export class ImportItems {
|
|
304
|
+
static commandId = "ImportItems";
|
|
305
|
+
commandId = "ImportItems";
|
|
306
306
|
command;
|
|
307
307
|
constructor(args) {
|
|
308
308
|
this.command = args;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
export class
|
|
312
|
-
static commandId = "
|
|
313
|
-
commandId = "
|
|
311
|
+
export class DeleteServer {
|
|
312
|
+
static commandId = "DeleteServer";
|
|
313
|
+
commandId = "DeleteServer";
|
|
314
314
|
command;
|
|
315
315
|
constructor(args) {
|
|
316
316
|
this.command = args;
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
export class
|
|
320
|
-
static commandId = "
|
|
321
|
-
commandId = "
|
|
319
|
+
export class DeleteServers {
|
|
320
|
+
static commandId = "DeleteServers";
|
|
321
|
+
commandId = "DeleteServers";
|
|
322
322
|
command;
|
|
323
323
|
constructor(args) {
|
|
324
324
|
this.command = args;
|
|
@@ -326,8 +326,8 @@ export class SetClientWindbackTime {
|
|
|
326
326
|
}
|
|
327
327
|
// Item constructors
|
|
328
328
|
export const items = {
|
|
329
|
-
Server: (args) => ({ item: args, itemType: "Server" }),
|
|
330
329
|
Client: (args) => ({ item: args, itemType: "Client" }),
|
|
330
|
+
Server: (args) => ({ item: args, itemType: "Server" }),
|
|
331
331
|
};
|
|
332
332
|
// Message events
|
|
333
333
|
export const MykoEvent = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonValue.d.ts","sourceRoot":"","sources":["../../../src/generated/serde_json/JsonValue.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,GAAG;KAAG,GAAG,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"JsonValue.d.ts","sourceRoot":"","sources":["../../../src/generated/serde_json/JsonValue.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,GAAG;KAAG,GAAG,IAAI,MAAM,GAAG,SAAS;CAAE,GAAG,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Options that can be attached to an event
|
|
3
|
-
*/
|
|
4
|
-
export type EventOptions = {
|
|
5
|
-
/**
|
|
6
|
-
* When true, relationship cascades are skipped for this event.
|
|
7
|
-
* Used to prevent infinite loops during cascade processing.
|
|
8
|
-
*/
|
|
9
|
-
preventRelationshipUpdates: boolean;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=EventOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventOptions.d.ts","sourceRoot":"","sources":["../../src/generated/EventOptions.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IAC3B;;;OAGG;IACH,0BAA0B,EAAE,OAAO,CAAC;CAAE,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ClientId } from "./ClientId";
|
|
2
|
-
import type { ServerId } from "./ServerId";
|
|
3
|
-
export type PartialClient = {
|
|
4
|
-
serverId?: ServerId;
|
|
5
|
-
/**
|
|
6
|
-
* Remote address of the WebSocket connection (e.g., "192.168.1.5:54320").
|
|
7
|
-
*/
|
|
8
|
-
address?: string | null;
|
|
9
|
-
/**
|
|
10
|
-
* ISO timestamp for windback mode. When set, the client sees historical state
|
|
11
|
-
* as of this timestamp instead of live state.
|
|
12
|
-
*/
|
|
13
|
-
windback?: string | null;
|
|
14
|
-
id?: ClientId;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=PartialClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PartialClient.d.ts","sourceRoot":"","sources":["../../src/generated/PartialClient.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAClD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,EAAE,CAAC,EAAE,QAAQ,CAAC;CAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PartialServer.d.ts","sourceRoot":"","sources":["../../src/generated/PartialServer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,QAAQ,CAAC;CAAE,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|