types-nora-api 0.0.94 → 0.0.96
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 +10 -2
- package/dist/classes.js +3 -0
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -560,7 +560,7 @@ interface IUsuario {
|
|
|
560
560
|
type UsuarioDto = IUsuario;
|
|
561
561
|
interface MensagemChatRecebida {
|
|
562
562
|
salaId: string;
|
|
563
|
-
|
|
563
|
+
idUsuario: number;
|
|
564
564
|
conteudo: string;
|
|
565
565
|
timestamp: number;
|
|
566
566
|
}
|
|
@@ -648,11 +648,19 @@ declare const SOCKET_EVENTOS: {
|
|
|
648
648
|
readonly receberSalasDisponiveis: "Chat_receberSalasDisponiveis";
|
|
649
649
|
readonly obterSalasDisponiveis: "Chat_obterSalasDisponiveis";
|
|
650
650
|
};
|
|
651
|
+
readonly UsuariosExistentes: {
|
|
652
|
+
readonly obterTodos: "UsuariosExistentes_obterTodos";
|
|
653
|
+
};
|
|
651
654
|
};
|
|
652
655
|
type ExtractValues<T> = T extends object ? {
|
|
653
656
|
[K in keyof T]: ExtractValues<T[K]>;
|
|
654
657
|
}[keyof T] : T;
|
|
655
658
|
type EventoSocket = ExtractValues<typeof SOCKET_EVENTOS>;
|
|
659
|
+
type SOCKET_UsuarioExistente = {
|
|
660
|
+
id: number;
|
|
661
|
+
username: string;
|
|
662
|
+
avatar: string;
|
|
663
|
+
};
|
|
656
664
|
type Done = (err: Error | null, usuario: UsuarioDto | null) => void;
|
|
657
665
|
type SOCKET_AcessoUsuario = {
|
|
658
666
|
usuario: UsuarioDto;
|
|
@@ -771,4 +779,4 @@ type GanhoEstatistica = {
|
|
|
771
779
|
valorPorUnidade: number;
|
|
772
780
|
}[];
|
|
773
781
|
};
|
|
774
|
-
export { IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, 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, 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, IEstudo, EstudoDto, ILinkSessao, LinkSessaoDto, IRegistroSessao, RegistroSessaoDto, ISessao, SessaoDto, ITipoLinkSessao, TipoLinkSessaoDto, AuthSession, ICustomizacaoUsuario, CustomizacaoUsuarioDto, IDisponibilidadeUsuario, DisponibilidadeUsuarioDto, IUsuario, UsuarioDto, MensagemChatRecebida, SalaChatFront, MensagemChatPayload, PAGINAS, PaginaChave, PaginaObjeto, SOCKET_EVENTOS, ExtractValues, EventoSocket, Done, SOCKET_AcessoUsuario, PaletaCores, EstruturaPaginaDefinicao, ConteudoItem, DefinicaoElemento, ListaItem, DadosMinhasDisponibilidades, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, dds, CargoExibicaoUsuario, CargosUsuario, ObjetoAutenticacao, ObjetoPendeciaPersonagem, TipoVariavelAmbiente, ObjetoEvolucaoCompleto, ObjetoEvolucao, ObjetoGanhosEvolucao, GanhoEstatistica };
|
|
782
|
+
export { IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, 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, 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, IEstudo, EstudoDto, ILinkSessao, LinkSessaoDto, IRegistroSessao, RegistroSessaoDto, ISessao, SessaoDto, ITipoLinkSessao, TipoLinkSessaoDto, AuthSession, ICustomizacaoUsuario, CustomizacaoUsuarioDto, IDisponibilidadeUsuario, DisponibilidadeUsuarioDto, IUsuario, UsuarioDto, MensagemChatRecebida, SalaChatFront, MensagemChatPayload, PAGINAS, PaginaChave, PaginaObjeto, SOCKET_EVENTOS, ExtractValues, EventoSocket, SOCKET_UsuarioExistente, Done, SOCKET_AcessoUsuario, PaletaCores, EstruturaPaginaDefinicao, ConteudoItem, DefinicaoElemento, ListaItem, DadosMinhasDisponibilidades, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, dds, CargoExibicaoUsuario, CargosUsuario, ObjetoAutenticacao, ObjetoPendeciaPersonagem, TipoVariavelAmbiente, ObjetoEvolucaoCompleto, ObjetoEvolucao, ObjetoGanhosEvolucao, GanhoEstatistica };
|
package/dist/classes.js
CHANGED
|
@@ -84,6 +84,9 @@ const SOCKET_EVENTOS = {
|
|
|
84
84
|
receberSalasDisponiveis: 'Chat_receberSalasDisponiveis',
|
|
85
85
|
obterSalasDisponiveis: 'Chat_obterSalasDisponiveis',
|
|
86
86
|
},
|
|
87
|
+
UsuariosExistentes: {
|
|
88
|
+
obterTodos: 'UsuariosExistentes_obterTodos',
|
|
89
|
+
}
|
|
87
90
|
};
|
|
88
91
|
// @tipoCompartilhadoFront
|
|
89
92
|
class DadosMinhasDisponibilidades {
|