types-nora-api 0.0.185 → 0.0.188
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/classes.d.ts +24 -1
- package/dist/classes.js +8 -3
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -927,6 +927,15 @@ declare namespace EventosWebSocket {
|
|
|
927
927
|
};
|
|
928
928
|
};
|
|
929
929
|
readonly Jogo: {
|
|
930
|
+
requisicaoDeAberturaDeSala: {
|
|
931
|
+
tipo: "envia-e-recebe";
|
|
932
|
+
payload: {
|
|
933
|
+
idSessao: number;
|
|
934
|
+
};
|
|
935
|
+
response: {
|
|
936
|
+
sucesso: boolean;
|
|
937
|
+
};
|
|
938
|
+
};
|
|
930
939
|
emitirSessaoEmAndamento: {
|
|
931
940
|
tipo: "emite";
|
|
932
941
|
payload: {};
|
|
@@ -1264,7 +1273,21 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1264
1273
|
};
|
|
1265
1274
|
};
|
|
1266
1275
|
readonly Jogo: {
|
|
1267
|
-
eventos: {
|
|
1276
|
+
eventos: {
|
|
1277
|
+
requisicaoDeAberturaDeSala: {
|
|
1278
|
+
tipo: "envia-e-recebe";
|
|
1279
|
+
payload: {
|
|
1280
|
+
idSessao: number;
|
|
1281
|
+
};
|
|
1282
|
+
response: {
|
|
1283
|
+
sucesso: boolean;
|
|
1284
|
+
};
|
|
1285
|
+
} & {
|
|
1286
|
+
readonly nome: "requisicaoDeAberturaDeSala";
|
|
1287
|
+
readonly gateway: "Jogo";
|
|
1288
|
+
readonly fullName: "Jogo:requisicaoDeAberturaDeSala";
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1268
1291
|
};
|
|
1269
1292
|
readonly UsuariosConectados: {
|
|
1270
1293
|
eventos: {};
|
package/dist/classes.js
CHANGED
|
@@ -126,10 +126,15 @@ var EventosWebSocket;
|
|
|
126
126
|
},
|
|
127
127
|
});
|
|
128
128
|
const Jogo = createGateway({
|
|
129
|
+
requisicaoDeAberturaDeSala: {
|
|
130
|
+
tipo: 'envia-e-recebe',
|
|
131
|
+
payload: { idSessao: 0 },
|
|
132
|
+
response: { sucesso: true },
|
|
133
|
+
},
|
|
129
134
|
emitirSessaoEmAndamento: {
|
|
130
135
|
tipo: 'emite',
|
|
131
136
|
payload: {},
|
|
132
|
-
response: { sessaoEmAndamento: {} }
|
|
137
|
+
response: { sessaoEmAndamento: {} },
|
|
133
138
|
},
|
|
134
139
|
// emitirDadosSessao: {
|
|
135
140
|
// tipo: 'emite',
|
|
@@ -139,12 +144,12 @@ var EventosWebSocket;
|
|
|
139
144
|
emitirTodasSalas: {
|
|
140
145
|
tipo: 'emite',
|
|
141
146
|
payload: {},
|
|
142
|
-
response: { salas: [] }
|
|
147
|
+
response: { salas: [] },
|
|
143
148
|
},
|
|
144
149
|
emitirDadosParaParticipanteDeSala: {
|
|
145
150
|
tipo: 'emite',
|
|
146
151
|
payload: { codigoSala: {}, idJogador: 0 },
|
|
147
|
-
response: { dados: {} }
|
|
152
|
+
response: { dados: {} },
|
|
148
153
|
},
|
|
149
154
|
});
|
|
150
155
|
const UsuariosConectados = createGateway({
|