types-nora-api 0.0.132 → 0.0.134

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 CHANGED
@@ -668,129 +668,85 @@ interface IUsuario {
668
668
  listaCargos: CargosUsuario;
669
669
  }
670
670
  type UsuarioDto = IUsuario;
671
- interface MensagemChatRecebida {
672
- salaId: string;
673
- idUsuario: number;
674
- conteudo: string;
675
- timestamp: number;
676
- }
677
- interface SalaChatFront {
678
- id: string;
679
- podeEscrever: boolean;
680
- mensagensIniciais: MensagemChatRecebida[];
681
- }
682
- interface MensagemChatPayload {
683
- salaId: string;
684
- conteudo: string;
685
- }
686
- declare const PAGINAS: {
687
- readonly VAZIA: {
688
- readonly id: "";
689
- readonly nome: "";
690
- };
691
- readonly ADMIN: {
692
- readonly id: "ADMIN";
693
- readonly nome: "Administrando";
694
- };
695
- readonly INICIO: {
696
- readonly id: "INICIO";
697
- readonly nome: "Página Inicial";
698
- };
699
- readonly MINHA_PAGINA: {
700
- readonly id: "MINHA_PAGINA";
701
- readonly nome: "Minha Página";
702
- };
703
- readonly AVENTURAS: {
704
- readonly id: "AVENTURAS";
705
- readonly nome: "Aventuras";
706
- };
707
- readonly AVENTURA: {
708
- readonly id: "AVENTURA";
709
- readonly nome: "Página de Aventura";
710
- };
711
- readonly DEFINICOES: {
712
- readonly id: "DEFINICOES";
713
- readonly nome: "Definições";
714
- };
715
- readonly DICAS: {
716
- readonly id: "DICAS";
717
- readonly nome: "Dicas";
718
- };
719
- readonly EVOLUINDO: {
720
- readonly id: "EVOLUINDO";
721
- readonly nome: "Página de Evolução";
722
- };
723
- readonly LINHA_DO_TEMPO: {
724
- readonly id: "LINHA_DO_TEMPO";
725
- readonly nome: "Linha do Tempo";
726
- };
727
- readonly MEUS_PERSONAGENS: {
728
- readonly id: "MEUS_PERSONAGENS";
729
- readonly nome: "Página de Personagens";
730
- };
731
- readonly DISPONIBILIDADES: {
732
- readonly id: "DISPONIBILIDADES";
733
- readonly nome: "Página de Disponibilidades";
734
- };
735
- readonly SESSAO_AOVIVO: {
736
- readonly id: "SESSAO_AOVIVO";
737
- readonly nome: "Ao vivo em Sessão";
738
- };
739
- readonly SESSAO: {
740
- readonly id: "SESSAO";
741
- readonly nome: "Assistindo Sessão";
742
- };
743
- readonly MESTRE: {
744
- readonly id: "MESTRE";
745
- readonly nome: "Página de Mestre";
746
- };
671
+ type EventoSocket = {
672
+ tipo: 'emitir';
673
+ payload: unknown;
674
+ descricao: string;
675
+ response?: never;
676
+ } | {
677
+ tipo: 'ouvir';
678
+ payload: unknown;
679
+ descricao: string;
680
+ response?: never;
681
+ } | {
682
+ tipo: 'request-response';
683
+ payload: unknown;
684
+ response: unknown;
685
+ descricao: string;
747
686
  };
748
- type PaginaChave = keyof typeof PAGINAS;
749
- type PaginaObjeto = typeof PAGINAS[PaginaChave];
750
- declare const SOCKET_EVENTOS: {
751
- readonly AcessosUsuarios: {
752
- readonly obter: "AcessosUsuarios_obtem";
753
- readonly receber: "AcessosUsuarios_recebe";
754
- };
755
- readonly Chat: {
756
- readonly enviarMensagem: "Chat_enviarMensagem";
757
- readonly receberMensagem: "Chat_receberMensagem";
758
- readonly receberSalasDisponiveis: "Chat_receberSalasDisponiveis";
759
- readonly obterSalasDisponiveis: "Chat_obterSalasDisponiveis";
760
- };
761
- readonly GameEngine: {
762
- readonly enviarMensagem: "GameEngine_enviarMensagem";
763
- readonly receberMensagem: "GameEngine_receberMensagem";
764
- readonly receberGameState: "GameEngine_receberGameState";
765
- readonly Jogador: {
766
- readonly receberFicha: "GameEngine_Jogador_receberFicha";
687
+ declare const createSocketConfig: <T extends Record<string, {
688
+ eventos: Record<string, EventoSocket>;
689
+ }>>(config: {
690
+ namespaces: T;
691
+ }) => {
692
+ namespaces: T;
693
+ };
694
+ declare const SOCKET_CONFIG: {
695
+ namespaces: {
696
+ gameEngine: {
697
+ eventos: {
698
+ teste: {
699
+ tipo: "request-response";
700
+ payload: {};
701
+ response: {
702
+ teste: string;
703
+ };
704
+ descricao: string;
705
+ };
706
+ };
767
707
  };
768
- readonly Mestre: {
769
- readonly receberTodasFichasSessao: "GameEngine_Mestre_receberTodasFichasSessao";
770
- };
771
- };
772
- readonly PaginaAovivo: {
773
- readonly obterSessaoEmAndamento: "PaginaAovivo_obterSessaoEmAndamento";
774
- readonly receberSessaoEmAndamento: "PaginaAovivo_receberSessaoEmAndamento";
775
- };
776
- readonly UsuariosExistentes: {
777
- readonly obterTodos: "UsuariosExistentes_obterTodos";
778
708
  };
779
709
  };
780
- type ExtractValues<T> = T extends object ? {
781
- [K in keyof T]: ExtractValues<T[K]>;
782
- }[keyof T] : T;
783
- type EventoSocket = ExtractValues<typeof SOCKET_EVENTOS>;
784
- type SOCKET_UsuarioExistente = {
785
- id: number;
786
- username: string;
787
- avatar: string;
710
+ declare const SOCKET: { [K in keyof (typeof SOCKET_CONFIG)["namespaces"]]: {
711
+ readonly eventos: { [E in keyof (typeof SOCKET_CONFIG)["namespaces"][K]["eventos"]]: (typeof SOCKET_CONFIG)["namespaces"][K]["eventos"][E] & {
712
+ readonly nome: E;
713
+ }; };
714
+ readonly nomeNamespace: `/${K}`;
715
+ }; };
716
+ declare const criarEventosFiltrados: <Tipo extends EventoSocket["tipo"]>(tipo: Tipo) => {
717
+ [k: string]: {
718
+ nomeNamespace: `/${string}`;
719
+ eventos: {
720
+ [k: string]: {
721
+ nome: string;
722
+ nomeNamespace: `/${string}`;
723
+ tipo: "request-response";
724
+ payload: {};
725
+ response: {
726
+ teste: string;
727
+ };
728
+ descricao: string;
729
+ };
730
+ };
731
+ };
788
732
  };
789
- type SOCKET_AcessoUsuario = {
790
- usuario: UsuarioDto;
791
- paginaAtual?: PaginaObjeto | null;
792
- dataAtualizacao: Date;
733
+ type CriarEventosFiltrados<Tipo extends EventoSocket['tipo']> = {
734
+ [K in keyof typeof SOCKET_CONFIG.namespaces]: {
735
+ nomeNamespace: `/${K}`;
736
+ eventos: {
737
+ [E in keyof typeof SOCKET_CONFIG.namespaces[K]['eventos']]: typeof SOCKET_CONFIG.namespaces[K]['eventos'][E] extends {
738
+ tipo: Tipo;
739
+ } ? typeof SOCKET_CONFIG.namespaces[K]['eventos'][E] & {
740
+ readonly nome: E;
741
+ readonly nomeNamespace: `/${K}`;
742
+ } : never;
743
+ };
744
+ };
793
745
  };
746
+ declare const criarEventosTipados: <Tipo extends EventoSocket["tipo"]>(tipo: Tipo) => CriarEventosFiltrados<Tipo>;
747
+ declare const Eventos_Tipo_Emitir: CriarEventosFiltrados<"emitir">;
748
+ declare const Eventos_Tipo_Ouvir: CriarEventosFiltrados<"ouvir">;
749
+ declare const Eventos_Tipo_RequestResponse: CriarEventosFiltrados<"request-response">;
794
750
  interface PaletaCores {
795
751
  corPrimaria: string;
796
752
  corSecundaria?: string;
@@ -937,4 +893,4 @@ declare enum EstiloSessao {
937
893
  SESSAO_UNICA_NAO_CANONICA = 2,
938
894
  ERRO = 3
939
895
  }
940
- 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, 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 };
896
+ 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 };
package/dist/classes.js CHANGED
@@ -11,98 +11,36 @@ 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
- };
76
- const SOCKET_EVENTOS = {
77
- AcessosUsuarios: {
78
- obter: 'AcessosUsuarios_obtem',
79
- receber: 'AcessosUsuarios_recebe',
80
- },
81
- Chat: {
82
- enviarMensagem: 'Chat_enviarMensagem',
83
- receberMensagem: 'Chat_receberMensagem',
84
- receberSalasDisponiveis: 'Chat_receberSalasDisponiveis',
85
- obterSalasDisponiveis: 'Chat_obterSalasDisponiveis',
86
- },
87
- GameEngine: {
88
- enviarMensagem: 'GameEngine_enviarMensagem',
89
- receberMensagem: 'GameEngine_receberMensagem',
90
- receberGameState: 'GameEngine_receberGameState',
91
- Jogador: {
92
- receberFicha: 'GameEngine_Jogador_receberFicha',
93
- },
94
- Mestre: {
95
- receberTodasFichasSessao: 'GameEngine_Mestre_receberTodasFichasSessao',
14
+ const createSocketConfig = (config) => config;
15
+ const SOCKET_CONFIG = createSocketConfig({
16
+ namespaces: {
17
+ gameEngine: {
18
+ eventos: {
19
+ teste: {
20
+ tipo: 'request-response',
21
+ payload: {},
22
+ response: { teste: '' },
23
+ descricao: 'Teste de gameEngine',
24
+ },
25
+ },
96
26
  },
97
- },
98
- PaginaAovivo: {
99
- obterSessaoEmAndamento: 'PaginaAovivo_obterSessaoEmAndamento',
100
- receberSessaoEmAndamento: 'PaginaAovivo_receberSessaoEmAndamento',
101
- },
102
- UsuariosExistentes: {
103
- obterTodos: 'UsuariosExistentes_obterTodos',
104
- },
27
+ }
28
+ });
29
+ const SOCKET = Object.fromEntries(Object.entries(SOCKET_CONFIG.namespaces).map(([nomeNamespace, config]) => [nomeNamespace, { eventos: Object.fromEntries(Object.entries(config.eventos).map(([nomeEvento, eventConfig]) => [nomeEvento, { ...eventConfig, nome: nomeEvento }])), nomeNamespace: `/${nomeNamespace}` }]));
30
+ const criarEventosFiltrados = (tipo) => {
31
+ return Object.fromEntries(Object.entries(SOCKET_CONFIG.namespaces).map(([namespaceName, namespace]) => [namespaceName, {
32
+ nomeNamespace: `/${namespaceName}`,
33
+ eventos: Object.fromEntries(Object.entries(namespace.eventos).filter(([_, event]) => event.tipo === tipo).map(([eventName, event]) => [eventName, {
34
+ ...event,
35
+ nome: eventName,
36
+ nomeNamespace: `/${namespaceName}`
37
+ }]))
38
+ }]));
105
39
  };
40
+ const criarEventosTipados = (tipo) => criarEventosFiltrados(tipo);
41
+ const Eventos_Tipo_Emitir = criarEventosTipados('emitir');
42
+ const Eventos_Tipo_Ouvir = criarEventosTipados('ouvir');
43
+ const Eventos_Tipo_RequestResponse = criarEventosTipados('request-response');
106
44
  // @tipoCompartilhadoFront
107
45
  var AventuraEstado;
108
46
  (function (AventuraEstado) {
@@ -194,4 +132,4 @@ var EstiloSessao;
194
132
  EstiloSessao[EstiloSessao["SESSAO_UNICA_NAO_CANONICA"] = 2] = "SESSAO_UNICA_NAO_CANONICA";
195
133
  EstiloSessao[EstiloSessao["ERRO"] = 3] = "ERRO";
196
134
  })(EstiloSessao || (EstiloSessao = {}));
197
- export { AuthSession, PAGINAS, SOCKET_EVENTOS, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, CargoExibicaoUsuario, FormatoMomento, EstiloSessao };
135
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "types-nora-api",
3
- "version": "0.0.132",
3
+ "version": "0.0.134",
4
4
  "description": "Tipagem da Nora-Api compartilhada com o universodomedo.com",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",