types-nora-api 0.0.121 → 0.0.123
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 +45 -32
- package/dist/classes.js +13 -7
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ interface IGrupoAventura {
|
|
|
36
36
|
linkTrailerYoutube: LinkDto;
|
|
37
37
|
linkPlaylistYoutube: LinkDto;
|
|
38
38
|
linkSerieSpotify: LinkDto;
|
|
39
|
-
|
|
39
|
+
detalhesSessoesAventuras: DetalheSessaoAventuraDto[] | null;
|
|
40
40
|
personagensDaAventura: GrupoAventuraPersonagemDto[] | null;
|
|
41
41
|
sessaoFinal: SessaoDto | null;
|
|
42
42
|
dataPrevisaoInicio: Date | null;
|
|
@@ -49,7 +49,8 @@ interface IGrupoAventura {
|
|
|
49
49
|
estadoAtual: AventuraEstado;
|
|
50
50
|
obtemTextoInformacionalOcorrencia: string | null;
|
|
51
51
|
sessaoMaisRecente: SessaoDto | null;
|
|
52
|
-
|
|
52
|
+
duracaoGrupoAventuraEmSegundos: number | null;
|
|
53
|
+
tempoProximaSessao: string | null;
|
|
53
54
|
}
|
|
54
55
|
type GrupoAventuraDto = IGrupoAventura;
|
|
55
56
|
interface IGrupoAventuraPersonagem {
|
|
@@ -90,22 +91,39 @@ interface ITipoConquista {
|
|
|
90
91
|
nome: string;
|
|
91
92
|
}
|
|
92
93
|
type TipoConquistaDto = ITipoConquista;
|
|
94
|
+
interface IDetalheSessaoAventura {
|
|
95
|
+
fkSessaoId: number;
|
|
96
|
+
sessao: SessaoDto;
|
|
97
|
+
grupoAventura: GrupoAventuraDto;
|
|
98
|
+
episodio: number;
|
|
99
|
+
episodioPorExtenso: string;
|
|
100
|
+
}
|
|
101
|
+
type DetalheSessaoAventuraDto = IDetalheSessaoAventura;
|
|
93
102
|
interface IDetalheSessaoCanonica {
|
|
94
103
|
fkSessaoId: number;
|
|
95
104
|
sessao: SessaoDto;
|
|
96
|
-
grupoAventura: GrupoAventuraDto | null;
|
|
97
105
|
linkSessaoYoutube: LinkDto;
|
|
98
106
|
linkSessaoSpotify: LinkDto;
|
|
99
|
-
episodio: number;
|
|
100
107
|
capitulos: CapituloSessaoCanonica[];
|
|
101
108
|
detalhes: string;
|
|
102
|
-
episodioPorExtenso: string;
|
|
103
109
|
}
|
|
104
110
|
type DetalheSessaoCanonicaDto = IDetalheSessaoCanonica;
|
|
105
111
|
type CapituloSessaoCanonica = {
|
|
106
112
|
descricao: string;
|
|
107
113
|
momentoInicioEmSegundos: number;
|
|
108
114
|
};
|
|
115
|
+
interface IDetalheSessaoNaoCanonica {
|
|
116
|
+
fkSessaoId: number;
|
|
117
|
+
sessao: SessaoDto;
|
|
118
|
+
}
|
|
119
|
+
type DetalheSessaoNaoCanonicaDto = IDetalheSessaoNaoCanonica;
|
|
120
|
+
interface IDetalheSessaoUnica {
|
|
121
|
+
fkSessaoId: number;
|
|
122
|
+
sessao: SessaoDto;
|
|
123
|
+
detalheRascunhoSessaoUnica: DetalheRascunhoSessaoUnicaCanonicaDto;
|
|
124
|
+
usuarioMestre: UsuarioDto;
|
|
125
|
+
}
|
|
126
|
+
type DetalheSessaoUnicaDto = IDetalheSessaoUnica;
|
|
109
127
|
interface ICoeficienteGanhoEstatisticaClasse {
|
|
110
128
|
id: number;
|
|
111
129
|
classe: ClasseDto;
|
|
@@ -379,6 +397,12 @@ interface IDificuldadeSessao {
|
|
|
379
397
|
descricao: string;
|
|
380
398
|
}
|
|
381
399
|
type DificuldadeSessaoDto = IDificuldadeSessao;
|
|
400
|
+
interface IEstiloSessaoMestrada {
|
|
401
|
+
id: number;
|
|
402
|
+
descricao: string;
|
|
403
|
+
ehSessaoUnica: boolean;
|
|
404
|
+
}
|
|
405
|
+
type EstiloSessaoMestradaDto = IEstiloSessaoMestrada;
|
|
382
406
|
interface ITipoSessao {
|
|
383
407
|
id: number;
|
|
384
408
|
descricao: string;
|
|
@@ -545,7 +569,7 @@ interface IDetalheRascunhoSessaoUnicaCanonica {
|
|
|
545
569
|
type DetalheRascunhoSessaoUnicaCanonicaDto = IDetalheRascunhoSessaoUnicaCanonica;
|
|
546
570
|
interface IRascunho {
|
|
547
571
|
id: number;
|
|
548
|
-
|
|
572
|
+
estiloSessaoMestrada: EstiloSessaoMestradaDto;
|
|
549
573
|
usuario: UsuarioDto;
|
|
550
574
|
detalheRascunhoAventura: DetalheRascunhoAventuraDto | null;
|
|
551
575
|
detalheRascunhoSessaoUnicaCanonica: DetalheRascunhoSessaoUnicaCanonicaDto | null;
|
|
@@ -556,25 +580,11 @@ interface IRascunho {
|
|
|
556
580
|
detalheUtilizacaoRascunho: DetalheUtilizacaoRascunho;
|
|
557
581
|
}
|
|
558
582
|
type RascunhoDto = IRascunho;
|
|
559
|
-
interface ITipoRascunho {
|
|
560
|
-
id: number;
|
|
561
|
-
descricao: string;
|
|
562
|
-
}
|
|
563
|
-
type TipoRascunhoDto = ITipoRascunho;
|
|
564
583
|
interface IEstudo {
|
|
565
584
|
id: number;
|
|
566
585
|
nome: string;
|
|
567
586
|
}
|
|
568
587
|
type EstudoDto = IEstudo;
|
|
569
|
-
interface ILinkSessao {
|
|
570
|
-
fkSessaoId: number;
|
|
571
|
-
fkTipoLinkSessaoId: number;
|
|
572
|
-
sessao: SessaoDto;
|
|
573
|
-
tipoLink: TipoLinkSessaoDto;
|
|
574
|
-
link: string;
|
|
575
|
-
urlCompleta: string;
|
|
576
|
-
}
|
|
577
|
-
type LinkSessaoDto = ILinkSessao;
|
|
578
588
|
interface IRegistroSessao {
|
|
579
589
|
id: number;
|
|
580
590
|
sessao: SessaoDto;
|
|
@@ -585,22 +595,19 @@ interface IRegistroSessao {
|
|
|
585
595
|
type RegistroSessaoDto = IRegistroSessao;
|
|
586
596
|
interface ISessao {
|
|
587
597
|
id: number;
|
|
598
|
+
detalheSessaoAventura: DetalheSessaoAventuraDto;
|
|
599
|
+
detalheSessaoUnica: DetalheSessaoUnicaDto;
|
|
588
600
|
detalheSessaoCanonica: DetalheSessaoCanonicaDto;
|
|
601
|
+
detalheSessaoNaoCanonica: DetalheSessaoNaoCanonicaDto;
|
|
589
602
|
dataCriacao: Date;
|
|
590
603
|
dataPrevisaoInicio: Date;
|
|
591
604
|
dataInicio: Date | null;
|
|
592
605
|
duracaoEmSegundos: number | null;
|
|
593
|
-
|
|
606
|
+
estiloSessao: EstiloSessao;
|
|
594
607
|
dataQueEncerrou: Date | null;
|
|
595
608
|
estadoAtual: EstadoSessao;
|
|
596
609
|
}
|
|
597
610
|
type SessaoDto = ISessao;
|
|
598
|
-
interface ITipoLinkSessao {
|
|
599
|
-
id: number;
|
|
600
|
-
nomeRede: string;
|
|
601
|
-
prefixo: string;
|
|
602
|
-
}
|
|
603
|
-
type TipoLinkSessaoDto = ITipoLinkSessao;
|
|
604
611
|
declare class AuthSession {
|
|
605
612
|
expiredAt: number;
|
|
606
613
|
id: string;
|
|
@@ -739,6 +746,10 @@ declare const SOCKET_EVENTOS: {
|
|
|
739
746
|
readonly receberSalasDisponiveis: "Chat_receberSalasDisponiveis";
|
|
740
747
|
readonly obterSalasDisponiveis: "Chat_obterSalasDisponiveis";
|
|
741
748
|
};
|
|
749
|
+
readonly GameEngine: {
|
|
750
|
+
readonly enviarMensagem: "GameEngine_enviarMensagem";
|
|
751
|
+
readonly receberMensagem: "GameEngine_receberMensagem";
|
|
752
|
+
};
|
|
742
753
|
readonly UsuariosExistentes: {
|
|
743
754
|
readonly obterTodos: "UsuariosExistentes_obterTodos";
|
|
744
755
|
};
|
|
@@ -893,12 +904,14 @@ declare enum FormatoMomento {
|
|
|
893
904
|
EXTENSO = 1,
|
|
894
905
|
EXTENSO_APROXIMADO = 2
|
|
895
906
|
}
|
|
896
|
-
declare enum TiposGeralRascunho {
|
|
897
|
-
AVENTURA = 0,
|
|
898
|
-
SESSAO_UNICA = 1
|
|
899
|
-
}
|
|
900
907
|
type DetalheUtilizacaoRascunho = {
|
|
901
908
|
disponivel: boolean;
|
|
902
909
|
detalhe: string;
|
|
903
910
|
};
|
|
904
|
-
|
|
911
|
+
declare enum EstiloSessao {
|
|
912
|
+
SESSAO_DE_AVENTURA = 0,
|
|
913
|
+
SESSAO_UNICA_CANONICA = 1,
|
|
914
|
+
SESSAO_UNICA_NAO_CANONICA = 2,
|
|
915
|
+
ERRO = 3
|
|
916
|
+
}
|
|
917
|
+
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, 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, MensagemChatRecebida, SalaChatFront, MensagemChatPayload, PAGINAS, PaginaChave, PaginaObjeto, SOCKET_EVENTOS, ExtractValues, EventoSocket, SOCKET_UsuarioExistente, SOCKET_AcessoUsuario, 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 };
|
package/dist/classes.js
CHANGED
|
@@ -84,9 +84,13 @@ const SOCKET_EVENTOS = {
|
|
|
84
84
|
receberSalasDisponiveis: 'Chat_receberSalasDisponiveis',
|
|
85
85
|
obterSalasDisponiveis: 'Chat_obterSalasDisponiveis',
|
|
86
86
|
},
|
|
87
|
+
GameEngine: {
|
|
88
|
+
enviarMensagem: 'GameEngine_enviarMensagem',
|
|
89
|
+
receberMensagem: 'GameEngine_receberMensagem',
|
|
90
|
+
},
|
|
87
91
|
UsuariosExistentes: {
|
|
88
92
|
obterTodos: 'UsuariosExistentes_obterTodos',
|
|
89
|
-
}
|
|
93
|
+
},
|
|
90
94
|
};
|
|
91
95
|
// @tipoCompartilhadoFront
|
|
92
96
|
var AventuraEstado;
|
|
@@ -172,9 +176,11 @@ var FormatoMomento;
|
|
|
172
176
|
FormatoMomento[FormatoMomento["EXTENSO_APROXIMADO"] = 2] = "EXTENSO_APROXIMADO";
|
|
173
177
|
})(FormatoMomento || (FormatoMomento = {}));
|
|
174
178
|
// @tipoCompartilhadoFront
|
|
175
|
-
var
|
|
176
|
-
(function (
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
var EstiloSessao;
|
|
180
|
+
(function (EstiloSessao) {
|
|
181
|
+
EstiloSessao[EstiloSessao["SESSAO_DE_AVENTURA"] = 0] = "SESSAO_DE_AVENTURA";
|
|
182
|
+
EstiloSessao[EstiloSessao["SESSAO_UNICA_CANONICA"] = 1] = "SESSAO_UNICA_CANONICA";
|
|
183
|
+
EstiloSessao[EstiloSessao["SESSAO_UNICA_NAO_CANONICA"] = 2] = "SESSAO_UNICA_NAO_CANONICA";
|
|
184
|
+
EstiloSessao[EstiloSessao["ERRO"] = 3] = "ERRO";
|
|
185
|
+
})(EstiloSessao || (EstiloSessao = {}));
|
|
186
|
+
export { AuthSession, PAGINAS, SOCKET_EVENTOS, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, CargoExibicaoUsuario, FormatoMomento, EstiloSessao };
|