types-nora-api 0.0.162 → 0.0.164
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 +36 -17
- package/dist/classes.js +7 -3
- 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,8 +856,7 @@ declare namespace EventosWebSocket {
|
|
|
845
856
|
};
|
|
846
857
|
};
|
|
847
858
|
};
|
|
848
|
-
readonly
|
|
849
|
-
readonly PaginaAovivo: {
|
|
859
|
+
readonly Jogo: {
|
|
850
860
|
emitirSessaoEmAndamento: {
|
|
851
861
|
tipo: "emite";
|
|
852
862
|
payload: {};
|
|
@@ -854,6 +864,13 @@ declare namespace EventosWebSocket {
|
|
|
854
864
|
sessaoEmAndamento: SessaoDto;
|
|
855
865
|
};
|
|
856
866
|
};
|
|
867
|
+
emitirDadosSessao: {
|
|
868
|
+
tipo: "emite";
|
|
869
|
+
payload: {};
|
|
870
|
+
response: {
|
|
871
|
+
dadosSessao: SOCKET_DadosSessao;
|
|
872
|
+
};
|
|
873
|
+
};
|
|
857
874
|
};
|
|
858
875
|
readonly UsuariosConectados: {
|
|
859
876
|
emitirUsuariosConectadosAgora: {
|
|
@@ -1055,10 +1072,7 @@ declare const Eventos_Envia: {
|
|
|
1055
1072
|
};
|
|
1056
1073
|
};
|
|
1057
1074
|
};
|
|
1058
|
-
readonly
|
|
1059
|
-
eventos: {};
|
|
1060
|
-
};
|
|
1061
|
-
readonly PaginaAovivo: {
|
|
1075
|
+
readonly Jogo: {
|
|
1062
1076
|
eventos: {};
|
|
1063
1077
|
};
|
|
1064
1078
|
readonly UsuariosConectados: {
|
|
@@ -1088,10 +1102,7 @@ declare const Eventos_Emite: {
|
|
|
1088
1102
|
};
|
|
1089
1103
|
};
|
|
1090
1104
|
};
|
|
1091
|
-
readonly
|
|
1092
|
-
eventos: {};
|
|
1093
|
-
};
|
|
1094
|
-
readonly PaginaAovivo: {
|
|
1105
|
+
readonly Jogo: {
|
|
1095
1106
|
eventos: {
|
|
1096
1107
|
emitirSessaoEmAndamento: {
|
|
1097
1108
|
tipo: "emite";
|
|
@@ -1101,8 +1112,19 @@ declare const Eventos_Emite: {
|
|
|
1101
1112
|
};
|
|
1102
1113
|
} & {
|
|
1103
1114
|
readonly nome: "emitirSessaoEmAndamento";
|
|
1104
|
-
readonly gateway: "
|
|
1105
|
-
readonly fullName: "
|
|
1115
|
+
readonly gateway: "Jogo";
|
|
1116
|
+
readonly fullName: "Jogo:emitirSessaoEmAndamento";
|
|
1117
|
+
};
|
|
1118
|
+
emitirDadosSessao: {
|
|
1119
|
+
tipo: "emite";
|
|
1120
|
+
payload: {};
|
|
1121
|
+
response: {
|
|
1122
|
+
dadosSessao: SOCKET_DadosSessao;
|
|
1123
|
+
};
|
|
1124
|
+
} & {
|
|
1125
|
+
readonly nome: "emitirDadosSessao";
|
|
1126
|
+
readonly gateway: "Jogo";
|
|
1127
|
+
readonly fullName: "Jogo:emitirDadosSessao";
|
|
1106
1128
|
};
|
|
1107
1129
|
};
|
|
1108
1130
|
};
|
|
@@ -1141,10 +1163,7 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1141
1163
|
};
|
|
1142
1164
|
};
|
|
1143
1165
|
};
|
|
1144
|
-
readonly
|
|
1145
|
-
eventos: {};
|
|
1146
|
-
};
|
|
1147
|
-
readonly PaginaAovivo: {
|
|
1166
|
+
readonly Jogo: {
|
|
1148
1167
|
eventos: {};
|
|
1149
1168
|
};
|
|
1150
1169
|
readonly UsuariosConectados: {
|
|
@@ -1166,4 +1185,4 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1166
1185
|
};
|
|
1167
1186
|
};
|
|
1168
1187
|
};
|
|
1169
|
-
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,13 +94,17 @@ var EventosWebSocket;
|
|
|
94
94
|
response: { conteudoMensagem: {} },
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
|
-
const
|
|
98
|
-
const PaginaAovivo = createGateway({
|
|
97
|
+
const Jogo = createGateway({
|
|
99
98
|
emitirSessaoEmAndamento: {
|
|
100
99
|
tipo: 'emite',
|
|
101
100
|
payload: {},
|
|
102
101
|
response: { sessaoEmAndamento: {} }
|
|
103
102
|
},
|
|
103
|
+
emitirDadosSessao: {
|
|
104
|
+
tipo: 'emite',
|
|
105
|
+
payload: {},
|
|
106
|
+
response: { dadosSessao: {} }
|
|
107
|
+
},
|
|
104
108
|
});
|
|
105
109
|
const UsuariosConectados = createGateway({
|
|
106
110
|
emitirUsuariosConectadosAgora: {
|
|
@@ -116,7 +120,7 @@ var EventosWebSocket;
|
|
|
116
120
|
response: { usuariosExistentes: [] },
|
|
117
121
|
},
|
|
118
122
|
});
|
|
119
|
-
EventosWebSocket.gateways = { Chat,
|
|
123
|
+
EventosWebSocket.gateways = { Chat, Jogo, UsuariosConectados, UsuariosExistentes };
|
|
120
124
|
})(EventosWebSocket || (EventosWebSocket = {}));
|
|
121
125
|
// @tipoCompartilhadoFront
|
|
122
126
|
var AventuraEstado;
|