types-nora-api 0.0.95 → 0.0.97
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 +41 -11
- package/dist/classes.js +3 -0
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
interface IArcoAventura {
|
|
2
|
+
id: number;
|
|
3
|
+
nome: string;
|
|
4
|
+
aplicaNomeArcoAventura: boolean;
|
|
5
|
+
}
|
|
6
|
+
type ArcoAventuraDto = IArcoAventura;
|
|
1
7
|
interface IAventura {
|
|
2
8
|
id: number;
|
|
3
9
|
geracao: GeracaoDto;
|
|
4
10
|
imagemCapa: ImagemDto | null;
|
|
11
|
+
arco: ArcoAventuraDto | null;
|
|
5
12
|
gruposAventura: GrupoAventuraDto[] | null;
|
|
6
13
|
titulo: string;
|
|
7
14
|
dataCriacao: Date;
|
|
15
|
+
nomeCompletoAventura: string;
|
|
8
16
|
temApenasUmGrupo: boolean;
|
|
9
17
|
estadoAtual: AventuraEstado;
|
|
10
18
|
dataInicioAventura: Date | null;
|
|
@@ -26,7 +34,7 @@ interface IGrupoAventura {
|
|
|
26
34
|
linkTrailerYoutube: LinkDto;
|
|
27
35
|
linkPlaylistYoutube: LinkDto;
|
|
28
36
|
linkSerieSpotify: LinkDto;
|
|
29
|
-
|
|
37
|
+
detalhesSessaoesCanonicas: DetalheSessaoCanonicaDto[];
|
|
30
38
|
personagensDaAventura: GrupoAventuraPersonagemDto[] | null;
|
|
31
39
|
dataPrevisaoInicio: Date | null;
|
|
32
40
|
dataInicio: Date | null;
|
|
@@ -80,6 +88,22 @@ interface ITipoConquista {
|
|
|
80
88
|
nome: string;
|
|
81
89
|
}
|
|
82
90
|
type TipoConquistaDto = ITipoConquista;
|
|
91
|
+
interface IDetalheSessaoCanonica {
|
|
92
|
+
fkSessaoId: number;
|
|
93
|
+
sessao: SessaoDto;
|
|
94
|
+
grupoAventura: GrupoAventuraDto | null;
|
|
95
|
+
linkSessaoYoutube: LinkDto;
|
|
96
|
+
linkSessaoSpotify: LinkDto;
|
|
97
|
+
episodio: number;
|
|
98
|
+
capitulos: CapituloSessaoCanonica[];
|
|
99
|
+
detalhes: string;
|
|
100
|
+
episodioPorExtenso: string;
|
|
101
|
+
}
|
|
102
|
+
type DetalheSessaoCanonicaDto = IDetalheSessaoCanonica;
|
|
103
|
+
type CapituloSessaoCanonica = {
|
|
104
|
+
descricao: string;
|
|
105
|
+
momentoInicioEmSegundos: number;
|
|
106
|
+
};
|
|
83
107
|
interface ICoeficienteGanhoEstatisticaClasse {
|
|
84
108
|
id: number;
|
|
85
109
|
classe: ClasseDto;
|
|
@@ -501,16 +525,13 @@ interface IRegistroSessao {
|
|
|
501
525
|
type RegistroSessaoDto = IRegistroSessao;
|
|
502
526
|
interface ISessao {
|
|
503
527
|
id: number;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
dataFimReal: Date | null;
|
|
511
|
-
episodio: number;
|
|
528
|
+
detalheSessaoCanonica: DetalheSessaoCanonicaDto;
|
|
529
|
+
dataCriacao: Date;
|
|
530
|
+
dataPrevisaoInicio: Date;
|
|
531
|
+
dataInicio: Date | null;
|
|
532
|
+
dataFim: Date | null;
|
|
533
|
+
canonica: boolean;
|
|
512
534
|
estadoAtual: EstadoSessao;
|
|
513
|
-
episodioPorExtenso: string;
|
|
514
535
|
}
|
|
515
536
|
type SessaoDto = ISessao;
|
|
516
537
|
interface ITipoLinkSessao {
|
|
@@ -648,11 +669,19 @@ declare const SOCKET_EVENTOS: {
|
|
|
648
669
|
readonly receberSalasDisponiveis: "Chat_receberSalasDisponiveis";
|
|
649
670
|
readonly obterSalasDisponiveis: "Chat_obterSalasDisponiveis";
|
|
650
671
|
};
|
|
672
|
+
readonly UsuariosExistentes: {
|
|
673
|
+
readonly obterTodos: "UsuariosExistentes_obterTodos";
|
|
674
|
+
};
|
|
651
675
|
};
|
|
652
676
|
type ExtractValues<T> = T extends object ? {
|
|
653
677
|
[K in keyof T]: ExtractValues<T[K]>;
|
|
654
678
|
}[keyof T] : T;
|
|
655
679
|
type EventoSocket = ExtractValues<typeof SOCKET_EVENTOS>;
|
|
680
|
+
type SOCKET_UsuarioExistente = {
|
|
681
|
+
id: number;
|
|
682
|
+
username: string;
|
|
683
|
+
avatar: string;
|
|
684
|
+
};
|
|
656
685
|
type Done = (err: Error | null, usuario: UsuarioDto | null) => void;
|
|
657
686
|
type SOCKET_AcessoUsuario = {
|
|
658
687
|
usuario: UsuarioDto;
|
|
@@ -771,4 +800,5 @@ type GanhoEstatistica = {
|
|
|
771
800
|
valorPorUnidade: number;
|
|
772
801
|
}[];
|
|
773
802
|
};
|
|
774
|
-
|
|
803
|
+
type Momento = `${number}:${0 | 1 | 2 | 3 | 4 | 5}${number}:${0 | 1 | 2 | 3 | 4 | 5}${number}`;
|
|
804
|
+
export { IArcoAventura, ArcoAventuraDto, IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, IDetalheSessaoCanonica, DetalheSessaoCanonicaDto, CapituloSessaoCanonica, 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, Momento };
|
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 {
|