types-nora-api 0.0.279 → 0.0.280
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 +77 -64
- package/dist/classes.js +1 -1
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -378,6 +378,81 @@ interface ITipoFrequencia {
|
|
|
378
378
|
nome: string;
|
|
379
379
|
}
|
|
380
380
|
type TipoFrequenciaDto = ITipoFrequencia;
|
|
381
|
+
interface IFicha {
|
|
382
|
+
id: number;
|
|
383
|
+
fichaPersonagem: FichaPersonagemDto | null;
|
|
384
|
+
dataCriacao: Date;
|
|
385
|
+
ficha: ObjetoFicha;
|
|
386
|
+
detalhesEvolucao: DetalheEvolucao[];
|
|
387
|
+
readonly fichaDeJogo: FichaDeJogo | null;
|
|
388
|
+
}
|
|
389
|
+
type FichaDto = IFicha;
|
|
390
|
+
type ObjetoFicha = {
|
|
391
|
+
atributos: {
|
|
392
|
+
id: number;
|
|
393
|
+
valor: number;
|
|
394
|
+
}[];
|
|
395
|
+
pericias: {
|
|
396
|
+
id: number;
|
|
397
|
+
idPatente: number;
|
|
398
|
+
}[];
|
|
399
|
+
estatisticasDanificaveis: {
|
|
400
|
+
id: number;
|
|
401
|
+
valorMaximo: number;
|
|
402
|
+
}[];
|
|
403
|
+
classe: {
|
|
404
|
+
id: number;
|
|
405
|
+
};
|
|
406
|
+
detalhe: DetalheFicha;
|
|
407
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
408
|
+
};
|
|
409
|
+
type DetalheEvolucao = {
|
|
410
|
+
etapa: string;
|
|
411
|
+
detalhes: string[];
|
|
412
|
+
};
|
|
413
|
+
type DetalhesExtras = {};
|
|
414
|
+
type FichaDeJogo = {
|
|
415
|
+
atributos: AtributoFicha[];
|
|
416
|
+
pericias: PericiaFicha[];
|
|
417
|
+
estatisticasDanificaveis: EstatisticaDanificavelFicha[];
|
|
418
|
+
detalhe: DetalheFicha;
|
|
419
|
+
classe: ClasseDto;
|
|
420
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
421
|
+
};
|
|
422
|
+
type AtributoFicha = {
|
|
423
|
+
atributo: AtributoDto;
|
|
424
|
+
valor: number;
|
|
425
|
+
valorTotal: number;
|
|
426
|
+
detalhesValor: string[];
|
|
427
|
+
};
|
|
428
|
+
type PericiaFicha = {
|
|
429
|
+
pericia: PericiaDto;
|
|
430
|
+
patentePericia: PatentePericiaDto;
|
|
431
|
+
valorEfeito: number;
|
|
432
|
+
valorTotal: number;
|
|
433
|
+
detalhesValor: string[];
|
|
434
|
+
};
|
|
435
|
+
type EstatisticaDanificavelFicha = {
|
|
436
|
+
estatisticaDanificavel: EstatisticaDanificavelDto;
|
|
437
|
+
valorMaximo: number;
|
|
438
|
+
};
|
|
439
|
+
type DetalheFicha = {
|
|
440
|
+
valorMaxAtributo: number;
|
|
441
|
+
pontosDeHabilidadeEspecial: number;
|
|
442
|
+
pontosDeHabilidadeParanormal: number;
|
|
443
|
+
pontosDeHabilidadeElemental: number;
|
|
444
|
+
};
|
|
445
|
+
type RegistroPericiaLivre = {
|
|
446
|
+
idPericia: number;
|
|
447
|
+
idPatente: number;
|
|
448
|
+
};
|
|
449
|
+
interface IFichaTemporaria {
|
|
450
|
+
id: number;
|
|
451
|
+
usuario: UsuarioDto;
|
|
452
|
+
ficha: FichaDto;
|
|
453
|
+
dataAtualizacao: Date;
|
|
454
|
+
}
|
|
455
|
+
type FichaTemporariaDto = IFichaTemporaria;
|
|
381
456
|
interface ICoeficienteGanhoEstatisticaClasse {
|
|
382
457
|
id: number;
|
|
383
458
|
classe: ClasseDto;
|
|
@@ -685,71 +760,9 @@ interface IFichaPersonagem {
|
|
|
685
760
|
fkNiveisId: number;
|
|
686
761
|
personagem: PersonagemDto;
|
|
687
762
|
nivel: NivelDto;
|
|
688
|
-
|
|
689
|
-
ficha: ObjetoFicha;
|
|
690
|
-
detalhesEvolucao: DetalheEvolucao[];
|
|
691
|
-
readonly fichaDeJogo: FichaDeJogo | null;
|
|
763
|
+
ficha: FichaDto;
|
|
692
764
|
}
|
|
693
765
|
type FichaPersonagemDto = IFichaPersonagem;
|
|
694
|
-
type ObjetoFicha = {
|
|
695
|
-
atributos: {
|
|
696
|
-
id: number;
|
|
697
|
-
valor: number;
|
|
698
|
-
}[];
|
|
699
|
-
pericias: {
|
|
700
|
-
id: number;
|
|
701
|
-
idPatente: number;
|
|
702
|
-
}[];
|
|
703
|
-
estatisticasDanificaveis: {
|
|
704
|
-
id: number;
|
|
705
|
-
valorMaximo: number;
|
|
706
|
-
}[];
|
|
707
|
-
classe: {
|
|
708
|
-
id: number;
|
|
709
|
-
};
|
|
710
|
-
detalhe: DetalheFicha;
|
|
711
|
-
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
712
|
-
};
|
|
713
|
-
type DetalheEvolucao = {
|
|
714
|
-
etapa: string;
|
|
715
|
-
detalhes: string[];
|
|
716
|
-
};
|
|
717
|
-
type DetalhesExtras = {};
|
|
718
|
-
type FichaDeJogo = {
|
|
719
|
-
atributos: AtributoFicha[];
|
|
720
|
-
pericias: PericiaFicha[];
|
|
721
|
-
estatisticasDanificaveis: EstatisticaDanificavelFicha[];
|
|
722
|
-
detalhe: DetalheFicha;
|
|
723
|
-
classe: ClasseDto;
|
|
724
|
-
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
725
|
-
};
|
|
726
|
-
type AtributoFicha = {
|
|
727
|
-
atributo: AtributoDto;
|
|
728
|
-
valor: number;
|
|
729
|
-
valorTotal: number;
|
|
730
|
-
detalhesValor: string[];
|
|
731
|
-
};
|
|
732
|
-
type PericiaFicha = {
|
|
733
|
-
pericia: PericiaDto;
|
|
734
|
-
patentePericia: PatentePericiaDto;
|
|
735
|
-
valorEfeito: number;
|
|
736
|
-
valorTotal: number;
|
|
737
|
-
detalhesValor: string[];
|
|
738
|
-
};
|
|
739
|
-
type EstatisticaDanificavelFicha = {
|
|
740
|
-
estatisticaDanificavel: EstatisticaDanificavelDto;
|
|
741
|
-
valorMaximo: number;
|
|
742
|
-
};
|
|
743
|
-
type DetalheFicha = {
|
|
744
|
-
valorMaxAtributo: number;
|
|
745
|
-
pontosDeHabilidadeEspecial: number;
|
|
746
|
-
pontosDeHabilidadeParanormal: number;
|
|
747
|
-
pontosDeHabilidadeElemental: number;
|
|
748
|
-
};
|
|
749
|
-
type RegistroPericiaLivre = {
|
|
750
|
-
idPericia: number;
|
|
751
|
-
idPatente: number;
|
|
752
|
-
};
|
|
753
766
|
interface IInformacaoPersonagem {
|
|
754
767
|
fkPersonagensId: number;
|
|
755
768
|
personagem: PersonagemDto;
|
|
@@ -2021,4 +2034,4 @@ declare function isRegrasUploadArquivoValidas(regras: RegrasUploadArquivo): regr
|
|
|
2021
2034
|
declare function mimeFromFormato(formato: FormatoUploadArquivo): string | null;
|
|
2022
2035
|
declare function acceptFromFormatos(formatos: FormatoUploadArquivo[]): string;
|
|
2023
2036
|
declare function isFormatoImagemBitmap(formato: FormatoUploadArquivo): formato is "webp";
|
|
2024
|
-
export { ARQUIVOS_INTERNOS, ARQUIVOS_INTERNOSDef, CAPACIDADES, CapacidadeDef, PERMISSOES_ESTADOS, PERMISSOES_ESTADOSDef, TIPOS_ARQUIVO, TipoArquivoDef, CtxAcesso, temSudoBurlarCapacidades, IPermissoesEstado, PermissoesEstadoDto, IPermissoesItem, PermissoesItemDto, ItemPermissaoDto, ArvoreItensPermissaoDto, IPermissoesUsuario, PermissoesUsuarioDto, IPermissoesUsuariosHistorico, PermissoesUsuariosHistoricoDto, IAprovacaoArquivo, AprovacaoArquivoDto, IArquivo, ArquivoDto, IDetalheArquivoInterno, DetalheArquivoInternoDto, ITipoArquivo, TipoArquivoDto, IArcoAventura, ArcoAventuraDto, IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, IDetalheSessaoAventura, DetalheSessaoAventuraDto, IDetalheSessaoCanonica, DetalheSessaoCanonicaDto, CapituloSessaoCanonica, IDetalheSessaoUnica, DetalheSessaoUnicaDto, IParticipanteSessaoUnica, ParticipanteSessaoUnicaDto, IJanelaDisponibilidade, JanelaDisponibilidadeDto, ITipoFrequencia, TipoFrequenciaDto, 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,
|
|
2037
|
+
export { ARQUIVOS_INTERNOS, ARQUIVOS_INTERNOSDef, CAPACIDADES, CapacidadeDef, PERMISSOES_ESTADOS, PERMISSOES_ESTADOSDef, TIPOS_ARQUIVO, TipoArquivoDef, CtxAcesso, temSudoBurlarCapacidades, IPermissoesEstado, PermissoesEstadoDto, IPermissoesItem, PermissoesItemDto, ItemPermissaoDto, ArvoreItensPermissaoDto, IPermissoesUsuario, PermissoesUsuarioDto, IPermissoesUsuariosHistorico, PermissoesUsuariosHistoricoDto, IAprovacaoArquivo, AprovacaoArquivoDto, IArquivo, ArquivoDto, IDetalheArquivoInterno, DetalheArquivoInternoDto, ITipoArquivo, TipoArquivoDto, IArcoAventura, ArcoAventuraDto, IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, IVariavelAmbiente, VariavelAmbienteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, IDetalheSessaoAventura, DetalheSessaoAventuraDto, IDetalheSessaoCanonica, DetalheSessaoCanonicaDto, CapituloSessaoCanonica, IDetalheSessaoUnica, DetalheSessaoUnicaDto, IParticipanteSessaoUnica, ParticipanteSessaoUnicaDto, IJanelaDisponibilidade, JanelaDisponibilidadeDto, ITipoFrequencia, TipoFrequenciaDto, IFicha, FichaDto, ObjetoFicha, DetalheEvolucao, DetalhesExtras, FichaDeJogo, AtributoFicha, PericiaFicha, EstatisticaDanificavelFicha, DetalheFicha, RegistroPericiaLivre, IFichaTemporaria, FichaTemporariaDto, 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, IInformacaoPersonagem, InformacaoPersonagemDto, IPersonagem, PersonagemDto, PersonagemSalaJogoDto, IResumoPersonagemAventura, ResumoPersonagemAventuraDto, ITipoPersonagem, TipoPersonagemDto, IDetalheRascunhoAventura, DetalheRascunhoAventuraDto, IDetalheRascunhoSessaoUnicaCanonica, DetalheRascunhoSessaoUnicaCanonicaDto, IDetalheRascunhoSessaoUnicaNaoCanonica, DetalheRascunhoSessaoUnicaNaoCanonicaDto, IRascunho, RascunhoDto, IEstudo, EstudoDto, IRegistroSessao, RegistroSessaoDto, ISessao, SessaoDto, SessaoDadosGerais, ParticipanteSessao, AuthSession, ICustomizacaoUsuario, CustomizacaoUsuarioDto, IDisponibilidadeUsuario, DisponibilidadeUsuarioDto, ListaDisponibilidadesUsuario, DisponibilidadesDDS, JanelaDisponibilidade, IGithubUsuario, GithubUsuarioDto, IUsuario, UsuarioDto, LayoutContextualizadoInicial, SalaDeJogo_Codigo, SalaDeJogoParams, SalaDeJogo_Tipo, SalaDeJogo_Estado, SalaDeJogo_TipoMestre, SalaDeJogo_Mestre, SalaDeJogo_Mestre_Mestrada, SalaDeJogo_Mestre_Inteligente, SalaDeJogo_TipoParticipante, SalaDeJogo_Participante, SalaDeJogo_Participante_Narrador, SalaDeJogo_Participante_Jogador, SalaDeJogo_FUNC_AtualizaParticipanteParams, SalaDeJogoDto, MenuItemNode, MenuGrupoNode, MenuNode, menuItem, menuGrupo, PaginaLike, ChildKeys, HasChildren, MenuInternoChildren, MenuInternoTree, MenusInternos, PaginaComLayout, HasLayout, ChildKeysByHasLayout, TemFilhos, FilhosDePagina, MenuLayoutLeaf, menuVazio, menuDinamico, MenuLayoutChildren, MenuLayoutNode, RootMenuLayout, MenusInternosLayoutContexto, Brand, ParamValue, ParamsRecord, ExtrairParamsDoTemplate, PaginaParamsDoTemplate, PaginaInfoBase, PaginaInfoComLayoutContextualizado, PaginaInfo, PaginaTemplate, PaginaDef, PaginaParams, montarHref, LimparUndefinedValue, LimparUndefinedRecord, limparUndefined, pagina, paginaComLayoutContextualizado, RequiredKeys, ParamsProps, FormatoUploadArquivo, DimensoesImagem, RequireAtLeastOne, RegraTamanhoArquivo, RegraDimensoesImagem, RegraProporcaoImagem, RegrasUploadBase, RegrasUploadImagem, RegrasUploadArquivo, ResultadoSaveFile, MensagemChatRecebida, SalaChat, SalaChatFront, MensagemChatPayload, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, TelemetryConnectionInfo, WsEventAudienceUnico, WsEventAudienceMultiplo, WsEventAudience, TelemetryEventLog, TelemetrySnapshot, WsErrorResponse, WsUnauthorizedErrorResponse, WsResult, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsErro, wsUnauthorized, wsMap, wsChain, EventoTipo, EmitDelivery, EventoAuthDefault, EventoEnvia, EventoEmite, EventoEnviaERecebe, EventoSchema, GatewayDef, createGateway, EventosWebSocket, isRecord, getEmitDelivery, WsEmitTarget, WsEmitParams, EventosEmiteMap, EventoEmiteAny, 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, PathTokenPadrao, TituloSessaoInteligente, PermissaoItemMinimo, ListaCapacidadesNecessarias, AcessoPagina, Gateways, EventoTipoLiteral, FiltraEventosPorTipo, criarEventosFiltrados, Eventos_Envia, Eventos_Emite, Eventos_EnviaERecebe, DecisaoAcessoPagina, ResolverMenuInterno, Opts, decidirAcessoPagina, decidirAcessoPagina_Rec, PAGINAS, Folhas, PaginaFolha, PaginaTemplateFolha, PaginaDestino, PaginaDestinoPagina, PaginaHrefTemplate, PaginaHref, PaginaDefAny, PaginaTemplateAny, filtrarMenuPorAcesso, MENU_PRINCIPAL, MENUS_INTERNOS, MENUS_INTERNOS_LAYOUTCONTEXTO, PaginasNodeValue, PaginasNodeRecord, MenusNodeRecord, isPaginaComLayout, isMenuLeaf, getPaginaKey, MENUS_LAYOUTCONTEXTO_POR_PAGINA, obterMenuInternoLayoutContexto, MENUS_INTERNOS_POR_PAGINA, obterMenuInterno, resolverMenuInterno, ResultadoValidacao, isNumeroInteiroPositivo, isNumeroPositivo, pushErro, validarFormatos, validarTamanho, validarDimensoesDim, validarDimensoesRegra, validarProporcao, validarMaxPixels, validarImagem, validarRegrasUploadArquivo, isRegrasUploadArquivoValidas, mimeFromFormato, acceptFromFormatos, isFormatoImagemBitmap };
|
package/dist/classes.js
CHANGED
|
@@ -455,7 +455,7 @@ const PAGINAS = {
|
|
|
455
455
|
jogador: {
|
|
456
456
|
...paginaComLayoutContextualizado('/minhas-paginas/jogador', { label: 'Área do Jogador', acesso: { autenticado: true }, acessoPorMenuInterno: true }, { titulo: 'Página de Jogador', proporcaoConteudo: 84 }),
|
|
457
457
|
meusPersonagens: paginaComLayoutContextualizado('/minhas-paginas/jogador/meus-personagens', { label: 'Meus Personagens', acesso: { autenticado: true } }, { titulo: 'Meus Personagens', proporcaoConteudo: 84 }),
|
|
458
|
-
minhasFichas: paginaComLayoutContextualizado('/minhas-paginas/jogador/minhas-fichas', { label: '
|
|
458
|
+
minhasFichas: paginaComLayoutContextualizado('/minhas-paginas/jogador/minhas-fichas', { label: 'Minhas Fichas', acesso: { autenticado: true } }, { titulo: 'Minhas Fichas', proporcaoConteudo: 84 }),
|
|
459
459
|
},
|
|
460
460
|
minhasDisponibilidades: paginaComLayoutContextualizado('/minhas-paginas/minhas-disponibilidades', { label: 'Minhas Disponibilidades', acesso: { autenticado: true } }, { titulo: 'Minhas Disponibilidades', proporcaoConteudo: 100 }),
|
|
461
461
|
minhasConfiguracoes: paginaComLayoutContextualizado('/minhas-paginas/minhas-configuracoes', { label: 'Minhas Configurações', acesso: { autenticado: true } }, { titulo: 'Minhas Configurações', proporcaoConteudo: 100 }),
|