tachyon-protocol 1.9.2 → 1.10.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.
@@ -1,11 +1,21 @@
1
1
  import type { ValidateFunction } from "ajv"
2
- import type { UserUpdatedEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.mjs";
2
+ import type { UserUpdatedEvent, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesResponse, UserSelfEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedResponse, MessagingSendRequest, MessagingSendResponse, MessagingReceivedEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostInstallEngineRequest, AutohostInstallEngineResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.mjs";
3
3
 
4
4
  declare const user_updated_event: ValidateFunction<UserUpdatedEvent>;
5
+ declare const user_unsubscribeUpdates_request: ValidateFunction<UserUnsubscribeUpdatesRequest>;
6
+ declare const user_unsubscribeUpdates_response: ValidateFunction<UserUnsubscribeUpdatesResponse>;
7
+ declare const user_subscribeUpdates_request: ValidateFunction<UserSubscribeUpdatesRequest>;
8
+ declare const user_subscribeUpdates_response: ValidateFunction<UserSubscribeUpdatesResponse>;
9
+ declare const user_self_event: ValidateFunction<UserSelfEvent>;
5
10
  declare const system_serverStats_request: ValidateFunction<SystemServerStatsRequest>;
6
11
  declare const system_serverStats_response: ValidateFunction<SystemServerStatsResponse>;
7
12
  declare const system_disconnect_request: ValidateFunction<SystemDisconnectRequest>;
8
13
  declare const system_disconnect_response: ValidateFunction<SystemDisconnectResponse>;
14
+ declare const messaging_subscribeReceived_request: ValidateFunction<MessagingSubscribeReceivedRequest>;
15
+ declare const messaging_subscribeReceived_response: ValidateFunction<MessagingSubscribeReceivedResponse>;
16
+ declare const messaging_send_request: ValidateFunction<MessagingSendRequest>;
17
+ declare const messaging_send_response: ValidateFunction<MessagingSendResponse>;
18
+ declare const messaging_received_event: ValidateFunction<MessagingReceivedEvent>;
9
19
  declare const matchmaking_ready_request: ValidateFunction<MatchmakingReadyRequest>;
10
20
  declare const matchmaking_ready_response: ValidateFunction<MatchmakingReadyResponse>;
11
21
  declare const matchmaking_queueUpdate_event: ValidateFunction<MatchmakingQueueUpdateEvent>;
@@ -39,6 +49,8 @@ declare const autohost_kill_request: ValidateFunction<AutohostKillRequest>;
39
49
  declare const autohost_kill_response: ValidateFunction<AutohostKillResponse>;
40
50
  declare const autohost_kickPlayer_request: ValidateFunction<AutohostKickPlayerRequest>;
41
51
  declare const autohost_kickPlayer_response: ValidateFunction<AutohostKickPlayerResponse>;
52
+ declare const autohost_installEngine_request: ValidateFunction<AutohostInstallEngineRequest>;
53
+ declare const autohost_installEngine_response: ValidateFunction<AutohostInstallEngineResponse>;
42
54
  declare const autohost_addPlayer_request: ValidateFunction<AutohostAddPlayerRequest>;
43
55
  declare const autohost_addPlayer_response: ValidateFunction<AutohostAddPlayerResponse>;
44
56
 
@@ -46,6 +58,17 @@ declare const validator: {
46
58
  readonly "user/updated": {
47
59
  readonly "event": ValidateFunction<UserUpdatedEvent>;
48
60
  };
61
+ readonly "user/unsubscribeUpdates": {
62
+ readonly "request": ValidateFunction<UserUnsubscribeUpdatesRequest>;
63
+ readonly "response": ValidateFunction<UserUnsubscribeUpdatesResponse>;
64
+ };
65
+ readonly "user/subscribeUpdates": {
66
+ readonly "request": ValidateFunction<UserSubscribeUpdatesRequest>;
67
+ readonly "response": ValidateFunction<UserSubscribeUpdatesResponse>;
68
+ };
69
+ readonly "user/self": {
70
+ readonly "event": ValidateFunction<UserSelfEvent>;
71
+ };
49
72
  readonly "system/serverStats": {
50
73
  readonly "request": ValidateFunction<SystemServerStatsRequest>;
51
74
  readonly "response": ValidateFunction<SystemServerStatsResponse>;
@@ -54,6 +77,17 @@ declare const validator: {
54
77
  readonly "request": ValidateFunction<SystemDisconnectRequest>;
55
78
  readonly "response": ValidateFunction<SystemDisconnectResponse>;
56
79
  };
80
+ readonly "messaging/subscribeReceived": {
81
+ readonly "request": ValidateFunction<MessagingSubscribeReceivedRequest>;
82
+ readonly "response": ValidateFunction<MessagingSubscribeReceivedResponse>;
83
+ };
84
+ readonly "messaging/send": {
85
+ readonly "request": ValidateFunction<MessagingSendRequest>;
86
+ readonly "response": ValidateFunction<MessagingSendResponse>;
87
+ };
88
+ readonly "messaging/received": {
89
+ readonly "event": ValidateFunction<MessagingReceivedEvent>;
90
+ };
57
91
  readonly "matchmaking/ready": {
58
92
  readonly "request": ValidateFunction<MatchmakingReadyRequest>;
59
93
  readonly "response": ValidateFunction<MatchmakingReadyResponse>;
@@ -127,10 +161,14 @@ declare const validator: {
127
161
  readonly "request": ValidateFunction<AutohostKickPlayerRequest>;
128
162
  readonly "response": ValidateFunction<AutohostKickPlayerResponse>;
129
163
  };
164
+ readonly "autohost/installEngine": {
165
+ readonly "request": ValidateFunction<AutohostInstallEngineRequest>;
166
+ readonly "response": ValidateFunction<AutohostInstallEngineResponse>;
167
+ };
130
168
  readonly "autohost/addPlayer": {
131
169
  readonly "request": ValidateFunction<AutohostAddPlayerRequest>;
132
170
  readonly "response": ValidateFunction<AutohostAddPlayerResponse>;
133
171
  };
134
172
  };
135
173
 
136
- export { validator, user_updated_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancelled_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_addPlayer_request, autohost_addPlayer_response };
174
+ export { validator, user_updated_event, user_unsubscribeUpdates_request, user_unsubscribeUpdates_response, user_subscribeUpdates_request, user_subscribeUpdates_response, user_self_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, messaging_subscribeReceived_request, messaging_subscribeReceived_response, messaging_send_request, messaging_send_response, messaging_received_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancelled_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_installEngine_request, autohost_installEngine_response, autohost_addPlayer_request, autohost_addPlayer_response };
@@ -1,11 +1,21 @@
1
1
  import type { ValidateFunction } from "ajv"
2
- import type { UserUpdatedEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.js";
2
+ import type { UserUpdatedEvent, UserUnsubscribeUpdatesRequest, UserUnsubscribeUpdatesResponse, UserSubscribeUpdatesRequest, UserSubscribeUpdatesResponse, UserSelfEvent, SystemServerStatsRequest, SystemServerStatsResponse, SystemDisconnectRequest, SystemDisconnectResponse, MessagingSubscribeReceivedRequest, MessagingSubscribeReceivedResponse, MessagingSendRequest, MessagingSendResponse, MessagingReceivedEvent, MatchmakingReadyRequest, MatchmakingReadyResponse, MatchmakingQueueUpdateEvent, MatchmakingQueueRequest, MatchmakingQueueResponse, MatchmakingLostEvent, MatchmakingListRequest, MatchmakingListResponse, MatchmakingFoundUpdateEvent, MatchmakingFoundEvent, MatchmakingCancelledEvent, MatchmakingCancelRequest, MatchmakingCancelResponse, BattleStartRequest, BattleStartResponse, AutohostUpdateEvent, AutohostSubscribeUpdatesRequest, AutohostSubscribeUpdatesResponse, AutohostStatusEvent, AutohostStartRequest, AutohostStartResponse, AutohostSpecPlayersRequest, AutohostSpecPlayersResponse, AutohostSendMessageRequest, AutohostSendMessageResponse, AutohostSendCommandRequest, AutohostSendCommandResponse, AutohostMutePlayerRequest, AutohostMutePlayerResponse, AutohostKillRequest, AutohostKillResponse, AutohostKickPlayerRequest, AutohostKickPlayerResponse, AutohostInstallEngineRequest, AutohostInstallEngineResponse, AutohostAddPlayerRequest, AutohostAddPlayerResponse } from "./types.js";
3
3
 
4
4
  declare const user_updated_event: ValidateFunction<UserUpdatedEvent>;
5
+ declare const user_unsubscribeUpdates_request: ValidateFunction<UserUnsubscribeUpdatesRequest>;
6
+ declare const user_unsubscribeUpdates_response: ValidateFunction<UserUnsubscribeUpdatesResponse>;
7
+ declare const user_subscribeUpdates_request: ValidateFunction<UserSubscribeUpdatesRequest>;
8
+ declare const user_subscribeUpdates_response: ValidateFunction<UserSubscribeUpdatesResponse>;
9
+ declare const user_self_event: ValidateFunction<UserSelfEvent>;
5
10
  declare const system_serverStats_request: ValidateFunction<SystemServerStatsRequest>;
6
11
  declare const system_serverStats_response: ValidateFunction<SystemServerStatsResponse>;
7
12
  declare const system_disconnect_request: ValidateFunction<SystemDisconnectRequest>;
8
13
  declare const system_disconnect_response: ValidateFunction<SystemDisconnectResponse>;
14
+ declare const messaging_subscribeReceived_request: ValidateFunction<MessagingSubscribeReceivedRequest>;
15
+ declare const messaging_subscribeReceived_response: ValidateFunction<MessagingSubscribeReceivedResponse>;
16
+ declare const messaging_send_request: ValidateFunction<MessagingSendRequest>;
17
+ declare const messaging_send_response: ValidateFunction<MessagingSendResponse>;
18
+ declare const messaging_received_event: ValidateFunction<MessagingReceivedEvent>;
9
19
  declare const matchmaking_ready_request: ValidateFunction<MatchmakingReadyRequest>;
10
20
  declare const matchmaking_ready_response: ValidateFunction<MatchmakingReadyResponse>;
11
21
  declare const matchmaking_queueUpdate_event: ValidateFunction<MatchmakingQueueUpdateEvent>;
@@ -39,6 +49,8 @@ declare const autohost_kill_request: ValidateFunction<AutohostKillRequest>;
39
49
  declare const autohost_kill_response: ValidateFunction<AutohostKillResponse>;
40
50
  declare const autohost_kickPlayer_request: ValidateFunction<AutohostKickPlayerRequest>;
41
51
  declare const autohost_kickPlayer_response: ValidateFunction<AutohostKickPlayerResponse>;
52
+ declare const autohost_installEngine_request: ValidateFunction<AutohostInstallEngineRequest>;
53
+ declare const autohost_installEngine_response: ValidateFunction<AutohostInstallEngineResponse>;
42
54
  declare const autohost_addPlayer_request: ValidateFunction<AutohostAddPlayerRequest>;
43
55
  declare const autohost_addPlayer_response: ValidateFunction<AutohostAddPlayerResponse>;
44
56
 
@@ -46,6 +58,17 @@ declare const validator: {
46
58
  readonly "user/updated": {
47
59
  readonly "event": ValidateFunction<UserUpdatedEvent>;
48
60
  };
61
+ readonly "user/unsubscribeUpdates": {
62
+ readonly "request": ValidateFunction<UserUnsubscribeUpdatesRequest>;
63
+ readonly "response": ValidateFunction<UserUnsubscribeUpdatesResponse>;
64
+ };
65
+ readonly "user/subscribeUpdates": {
66
+ readonly "request": ValidateFunction<UserSubscribeUpdatesRequest>;
67
+ readonly "response": ValidateFunction<UserSubscribeUpdatesResponse>;
68
+ };
69
+ readonly "user/self": {
70
+ readonly "event": ValidateFunction<UserSelfEvent>;
71
+ };
49
72
  readonly "system/serverStats": {
50
73
  readonly "request": ValidateFunction<SystemServerStatsRequest>;
51
74
  readonly "response": ValidateFunction<SystemServerStatsResponse>;
@@ -54,6 +77,17 @@ declare const validator: {
54
77
  readonly "request": ValidateFunction<SystemDisconnectRequest>;
55
78
  readonly "response": ValidateFunction<SystemDisconnectResponse>;
56
79
  };
80
+ readonly "messaging/subscribeReceived": {
81
+ readonly "request": ValidateFunction<MessagingSubscribeReceivedRequest>;
82
+ readonly "response": ValidateFunction<MessagingSubscribeReceivedResponse>;
83
+ };
84
+ readonly "messaging/send": {
85
+ readonly "request": ValidateFunction<MessagingSendRequest>;
86
+ readonly "response": ValidateFunction<MessagingSendResponse>;
87
+ };
88
+ readonly "messaging/received": {
89
+ readonly "event": ValidateFunction<MessagingReceivedEvent>;
90
+ };
57
91
  readonly "matchmaking/ready": {
58
92
  readonly "request": ValidateFunction<MatchmakingReadyRequest>;
59
93
  readonly "response": ValidateFunction<MatchmakingReadyResponse>;
@@ -127,10 +161,14 @@ declare const validator: {
127
161
  readonly "request": ValidateFunction<AutohostKickPlayerRequest>;
128
162
  readonly "response": ValidateFunction<AutohostKickPlayerResponse>;
129
163
  };
164
+ readonly "autohost/installEngine": {
165
+ readonly "request": ValidateFunction<AutohostInstallEngineRequest>;
166
+ readonly "response": ValidateFunction<AutohostInstallEngineResponse>;
167
+ };
130
168
  readonly "autohost/addPlayer": {
131
169
  readonly "request": ValidateFunction<AutohostAddPlayerRequest>;
132
170
  readonly "response": ValidateFunction<AutohostAddPlayerResponse>;
133
171
  };
134
172
  };
135
173
 
136
- export { validator, user_updated_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancelled_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_addPlayer_request, autohost_addPlayer_response };
174
+ export { validator, user_updated_event, user_unsubscribeUpdates_request, user_unsubscribeUpdates_response, user_subscribeUpdates_request, user_subscribeUpdates_response, user_self_event, system_serverStats_request, system_serverStats_response, system_disconnect_request, system_disconnect_response, messaging_subscribeReceived_request, messaging_subscribeReceived_response, messaging_send_request, messaging_send_response, messaging_received_event, matchmaking_ready_request, matchmaking_ready_response, matchmaking_queueUpdate_event, matchmaking_queue_request, matchmaking_queue_response, matchmaking_lost_event, matchmaking_list_request, matchmaking_list_response, matchmaking_foundUpdate_event, matchmaking_found_event, matchmaking_cancelled_event, matchmaking_cancel_request, matchmaking_cancel_response, battle_start_request, battle_start_response, autohost_update_event, autohost_subscribeUpdates_request, autohost_subscribeUpdates_response, autohost_status_event, autohost_start_request, autohost_start_response, autohost_specPlayers_request, autohost_specPlayers_response, autohost_sendMessage_request, autohost_sendMessage_response, autohost_sendCommand_request, autohost_sendCommand_response, autohost_mutePlayer_request, autohost_mutePlayer_response, autohost_kill_request, autohost_kill_response, autohost_kickPlayer_request, autohost_kickPlayer_response, autohost_installEngine_request, autohost_installEngine_response, autohost_addPlayer_request, autohost_addPlayer_response };