types-nora-api 0.0.208 → 0.0.209
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 +75 -79
- package/dist/classes.js +20 -15
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -777,8 +777,8 @@ type SalaDeJogoDto = {
|
|
|
777
777
|
participantes: readonly SalaDeJogo_Participante[];
|
|
778
778
|
};
|
|
779
779
|
type PaginaDef = {
|
|
780
|
-
href: string;
|
|
781
|
-
acesso?: AcessoPagina;
|
|
780
|
+
readonly href: string;
|
|
781
|
+
readonly acesso?: AcessoPagina;
|
|
782
782
|
};
|
|
783
783
|
type ExtractParamsFromHref<S extends string, Acc extends Record<string, any> = {}> = S extends `${infer _A}[[...${infer P}]]${infer Rest}` ? ExtractParamsFromHref<Rest, Acc & {
|
|
784
784
|
[K in P]?: string[];
|
|
@@ -797,63 +797,30 @@ type PaginaRef<P extends PaginaDef> = keyof PaginaParams<P> extends never ? {
|
|
|
797
797
|
declare const PAGINAS: {
|
|
798
798
|
readonly home: {
|
|
799
799
|
readonly href: "/";
|
|
800
|
-
readonly acesso: {};
|
|
801
800
|
};
|
|
802
801
|
readonly acessar: {
|
|
803
802
|
readonly href: "/acessar";
|
|
804
|
-
readonly acesso: {};
|
|
805
803
|
};
|
|
806
|
-
readonly
|
|
807
|
-
readonly href: "/
|
|
808
|
-
readonly acesso: {};
|
|
804
|
+
readonly aventura: {
|
|
805
|
+
readonly href: "/aventura/[id]";
|
|
809
806
|
};
|
|
810
807
|
readonly aventuras: {
|
|
811
808
|
readonly href: "/aventuras";
|
|
812
|
-
readonly acesso: {
|
|
813
|
-
readonly autenticado: true;
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
readonly aventura: {
|
|
817
|
-
readonly id: {
|
|
818
|
-
readonly href: "/aventura/[id]";
|
|
819
|
-
readonly acesso: {
|
|
820
|
-
readonly autenticado: true;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
809
|
};
|
|
824
|
-
readonly
|
|
825
|
-
readonly href: "/
|
|
826
|
-
readonly acesso: {
|
|
827
|
-
readonly autenticado: true;
|
|
828
|
-
};
|
|
829
|
-
};
|
|
830
|
-
readonly sessao: {
|
|
831
|
-
readonly id: {
|
|
832
|
-
readonly href: "/sessao/[id]";
|
|
833
|
-
readonly acesso: {
|
|
834
|
-
readonly autenticado: true;
|
|
835
|
-
};
|
|
836
|
-
};
|
|
810
|
+
readonly cadastrar: {
|
|
811
|
+
readonly href: "/cadastrar";
|
|
837
812
|
};
|
|
838
813
|
readonly definicoes: {
|
|
839
|
-
readonly
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
};
|
|
844
|
-
};
|
|
814
|
+
readonly href: "/definicoes/[[...slug]]";
|
|
815
|
+
};
|
|
816
|
+
readonly dicas: {
|
|
817
|
+
readonly href: "/dicas/[[...slug]]";
|
|
845
818
|
};
|
|
846
819
|
readonly jogo: {
|
|
847
820
|
readonly href: "/jogo";
|
|
848
821
|
readonly acesso: {
|
|
849
822
|
readonly autenticado: true;
|
|
850
823
|
};
|
|
851
|
-
readonly emJogo: {
|
|
852
|
-
readonly href: "/jogo/em-jogo";
|
|
853
|
-
readonly acesso: {
|
|
854
|
-
readonly autenticado: true;
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
824
|
readonly jogador: {
|
|
858
825
|
readonly href: "/jogo/jogador";
|
|
859
826
|
readonly acesso: {
|
|
@@ -876,6 +843,18 @@ declare const PAGINAS: {
|
|
|
876
843
|
};
|
|
877
844
|
};
|
|
878
845
|
};
|
|
846
|
+
readonly emJogo: {
|
|
847
|
+
readonly href: "/jogo/em-jogo";
|
|
848
|
+
readonly acesso: {
|
|
849
|
+
readonly autenticado: true;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
readonly linhaDoTempo: {
|
|
854
|
+
readonly href: "/linha-do-tempo";
|
|
855
|
+
};
|
|
856
|
+
readonly minhaPagina: {
|
|
857
|
+
readonly href: "/minha-pagina";
|
|
879
858
|
};
|
|
880
859
|
readonly minhasPaginas: {
|
|
881
860
|
readonly admin: {
|
|
@@ -883,14 +862,14 @@ declare const PAGINAS: {
|
|
|
883
862
|
readonly acesso: {
|
|
884
863
|
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
885
864
|
};
|
|
886
|
-
readonly
|
|
887
|
-
readonly href: "/minhas-paginas/admin/
|
|
865
|
+
readonly aventura: {
|
|
866
|
+
readonly href: "/minhas-paginas/admin/aventura/[id]";
|
|
888
867
|
readonly acesso: {
|
|
889
868
|
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
890
869
|
};
|
|
891
870
|
};
|
|
892
|
-
readonly
|
|
893
|
-
readonly href: "/minhas-paginas/admin/
|
|
871
|
+
readonly aventuras: {
|
|
872
|
+
readonly href: "/minhas-paginas/admin/aventuras";
|
|
894
873
|
readonly acesso: {
|
|
895
874
|
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
896
875
|
};
|
|
@@ -902,23 +881,19 @@ declare const PAGINAS: {
|
|
|
902
881
|
};
|
|
903
882
|
};
|
|
904
883
|
readonly sessao: {
|
|
905
|
-
readonly
|
|
906
|
-
|
|
907
|
-
readonly
|
|
908
|
-
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
909
|
-
};
|
|
884
|
+
readonly href: "/minhas-paginas/admin/sessao/[id]";
|
|
885
|
+
readonly acesso: {
|
|
886
|
+
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
910
887
|
};
|
|
911
888
|
};
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
|
|
915
|
-
readonly
|
|
916
|
-
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
917
|
-
};
|
|
889
|
+
readonly uploads: {
|
|
890
|
+
readonly href: "/minhas-paginas/admin/uploads";
|
|
891
|
+
readonly acesso: {
|
|
892
|
+
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
918
893
|
};
|
|
919
894
|
};
|
|
920
|
-
readonly
|
|
921
|
-
readonly href: "/minhas-paginas/admin/
|
|
895
|
+
readonly variaveisAmbiente: {
|
|
896
|
+
readonly href: "/minhas-paginas/admin/variaveis-ambiente";
|
|
922
897
|
readonly acesso: {
|
|
923
898
|
readonly listaDeCapacidadesNecessarias: readonly ["ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES"];
|
|
924
899
|
};
|
|
@@ -941,6 +916,12 @@ declare const PAGINAS: {
|
|
|
941
916
|
readonly acesso: {
|
|
942
917
|
readonly autenticado: true;
|
|
943
918
|
};
|
|
919
|
+
readonly aventura: {
|
|
920
|
+
readonly href: "/minhas-paginas/mestre/aventura/[id]";
|
|
921
|
+
readonly acesso: {
|
|
922
|
+
readonly autenticado: true;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
944
925
|
readonly aventuras: {
|
|
945
926
|
readonly href: "/minhas-paginas/mestre/aventuras";
|
|
946
927
|
readonly acesso: {
|
|
@@ -953,22 +934,6 @@ declare const PAGINAS: {
|
|
|
953
934
|
readonly autenticado: true;
|
|
954
935
|
};
|
|
955
936
|
};
|
|
956
|
-
readonly aventura: {
|
|
957
|
-
readonly id: {
|
|
958
|
-
readonly href: "/minhas-paginas/mestre/aventura/[id]";
|
|
959
|
-
readonly acesso: {
|
|
960
|
-
readonly autenticado: true;
|
|
961
|
-
};
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
readonly sessao: {
|
|
965
|
-
readonly id: {
|
|
966
|
-
readonly href: "/minhas-paginas/mestre/sessao/[id]";
|
|
967
|
-
readonly acesso: {
|
|
968
|
-
readonly autenticado: true;
|
|
969
|
-
};
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
937
|
readonly rascunhos: {
|
|
973
938
|
readonly aventuras: {
|
|
974
939
|
readonly href: "/minhas-paginas/mestre/rascunhos/aventuras";
|
|
@@ -983,6 +948,12 @@ declare const PAGINAS: {
|
|
|
983
948
|
};
|
|
984
949
|
};
|
|
985
950
|
};
|
|
951
|
+
readonly sessao: {
|
|
952
|
+
readonly href: "/minhas-paginas/mestre/sessao/[id]";
|
|
953
|
+
readonly acesso: {
|
|
954
|
+
readonly autenticado: true;
|
|
955
|
+
};
|
|
956
|
+
};
|
|
986
957
|
};
|
|
987
958
|
readonly minhasDisponibilidades: {
|
|
988
959
|
readonly href: "/minhas-paginas/minhas-disponibilidades";
|
|
@@ -991,6 +962,30 @@ declare const PAGINAS: {
|
|
|
991
962
|
};
|
|
992
963
|
};
|
|
993
964
|
};
|
|
965
|
+
readonly personagens: {
|
|
966
|
+
readonly href: "/personagens";
|
|
967
|
+
readonly acesso: {
|
|
968
|
+
readonly autenticado: true;
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
readonly sessoes: {
|
|
972
|
+
readonly href: "/sessoes";
|
|
973
|
+
readonly acesso: {
|
|
974
|
+
readonly autenticado: true;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly sessaoAovivo: {
|
|
978
|
+
readonly href: "/sessao-aovivo";
|
|
979
|
+
readonly acesso: {
|
|
980
|
+
readonly autenticado: true;
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
readonly sessao: {
|
|
984
|
+
readonly href: "/sessao/[id]";
|
|
985
|
+
readonly acesso: {
|
|
986
|
+
readonly autenticado: true;
|
|
987
|
+
};
|
|
988
|
+
};
|
|
994
989
|
};
|
|
995
990
|
type PaginasTree<T> = T extends Record<string, any> ? 'href' extends keyof T ? T extends {
|
|
996
991
|
href: infer H;
|
|
@@ -1395,12 +1390,13 @@ type PermissaoItemMinimo = {
|
|
|
1395
1390
|
id: number;
|
|
1396
1391
|
} | null;
|
|
1397
1392
|
};
|
|
1398
|
-
type
|
|
1393
|
+
type ListaCapacidadesNecessarias = readonly [Capacidade, ...Capacidade[]];
|
|
1394
|
+
type AcessoPagina = {
|
|
1399
1395
|
autenticado: true;
|
|
1400
1396
|
listaDeCapacidadesNecessarias?: never;
|
|
1401
1397
|
} | {
|
|
1402
1398
|
autenticado?: never;
|
|
1403
|
-
listaDeCapacidadesNecessarias:
|
|
1399
|
+
listaDeCapacidadesNecessarias: ListaCapacidadesNecessarias;
|
|
1404
1400
|
};
|
|
1405
1401
|
type Gateways = typeof EventosWebSocket.gateways;
|
|
1406
1402
|
type EventoTipoLiteral = EventoTipo;
|
|
@@ -1573,4 +1569,4 @@ declare const Eventos_EnviaERecebe: {
|
|
|
1573
1569
|
};
|
|
1574
1570
|
};
|
|
1575
1571
|
};
|
|
1576
|
-
export { CAPACIDADES, IPermissoesEstado, PermissoesEstadoDto, IPermissoesItem, PermissoesItemDto, IPermissoesUsuario, PermissoesUsuarioDto, IPermissoesUsuariosHistorico, PermissoesUsuariosHistoricoDto, 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, 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, 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, IUsuario, UsuarioDto, 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, PaginaDef, ExtractParamsFromHref, PaginaParams, PaginaRef, PAGINAS, PaginasTree, _Check, _check, PaginaHref, PaginaObjeto, PaginaLeafUnion, PaginaLeafUnionChildren, PaginaAtual, 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, Capacidade, LISTA_CAPACIDADES, PermissaoItemMinimo, AcessoPagina, Gateways, EventoTipoLiteral, FiltraEventosPorTipo, criarEventosFiltrados, Eventos_Envia, Eventos_Emite, Eventos_EnviaERecebe };
|
|
1572
|
+
export { CAPACIDADES, IPermissoesEstado, PermissoesEstadoDto, IPermissoesItem, PermissoesItemDto, IPermissoesUsuario, PermissoesUsuarioDto, IPermissoesUsuariosHistorico, PermissoesUsuariosHistoricoDto, 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, 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, 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, IUsuario, UsuarioDto, 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, PaginaDef, ExtractParamsFromHref, PaginaParams, PaginaRef, PAGINAS, PaginasTree, _Check, _check, PaginaHref, PaginaObjeto, PaginaLeafUnion, PaginaLeafUnionChildren, PaginaAtual, 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, Capacidade, LISTA_CAPACIDADES, PermissaoItemMinimo, ListaCapacidadesNecessarias, AcessoPagina, Gateways, EventoTipoLiteral, FiltraEventosPorTipo, criarEventosFiltrados, Eventos_Envia, Eventos_Emite, Eventos_EnviaERecebe };
|
package/dist/classes.js
CHANGED
|
@@ -50,32 +50,33 @@ var SalaDeJogo_TipoParticipante;
|
|
|
50
50
|
SalaDeJogo_TipoParticipante["SALA__JOGADOR"] = "Jogador";
|
|
51
51
|
})(SalaDeJogo_TipoParticipante || (SalaDeJogo_TipoParticipante = {}));
|
|
52
52
|
const PAGINAS = {
|
|
53
|
-
home: { href: '/'
|
|
54
|
-
acessar: { href: '/acessar'
|
|
55
|
-
|
|
56
|
-
aventuras: { href: '/aventuras'
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
definicoes: { slug: { href: '/definicoes/[[...slug]]', acesso: { autenticado: true } } },
|
|
53
|
+
home: { href: '/' },
|
|
54
|
+
acessar: { href: '/acessar' },
|
|
55
|
+
aventura: { href: '/aventura/[id]' },
|
|
56
|
+
aventuras: { href: '/aventuras' },
|
|
57
|
+
cadastrar: { href: '/cadastrar' },
|
|
58
|
+
definicoes: { href: '/definicoes/[[...slug]]' },
|
|
59
|
+
dicas: { href: '/dicas/[[...slug]]' },
|
|
61
60
|
jogo: {
|
|
62
61
|
href: '/jogo',
|
|
63
62
|
acesso: { autenticado: true },
|
|
64
|
-
emJogo: { href: '/jogo/em-jogo', acesso: { autenticado: true } },
|
|
65
63
|
jogador: { href: '/jogo/jogador', acesso: { autenticado: true } },
|
|
66
64
|
mestre: { sessoesMestre: { href: '/jogo/mestre/sessoes-mestre', acesso: { autenticado: true } } },
|
|
67
65
|
admin: { gerenciarSalas: { href: '/jogo/admin/gerenciar-salas', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } } },
|
|
66
|
+
emJogo: { href: '/jogo/em-jogo', acesso: { autenticado: true } },
|
|
68
67
|
},
|
|
68
|
+
linhaDoTempo: { href: '/linha-do-tempo' },
|
|
69
|
+
minhaPagina: { href: '/minha-pagina' },
|
|
69
70
|
minhasPaginas: {
|
|
70
71
|
admin: {
|
|
71
72
|
href: '/minhas-paginas/admin',
|
|
72
73
|
acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] },
|
|
74
|
+
aventura: { href: '/minhas-paginas/admin/aventura/[id]', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
75
|
+
aventuras: { href: '/minhas-paginas/admin/aventuras', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
76
|
+
dashboardWs: { href: '/minhas-paginas/admin/dashboard-ws', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
77
|
+
sessao: { href: '/minhas-paginas/admin/sessao/[id]', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
73
78
|
uploads: { href: '/minhas-paginas/admin/uploads', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
74
79
|
variaveisAmbiente: { href: '/minhas-paginas/admin/variaveis-ambiente', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
75
|
-
dashboardWs: { href: '/minhas-paginas/admin/dashboard-ws', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
76
|
-
sessao: { id: { href: '/minhas-paginas/admin/sessao/[id]', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } } },
|
|
77
|
-
aventura: { id: { href: '/minhas-paginas/admin/aventura/[id]', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } } },
|
|
78
|
-
aventuras: { href: '/minhas-paginas/admin/aventuras', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES] } },
|
|
79
80
|
},
|
|
80
81
|
jogador: {
|
|
81
82
|
href: '/minhas-paginas/jogador',
|
|
@@ -85,17 +86,21 @@ const PAGINAS = {
|
|
|
85
86
|
mestre: {
|
|
86
87
|
href: '/minhas-paginas/mestre',
|
|
87
88
|
acesso: { autenticado: true },
|
|
89
|
+
aventura: { href: '/minhas-paginas/mestre/aventura/[id]', acesso: { autenticado: true } },
|
|
88
90
|
aventuras: { href: '/minhas-paginas/mestre/aventuras', acesso: { autenticado: true } },
|
|
89
91
|
personagens: { href: '/minhas-paginas/mestre/personagens', acesso: { autenticado: true } },
|
|
90
|
-
aventura: { id: { href: '/minhas-paginas/mestre/aventura/[id]', acesso: { autenticado: true } } },
|
|
91
|
-
sessao: { id: { href: '/minhas-paginas/mestre/sessao/[id]', acesso: { autenticado: true } } },
|
|
92
92
|
rascunhos: {
|
|
93
93
|
aventuras: { href: '/minhas-paginas/mestre/rascunhos/aventuras', acesso: { autenticado: true } },
|
|
94
94
|
sessoesUnicas: { href: '/minhas-paginas/mestre/rascunhos/sessoes-unicas', acesso: { autenticado: true } },
|
|
95
95
|
},
|
|
96
|
+
sessao: { href: '/minhas-paginas/mestre/sessao/[id]', acesso: { autenticado: true } },
|
|
96
97
|
},
|
|
97
98
|
minhasDisponibilidades: { href: '/minhas-paginas/minhas-disponibilidades', acesso: { autenticado: true } },
|
|
98
99
|
},
|
|
100
|
+
personagens: { href: '/personagens', acesso: { autenticado: true } },
|
|
101
|
+
sessoes: { href: '/sessoes', acesso: { autenticado: true } },
|
|
102
|
+
sessaoAovivo: { href: '/sessao-aovivo', acesso: { autenticado: true } },
|
|
103
|
+
sessao: { href: '/sessao/[id]', acesso: { autenticado: true } },
|
|
99
104
|
};
|
|
100
105
|
const _check = PAGINAS;
|
|
101
106
|
function isWsErrorResponse(payload) { return !!payload && typeof payload === "object" && payload._wsErro === true; }
|