types-nora-api 0.0.161 → 0.0.163
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 +55 -6
- package/dist/classes.js +13 -2
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -754,6 +754,17 @@ interface MensagemChatPayload {
|
|
|
754
754
|
salaId: string;
|
|
755
755
|
conteudo: string;
|
|
756
756
|
}
|
|
757
|
+
type CACHE_SalaDeJogo = {
|
|
758
|
+
idSessao: number | null;
|
|
759
|
+
dados: SOCKET_DadosSessao;
|
|
760
|
+
};
|
|
761
|
+
type SOCKET_DadosSessao = {
|
|
762
|
+
jogadores: Map<number, SOCKET_DadosJogador>;
|
|
763
|
+
};
|
|
764
|
+
type SOCKET_DadosJogador = {
|
|
765
|
+
personagens: Map<number, PersonagemDto>;
|
|
766
|
+
};
|
|
767
|
+
type SOCKET_CodigoSalaDeJogo = `${number}_${string}`;
|
|
757
768
|
type SOCKET_AcessoUsuario = {
|
|
758
769
|
usuario: UsuarioDto;
|
|
759
770
|
paginaAtual?: PaginaObjeto | null;
|
|
@@ -845,7 +856,22 @@ declare namespace EventosWebSocket {
|
|
|
845
856
|
};
|
|
846
857
|
};
|
|
847
858
|
};
|
|
848
|
-
readonly
|
|
859
|
+
readonly Jogo: {
|
|
860
|
+
emitirSessaoEmAndamento: {
|
|
861
|
+
tipo: "emite";
|
|
862
|
+
payload: {};
|
|
863
|
+
response: {
|
|
864
|
+
sessaoEmAndamento: SessaoDto;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
emitirDadosSessao: {
|
|
868
|
+
tipo: "emite";
|
|
869
|
+
payload: {};
|
|
870
|
+
response: {
|
|
871
|
+
sessaoEmAndamento: SessaoDto;
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
};
|
|
849
875
|
readonly UsuariosConectados: {
|
|
850
876
|
emitirUsuariosConectadosAgora: {
|
|
851
877
|
tipo: "emite";
|
|
@@ -1046,7 +1072,7 @@ declare const Eventos_Envia: {
|
|
|
1046
1072
|
};
|
|
1047
1073
|
};
|
|
1048
1074
|
};
|
|
1049
|
-
readonly
|
|
1075
|
+
readonly Jogo: {
|
|
1050
1076
|
eventos: {};
|
|
1051
1077
|
};
|
|
1052
1078
|
readonly UsuariosConectados: {
|
|
@@ -1076,8 +1102,31 @@ declare const Eventos_Emite: {
|
|
|
1076
1102
|
};
|
|
1077
1103
|
};
|
|
1078
1104
|
};
|
|
1079
|
-
readonly
|
|
1080
|
-
eventos: {
|
|
1105
|
+
readonly Jogo: {
|
|
1106
|
+
eventos: {
|
|
1107
|
+
emitirSessaoEmAndamento: {
|
|
1108
|
+
tipo: "emite";
|
|
1109
|
+
payload: {};
|
|
1110
|
+
response: {
|
|
1111
|
+
sessaoEmAndamento: SessaoDto;
|
|
1112
|
+
};
|
|
1113
|
+
} & {
|
|
1114
|
+
readonly nome: "emitirSessaoEmAndamento";
|
|
1115
|
+
readonly gateway: "Jogo";
|
|
1116
|
+
readonly fullName: "Jogo:emitirSessaoEmAndamento";
|
|
1117
|
+
};
|
|
1118
|
+
emitirDadosSessao: {
|
|
1119
|
+
tipo: "emite";
|
|
1120
|
+
payload: {};
|
|
1121
|
+
response: {
|
|
1122
|
+
sessaoEmAndamento: SessaoDto;
|
|
1123
|
+
};
|
|
1124
|
+
} & {
|
|
1125
|
+
readonly nome: "emitirDadosSessao";
|
|
1126
|
+
readonly gateway: "Jogo";
|
|
1127
|
+
readonly fullName: "Jogo:emitirDadosSessao";
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1081
1130
|
};
|
|
1082
1131
|
readonly UsuariosConectados: {
|
|
1083
1132
|
eventos: {
|
|
@@ -1114,7 +1163,7 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1114
1163
|
};
|
|
1115
1164
|
};
|
|
1116
1165
|
};
|
|
1117
|
-
readonly
|
|
1166
|
+
readonly Jogo: {
|
|
1118
1167
|
eventos: {};
|
|
1119
1168
|
};
|
|
1120
1169
|
readonly UsuariosConectados: {
|
|
@@ -1136,4 +1185,4 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1136
1185
|
};
|
|
1137
1186
|
};
|
|
1138
1187
|
};
|
|
1139
|
-
export { IArcoAventura, ArcoAventuraDto, IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, IDetalheSessaoAventura, DetalheSessaoAventuraDto, IDetalheSessaoCanonica, DetalheSessaoCanonicaDto, CapituloSessaoCanonica, IDetalheSessaoNaoCanonica, DetalheSessaoNaoCanonicaDto, IDetalheSessaoUnica, DetalheSessaoUnicaDto, IParticipanteSessaoUnica, ParticipanteSessaoUnicaDto, ICoeficienteGanhoEstatisticaClasse, CoeficienteGanhoEstatisticaClasseDto, IGanhoNivelClasse, GanhoNivelClasseDto, DadosDoTipoGanho, DadosGanho_Atributos, DadosGanho_Pericias, DadosGanho_Estatisticas, DadosGanho_Classes, DadosGanho_ValorMaximoAtributo, DadosGanho_PontosHabilidadesEspeciais, DadosGanho_PontosHabilidadesParanormais, DadosGanho_PontosHabilidadeElemental, IGanhoRelativoCoeficienteAtributo, GanhoRelativoCoeficienteAtributoDto, ITipoGanhoNivel, TipoGanhoNivelDto, IGeracao, GeracaoDto, IImagem, ImagemDto, ITipoImagem, TipoImagemDto, IAlcance, AlcanceDto, IAtributo, AtributoDto, ICategoriaRitual, CategoriaRitualDto, ICirculoRitual, CirculoRitualDto, IClasse, ClasseDto, IDuracao, DuracaoDto, IElemento, ElementoDto, IEstatisticaDanificavel, EstatisticaDanificavelDto, IExecucao, ExecucaoDto, IFormatoAlcance, FormatoAlcanceDto, ILinhaEfeito, LinhaEfeitoDto, INivel, NivelDto, INivelComponente, NivelComponenteDto, INivelProficiencia, NivelProficienciaDto, INivelRitual, NivelRitualDto, IPatentePericia, PatentePericiaDto, IPericia, PericiaDto, IProficiencia, ProficienciaDto, ITipoAlvo, TipoAlvoDto, ITipoCategoria, TipoCategoriaDto, ITipoDano, TipoDanoDto, ITipoEfeito, TipoEfeitoDto, ITipoItem, TipoItemDto, ITipoProficiencia, TipoProficienciaDto, ILink, LinkDto, ITipoLink, TipoLinkDto, IDificuldadeSessao, DificuldadeSessaoDto, IEstiloSessaoMestrada, EstiloSessaoMestradaDto, ITipoSessao, TipoSessaoDto, IPerfilAdmin, PerfilAdminDto, IPerfilJogador, PerfilJogadorDto, IPerfilMestre, PerfilMestreDto, IFichaPersonagem, FichaPersonagemDto, ObjetoFicha, DetalheEvolucao, DetalhesExtras, FichaDeJogo, AtributoFicha, PericiaFicha, EstatisticaDanificavelFicha, DetalheFicha, RegistroPericiaLivre, IInformacaoPersonagem, InformacaoPersonagemDto, IPersonagem, PersonagemDto, IResumoPersonagemAventura, ResumoPersonagemAventuraDto, ITipoPersonagem, TipoPersonagemDto, IDetalheRascunhoAventura, DetalheRascunhoAventuraDto, IDetalheRascunhoSessaoUnica, DetalheRascunhoSessaoUnicaDto, IDetalheRascunhoSessaoUnicaCanonica, DetalheRascunhoSessaoUnicaCanonicaDto, IRascunho, RascunhoDto, IEstudo, EstudoDto, IRegistroSessao, RegistroSessaoDto, ISessao, SessaoDto, AuthSession, ICustomizacaoUsuario, CustomizacaoUsuarioDto, IDisponibilidadeUsuario, DisponibilidadeUsuarioDto, ListaDisponibilidadesUsuario, DisponibilidadesDDS, JanelaDisponibilidade, IUsuario, UsuarioDto, PAGINAS, PaginaChave, PaginaObjeto, MensagemChatRecebida, SalaChat, SalaChatFront, MensagemChatPayload, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, TelemetryConnectionInfo, WsEventAudienceUnico, WsEventAudienceMultiplo, WsEventAudience, TelemetryEventLog, TelemetrySnapshot, EventoTipo, EventoEnvia, EventoEmite, EventoEnviaERecebe, EventoSchema, GatewayDef, createGateway, EventosWebSocket, EventosEmiteMap, EventoEmiteAny, PaletaCores, EstruturaPaginaDefinicao, ConteudoItem, DefinicaoElemento, ListaItem, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, NumeroHora24, NumeroMomento, MomentoFormatado24, MomentoFormatado, CargoExibicaoUsuario, CargosUsuario, ObjetoAutenticacao, ObjetoCache, ObjetoPendeciaPersonagem, TipoVariavelAmbiente, ObjetoEvolucaoCompleto, ObjetoEvolucao, ObjetoGanhosEvolucao, GanhoEstatistica, FormatoMomento, DetalheUtilizacaoRascunho, EstiloSessao, Gateways, EventoTipoLiteral, FiltraEventosPorTipo, criarEventosFiltrados, Eventos_Envia, Eventos_Emite, Eventos_EnviaERecebe };
|
|
1188
|
+
export { IArcoAventura, ArcoAventuraDto, IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, IDetalheSessaoAventura, DetalheSessaoAventuraDto, IDetalheSessaoCanonica, DetalheSessaoCanonicaDto, CapituloSessaoCanonica, IDetalheSessaoNaoCanonica, DetalheSessaoNaoCanonicaDto, IDetalheSessaoUnica, DetalheSessaoUnicaDto, IParticipanteSessaoUnica, ParticipanteSessaoUnicaDto, ICoeficienteGanhoEstatisticaClasse, CoeficienteGanhoEstatisticaClasseDto, IGanhoNivelClasse, GanhoNivelClasseDto, DadosDoTipoGanho, DadosGanho_Atributos, DadosGanho_Pericias, DadosGanho_Estatisticas, DadosGanho_Classes, DadosGanho_ValorMaximoAtributo, DadosGanho_PontosHabilidadesEspeciais, DadosGanho_PontosHabilidadesParanormais, DadosGanho_PontosHabilidadeElemental, IGanhoRelativoCoeficienteAtributo, GanhoRelativoCoeficienteAtributoDto, ITipoGanhoNivel, TipoGanhoNivelDto, IGeracao, GeracaoDto, IImagem, ImagemDto, ITipoImagem, TipoImagemDto, IAlcance, AlcanceDto, IAtributo, AtributoDto, ICategoriaRitual, CategoriaRitualDto, ICirculoRitual, CirculoRitualDto, IClasse, ClasseDto, IDuracao, DuracaoDto, IElemento, ElementoDto, IEstatisticaDanificavel, EstatisticaDanificavelDto, IExecucao, ExecucaoDto, IFormatoAlcance, FormatoAlcanceDto, ILinhaEfeito, LinhaEfeitoDto, INivel, NivelDto, INivelComponente, NivelComponenteDto, INivelProficiencia, NivelProficienciaDto, INivelRitual, NivelRitualDto, IPatentePericia, PatentePericiaDto, IPericia, PericiaDto, IProficiencia, ProficienciaDto, ITipoAlvo, TipoAlvoDto, ITipoCategoria, TipoCategoriaDto, ITipoDano, TipoDanoDto, ITipoEfeito, TipoEfeitoDto, ITipoItem, TipoItemDto, ITipoProficiencia, TipoProficienciaDto, ILink, LinkDto, ITipoLink, TipoLinkDto, IDificuldadeSessao, DificuldadeSessaoDto, IEstiloSessaoMestrada, EstiloSessaoMestradaDto, ITipoSessao, TipoSessaoDto, IPerfilAdmin, PerfilAdminDto, IPerfilJogador, PerfilJogadorDto, IPerfilMestre, PerfilMestreDto, IFichaPersonagem, FichaPersonagemDto, ObjetoFicha, DetalheEvolucao, DetalhesExtras, FichaDeJogo, AtributoFicha, PericiaFicha, EstatisticaDanificavelFicha, DetalheFicha, RegistroPericiaLivre, IInformacaoPersonagem, InformacaoPersonagemDto, IPersonagem, PersonagemDto, IResumoPersonagemAventura, ResumoPersonagemAventuraDto, ITipoPersonagem, TipoPersonagemDto, IDetalheRascunhoAventura, DetalheRascunhoAventuraDto, IDetalheRascunhoSessaoUnica, DetalheRascunhoSessaoUnicaDto, IDetalheRascunhoSessaoUnicaCanonica, DetalheRascunhoSessaoUnicaCanonicaDto, IRascunho, RascunhoDto, IEstudo, EstudoDto, IRegistroSessao, RegistroSessaoDto, ISessao, SessaoDto, AuthSession, ICustomizacaoUsuario, CustomizacaoUsuarioDto, IDisponibilidadeUsuario, DisponibilidadeUsuarioDto, ListaDisponibilidadesUsuario, DisponibilidadesDDS, JanelaDisponibilidade, IUsuario, UsuarioDto, PAGINAS, PaginaChave, PaginaObjeto, MensagemChatRecebida, SalaChat, SalaChatFront, MensagemChatPayload, CACHE_SalaDeJogo, SOCKET_DadosSessao, SOCKET_DadosJogador, SOCKET_CodigoSalaDeJogo, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, TelemetryConnectionInfo, WsEventAudienceUnico, WsEventAudienceMultiplo, WsEventAudience, TelemetryEventLog, TelemetrySnapshot, EventoTipo, EventoEnvia, EventoEmite, EventoEnviaERecebe, EventoSchema, GatewayDef, createGateway, EventosWebSocket, EventosEmiteMap, EventoEmiteAny, PaletaCores, EstruturaPaginaDefinicao, ConteudoItem, DefinicaoElemento, ListaItem, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, NumeroHora24, NumeroMomento, MomentoFormatado24, MomentoFormatado, CargoExibicaoUsuario, CargosUsuario, ObjetoAutenticacao, ObjetoCache, ObjetoPendeciaPersonagem, TipoVariavelAmbiente, ObjetoEvolucaoCompleto, ObjetoEvolucao, ObjetoGanhosEvolucao, GanhoEstatistica, FormatoMomento, DetalheUtilizacaoRascunho, EstiloSessao, Gateways, EventoTipoLiteral, FiltraEventosPorTipo, criarEventosFiltrados, Eventos_Envia, Eventos_Emite, Eventos_EnviaERecebe };
|
package/dist/classes.js
CHANGED
|
@@ -94,7 +94,18 @@ var EventosWebSocket;
|
|
|
94
94
|
response: { conteudoMensagem: {} },
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
|
-
const
|
|
97
|
+
const Jogo = createGateway({
|
|
98
|
+
emitirSessaoEmAndamento: {
|
|
99
|
+
tipo: 'emite',
|
|
100
|
+
payload: {},
|
|
101
|
+
response: { sessaoEmAndamento: {} }
|
|
102
|
+
},
|
|
103
|
+
emitirDadosSessao: {
|
|
104
|
+
tipo: 'emite',
|
|
105
|
+
payload: {},
|
|
106
|
+
response: { sessaoEmAndamento: {} }
|
|
107
|
+
},
|
|
108
|
+
});
|
|
98
109
|
const UsuariosConectados = createGateway({
|
|
99
110
|
emitirUsuariosConectadosAgora: {
|
|
100
111
|
tipo: 'emite',
|
|
@@ -109,7 +120,7 @@ var EventosWebSocket;
|
|
|
109
120
|
response: { usuariosExistentes: [] },
|
|
110
121
|
},
|
|
111
122
|
});
|
|
112
|
-
EventosWebSocket.gateways = { Chat,
|
|
123
|
+
EventosWebSocket.gateways = { Chat, Jogo, UsuariosConectados, UsuariosExistentes };
|
|
113
124
|
})(EventosWebSocket || (EventosWebSocket = {}));
|
|
114
125
|
// @tipoCompartilhadoFront
|
|
115
126
|
var AventuraEstado;
|