types-nora-api 0.0.351 → 0.0.352
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 +14 -0
- package/dist/classes.js +7 -2
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -2075,6 +2075,11 @@ declare namespace EventosWebSocket {
|
|
|
2075
2075
|
codigoSala: SalaDeJogo_Codigo;
|
|
2076
2076
|
};
|
|
2077
2077
|
};
|
|
2078
|
+
requisicaoDeFechamentoDeSalaAberta: {
|
|
2079
|
+
tipo: "envia-e-recebe";
|
|
2080
|
+
payload: {};
|
|
2081
|
+
response: {};
|
|
2082
|
+
};
|
|
2078
2083
|
emitirEstouEmJogo: {
|
|
2079
2084
|
tipo: "emite";
|
|
2080
2085
|
payload: {};
|
|
@@ -2460,6 +2465,15 @@ declare const Eventos_EnviaERecebe: {
|
|
|
2460
2465
|
readonly gateway: "Jogo";
|
|
2461
2466
|
readonly fullName: "Jogo:requisicaoDeAberturaDeSala";
|
|
2462
2467
|
};
|
|
2468
|
+
requisicaoDeFechamentoDeSalaAberta: {
|
|
2469
|
+
tipo: "envia-e-recebe";
|
|
2470
|
+
payload: {};
|
|
2471
|
+
response: {};
|
|
2472
|
+
} & {
|
|
2473
|
+
readonly nome: "requisicaoDeFechamentoDeSalaAberta";
|
|
2474
|
+
readonly gateway: "Jogo";
|
|
2475
|
+
readonly fullName: "Jogo:requisicaoDeFechamentoDeSalaAberta";
|
|
2476
|
+
};
|
|
2463
2477
|
};
|
|
2464
2478
|
};
|
|
2465
2479
|
readonly UsuariosConectados: {
|
package/dist/classes.js
CHANGED
|
@@ -201,8 +201,8 @@ const TIPOS_GANHO_NIVEL = {
|
|
|
201
201
|
function temSudoBurlarCapacidades(ctx) { return ctx.estaAutenticado && ctx.verificarCapacidade(CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES); }
|
|
202
202
|
const TIPO_SESSAO_LABEL = {
|
|
203
203
|
AVENTURA: 'Aventura',
|
|
204
|
-
SESSAO_UNICA_CANONICA: 'Sessão
|
|
205
|
-
SESSAO_UNICA_NAO_CANONICA: 'Sessão
|
|
204
|
+
SESSAO_UNICA_CANONICA: 'Sessão Única Canônica',
|
|
205
|
+
SESSAO_UNICA_NAO_CANONICA: 'Sessão Única Não Canônica',
|
|
206
206
|
};
|
|
207
207
|
class AuthSession {
|
|
208
208
|
expiredAt;
|
|
@@ -339,6 +339,11 @@ var EventosWebSocket;
|
|
|
339
339
|
payload: { idSessao: 0 },
|
|
340
340
|
response: { codigoSala: {} },
|
|
341
341
|
},
|
|
342
|
+
requisicaoDeFechamentoDeSalaAberta: {
|
|
343
|
+
tipo: 'envia-e-recebe',
|
|
344
|
+
payload: {},
|
|
345
|
+
response: {},
|
|
346
|
+
},
|
|
342
347
|
emitirEstouEmJogo: {
|
|
343
348
|
tipo: 'emite',
|
|
344
349
|
payload: {},
|