types-nora-api 0.0.486 → 0.0.488
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 +12 -2
- package/dist/api/graphql/leituras/ArquivoTipadoMusica/index.js +18 -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/CatalogoMissao/index.d.ts +42 -0
- package/dist/api/graphql/leituras/CatalogoMissao/index.js +60 -0
- package/dist/api/graphql/leituras/CatalogoMissaoExibicao/index.d.ts +45 -0
- package/dist/api/graphql/leituras/CatalogoMissaoExibicao/index.js +65 -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 +37 -0
- package/dist/api/graphql/leituras/DimensaoClima/index.js +51 -0
- package/dist/api/graphql/leituras/FonteMusica/index.d.ts +37 -0
- package/dist/api/graphql/leituras/FonteMusica/index.js +51 -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/Missao/index.d.ts +37 -0
- package/dist/api/graphql/leituras/Missao/index.js +51 -0
- package/dist/api/graphql/leituras/MissaoDetalhe/index.d.ts +44 -0
- package/dist/api/graphql/leituras/MissaoDetalhe/index.js +62 -0
- package/dist/api/graphql/leituras/MissaoExibicao/index.d.ts +48 -0
- package/dist/api/graphql/leituras/MissaoExibicao/index.js +70 -0
- package/dist/api/graphql/leituras/MusicaConfigurada/index.d.ts +74 -0
- package/dist/api/graphql/leituras/MusicaConfigurada/index.js +98 -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/PosicaoFluxogramaCard/index.d.ts +45 -0
- package/dist/api/graphql/leituras/PosicaoFluxogramaCard/index.js +65 -0
- 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 +68 -0
- package/dist/api/graphql/leituras/index.js +68 -0
- package/dist/api/rest/index.d.ts +82 -2
- package/dist/api/rest/index.js +171 -2
- package/dist/dominio/index.d.ts +4 -0
- package/dist/dominio/index.js +1 -0
- package/dist/dtos/index.d.ts +165 -2
- package/dist/dtos/index.js +4 -1
- package/dist/menus/index.d.ts +28 -17
- package/dist/menus/index.js +18 -0
- package/dist/paginas/index.d.ts +28 -0
- package/dist/paginas/index.js +11 -2
- package/dist/shared/index.d.ts +91 -1
- package/dist/ws/index.d.ts +237 -3
- package/dist/ws/index.js +31 -2
- package/package.json +1 -1
package/dist/ws/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SalaDeJogo_Tipo } from '../dtos';
|
|
2
|
-
import type { AberturaTutorialPayload, AcaoDePartidaTestePericiaExecutado, AcaoDisponivel, AcaoSalaJogoAuditoriaVisualizada, CaminhoArquivoAvatar,
|
|
2
|
+
import type { AberturaTutorialPayload, AcaoDePartidaTestePericiaExecutado, AcaoDisponivel, AcaoSalaJogoAuditoriaVisualizada, CaminhoArquivoAvatar, CodigoRecuperarFichaRuntime, EstadoTemporalSalaDeJogoRuntime, EventoUsuarioDto, J_DadosFichaEmJogo, KeyCombatenteMissaoFuncionalSalaDeJogoRuntime, LogicaJogoUsuario_EstouEmJogoDto, LogicaJogoUsuario_ObjetoEmJogoDto, MensagemSalaJogo, MensagemSalaJogoModoResposta, MensagemSalaJogoVisualizada, NotificacaoUsuario, PapelCombatenteMissaoFuncionalSalaDeJogoRuntime, RecursoFichaEmJogoCapacidadeFuncional, RecursoFichaEmJogoEstadoResumo, RecursoFichaEmJogoGrupoFuncional, ReferenciaAcaoDePartida, ResultadoMissaoFuncionalSalaDeJogoRuntime, SalaDeJogoDto, SalaDeJogo_Codigo, SalaDeJogo_SessaoDto, TipoInteragivelPercebidoSalaDeJogoRuntime, UsuarioParaObjetoAutenticacaoDto } from '../dtos';
|
|
3
3
|
import type { PaginaTemplate } from '../paginas';
|
|
4
4
|
import type { ParametrosAcaoMembroSerJogavel } from '../shared';
|
|
5
5
|
interface MensagemChatRecebida {
|
|
@@ -91,7 +91,7 @@ type PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO = {
|
|
|
91
91
|
idPericia: number;
|
|
92
92
|
};
|
|
93
93
|
type PAYLOAD__IniciarModoSolo = {
|
|
94
|
-
|
|
94
|
+
idMissao: number;
|
|
95
95
|
};
|
|
96
96
|
type RESPONSE__IniciarModoSolo = {
|
|
97
97
|
sucesso: true;
|
|
@@ -211,6 +211,51 @@ type MapaLogicoSalaJogoPayloadWsDto = {
|
|
|
211
211
|
type RESPONSE__EmitirMapaLogicoSalaJogo = {
|
|
212
212
|
mapaLogicoSalaJogo: MapaLogicoSalaJogoPayloadWsDto;
|
|
213
213
|
};
|
|
214
|
+
declare const MIXER_TESTE_ID_ARQUIVO_TIPADO_MUSICA = 1;
|
|
215
|
+
declare const MIXER_TESTE_ROOM = "mixer-teste";
|
|
216
|
+
declare const MIXER_CANAL_CONTROLAVEL_1 = "mixer-controlavel-1";
|
|
217
|
+
declare const MIXER_CANAL_CONTROLAVEL_2 = "mixer-controlavel-2";
|
|
218
|
+
type MixerStatusReproducao = "TOCANDO" | "PAUSADO";
|
|
219
|
+
type MixerFaixaDto = {
|
|
220
|
+
idArquivoTipadoMusica: number;
|
|
221
|
+
idArquivo: number;
|
|
222
|
+
caminhoArquivo: string;
|
|
223
|
+
tipoMime: string | null;
|
|
224
|
+
};
|
|
225
|
+
type MixerEstadoDto = {
|
|
226
|
+
status: MixerStatusReproducao;
|
|
227
|
+
faixa: MixerFaixaDto | null;
|
|
228
|
+
posicaoMs: number;
|
|
229
|
+
iniciadoEmMs: number | null;
|
|
230
|
+
atualizadoEmMs: number;
|
|
231
|
+
};
|
|
232
|
+
type PAYLOAD__Mixer_verificarEstado = Record<string, never>;
|
|
233
|
+
type RESPONSE__Mixer_verificarEstado = MixerEstadoDto;
|
|
234
|
+
type PAYLOAD__Mixer_admin_play = Record<string, never>;
|
|
235
|
+
type RESPONSE__Mixer_admin_play = MixerEstadoDto;
|
|
236
|
+
type PAYLOAD__Mixer_admin_pause = Record<string, never>;
|
|
237
|
+
type RESPONSE__Mixer_admin_pause = MixerEstadoDto;
|
|
238
|
+
type PAYLOAD__Mixer_admin_sincronizar = {
|
|
239
|
+
status: MixerStatusReproducao;
|
|
240
|
+
posicaoMs: number;
|
|
241
|
+
};
|
|
242
|
+
type RESPONSE__Mixer_admin_sincronizar = MixerEstadoDto;
|
|
243
|
+
type EMIT__Mixer_estadoAtualizado = MixerEstadoDto;
|
|
244
|
+
type MixerSelecaoDto = {
|
|
245
|
+
canal: string;
|
|
246
|
+
idMusicaConfigurada: number | null;
|
|
247
|
+
atualizadoEmMs: number;
|
|
248
|
+
};
|
|
249
|
+
type PAYLOAD__Mixer_verificarSelecao = {
|
|
250
|
+
canal: string;
|
|
251
|
+
};
|
|
252
|
+
type RESPONSE__Mixer_verificarSelecao = MixerSelecaoDto;
|
|
253
|
+
type PAYLOAD__Mixer_admin_definirMusica = {
|
|
254
|
+
canal: string;
|
|
255
|
+
idMusicaConfigurada: number | null;
|
|
256
|
+
};
|
|
257
|
+
type RESPONSE__Mixer_admin_definirMusica = MixerSelecaoDto;
|
|
258
|
+
type EMIT__Mixer_selecaoAtualizada = MixerSelecaoDto;
|
|
214
259
|
declare const PALCO_ID_SALA = "palco-global";
|
|
215
260
|
declare const PALCO_ID_LOBBY = "palco-global-lobby";
|
|
216
261
|
declare const PALCO_LIVEKIT_ROOM = "palco";
|
|
@@ -762,6 +807,50 @@ declare namespace EventosWebSocket {
|
|
|
762
807
|
delivery: "broadcast";
|
|
763
808
|
};
|
|
764
809
|
};
|
|
810
|
+
readonly Mixer: {
|
|
811
|
+
verificarEstado: {
|
|
812
|
+
tipo: "envia-e-recebe";
|
|
813
|
+
payload: PAYLOAD__Mixer_verificarEstado;
|
|
814
|
+
response: RESPONSE__Mixer_verificarEstado;
|
|
815
|
+
};
|
|
816
|
+
admin_play: {
|
|
817
|
+
tipo: "envia-e-recebe";
|
|
818
|
+
payload: PAYLOAD__Mixer_admin_play;
|
|
819
|
+
response: RESPONSE__Mixer_admin_play;
|
|
820
|
+
};
|
|
821
|
+
admin_pause: {
|
|
822
|
+
tipo: "envia-e-recebe";
|
|
823
|
+
payload: PAYLOAD__Mixer_admin_pause;
|
|
824
|
+
response: RESPONSE__Mixer_admin_pause;
|
|
825
|
+
};
|
|
826
|
+
admin_sincronizar: {
|
|
827
|
+
tipo: "envia-e-recebe";
|
|
828
|
+
payload: PAYLOAD__Mixer_admin_sincronizar;
|
|
829
|
+
response: RESPONSE__Mixer_admin_sincronizar;
|
|
830
|
+
};
|
|
831
|
+
estadoAtualizado: {
|
|
832
|
+
tipo: "emite";
|
|
833
|
+
payload: EMIT__Mixer_estadoAtualizado;
|
|
834
|
+
response: EMIT__Mixer_estadoAtualizado;
|
|
835
|
+
delivery: "broadcast";
|
|
836
|
+
};
|
|
837
|
+
verificarSelecao: {
|
|
838
|
+
tipo: "envia-e-recebe";
|
|
839
|
+
payload: PAYLOAD__Mixer_verificarSelecao;
|
|
840
|
+
response: RESPONSE__Mixer_verificarSelecao;
|
|
841
|
+
};
|
|
842
|
+
admin_definirMusica: {
|
|
843
|
+
tipo: "envia-e-recebe";
|
|
844
|
+
payload: PAYLOAD__Mixer_admin_definirMusica;
|
|
845
|
+
response: RESPONSE__Mixer_admin_definirMusica;
|
|
846
|
+
};
|
|
847
|
+
selecaoAtualizada: {
|
|
848
|
+
tipo: "emite";
|
|
849
|
+
payload: EMIT__Mixer_selecaoAtualizada;
|
|
850
|
+
response: EMIT__Mixer_selecaoAtualizada;
|
|
851
|
+
delivery: "broadcast";
|
|
852
|
+
};
|
|
853
|
+
};
|
|
765
854
|
readonly EventosUsuario: {
|
|
766
855
|
notificacaoRecebida: {
|
|
767
856
|
tipo: "emite";
|
|
@@ -856,6 +945,28 @@ declare namespace EventosWebSocket {
|
|
|
856
945
|
};
|
|
857
946
|
};
|
|
858
947
|
};
|
|
948
|
+
readonly PainelDoMedo: {
|
|
949
|
+
painelAtualizado: {
|
|
950
|
+
tipo: "emite";
|
|
951
|
+
payload: {};
|
|
952
|
+
response: {
|
|
953
|
+
ok: boolean;
|
|
954
|
+
};
|
|
955
|
+
delivery: "broadcast";
|
|
956
|
+
};
|
|
957
|
+
desenhoAtualizado: {
|
|
958
|
+
tipo: "emite";
|
|
959
|
+
payload: {
|
|
960
|
+
fkObjetivosId: number;
|
|
961
|
+
conteudo: string | null;
|
|
962
|
+
};
|
|
963
|
+
response: {
|
|
964
|
+
fkObjetivosId: number;
|
|
965
|
+
conteudo: string | null;
|
|
966
|
+
};
|
|
967
|
+
delivery: "broadcast";
|
|
968
|
+
};
|
|
969
|
+
};
|
|
859
970
|
};
|
|
860
971
|
}
|
|
861
972
|
declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
@@ -1023,6 +1134,9 @@ declare const Eventos_Envia: {
|
|
|
1023
1134
|
};
|
|
1024
1135
|
};
|
|
1025
1136
|
};
|
|
1137
|
+
readonly Mixer: {
|
|
1138
|
+
eventos: {};
|
|
1139
|
+
};
|
|
1026
1140
|
readonly EventosUsuario: {
|
|
1027
1141
|
eventos: {
|
|
1028
1142
|
dispararNotificacaoTeste: {
|
|
@@ -1097,6 +1211,9 @@ declare const Eventos_Envia: {
|
|
|
1097
1211
|
};
|
|
1098
1212
|
};
|
|
1099
1213
|
};
|
|
1214
|
+
readonly PainelDoMedo: {
|
|
1215
|
+
eventos: {};
|
|
1216
|
+
};
|
|
1100
1217
|
};
|
|
1101
1218
|
declare const Eventos_Emite: {
|
|
1102
1219
|
readonly Chat: {
|
|
@@ -1386,6 +1503,30 @@ declare const Eventos_Emite: {
|
|
|
1386
1503
|
};
|
|
1387
1504
|
};
|
|
1388
1505
|
};
|
|
1506
|
+
readonly Mixer: {
|
|
1507
|
+
eventos: {
|
|
1508
|
+
estadoAtualizado: {
|
|
1509
|
+
tipo: "emite";
|
|
1510
|
+
payload: EMIT__Mixer_estadoAtualizado;
|
|
1511
|
+
response: EMIT__Mixer_estadoAtualizado;
|
|
1512
|
+
delivery: "broadcast";
|
|
1513
|
+
} & {
|
|
1514
|
+
readonly nome: "estadoAtualizado";
|
|
1515
|
+
readonly gateway: "Mixer";
|
|
1516
|
+
readonly fullName: "Mixer:estadoAtualizado";
|
|
1517
|
+
};
|
|
1518
|
+
selecaoAtualizada: {
|
|
1519
|
+
tipo: "emite";
|
|
1520
|
+
payload: EMIT__Mixer_selecaoAtualizada;
|
|
1521
|
+
response: EMIT__Mixer_selecaoAtualizada;
|
|
1522
|
+
delivery: "broadcast";
|
|
1523
|
+
} & {
|
|
1524
|
+
readonly nome: "selecaoAtualizada";
|
|
1525
|
+
readonly gateway: "Mixer";
|
|
1526
|
+
readonly fullName: "Mixer:selecaoAtualizada";
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1389
1530
|
readonly EventosUsuario: {
|
|
1390
1531
|
eventos: {
|
|
1391
1532
|
notificacaoRecebida: {
|
|
@@ -1420,6 +1561,38 @@ declare const Eventos_Emite: {
|
|
|
1420
1561
|
};
|
|
1421
1562
|
};
|
|
1422
1563
|
};
|
|
1564
|
+
readonly PainelDoMedo: {
|
|
1565
|
+
eventos: {
|
|
1566
|
+
painelAtualizado: {
|
|
1567
|
+
tipo: "emite";
|
|
1568
|
+
payload: {};
|
|
1569
|
+
response: {
|
|
1570
|
+
ok: boolean;
|
|
1571
|
+
};
|
|
1572
|
+
delivery: "broadcast";
|
|
1573
|
+
} & {
|
|
1574
|
+
readonly nome: "painelAtualizado";
|
|
1575
|
+
readonly gateway: "PainelDoMedo";
|
|
1576
|
+
readonly fullName: "PainelDoMedo:painelAtualizado";
|
|
1577
|
+
};
|
|
1578
|
+
desenhoAtualizado: {
|
|
1579
|
+
tipo: "emite";
|
|
1580
|
+
payload: {
|
|
1581
|
+
fkObjetivosId: number;
|
|
1582
|
+
conteudo: string | null;
|
|
1583
|
+
};
|
|
1584
|
+
response: {
|
|
1585
|
+
fkObjetivosId: number;
|
|
1586
|
+
conteudo: string | null;
|
|
1587
|
+
};
|
|
1588
|
+
delivery: "broadcast";
|
|
1589
|
+
} & {
|
|
1590
|
+
readonly nome: "desenhoAtualizado";
|
|
1591
|
+
readonly gateway: "PainelDoMedo";
|
|
1592
|
+
readonly fullName: "PainelDoMedo:desenhoAtualizado";
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
};
|
|
1423
1596
|
};
|
|
1424
1597
|
declare const Eventos_EnviaERecebe: {
|
|
1425
1598
|
readonly Chat: {
|
|
@@ -1582,6 +1755,64 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1582
1755
|
};
|
|
1583
1756
|
};
|
|
1584
1757
|
};
|
|
1758
|
+
readonly Mixer: {
|
|
1759
|
+
eventos: {
|
|
1760
|
+
verificarEstado: {
|
|
1761
|
+
tipo: "envia-e-recebe";
|
|
1762
|
+
payload: PAYLOAD__Mixer_verificarEstado;
|
|
1763
|
+
response: RESPONSE__Mixer_verificarEstado;
|
|
1764
|
+
} & {
|
|
1765
|
+
readonly nome: "verificarEstado";
|
|
1766
|
+
readonly gateway: "Mixer";
|
|
1767
|
+
readonly fullName: "Mixer:verificarEstado";
|
|
1768
|
+
};
|
|
1769
|
+
admin_play: {
|
|
1770
|
+
tipo: "envia-e-recebe";
|
|
1771
|
+
payload: PAYLOAD__Mixer_admin_play;
|
|
1772
|
+
response: RESPONSE__Mixer_admin_play;
|
|
1773
|
+
} & {
|
|
1774
|
+
readonly nome: "admin_play";
|
|
1775
|
+
readonly gateway: "Mixer";
|
|
1776
|
+
readonly fullName: "Mixer:admin_play";
|
|
1777
|
+
};
|
|
1778
|
+
admin_pause: {
|
|
1779
|
+
tipo: "envia-e-recebe";
|
|
1780
|
+
payload: PAYLOAD__Mixer_admin_pause;
|
|
1781
|
+
response: RESPONSE__Mixer_admin_pause;
|
|
1782
|
+
} & {
|
|
1783
|
+
readonly nome: "admin_pause";
|
|
1784
|
+
readonly gateway: "Mixer";
|
|
1785
|
+
readonly fullName: "Mixer:admin_pause";
|
|
1786
|
+
};
|
|
1787
|
+
admin_sincronizar: {
|
|
1788
|
+
tipo: "envia-e-recebe";
|
|
1789
|
+
payload: PAYLOAD__Mixer_admin_sincronizar;
|
|
1790
|
+
response: RESPONSE__Mixer_admin_sincronizar;
|
|
1791
|
+
} & {
|
|
1792
|
+
readonly nome: "admin_sincronizar";
|
|
1793
|
+
readonly gateway: "Mixer";
|
|
1794
|
+
readonly fullName: "Mixer:admin_sincronizar";
|
|
1795
|
+
};
|
|
1796
|
+
verificarSelecao: {
|
|
1797
|
+
tipo: "envia-e-recebe";
|
|
1798
|
+
payload: PAYLOAD__Mixer_verificarSelecao;
|
|
1799
|
+
response: RESPONSE__Mixer_verificarSelecao;
|
|
1800
|
+
} & {
|
|
1801
|
+
readonly nome: "verificarSelecao";
|
|
1802
|
+
readonly gateway: "Mixer";
|
|
1803
|
+
readonly fullName: "Mixer:verificarSelecao";
|
|
1804
|
+
};
|
|
1805
|
+
admin_definirMusica: {
|
|
1806
|
+
tipo: "envia-e-recebe";
|
|
1807
|
+
payload: PAYLOAD__Mixer_admin_definirMusica;
|
|
1808
|
+
response: RESPONSE__Mixer_admin_definirMusica;
|
|
1809
|
+
} & {
|
|
1810
|
+
readonly nome: "admin_definirMusica";
|
|
1811
|
+
readonly gateway: "Mixer";
|
|
1812
|
+
readonly fullName: "Mixer:admin_definirMusica";
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1585
1816
|
readonly EventosUsuario: {
|
|
1586
1817
|
eventos: {
|
|
1587
1818
|
obterMeusEventos: {
|
|
@@ -1640,5 +1871,8 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1640
1871
|
};
|
|
1641
1872
|
};
|
|
1642
1873
|
};
|
|
1874
|
+
readonly PainelDoMedo: {
|
|
1875
|
+
eventos: {};
|
|
1876
|
+
};
|
|
1643
1877
|
};
|
|
1644
|
-
export { AcaoDisponivelSerNaSalaJogoWsDto, CapacidadeInataSerNaSalaJogoWsDto, EMIT__Palco_diagnosticoAudio, EMIT__Palco_encerrado, EMIT__Palco_estadoAtualizado, EMIT__Palco_tokenMidia, EMIT__TesteVoz_receberAnswer, EMIT__TesteVoz_receberIceCandidate, EMIT__TesteVoz_receberOffer, EMIT__TesteVoz_usuarioEntrou, EMIT__TesteVoz_usuarioSaiu, EmitDelivery, EstadoAcaoDisponivelSerNaSalaJogoWsDto, EstatisticaDanificavelSerNaSalaJogoWsDto, EventoAuthDefault, EventoEmite, EventoEmiteAny, EventoEnvia, EventoEnviaERecebe, EventoSchema, EventoTipo, EventoTipoLiteral, EventosEmiteMap, EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, FiltraEventosPorTipo, GatewayDef, Gateways, InteragivelPercebidoSalaJogoWsDto, MapaLogicoSalaJogoPayloadWsDto, MapaLogicoSalaJogoWsDto, MembroSerNaSalaJogoWsDto, MensagemChatPayload, MensagemChatRecebida, OcupanteMapaLogicoSalaJogoWsDto, OrigemAcaoDisponivelSerNaSalaJogoWsDto, PALCO_ID_LOBBY, PALCO_ID_SALA, PALCO_LIVEKIT_ROOM, PAYLOAD__EmitirEstadoTemporalSalaJogo, PAYLOAD__EmitirFichaEmJogo, PAYLOAD__EmitirMapaLogicoSalaJogo, PAYLOAD__EmitirResultadoMissaoFuncionalSalaJogo, PAYLOAD__ExecutaTestePericia_PROTOTIPO, PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__IniciarModoSolo, PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__NARRADOR_solicitaTestePericiaParticipantes, PAYLOAD__Palco_admin_criar, PAYLOAD__Palco_admin_definirPapel, PAYLOAD__Palco_admin_encerrar, PAYLOAD__Palco_admin_promover, PAYLOAD__Palco_admin_rebaixar, PAYLOAD__Palco_admin_remover, PAYLOAD__Palco_entrar, PAYLOAD__Palco_relatarTelemetriaAudio, PAYLOAD__Palco_verificarEstado, PAYLOAD__TesteVoz_entrarNaSala, PAYLOAD__TesteVoz_enviarAnswer, PAYLOAD__TesteVoz_enviarIceCandidate, PAYLOAD__TesteVoz_enviarOffer, PAYLOAD__emitirAuditoriaAcoesSalaJogo, PAYLOAD__emitirMensagemSalaJogo, PAYLOAD__emitirMensagemSalaJogo__Enviando, PAYLOAD__emitirMensagemSalaJogo__Escutando, PAYLOAD__emitirMensagensSalaJogo, PAYLOAD__encerrarAcompanhamentoAuditoriaAcoesSalaJogo, PAYLOAD__executaAcao, PAYLOAD__executaAcaoSerNaSala, PAYLOAD__executaTestePericia, PAYLOAD__jogadorEsperaSalaJogo, PalcoAudioDiagnosticoItem, PalcoEstadoDto, PalcoParticipanteDto, PalcoParticipantePapel, PerfilFuncionalInspecaoMapaLogicoSalaJogoWsDto, PosicaoMapaLogicoSalaJogoWsDto, RESPONSE__EmitirEstadoTemporalSalaJogo, RESPONSE__EmitirMapaLogicoSalaJogo, RESPONSE__EmitirResultadoMissaoFuncionalSalaJogo, RESPONSE__IniciarModoSolo, RESPONSE__NARRADOR_solicitaTestePericiaParticipantes, RESPONSE__Palco_admin_criar, RESPONSE__Palco_admin_definirPapel, RESPONSE__Palco_admin_encerrar, RESPONSE__Palco_admin_promover, RESPONSE__Palco_admin_rebaixar, RESPONSE__Palco_admin_remover, RESPONSE__Palco_entrar, RESPONSE__Palco_verificarEstado, RESPONSE__TesteVoz_entrarNaSala, RESPONSE__emitirAuditoriaAcoesSalaJogo, RESPONSE__emitirMensagensSalaJogo, RecursoFuncionalInspecaoMapaLogicoSalaJogoWsDto, SOCKET_AcessoSocket, SOCKET_AcessoUsuario, SOCKET_PresencaUsuario, SOCKET_UsuarioExistente, SalaChat, SalaChatFront, SerNaSalaJogoWsDto, TESTE_VOZ_ID_SALA, TelemetryConnectionInfo, TelemetryEventLog, TelemetrySnapshot, TesteVoz_DescricaoSessao, TesteVoz_DescricaoSessaoTipo, TesteVoz_IceCandidate, TesteVoz_IdSala, TesteVoz_IdSocket, TesteVoz_IdUsuario, WsEmitParams, WsEmitTarget, WsErrorResponse, WsEventAudience, WsEventAudienceMultiplo, WsEventAudienceUnico, WsResult, WsUnauthorizedErrorResponse, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|
|
1878
|
+
export { AcaoDisponivelSerNaSalaJogoWsDto, CapacidadeInataSerNaSalaJogoWsDto, EMIT__Mixer_estadoAtualizado, EMIT__Mixer_selecaoAtualizada, EMIT__Palco_diagnosticoAudio, EMIT__Palco_encerrado, EMIT__Palco_estadoAtualizado, EMIT__Palco_tokenMidia, EMIT__TesteVoz_receberAnswer, EMIT__TesteVoz_receberIceCandidate, EMIT__TesteVoz_receberOffer, EMIT__TesteVoz_usuarioEntrou, EMIT__TesteVoz_usuarioSaiu, EmitDelivery, EstadoAcaoDisponivelSerNaSalaJogoWsDto, EstatisticaDanificavelSerNaSalaJogoWsDto, EventoAuthDefault, EventoEmite, EventoEmiteAny, EventoEnvia, EventoEnviaERecebe, EventoSchema, EventoTipo, EventoTipoLiteral, EventosEmiteMap, EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, FiltraEventosPorTipo, GatewayDef, Gateways, InteragivelPercebidoSalaJogoWsDto, MIXER_CANAL_CONTROLAVEL_1, MIXER_CANAL_CONTROLAVEL_2, MIXER_TESTE_ID_ARQUIVO_TIPADO_MUSICA, MIXER_TESTE_ROOM, MapaLogicoSalaJogoPayloadWsDto, MapaLogicoSalaJogoWsDto, MembroSerNaSalaJogoWsDto, MensagemChatPayload, MensagemChatRecebida, MixerEstadoDto, MixerFaixaDto, MixerSelecaoDto, MixerStatusReproducao, OcupanteMapaLogicoSalaJogoWsDto, OrigemAcaoDisponivelSerNaSalaJogoWsDto, PALCO_ID_LOBBY, PALCO_ID_SALA, PALCO_LIVEKIT_ROOM, PAYLOAD__EmitirEstadoTemporalSalaJogo, PAYLOAD__EmitirFichaEmJogo, PAYLOAD__EmitirMapaLogicoSalaJogo, PAYLOAD__EmitirResultadoMissaoFuncionalSalaJogo, PAYLOAD__ExecutaTestePericia_PROTOTIPO, PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__IniciarModoSolo, PAYLOAD__Mixer_admin_definirMusica, PAYLOAD__Mixer_admin_pause, PAYLOAD__Mixer_admin_play, PAYLOAD__Mixer_admin_sincronizar, PAYLOAD__Mixer_verificarEstado, PAYLOAD__Mixer_verificarSelecao, PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__NARRADOR_solicitaTestePericiaParticipantes, PAYLOAD__Palco_admin_criar, PAYLOAD__Palco_admin_definirPapel, PAYLOAD__Palco_admin_encerrar, PAYLOAD__Palco_admin_promover, PAYLOAD__Palco_admin_rebaixar, PAYLOAD__Palco_admin_remover, PAYLOAD__Palco_entrar, PAYLOAD__Palco_relatarTelemetriaAudio, PAYLOAD__Palco_verificarEstado, PAYLOAD__TesteVoz_entrarNaSala, PAYLOAD__TesteVoz_enviarAnswer, PAYLOAD__TesteVoz_enviarIceCandidate, PAYLOAD__TesteVoz_enviarOffer, PAYLOAD__emitirAuditoriaAcoesSalaJogo, PAYLOAD__emitirMensagemSalaJogo, PAYLOAD__emitirMensagemSalaJogo__Enviando, PAYLOAD__emitirMensagemSalaJogo__Escutando, PAYLOAD__emitirMensagensSalaJogo, PAYLOAD__encerrarAcompanhamentoAuditoriaAcoesSalaJogo, PAYLOAD__executaAcao, PAYLOAD__executaAcaoSerNaSala, PAYLOAD__executaTestePericia, PAYLOAD__jogadorEsperaSalaJogo, PalcoAudioDiagnosticoItem, PalcoEstadoDto, PalcoParticipanteDto, PalcoParticipantePapel, PerfilFuncionalInspecaoMapaLogicoSalaJogoWsDto, PosicaoMapaLogicoSalaJogoWsDto, RESPONSE__EmitirEstadoTemporalSalaJogo, RESPONSE__EmitirMapaLogicoSalaJogo, RESPONSE__EmitirResultadoMissaoFuncionalSalaJogo, RESPONSE__IniciarModoSolo, RESPONSE__Mixer_admin_definirMusica, RESPONSE__Mixer_admin_pause, RESPONSE__Mixer_admin_play, RESPONSE__Mixer_admin_sincronizar, RESPONSE__Mixer_verificarEstado, RESPONSE__Mixer_verificarSelecao, RESPONSE__NARRADOR_solicitaTestePericiaParticipantes, RESPONSE__Palco_admin_criar, RESPONSE__Palco_admin_definirPapel, RESPONSE__Palco_admin_encerrar, RESPONSE__Palco_admin_promover, RESPONSE__Palco_admin_rebaixar, RESPONSE__Palco_admin_remover, RESPONSE__Palco_entrar, RESPONSE__Palco_verificarEstado, RESPONSE__TesteVoz_entrarNaSala, RESPONSE__emitirAuditoriaAcoesSalaJogo, RESPONSE__emitirMensagensSalaJogo, RecursoFuncionalInspecaoMapaLogicoSalaJogoWsDto, SOCKET_AcessoSocket, SOCKET_AcessoUsuario, SOCKET_PresencaUsuario, SOCKET_UsuarioExistente, SalaChat, SalaChatFront, SerNaSalaJogoWsDto, TESTE_VOZ_ID_SALA, TelemetryConnectionInfo, TelemetryEventLog, TelemetrySnapshot, TesteVoz_DescricaoSessao, TesteVoz_DescricaoSessaoTipo, TesteVoz_IceCandidate, TesteVoz_IdSala, TesteVoz_IdSocket, TesteVoz_IdUsuario, WsEmitParams, WsEmitTarget, WsErrorResponse, WsEventAudience, WsEventAudienceMultiplo, WsEventAudienceUnico, WsResult, WsUnauthorizedErrorResponse, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|
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.
|
|
@@ -241,6 +246,16 @@ var EventosWebSocket;
|
|
|
241
246
|
tokenMidia: { tipo: "emite", payload: {}, response: {}, delivery: "perRecipient" },
|
|
242
247
|
diagnosticoAudio: { tipo: "emite", payload: {}, response: {}, delivery: "broadcast" },
|
|
243
248
|
});
|
|
249
|
+
const Mixer = createGateway({
|
|
250
|
+
verificarEstado: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
251
|
+
admin_play: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
252
|
+
admin_pause: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
253
|
+
admin_sincronizar: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
254
|
+
estadoAtualizado: { tipo: "emite", payload: {}, response: {}, delivery: "broadcast" },
|
|
255
|
+
verificarSelecao: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
256
|
+
admin_definirMusica: { tipo: "envia-e-recebe", payload: {}, response: {} },
|
|
257
|
+
selecaoAtualizada: { tipo: "emite", payload: {}, response: {}, delivery: "broadcast" },
|
|
258
|
+
});
|
|
244
259
|
const EventosUsuario = createGateway({
|
|
245
260
|
// CANAL ESTRUTURAL (permanente): backend emite uma notificação para os usuários online
|
|
246
261
|
notificacaoRecebida: {
|
|
@@ -318,7 +333,21 @@ var EventosWebSocket;
|
|
|
318
333
|
response: { concluido: false },
|
|
319
334
|
},
|
|
320
335
|
});
|
|
321
|
-
|
|
336
|
+
const PainelDoMedo = createGateway({
|
|
337
|
+
painelAtualizado: {
|
|
338
|
+
tipo: 'emite',
|
|
339
|
+
payload: {},
|
|
340
|
+
response: { ok: true },
|
|
341
|
+
delivery: 'broadcast',
|
|
342
|
+
},
|
|
343
|
+
desenhoAtualizado: {
|
|
344
|
+
tipo: 'emite',
|
|
345
|
+
payload: { fkObjetivosId: 0, conteudo: null },
|
|
346
|
+
response: { fkObjetivosId: 0, conteudo: null },
|
|
347
|
+
delivery: 'broadcast',
|
|
348
|
+
},
|
|
349
|
+
});
|
|
350
|
+
EventosWebSocket.gateways = { Chat, Jogo, ExecucaoDeJogo, UsuariosConectados, UsuariosExistentes, TesteVoz, Palco, Mixer, EventosUsuario, Tutoriais, PainelDoMedo };
|
|
322
351
|
})(EventosWebSocket || (EventosWebSocket = {}));
|
|
323
352
|
function isRecord(value) { return typeof value === 'object' && value !== null; }
|
|
324
353
|
function getEmitDelivery(gatewayName, eventName) {
|
|
@@ -354,4 +383,4 @@ function criarEventosFiltrados(tipo) {
|
|
|
354
383
|
const Eventos_Envia = criarEventosFiltrados('envia');
|
|
355
384
|
const Eventos_Emite = criarEventosFiltrados('emite');
|
|
356
385
|
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 };
|
|
386
|
+
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 };
|