types-nora-api 0.0.142 → 0.0.143
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 +65 -1
- package/dist/classes.js +63 -1
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -668,6 +668,70 @@ interface IUsuario {
|
|
|
668
668
|
listaCargos: CargosUsuario;
|
|
669
669
|
}
|
|
670
670
|
type UsuarioDto = IUsuario;
|
|
671
|
+
declare const PAGINAS: {
|
|
672
|
+
readonly VAZIA: {
|
|
673
|
+
readonly id: "";
|
|
674
|
+
readonly nome: "";
|
|
675
|
+
};
|
|
676
|
+
readonly ADMIN: {
|
|
677
|
+
readonly id: "ADMIN";
|
|
678
|
+
readonly nome: "Administrando";
|
|
679
|
+
};
|
|
680
|
+
readonly INICIO: {
|
|
681
|
+
readonly id: "INICIO";
|
|
682
|
+
readonly nome: "Página Inicial";
|
|
683
|
+
};
|
|
684
|
+
readonly MINHA_PAGINA: {
|
|
685
|
+
readonly id: "MINHA_PAGINA";
|
|
686
|
+
readonly nome: "Minha Página";
|
|
687
|
+
};
|
|
688
|
+
readonly AVENTURAS: {
|
|
689
|
+
readonly id: "AVENTURAS";
|
|
690
|
+
readonly nome: "Aventuras";
|
|
691
|
+
};
|
|
692
|
+
readonly AVENTURA: {
|
|
693
|
+
readonly id: "AVENTURA";
|
|
694
|
+
readonly nome: "Página de Aventura";
|
|
695
|
+
};
|
|
696
|
+
readonly DEFINICOES: {
|
|
697
|
+
readonly id: "DEFINICOES";
|
|
698
|
+
readonly nome: "Definições";
|
|
699
|
+
};
|
|
700
|
+
readonly DICAS: {
|
|
701
|
+
readonly id: "DICAS";
|
|
702
|
+
readonly nome: "Dicas";
|
|
703
|
+
};
|
|
704
|
+
readonly EVOLUINDO: {
|
|
705
|
+
readonly id: "EVOLUINDO";
|
|
706
|
+
readonly nome: "Página de Evolução";
|
|
707
|
+
};
|
|
708
|
+
readonly LINHA_DO_TEMPO: {
|
|
709
|
+
readonly id: "LINHA_DO_TEMPO";
|
|
710
|
+
readonly nome: "Linha do Tempo";
|
|
711
|
+
};
|
|
712
|
+
readonly MEUS_PERSONAGENS: {
|
|
713
|
+
readonly id: "MEUS_PERSONAGENS";
|
|
714
|
+
readonly nome: "Página de Personagens";
|
|
715
|
+
};
|
|
716
|
+
readonly DISPONIBILIDADES: {
|
|
717
|
+
readonly id: "DISPONIBILIDADES";
|
|
718
|
+
readonly nome: "Página de Disponibilidades";
|
|
719
|
+
};
|
|
720
|
+
readonly SESSAO_AOVIVO: {
|
|
721
|
+
readonly id: "SESSAO_AOVIVO";
|
|
722
|
+
readonly nome: "Ao vivo em Sessão";
|
|
723
|
+
};
|
|
724
|
+
readonly SESSAO: {
|
|
725
|
+
readonly id: "SESSAO";
|
|
726
|
+
readonly nome: "Assistindo Sessão";
|
|
727
|
+
};
|
|
728
|
+
readonly MESTRE: {
|
|
729
|
+
readonly id: "MESTRE";
|
|
730
|
+
readonly nome: "Página de Mestre";
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
type PaginaChave = keyof typeof PAGINAS;
|
|
734
|
+
type PaginaObjeto = typeof PAGINAS[PaginaChave];
|
|
671
735
|
type EventoSocket = {
|
|
672
736
|
tipo: 'emitir';
|
|
673
737
|
payload: unknown;
|
|
@@ -917,4 +981,4 @@ interface WsTelemetria_SSE_Event {
|
|
|
917
981
|
message?: string;
|
|
918
982
|
}
|
|
919
983
|
declare const CONST_TELEMETRIA = "TELEMETRIA";
|
|
920
|
-
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, EventoSocket, createSocketConfig, SOCKET_CONFIG, SOCKET, criarEventosFiltrados, CriarEventosFiltrados, criarEventosTipados, Eventos_Tipo_Emitir, Eventos_Tipo_Ouvir, Eventos_Tipo_RequestResponse, 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, WsTelemetria_TipoEvento, WsTelemetria_Evento, WsTelemetria_DadosSistema, WsTelemetria_SSE_Event, CONST_TELEMETRIA };
|
|
984
|
+
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, EventoSocket, createSocketConfig, SOCKET_CONFIG, SOCKET, criarEventosFiltrados, CriarEventosFiltrados, criarEventosTipados, Eventos_Tipo_Emitir, Eventos_Tipo_Ouvir, Eventos_Tipo_RequestResponse, 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, WsTelemetria_TipoEvento, WsTelemetria_Evento, WsTelemetria_DadosSistema, WsTelemetria_SSE_Event, CONST_TELEMETRIA };
|
package/dist/classes.js
CHANGED
|
@@ -11,6 +11,68 @@ class AuthSession {
|
|
|
11
11
|
this.json = json;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
const PAGINAS = {
|
|
15
|
+
VAZIA: {
|
|
16
|
+
id: '',
|
|
17
|
+
nome: '',
|
|
18
|
+
},
|
|
19
|
+
ADMIN: {
|
|
20
|
+
id: 'ADMIN',
|
|
21
|
+
nome: 'Administrando'
|
|
22
|
+
},
|
|
23
|
+
INICIO: {
|
|
24
|
+
id: 'INICIO',
|
|
25
|
+
nome: 'Página Inicial',
|
|
26
|
+
},
|
|
27
|
+
MINHA_PAGINA: {
|
|
28
|
+
id: 'MINHA_PAGINA',
|
|
29
|
+
nome: 'Minha Página',
|
|
30
|
+
},
|
|
31
|
+
AVENTURAS: {
|
|
32
|
+
id: 'AVENTURAS',
|
|
33
|
+
nome: 'Aventuras',
|
|
34
|
+
},
|
|
35
|
+
AVENTURA: {
|
|
36
|
+
id: 'AVENTURA',
|
|
37
|
+
nome: 'Página de Aventura',
|
|
38
|
+
},
|
|
39
|
+
DEFINICOES: {
|
|
40
|
+
id: 'DEFINICOES',
|
|
41
|
+
nome: 'Definições',
|
|
42
|
+
},
|
|
43
|
+
DICAS: {
|
|
44
|
+
id: 'DICAS',
|
|
45
|
+
nome: 'Dicas',
|
|
46
|
+
},
|
|
47
|
+
EVOLUINDO: {
|
|
48
|
+
id: 'EVOLUINDO',
|
|
49
|
+
nome: 'Página de Evolução',
|
|
50
|
+
},
|
|
51
|
+
LINHA_DO_TEMPO: {
|
|
52
|
+
id: 'LINHA_DO_TEMPO',
|
|
53
|
+
nome: 'Linha do Tempo',
|
|
54
|
+
},
|
|
55
|
+
MEUS_PERSONAGENS: {
|
|
56
|
+
id: 'MEUS_PERSONAGENS',
|
|
57
|
+
nome: 'Página de Personagens',
|
|
58
|
+
},
|
|
59
|
+
DISPONIBILIDADES: {
|
|
60
|
+
id: 'DISPONIBILIDADES',
|
|
61
|
+
nome: 'Página de Disponibilidades',
|
|
62
|
+
},
|
|
63
|
+
SESSAO_AOVIVO: {
|
|
64
|
+
id: 'SESSAO_AOVIVO',
|
|
65
|
+
nome: 'Ao vivo em Sessão',
|
|
66
|
+
},
|
|
67
|
+
SESSAO: {
|
|
68
|
+
id: 'SESSAO',
|
|
69
|
+
nome: 'Assistindo Sessão',
|
|
70
|
+
},
|
|
71
|
+
MESTRE: {
|
|
72
|
+
id: 'MESTRE',
|
|
73
|
+
nome: 'Página de Mestre',
|
|
74
|
+
},
|
|
75
|
+
};
|
|
14
76
|
const createSocketConfig = (config) => config;
|
|
15
77
|
const SOCKET_CONFIG = createSocketConfig({
|
|
16
78
|
namespaces: {
|
|
@@ -134,4 +196,4 @@ var EstiloSessao;
|
|
|
134
196
|
})(EstiloSessao || (EstiloSessao = {}));
|
|
135
197
|
// @tipoCompartilhadoFront
|
|
136
198
|
const CONST_TELEMETRIA = 'TELEMETRIA';
|
|
137
|
-
export { AuthSession, createSocketConfig, SOCKET_CONFIG, SOCKET, criarEventosFiltrados, criarEventosTipados, Eventos_Tipo_Emitir, Eventos_Tipo_Ouvir, Eventos_Tipo_RequestResponse, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, CargoExibicaoUsuario, FormatoMomento, EstiloSessao, CONST_TELEMETRIA };
|
|
199
|
+
export { AuthSession, PAGINAS, createSocketConfig, SOCKET_CONFIG, SOCKET, criarEventosFiltrados, criarEventosTipados, Eventos_Tipo_Emitir, Eventos_Tipo_Ouvir, Eventos_Tipo_RequestResponse, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, CargoExibicaoUsuario, FormatoMomento, EstiloSessao, CONST_TELEMETRIA };
|