types-nora-api 0.0.486 → 0.0.490
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/api/graphql/leituras/ArquivoTipadoMusica/index.d.ts +24 -2
- package/dist/api/graphql/leituras/ArquivoTipadoMusica/index.js +33 -2
- package/dist/api/graphql/leituras/Card/index.d.ts +58 -0
- package/dist/api/graphql/leituras/Card/index.js +88 -0
- package/dist/api/graphql/leituras/CoeficienteGanhoEstatisticaClasse/index.d.ts +48 -0
- package/dist/api/graphql/leituras/CoeficienteGanhoEstatisticaClasse/index.js +66 -0
- package/dist/api/graphql/leituras/Coluna/index.d.ts +46 -0
- package/dist/api/graphql/leituras/Coluna/index.js +68 -0
- package/dist/api/graphql/leituras/Comentario/index.d.ts +57 -0
- package/dist/api/graphql/leituras/Comentario/index.js +87 -0
- package/dist/api/graphql/leituras/DependenciaCard/index.d.ts +51 -0
- package/dist/api/graphql/leituras/DependenciaCard/index.js +75 -0
- package/dist/api/graphql/leituras/DesenhoFluxograma/index.d.ts +43 -0
- package/dist/api/graphql/leituras/DesenhoFluxograma/index.js +63 -0
- package/dist/api/graphql/leituras/DimensaoClima/index.d.ts +38 -0
- package/dist/api/graphql/leituras/DimensaoClima/index.js +52 -0
- package/dist/api/graphql/leituras/FonteMusica/index.d.ts +38 -0
- package/dist/api/graphql/leituras/FonteMusica/index.js +56 -0
- package/dist/api/graphql/leituras/ItemChecklist/index.d.ts +50 -0
- package/dist/api/graphql/leituras/ItemChecklist/index.js +72 -0
- package/dist/api/graphql/leituras/Menu/index.d.ts +47 -0
- package/dist/api/graphql/leituras/Menu/index.js +67 -0
- package/dist/api/graphql/leituras/MusicaConfigurada/index.d.ts +75 -0
- package/dist/api/graphql/leituras/MusicaConfigurada/index.js +103 -0
- package/dist/api/graphql/leituras/Objetivo/index.d.ts +49 -0
- package/dist/api/graphql/leituras/Objetivo/index.js +73 -0
- package/dist/api/graphql/leituras/PaginaNavegacao/index.d.ts +48 -0
- package/dist/api/graphql/leituras/PaginaNavegacao/index.js +70 -0
- package/dist/api/graphql/leituras/Partida/index.d.ts +128 -0
- package/dist/api/graphql/leituras/Partida/index.js +154 -0
- package/dist/api/graphql/leituras/PosicaoFluxogramaCard/index.d.ts +45 -0
- package/dist/api/graphql/leituras/PosicaoFluxogramaCard/index.js +65 -0
- package/dist/api/graphql/leituras/SerDetalhe/index.d.ts +11 -2
- package/dist/api/graphql/leituras/SerDetalhe/index.js +17 -2
- package/dist/api/graphql/leituras/TipoStatusCard/index.d.ts +42 -0
- package/dist/api/graphql/leituras/TipoStatusCard/index.js +60 -0
- package/dist/api/graphql/leituras/index.d.ts +64 -0
- package/dist/api/graphql/leituras/index.js +64 -0
- package/dist/api/rest/index.d.ts +178 -3
- package/dist/api/rest/index.js +355 -2
- package/dist/dominio/index.d.ts +114 -1
- package/dist/dominio/index.js +28 -1
- package/dist/dtos/index.d.ts +602 -13
- package/dist/dtos/index.js +100 -2
- package/dist/menus/index.d.ts +2 -160
- package/dist/menus/index.js +1 -330
- package/dist/paginas/index.d.ts +90 -74
- package/dist/paginas/index.js +76 -106
- package/dist/shared/index.d.ts +175 -1
- package/dist/ws/index.d.ts +295 -14
- package/dist/ws/index.js +40 -3
- package/package.json +1 -1
package/dist/ws/index.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// AUTO-GENERATED FILE - DO NOT EDIT
|
|
2
2
|
// Contratos WebSocket
|
|
3
|
+
const MIXER_TESTE_ID_ARQUIVO_TIPADO_MUSICA = 1;
|
|
4
|
+
const MIXER_TESTE_ROOM = "mixer-teste";
|
|
5
|
+
// Canais de controle ao vivo (Caso 5): cada par ouvinte/controlador compartilha um canal proprio.
|
|
6
|
+
const MIXER_CANAL_CONTROLAVEL_1 = "mixer-controlavel-1";
|
|
7
|
+
const MIXER_CANAL_CONTROLAVEL_2 = "mixer-controlavel-2";
|
|
3
8
|
const PALCO_ID_SALA = "palco-global";
|
|
4
9
|
const PALCO_ID_LOBBY = "palco-global-lobby";
|
|
5
10
|
// Nome fixo da room no LiveKit. Única room de palco por vez no MVP.
|
|
@@ -48,6 +53,14 @@ var EventosWebSocket;
|
|
|
48
53
|
tipo: 'envia',
|
|
49
54
|
payload: {},
|
|
50
55
|
},
|
|
56
|
+
jogadorMoveSerSalaJogo: {
|
|
57
|
+
tipo: 'envia',
|
|
58
|
+
payload: {},
|
|
59
|
+
},
|
|
60
|
+
jogadorSacaItemSalaJogo: {
|
|
61
|
+
tipo: 'envia',
|
|
62
|
+
payload: {},
|
|
63
|
+
},
|
|
51
64
|
executaTestePericia: {
|
|
52
65
|
tipo: 'envia',
|
|
53
66
|
payload: {},
|
|
@@ -80,7 +93,7 @@ var EventosWebSocket;
|
|
|
80
93
|
},
|
|
81
94
|
});
|
|
82
95
|
const Jogo = createGateway({
|
|
83
|
-
|
|
96
|
+
iniciarPartida: {
|
|
84
97
|
tipo: 'envia-e-recebe',
|
|
85
98
|
payload: {},
|
|
86
99
|
response: {},
|
|
@@ -241,6 +254,16 @@ var EventosWebSocket;
|
|
|
241
254
|
tokenMidia: { tipo: "emite", payload: {}, response: {}, delivery: "perRecipient" },
|
|
242
255
|
diagnosticoAudio: { tipo: "emite", payload: {}, response: {}, delivery: "broadcast" },
|
|
243
256
|
});
|
|
257
|
+
const Mixer = createGateway({
|
|
258
|
+
verificarEstado: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
259
|
+
admin_play: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
260
|
+
admin_pause: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
261
|
+
admin_sincronizar: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
262
|
+
estadoAtualizado: { tipo: "emite", payload: {}, response: {}, delivery: "broadcast" },
|
|
263
|
+
verificarSelecao: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
264
|
+
admin_definirMusica: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
265
|
+
selecaoAtualizada: { tipo: "emite", payload: {}, response: {}, delivery: "broadcast" },
|
|
266
|
+
});
|
|
244
267
|
const EventosUsuario = createGateway({
|
|
245
268
|
// CANAL ESTRUTURAL (permanente): backend emite uma notificação para os usuários online
|
|
246
269
|
notificacaoRecebida: {
|
|
@@ -318,7 +341,21 @@ var EventosWebSocket;
|
|
|
318
341
|
response: { concluido: false },
|
|
319
342
|
},
|
|
320
343
|
});
|
|
321
|
-
|
|
344
|
+
const PainelDoMedo = createGateway({
|
|
345
|
+
painelAtualizado: {
|
|
346
|
+
tipo: 'emite',
|
|
347
|
+
payload: {},
|
|
348
|
+
response: { ok: true },
|
|
349
|
+
delivery: 'broadcast',
|
|
350
|
+
},
|
|
351
|
+
desenhoAtualizado: {
|
|
352
|
+
tipo: 'emite',
|
|
353
|
+
payload: { fkObjetivosId: 0, conteudo: null },
|
|
354
|
+
response: { fkObjetivosId: 0, conteudo: null },
|
|
355
|
+
delivery: 'broadcast',
|
|
356
|
+
},
|
|
357
|
+
});
|
|
358
|
+
EventosWebSocket.gateways = { Chat, Jogo, ExecucaoDeJogo, UsuariosConectados, UsuariosExistentes, TesteVoz, Palco, Mixer, EventosUsuario, Tutoriais, PainelDoMedo };
|
|
322
359
|
})(EventosWebSocket || (EventosWebSocket = {}));
|
|
323
360
|
function isRecord(value) { return typeof value === 'object' && value !== null; }
|
|
324
361
|
function getEmitDelivery(gatewayName, eventName) {
|
|
@@ -354,4 +391,4 @@ function criarEventosFiltrados(tipo) {
|
|
|
354
391
|
const Eventos_Envia = criarEventosFiltrados('envia');
|
|
355
392
|
const Eventos_Emite = criarEventosFiltrados('emite');
|
|
356
393
|
const Eventos_EnviaERecebe = criarEventosFiltrados('envia-e-recebe');
|
|
357
|
-
export { EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, PALCO_ID_LOBBY, PALCO_ID_SALA, PALCO_LIVEKIT_ROOM, TESTE_VOZ_ID_SALA, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|
|
394
|
+
export { EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, MIXER_CANAL_CONTROLAVEL_1, MIXER_CANAL_CONTROLAVEL_2, MIXER_TESTE_ID_ARQUIVO_TIPADO_MUSICA, MIXER_TESTE_ROOM, PALCO_ID_LOBBY, PALCO_ID_SALA, PALCO_LIVEKIT_ROOM, TESTE_VOZ_ID_SALA, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|