types-nora-api 0.0.69 → 0.0.71
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 +24 -11
- package/dist/classes.js +11 -1
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ interface IAventura {
|
|
|
5
5
|
gruposAventura: GrupoAventuraDto[] | null;
|
|
6
6
|
titulo: string;
|
|
7
7
|
dataCriacao: Date;
|
|
8
|
+
temApenasUmGrupo: boolean;
|
|
8
9
|
estadoAtual: AventuraEstado;
|
|
9
10
|
}
|
|
10
11
|
type AventuraDto = IAventura;
|
|
@@ -369,10 +370,7 @@ type ObjetoFicha = {
|
|
|
369
370
|
id: number;
|
|
370
371
|
};
|
|
371
372
|
detalhe: DetalheFicha;
|
|
372
|
-
detalhesUsoEvolucaoPericiasLivres:
|
|
373
|
-
idPericia: number;
|
|
374
|
-
idPatente: number;
|
|
375
|
-
}[];
|
|
373
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
376
374
|
};
|
|
377
375
|
type DetalheEvolucao = {
|
|
378
376
|
etapa: string;
|
|
@@ -385,10 +383,7 @@ type FichaDeJogo = {
|
|
|
385
383
|
estatisticasDanificaveis: EstatisticaDanificavelFicha[];
|
|
386
384
|
detalhe: DetalheFicha;
|
|
387
385
|
classe: ClasseDto;
|
|
388
|
-
detalhesUsoEvolucaoPericiasLivres:
|
|
389
|
-
idPericia: number;
|
|
390
|
-
idPatente: number;
|
|
391
|
-
}[];
|
|
386
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
392
387
|
};
|
|
393
388
|
type AtributoFicha = {
|
|
394
389
|
atributo: AtributoDto;
|
|
@@ -413,6 +408,10 @@ type DetalheFicha = {
|
|
|
413
408
|
pontosDeHabilidadeParanormal: number;
|
|
414
409
|
pontosDeHabilidadeElemental: number;
|
|
415
410
|
};
|
|
411
|
+
type RegistroPericiaLivre = {
|
|
412
|
+
idPericia: number;
|
|
413
|
+
idPatente: number;
|
|
414
|
+
};
|
|
416
415
|
interface IInformacaoPersonagem {
|
|
417
416
|
fkPersonagensId: number;
|
|
418
417
|
personagem: PersonagemDto;
|
|
@@ -533,10 +532,24 @@ interface IUsuario {
|
|
|
533
532
|
listaCargos: CargosUsuario;
|
|
534
533
|
}
|
|
535
534
|
type UsuarioDto = IUsuario;
|
|
535
|
+
declare const SOCKET_EVENTOS: {
|
|
536
|
+
readonly AcessosUsuarios: {
|
|
537
|
+
readonly obter: "obtemAcessosUsuarios";
|
|
538
|
+
readonly receber: "recebeAcessosUsuarios";
|
|
539
|
+
};
|
|
540
|
+
readonly Teste: {
|
|
541
|
+
readonly obter: "disparar-teste";
|
|
542
|
+
readonly receber: "teste-mensagem";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
type ExtractValues<T> = T extends object ? {
|
|
546
|
+
[K in keyof T]: ExtractValues<T[K]>;
|
|
547
|
+
}[keyof T] : T;
|
|
548
|
+
type EventoSocket = ExtractValues<typeof SOCKET_EVENTOS>;
|
|
536
549
|
type Done = (err: Error | null, usuario: UsuarioDto | null) => void;
|
|
537
|
-
type
|
|
550
|
+
type SOCKET_AcessoUsuario = {
|
|
538
551
|
usuario: UsuarioDto;
|
|
539
|
-
|
|
552
|
+
paginaAtual: string | null;
|
|
540
553
|
};
|
|
541
554
|
interface PaletaCores {
|
|
542
555
|
corPrimaria: string;
|
|
@@ -650,4 +663,4 @@ type GanhoEstatistica = {
|
|
|
650
663
|
valorPorUnidade: number;
|
|
651
664
|
}[];
|
|
652
665
|
};
|
|
653
|
-
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, IPerfilAdmin, PerfilAdminDto, IPerfilJogador, PerfilJogadorDto, IPerfilMestre, PerfilMestreDto, IFichaPersonagem, FichaPersonagemDto, ObjetoFicha, DetalheEvolucao, DetalhesExtras, FichaDeJogo, AtributoFicha, PericiaFicha, EstatisticaDanificavelFicha, DetalheFicha, 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, Done,
|
|
666
|
+
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, 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, 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 };
|
package/dist/classes.js
CHANGED
|
@@ -11,6 +11,16 @@ class AuthSession {
|
|
|
11
11
|
this.json = json;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
const SOCKET_EVENTOS = {
|
|
15
|
+
AcessosUsuarios: {
|
|
16
|
+
obter: 'obtemAcessosUsuarios',
|
|
17
|
+
receber: 'recebeAcessosUsuarios',
|
|
18
|
+
},
|
|
19
|
+
Teste: {
|
|
20
|
+
obter: 'disparar-teste',
|
|
21
|
+
receber: 'teste-mensagem',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
14
24
|
// @tipoCompartilhadoFront
|
|
15
25
|
class DadosMinhasDisponibilidades {
|
|
16
26
|
disponibilidades;
|
|
@@ -77,4 +87,4 @@ var CargoExibicaoUsuario;
|
|
|
77
87
|
CargoExibicaoUsuario[CargoExibicaoUsuario["JOGADOR"] = 2] = "JOGADOR";
|
|
78
88
|
CargoExibicaoUsuario[CargoExibicaoUsuario["ESPECTADOR"] = 3] = "ESPECTADOR";
|
|
79
89
|
})(CargoExibicaoUsuario || (CargoExibicaoUsuario = {}));
|
|
80
|
-
export { AuthSession, DadosMinhasDisponibilidades, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, CargoExibicaoUsuario };
|
|
90
|
+
export { AuthSession, SOCKET_EVENTOS, DadosMinhasDisponibilidades, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, CargoExibicaoUsuario };
|