types-nora-api 0.0.475 → 0.0.477
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/api/graphql/core/index.d.ts +374 -0
- package/dist/api/graphql/core/index.js +420 -0
- package/dist/api/graphql/index.d.ts +2 -5
- package/dist/api/graphql/index.js +3 -6
- package/dist/api/graphql/leituras/Arquivo/index.d.ts +41 -0
- package/dist/api/graphql/leituras/Arquivo/index.js +74 -0
- package/dist/api/graphql/leituras/ArquivoTipadoArte/index.d.ts +35 -0
- package/dist/api/graphql/leituras/ArquivoTipadoArte/index.js +50 -0
- package/dist/api/graphql/leituras/Aventura/index.d.ts +39 -0
- package/dist/api/graphql/leituras/Aventura/index.js +51 -0
- package/dist/api/graphql/leituras/ChaveNovoAvatar/index.d.ts +38 -0
- package/dist/api/graphql/leituras/ChaveNovoAvatar/index.js +51 -0
- package/dist/api/graphql/leituras/DetalheArquivoInterno/index.d.ts +30 -0
- package/dist/api/graphql/leituras/DetalheArquivoInterno/index.js +44 -0
- package/dist/api/graphql/leituras/Emblema/index.d.ts +38 -0
- package/dist/api/graphql/leituras/Emblema/index.js +64 -0
- package/dist/api/graphql/leituras/GrupoAventura/index.d.ts +63 -0
- package/dist/api/graphql/leituras/GrupoAventura/index.js +159 -0
- package/dist/api/graphql/leituras/Personagem/index.d.ts +46 -0
- package/dist/api/graphql/leituras/Personagem/index.js +76 -0
- package/dist/api/graphql/leituras/Sessao/index.d.ts +54 -0
- package/dist/api/graphql/leituras/Sessao/index.js +71 -0
- package/dist/api/graphql/leituras/TipoArquivo/index.d.ts +30 -0
- package/dist/api/graphql/leituras/TipoArquivo/index.js +48 -0
- package/dist/api/graphql/leituras/TipoPersonagem/index.d.ts +31 -0
- package/dist/api/graphql/leituras/TipoPersonagem/index.js +49 -0
- package/dist/api/graphql/leituras/Usuario/index.d.ts +32 -0
- package/dist/api/graphql/leituras/Usuario/index.js +50 -0
- package/dist/api/graphql/leituras/index.d.ts +57 -0
- package/dist/api/graphql/leituras/index.js +59 -0
- package/dist/api/rest/index.d.ts +8 -42
- package/dist/api/rest/index.js +10 -38
- package/dist/dominio/index.d.ts +56 -0
- package/dist/dominio/index.js +14 -0
- package/dist/dtos/index.d.ts +40 -3
- package/dist/menus/index.d.ts +5 -4
- package/dist/menus/index.js +3 -1
- package/dist/paginas/index.d.ts +2 -1
- package/dist/paginas/index.js +2 -1
- package/dist/ws/index.d.ts +214 -1
- package/dist/ws/index.js +61 -2
- package/package.json +1 -1
package/dist/api/rest/index.js
CHANGED
|
@@ -19,43 +19,9 @@ var ApiMetodoHttp;
|
|
|
19
19
|
ApiMetodoHttp["PATCH"] = "PATCH";
|
|
20
20
|
ApiMetodoHttp["DELETE"] = "DELETE";
|
|
21
21
|
})(ApiMetodoHttp || (ApiMetodoHttp = {}));
|
|
22
|
-
function createApiGraphqlGet(definicao) { return definicao; }
|
|
23
22
|
function createApiRestGet(definicao) { return definicao; }
|
|
24
|
-
var
|
|
25
|
-
(function (
|
|
26
|
-
const Graphql = {
|
|
27
|
-
testeGraphql: createApiGraphqlGet({
|
|
28
|
-
transporte: ApiTransporte.GRAPHQL,
|
|
29
|
-
tipoRequisicao: ApiTipoRequisicao.GET,
|
|
30
|
-
metodoHttp: ApiMetodoHttp.POST,
|
|
31
|
-
nome: 'testeGraphql',
|
|
32
|
-
endpoint: '/graphql',
|
|
33
|
-
nomeOperacaoGraphql: 'TesteGraphql',
|
|
34
|
-
query: `
|
|
35
|
-
query TesteGraphql {
|
|
36
|
-
testeGraphql
|
|
37
|
-
}
|
|
38
|
-
`,
|
|
39
|
-
montaVariaveis: () => ({}),
|
|
40
|
-
}),
|
|
41
|
-
testeGraphqlSessao: createApiGraphqlGet({
|
|
42
|
-
transporte: ApiTransporte.GRAPHQL,
|
|
43
|
-
tipoRequisicao: ApiTipoRequisicao.GET,
|
|
44
|
-
metodoHttp: ApiMetodoHttp.POST,
|
|
45
|
-
nome: 'testeGraphqlSessao',
|
|
46
|
-
endpoint: '/graphql',
|
|
47
|
-
nomeOperacaoGraphql: 'TesteGraphqlSessao',
|
|
48
|
-
query: `
|
|
49
|
-
query TesteGraphqlSessao($idSessao: Int!) {
|
|
50
|
-
testeGraphqlSessao(idSessao: $idSessao) {
|
|
51
|
-
id
|
|
52
|
-
tituloSessao
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
`,
|
|
56
|
-
montaVariaveis: parametros => ({ idSessao: parametros.idSessao }),
|
|
57
|
-
}),
|
|
58
|
-
};
|
|
23
|
+
var EventosApiRest;
|
|
24
|
+
(function (EventosApiRest) {
|
|
59
25
|
const Rest = {
|
|
60
26
|
testeRest: createApiRestGet({
|
|
61
27
|
transporte: ApiTransporte.REST,
|
|
@@ -66,6 +32,12 @@ var EventosApi;
|
|
|
66
32
|
montaQueryString: () => '',
|
|
67
33
|
}),
|
|
68
34
|
};
|
|
69
|
-
|
|
35
|
+
EventosApiRest.GET = { Rest };
|
|
36
|
+
})(EventosApiRest || (EventosApiRest = {}));
|
|
37
|
+
var EventosApi;
|
|
38
|
+
(function (EventosApi) {
|
|
39
|
+
EventosApi.GET = {
|
|
40
|
+
Rest: EventosApiRest.GET.Rest,
|
|
41
|
+
};
|
|
70
42
|
})(EventosApi || (EventosApi = {}));
|
|
71
|
-
export { ApiMetodoHttp, ApiTipoRequisicao, ApiTransporte, EventosApi,
|
|
43
|
+
export { ApiMetodoHttp, ApiTipoRequisicao, ApiTransporte, EventosApi, EventosApiRest, createApiRestGet };
|
package/dist/dominio/index.d.ts
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
declare const ARQUIVOS_INTERNOS: {
|
|
2
|
+
readonly AREA_EMBLEMA__CONQUISTAS__FUNDO: {
|
|
3
|
+
readonly caminhoArquivo: "RecursosInternos/b24a3d4a-2235-4f87-848f-545a3eba1d37.webp";
|
|
4
|
+
readonly id: 214;
|
|
5
|
+
};
|
|
6
|
+
readonly AREA_EMBLEMA__FUNDO: {
|
|
7
|
+
readonly caminhoArquivo: "RecursosInternos/cf6b0e14-7b4d-4c78-9d06-f7de03ede14c.webp";
|
|
8
|
+
readonly id: 212;
|
|
9
|
+
};
|
|
10
|
+
readonly AREA_EMBLEMA__PLACEHOLDER: {
|
|
11
|
+
readonly caminhoArquivo: "RecursosInternos/735355b4-f9ea-4e94-9fe5-88201f417cfd.webp";
|
|
12
|
+
readonly id: 216;
|
|
13
|
+
};
|
|
14
|
+
readonly AREA_EMBLEMA__PLACEHOLDER__PLUS: {
|
|
15
|
+
readonly caminhoArquivo: "RecursosInternos/ecf42e92-34e5-4733-854e-b7683f3b1687.webp";
|
|
16
|
+
readonly id: 215;
|
|
17
|
+
};
|
|
18
|
+
readonly AREA_USUARIO__FUNDO: {
|
|
19
|
+
readonly caminhoArquivo: "RecursosInternos/0fc088a2-b0a2-45e5-8984-6b2e2700cc16.webp";
|
|
20
|
+
readonly id: 213;
|
|
21
|
+
};
|
|
22
|
+
readonly AREA_USUARIO__FUNDO__BORDA: {
|
|
23
|
+
readonly caminhoArquivo: "RecursosInternos/d577195e-3f56-4af2-96d2-8c5e9b8bcdc5.webp";
|
|
24
|
+
readonly id: 217;
|
|
25
|
+
};
|
|
2
26
|
readonly AVATAR_PADRAO: {
|
|
3
27
|
readonly caminhoArquivo: "RecursosInternos/cebadeaf-6c1b-441e-87f5-abe38e18cf8e.webp";
|
|
4
28
|
readonly id: 209;
|
|
@@ -275,6 +299,26 @@ declare const ARQUIVOS_INTERNOS: {
|
|
|
275
299
|
readonly caminhoArquivo: "RecursosInternos/bdd722a4-40d6-4301-8272-8b3ddfa99378.svg";
|
|
276
300
|
readonly id: 70;
|
|
277
301
|
};
|
|
302
|
+
readonly TESTE_EMBLEMA__EMBLEMA: {
|
|
303
|
+
readonly caminhoArquivo: "RecursosInternos/6bfaeb00-e67f-4452-a08c-303125ab5687.webp";
|
|
304
|
+
readonly id: 211;
|
|
305
|
+
};
|
|
306
|
+
readonly TESTE_EMBLEMA__ESTRELA: {
|
|
307
|
+
readonly caminhoArquivo: "RecursosInternos/de695432-52f7-4742-97f6-58bd2f630bcd.svg";
|
|
308
|
+
readonly id: 218;
|
|
309
|
+
};
|
|
310
|
+
readonly TESTE_EMBLEMA__MOLDURA: {
|
|
311
|
+
readonly caminhoArquivo: "RecursosInternos/a58d8d62-8e8c-44ce-af07-0d1019659f69.webp";
|
|
312
|
+
readonly id: 210;
|
|
313
|
+
};
|
|
314
|
+
readonly TESTE_EMBLEMA_FUNDADOR_PNG: {
|
|
315
|
+
readonly caminhoArquivo: "RecursosInternos/1adfb703-1701-4b8f-9b75-fa6f30fdfb8a.webp";
|
|
316
|
+
readonly id: 219;
|
|
317
|
+
};
|
|
318
|
+
readonly TESTE_EMBLEMA_FUNDADOR_SVG: {
|
|
319
|
+
readonly caminhoArquivo: "RecursosInternos/0dc7b398-4c7c-4824-8e97-fdc88c15f245.svg";
|
|
320
|
+
readonly id: 220;
|
|
321
|
+
};
|
|
278
322
|
};
|
|
279
323
|
type ArquivoInternoDef = (typeof ARQUIVOS_INTERNOS)[keyof typeof ARQUIVOS_INTERNOS];
|
|
280
324
|
type ArquivoInternoKey = keyof typeof ARQUIVOS_INTERNOS;
|
|
@@ -394,6 +438,14 @@ declare const CAPACIDADES: {
|
|
|
394
438
|
readonly id: 28;
|
|
395
439
|
readonly nome: "MESTRE.CRIACAO.SESSAO_DE_JOGO";
|
|
396
440
|
};
|
|
441
|
+
readonly MODERADOR__CADASTROS__CONQUISTAS: {
|
|
442
|
+
readonly id: 45;
|
|
443
|
+
readonly nome: "MODERADOR.CADASTROS.CONQUISTAS";
|
|
444
|
+
};
|
|
445
|
+
readonly MODERADOR__CADASTROS__EMBLEMAS: {
|
|
446
|
+
readonly id: 44;
|
|
447
|
+
readonly nome: "MODERADOR.CADASTROS.EMBLEMAS";
|
|
448
|
+
};
|
|
397
449
|
readonly MODERADOR__IMAGENS: {
|
|
398
450
|
readonly id: 34;
|
|
399
451
|
readonly nome: "MODERADOR.IMAGENS";
|
|
@@ -822,6 +874,10 @@ declare const TIPOS_ARQUIVO: {
|
|
|
822
874
|
readonly id: 3;
|
|
823
875
|
readonly nome: "imagem_especial_artista";
|
|
824
876
|
};
|
|
877
|
+
readonly INSIGNIA_CONQUISTA: {
|
|
878
|
+
readonly id: 5;
|
|
879
|
+
readonly nome: "insignia_conquista";
|
|
880
|
+
};
|
|
825
881
|
readonly ITENS_EMBLEMAS: {
|
|
826
882
|
readonly id: 4;
|
|
827
883
|
readonly nome: "itens_emblemas";
|
package/dist/dominio/index.js
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
// Arquivo gerado automaticamente. Não edite manualmente.
|
|
5
5
|
// Para atualizar: npm run codegen:contratos
|
|
6
6
|
const ARQUIVOS_INTERNOS = {
|
|
7
|
+
AREA_EMBLEMA__CONQUISTAS__FUNDO: { caminhoArquivo: 'RecursosInternos/b24a3d4a-2235-4f87-848f-545a3eba1d37.webp', id: 214 },
|
|
8
|
+
AREA_EMBLEMA__FUNDO: { caminhoArquivo: 'RecursosInternos/cf6b0e14-7b4d-4c78-9d06-f7de03ede14c.webp', id: 212 },
|
|
9
|
+
AREA_EMBLEMA__PLACEHOLDER: { caminhoArquivo: 'RecursosInternos/735355b4-f9ea-4e94-9fe5-88201f417cfd.webp', id: 216 },
|
|
10
|
+
AREA_EMBLEMA__PLACEHOLDER__PLUS: { caminhoArquivo: 'RecursosInternos/ecf42e92-34e5-4733-854e-b7683f3b1687.webp', id: 215 },
|
|
11
|
+
AREA_USUARIO__FUNDO: { caminhoArquivo: 'RecursosInternos/0fc088a2-b0a2-45e5-8984-6b2e2700cc16.webp', id: 213 },
|
|
12
|
+
AREA_USUARIO__FUNDO__BORDA: { caminhoArquivo: 'RecursosInternos/d577195e-3f56-4af2-96d2-8c5e9b8bcdc5.webp', id: 217 },
|
|
7
13
|
AVATAR_PADRAO: { caminhoArquivo: 'RecursosInternos/cebadeaf-6c1b-441e-87f5-abe38e18cf8e.webp', id: 209 },
|
|
8
14
|
BACKGROUND_ACESSAR: { caminhoArquivo: 'RecursosInternos/861fb939-1658-4310-a522-02d4acb7edea.webp', id: 68 },
|
|
9
15
|
BOTAO_CRIACAO__FICHA__IMAGEM__COPIA: { caminhoArquivo: 'RecursosInternos/43aec7b5-bc08-408f-95d3-bc2116706829.webp', id: 81 },
|
|
@@ -73,6 +79,11 @@ const ARQUIVOS_INTERNOS = {
|
|
|
73
79
|
PAGINA_ATERRISSAGEM__SIMBOLOS_FUNDO: { caminhoArquivo: 'RecursosInternos/cd7505b7-4176-4d61-b12d-d8ead8277765.webp', id: 36 },
|
|
74
80
|
PAGINA_ATERRISSAGEM__SOBREPOSICAO_TINTA: { caminhoArquivo: 'RecursosInternos/e749d16f-11ce-40ba-bc25-28a6373232b1.webp', id: 37 },
|
|
75
81
|
SIMBOLO_ITEM_MENU: { caminhoArquivo: 'RecursosInternos/bdd722a4-40d6-4301-8272-8b3ddfa99378.svg', id: 70 },
|
|
82
|
+
TESTE_EMBLEMA__EMBLEMA: { caminhoArquivo: 'RecursosInternos/6bfaeb00-e67f-4452-a08c-303125ab5687.webp', id: 211 },
|
|
83
|
+
TESTE_EMBLEMA__ESTRELA: { caminhoArquivo: 'RecursosInternos/de695432-52f7-4742-97f6-58bd2f630bcd.svg', id: 218 },
|
|
84
|
+
TESTE_EMBLEMA__MOLDURA: { caminhoArquivo: 'RecursosInternos/a58d8d62-8e8c-44ce-af07-0d1019659f69.webp', id: 210 },
|
|
85
|
+
TESTE_EMBLEMA_FUNDADOR_PNG: { caminhoArquivo: 'RecursosInternos/1adfb703-1701-4b8f-9b75-fa6f30fdfb8a.webp', id: 219 },
|
|
86
|
+
TESTE_EMBLEMA_FUNDADOR_SVG: { caminhoArquivo: 'RecursosInternos/0dc7b398-4c7c-4824-8e97-fdc88c15f245.svg', id: 220 },
|
|
76
87
|
};
|
|
77
88
|
/* eslint-disable */
|
|
78
89
|
// Arquivo gerado automaticamente. Não edite manualmente.
|
|
@@ -107,6 +118,8 @@ const CAPACIDADES = {
|
|
|
107
118
|
MESTRE__CRIACAO__RASCUNHO_AVENTURA: { id: 27, nome: 'MESTRE.CRIACAO.RASCUNHO_AVENTURA' },
|
|
108
119
|
MESTRE__CRIACAO__RASCUNHO_SESSAO_UNICA: { id: 26, nome: 'MESTRE.CRIACAO.RASCUNHO_SESSAO_UNICA' },
|
|
109
120
|
MESTRE__CRIACAO__SESSAO_DE_JOGO: { id: 28, nome: 'MESTRE.CRIACAO.SESSAO_DE_JOGO' },
|
|
121
|
+
MODERADOR__CADASTROS__CONQUISTAS: { id: 45, nome: 'MODERADOR.CADASTROS.CONQUISTAS' },
|
|
122
|
+
MODERADOR__CADASTROS__EMBLEMAS: { id: 44, nome: 'MODERADOR.CADASTROS.EMBLEMAS' },
|
|
110
123
|
MODERADOR__IMAGENS: { id: 34, nome: 'MODERADOR.IMAGENS' },
|
|
111
124
|
PASSE_LIVRE: { id: 39, nome: 'PASSE_LIVRE' },
|
|
112
125
|
STREAMER: { id: 38, nome: 'STREAMER' },
|
|
@@ -210,6 +223,7 @@ const PRODUTOS = {
|
|
|
210
223
|
const TIPOS_ARQUIVO = {
|
|
211
224
|
AVATAR_PERSONAGEM: { id: 2, nome: 'avatar_personagem' },
|
|
212
225
|
IMAGEM_ESPECIAL_ARTISTA: { id: 3, nome: 'imagem_especial_artista' },
|
|
226
|
+
INSIGNIA_CONQUISTA: { id: 5, nome: 'insignia_conquista' },
|
|
213
227
|
ITENS_EMBLEMAS: { id: 4, nome: 'itens_emblemas' },
|
|
214
228
|
RECURSOS_INTERNOS: { id: 1, nome: 'recursos_internos' },
|
|
215
229
|
};
|
package/dist/dtos/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SessaoGraphqlDto } from '../api/graphql/leituras';
|
|
1
2
|
import { ESTILOS_SESSAO_MESTRADA } from '../dominio';
|
|
2
3
|
import { AventuraEstado, DiaDaSemana, EstadoOcupacaoPersonagem, EstadoSessao } from '../shared';
|
|
3
4
|
import type { TipoPersonagemKey } from '../dominio';
|
|
@@ -181,6 +182,20 @@ type DadosArteCapa = {
|
|
|
181
182
|
temCapaConfigurada: boolean;
|
|
182
183
|
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
183
184
|
};
|
|
185
|
+
type SessaoEmGrupoAventura = SessaoGraphqlDto & {
|
|
186
|
+
episodioPorExtenso: string;
|
|
187
|
+
};
|
|
188
|
+
type GrupoAventura_DetalhesSessoes = {
|
|
189
|
+
readonly listaSessoesGrupoAventura: SessaoEmGrupoAventura[];
|
|
190
|
+
readonly dataQueIniciou: Date | null;
|
|
191
|
+
readonly dataQueEncerrou: Date | null;
|
|
192
|
+
readonly estadoAtual: AventuraEstado;
|
|
193
|
+
readonly sessaoMaisRecente: SessaoEmGrupoAventura | null;
|
|
194
|
+
readonly sessaoFinal: SessaoEmGrupoAventura | null;
|
|
195
|
+
readonly numeroSessoesFinalizadas: number;
|
|
196
|
+
readonly duracaoTotalEmSegundos: number | null;
|
|
197
|
+
readonly segundosAteProximaSessao: number | null;
|
|
198
|
+
};
|
|
184
199
|
type GrupoAventuraCompletaDto = {
|
|
185
200
|
id: number;
|
|
186
201
|
nome: string;
|
|
@@ -412,7 +427,6 @@ type TipoFrequenciaCompletaDto = {
|
|
|
412
427
|
id: number;
|
|
413
428
|
nome: string;
|
|
414
429
|
};
|
|
415
|
-
type EmblemaDto = {};
|
|
416
430
|
type FichaCompletaDto = {
|
|
417
431
|
id: number;
|
|
418
432
|
fichaPersonagem: FichaPersonagemCompletaDto | null;
|
|
@@ -823,7 +837,7 @@ type PerfilMestreCompletaDto = {
|
|
|
823
837
|
type AvatarPersonagemDto = {
|
|
824
838
|
idChaveNovoAvatar: number;
|
|
825
839
|
descricao: string;
|
|
826
|
-
caminhoArquivo: CaminhoArquivoAvatar
|
|
840
|
+
caminhoArquivo: CaminhoArquivoAvatar;
|
|
827
841
|
dataMomentoCanonico: Date | null;
|
|
828
842
|
avatarEstaConfigurado: boolean;
|
|
829
843
|
};
|
|
@@ -857,6 +871,11 @@ type InformacaoPersonagemCompletaDto = {
|
|
|
857
871
|
nome: string;
|
|
858
872
|
anoNascimento: number;
|
|
859
873
|
};
|
|
874
|
+
type AvataresPersonagemDto = {
|
|
875
|
+
avataresOrdenados: AvatarPersonagemDto[];
|
|
876
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
877
|
+
possuiAvatarPendente: boolean;
|
|
878
|
+
};
|
|
860
879
|
type PersonagemCompletaDto = {
|
|
861
880
|
id: number;
|
|
862
881
|
tipoPersonagem: TipoPersonagemCompletaDto;
|
|
@@ -1038,6 +1057,24 @@ type SessaoEmVisualizacaoDto = {
|
|
|
1038
1057
|
tituloInteligente: TituloSessaoInteligente;
|
|
1039
1058
|
dadosArteCapa: DadosArteCapa;
|
|
1040
1059
|
};
|
|
1060
|
+
type SessaoLeitura = {
|
|
1061
|
+
id: number;
|
|
1062
|
+
dataCriacao: Date;
|
|
1063
|
+
dataPrevisaoInicio: Date;
|
|
1064
|
+
dataInicio: Date | null;
|
|
1065
|
+
duracaoEmSegundos: number | null;
|
|
1066
|
+
dataQueEncerrou: Date | null;
|
|
1067
|
+
estadoAtual: EstadoSessao;
|
|
1068
|
+
detalheData: string;
|
|
1069
|
+
tipo: TipoSessao;
|
|
1070
|
+
tipoPorExtenso: string;
|
|
1071
|
+
tituloInteligente: TituloSessaoInteligente;
|
|
1072
|
+
dadosArteCapa: DadosArteCapa;
|
|
1073
|
+
usuarioMestre: UsuarioVisualizacaoSimplesDto;
|
|
1074
|
+
linkSessaoYoutube: string | null;
|
|
1075
|
+
linkSessaoSpotify: string | null;
|
|
1076
|
+
};
|
|
1077
|
+
type SessaoGraphqlLeitura = SessaoLeitura;
|
|
1041
1078
|
type VIEW_SessaoDeJogadorDto = VIEW_SessaoDeJogadorDto__Base & VIEW_SessaoDeJogadorDto__Tipo;
|
|
1042
1079
|
type VIEW_SessaoDeJogadorDto__Base = {
|
|
1043
1080
|
id: number;
|
|
@@ -1606,4 +1643,4 @@ type DadosWebhookPixDto = {
|
|
|
1606
1643
|
e2eId: string;
|
|
1607
1644
|
rawJson: string | null;
|
|
1608
1645
|
};
|
|
1609
|
-
export { ARQUIVO_UPLOAD_DEFINICOES, AcaoDeSessao, AcaoDeSessaoBase, AcaoDeSessaoTestePericiaExecutado, AcaoDeSessaoTipo, AlcanceCompletaDto, AprovacaoArquivoCompletaDto, AprovacaoArquivoSemArquivoDto, ArcoAventuraCompletaDto, ArquivoCompletaDto, ArquivoTipadoArteDto, ArquivoTipadoAvatarDto, ArquivoTipadoEmblemaDto, ArquivoUploadDef, ArvoreItensPermissaoDto, AtributoCompletaDto, AtributoFicha, AtributoSemPericiasDto, AuthSession, AvatarPersonagemDto, AventuraCompletaDto, AventuraParaAssistirDto, BaseDetalheSessaoCanonicaParaAssistirDto, CaminhoArquivoArte, CaminhoArquivoAvatar, CampoExtraUploadDef, CampoExtraUploadTipo, CapituloSessaoCanonica, CategoriaRitualCompletaDto, CirculoRitualCompletaDto, ClasseDto, CodigoRecuperarFichaRuntime, CoeficienteGanhoEstatisticaClasseCompletaDto, ConquistaCompletaDto, ContextoAcaoDeSessao, ContextoLocalizacaoAcaoDeSessao, ContextoObservacaoAcaoDeSessao, ConviteGrupoAventuraPersonagemCompletaDto, CustomizacaoUsuarioCompletaDto, CustomizacaoUsuarioSemUsuarioDto, CustomizacaoUsuarioVisualizacaoDto, DadosArteCapa, DadosCriacaoSessao, DadosCriacaoSessao_Participante, DadosDataParaSessao, DadosDoTipoGanho, DadosEvolucaoFicha, DadosGanho_Atributos, DadosGanho_Classes, DadosGanho_Estatisticas, DadosGanho_Pericias, DadosGanho_PontosHabilidadeElemental, DadosGanho_PontosHabilidadesEspeciais, DadosGanho_PontosHabilidadesParanormais, DadosGanho_ValorMaximoAtributo, DadosGeracaoPixContribuicaoDto, DadosGeracaoPixProdutoDto, DadosGeraisFicha, DadosJanelaDisponibilidade, DadosParticipanteJogo, DadosWebhookPixDto, DefinicaoUploadTipoArquivo, DetalheArquivoInternoCompletaDto, DetalheArquivoInternoSemArquivoDto, DetalheEvolucao, DetalheFicha, DetalheRascunhoAventuraCompletaDto, DetalheRascunhoSessaoUnicaCanonicaCompletaDto, DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto, DetalheSessaoAventuraCompletaDto, DetalheSessaoAventuraSemGrupoDto, DetalheSessaoCanonicaCompletaDto, DetalheSessaoCanonicaParaAssistirDto, DetalheSessaoCanonicaParaAssistir_AventuraDto, DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto, DetalheSessaoUnicaAmarradaComFichaDto, DetalheSessaoUnicaCompletaDto, DetalhesExtras, DetalhesInternosTestePericia, DificuldadeSessaoCompletaDto, DisponibilidadeUsuarioCompletaDto, DisponibilidadeUsuarioHistoricoCompletaDto, DisponibilidadesDDS, DuracaoCompletaDto, EfiCriarCobrancaImediataInput, EfiCriarCobrancaImediataOutput, EfiPixConfig, ElementoCompletaDto,
|
|
1646
|
+
export { ARQUIVO_UPLOAD_DEFINICOES, AcaoDeSessao, AcaoDeSessaoBase, AcaoDeSessaoTestePericiaExecutado, AcaoDeSessaoTipo, AlcanceCompletaDto, AprovacaoArquivoCompletaDto, AprovacaoArquivoSemArquivoDto, ArcoAventuraCompletaDto, ArquivoCompletaDto, ArquivoTipadoArteDto, ArquivoTipadoAvatarDto, ArquivoTipadoEmblemaDto, ArquivoUploadDef, ArvoreItensPermissaoDto, AtributoCompletaDto, AtributoFicha, AtributoSemPericiasDto, AuthSession, AvatarPersonagemDto, AvataresPersonagemDto, AventuraCompletaDto, AventuraParaAssistirDto, BaseDetalheSessaoCanonicaParaAssistirDto, CaminhoArquivoArte, CaminhoArquivoAvatar, CampoExtraUploadDef, CampoExtraUploadTipo, CapituloSessaoCanonica, CategoriaRitualCompletaDto, CirculoRitualCompletaDto, ClasseDto, CodigoRecuperarFichaRuntime, CoeficienteGanhoEstatisticaClasseCompletaDto, ConquistaCompletaDto, ContextoAcaoDeSessao, ContextoLocalizacaoAcaoDeSessao, ContextoObservacaoAcaoDeSessao, ConviteGrupoAventuraPersonagemCompletaDto, CustomizacaoUsuarioCompletaDto, CustomizacaoUsuarioSemUsuarioDto, CustomizacaoUsuarioVisualizacaoDto, DadosArteCapa, DadosCriacaoSessao, DadosCriacaoSessao_Participante, DadosDataParaSessao, DadosDoTipoGanho, DadosEvolucaoFicha, DadosGanho_Atributos, DadosGanho_Classes, DadosGanho_Estatisticas, DadosGanho_Pericias, DadosGanho_PontosHabilidadeElemental, DadosGanho_PontosHabilidadesEspeciais, DadosGanho_PontosHabilidadesParanormais, DadosGanho_ValorMaximoAtributo, DadosGeracaoPixContribuicaoDto, DadosGeracaoPixProdutoDto, DadosGeraisFicha, DadosJanelaDisponibilidade, DadosParticipanteJogo, DadosWebhookPixDto, DefinicaoUploadTipoArquivo, DetalheArquivoInternoCompletaDto, DetalheArquivoInternoSemArquivoDto, DetalheEvolucao, DetalheFicha, DetalheRascunhoAventuraCompletaDto, DetalheRascunhoSessaoUnicaCanonicaCompletaDto, DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto, DetalheSessaoAventuraCompletaDto, DetalheSessaoAventuraSemGrupoDto, DetalheSessaoCanonicaCompletaDto, DetalheSessaoCanonicaParaAssistirDto, DetalheSessaoCanonicaParaAssistir_AventuraDto, DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto, DetalheSessaoUnicaAmarradaComFichaDto, DetalheSessaoUnicaCompletaDto, DetalhesExtras, DetalhesInternosTestePericia, DificuldadeSessaoCompletaDto, DisponibilidadeUsuarioCompletaDto, DisponibilidadeUsuarioHistoricoCompletaDto, DisponibilidadesDDS, DuracaoCompletaDto, EfiCriarCobrancaImediataInput, EfiCriarCobrancaImediataOutput, EfiPixConfig, ElementoCompletaDto, EstatisticaDanificavelCompletaDto, EstatisticaDanificavelFicha, EstiloSessaoMestradaDto, EstudoCompletaDto, ExecucaoCompletaDto, FichaAmarradaParticipanteSessaoUnicaCompletaDto, FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto, FichaCompletaDto, FichaEmClient, FichaEmProcessoDeEvolucaoDto, FichaPersonagemCompletaDto, FichaPersonagemSemFichaDto, FichaPersonagemSemPersonagemDto, FichaSerCompletaDto, FichaSerSemFichaDto, FichaSerSemSerDto, FichaTemporariaCompletaDto, FichaTemporariaExibicaoDto, FichaTemporariaSemFichaDto, FichaTemporariaVisualizacaoDetalhadaDto, FormatoAlcanceCompletaDto, GanhoNivelClasseCompletaDto, GanhoRelativoCoeficienteAtributoCompletaDto, GanhoRelativoCoeficienteAtributoSemCoeficienteDto, GeracaoCompletaDto, GeracaoSemAventurasDto, GithubUsuarioCompletaDto, GithubUsuarioSemUsuarioDto, GrupoAventuraCompletaDto, GrupoAventuraParaAssistirDto, GrupoAventuraPersonagemCompletaDto, GrupoAventuraPersonagemSemGrupoAventuraDto, GrupoAventuraPersonagemSemPersonagemDto, GrupoAventura_DetalhesSessoes, HistoricoDetalhesEvolucao, ImagemCompletaDto, InformacaoPersonagemCompletaDto, InformacaoPersonagemSemPersonagemDto, ItemPermissaoDto, J_DadosFichaEmJogo, J_FichaPersistida, JanelaDisponibilidade, JanelaDisponibilidadeCompletaDto, JogadorSessaoDto, JogadorSessao__Tipo, LayoutContextualizadoInicial, LinhaEfeitoCompletaDto, LinkCompletaDto, ListaDisponibilidadesUsuario, LogicaJogoUsuario_EstouEmJogoDto, LogicaJogoUsuario_ObjetoEmJogoDto, LogicaJogoUsuario_ObjetoInicialSalaDto, LogicaJogoUsuario_ObjetoInicialSalaDto__Base, LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador, LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador, MensagemSalaJogo, ModoExecucaoTestePericia, NarradorSessaoDto, NivelComponenteCompletaDto, NivelDto, NivelProficienciaCompletaDto, NivelRitualCompletaDto, ObjetoEmJogoDto, ObjetoEmJogoDto__Base, ObjetoEmJogoDto__Jogador, ObjetoEmJogoDto__Narrador, ObjetoMensagemSalaJogo, OrigemAcaoDeSessao, OrigemAcaoDeSessaoJogador, OrigemAcaoDeSessaoParticipanteNarrador, OrigemAcaoDeSessaoSistema, PAYLOAD_DetalheRascunhoAventuraEdicaoDto, PAYLOAD_DetalheRascunhoEdicaoDto, PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto, PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto, PagamentoPixDto, PaiFichaRef, PaiFichaTipo, ParticipanteSessaoDto, ParticipanteSessaoUnicaCompletaDto, ParticipanteSessaoUnicaSemDetalheSessaoUnicaDto, ParticipanteSessao_Tipo, PasseCompletoDto, PasseEmUsuarioDto, PatentePericiaCompletaDto, PayloadAcaoTestePericiaExecutado, PerfilAdminCompletaDto, PerfilJogadorCompletaDto, PerfilMestreCompletaDto, PericiaCompletaDto, PericiaFicha, PermissoesEstadoCompletaDto, PermissoesItemCompletaDto, PermissoesItemSemPaiEFilhosDto, PermissoesUsuarioCompletaDto, PermissoesUsuarioSemItemDto, PermissoesUsuariosHistoricoCompletaDto, PersonagemAvatarDto, PersonagemCompletaDto, PersonagemExibicaoDto, PersonagemSalaJogoDto, PersonagemVisualizacaoDetalhadaDto, PixGeradoDto, ProdutoDto, ProficienciaCompletaDto, RascunhoAventuraCompletaDto, RascunhoCompletaDto, RascunhoCompletaDto__Base, RascunhoCompletaDto__Tipo, RascunhoCompletaDto__TipoAventura, RascunhoCompletaDto__TipoSessaoUnicaCanonica, RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica, RascunhoSessaoUnicaCanonicaCompletaDto, RascunhoSessaoUnicaNaoCanonicaCompletaDto, ReferenciaEntidadeAcaoDeSessao, ReferenciaFichaAcaoDeSessao, ReferenciaParticipanteSessaoAcaoDeSessao, ReferenciaSistemaAcaoDeSessao, RegistrarAcaoTestePericiaExecutadoInput, RegistroPericiaLivre, RegistroPixDto, RegistroPixProvedor, RegistroSessaoCompletaDto, RenovacaoPasseDto, RespostaConviteCompletaDto, RespostaConviteSemConviteDto, ResumoPersonagemAventuraCompletaDto, ResumoPersonagemAventuraSemPersonagemDto, SalaDeJogoDto, SalaDeJogoParams, SalaDeJogo_Codigo, SalaDeJogo_Estado, SalaDeJogo_FUNC_AtualizaParticipanteParams, SalaDeJogo_FichaBase, SalaDeJogo_JogadorDto, SalaDeJogo_JogadorEmJogo, SalaDeJogo_Mestre, SalaDeJogo_Mestre_Inteligente, SalaDeJogo_Mestre_Mestrada, SalaDeJogo_Participante, SalaDeJogo_Participante_Jogador, SalaDeJogo_Participante_Narrador, SalaDeJogo_SessaoDto, SalaDeJogo_Tipo, SalaDeJogo_TipoMestre, SalaDeJogo_TipoParticipante, SalaDeJogo_VinculoParticipante, SerCompletaDto, SessaoCompletaDto, SessaoEmGrupoAventura, SessaoEmVisualizacaoDto, SessaoGraphqlLeitura, SessaoLeitura, TIPO_SESSAO_LABEL, TipoAlvoCompletaDto, TipoArquivoCompletaDto, TipoCategoriaCompletaDto, TipoConquistaCompletaDto, TipoDanoCompletaDto, TipoDanoSemPaiDto, TipoEfeitoCompletaDto, TipoFrequenciaCompletaDto, TipoGanhoNivelCompletaDto, TipoImagemCompletaDto, TipoItemCompletaDto, TipoLinkCompletaDto, TipoPersonagemCompletaDto, TipoProficienciaCompletaDto, TipoSessao, TipoSessaoDto, TipoVinculoSessaoJogador, UsuarioCompletaDto, UsuarioParaObjetoAutenticacaoDto, UsuarioSemPersonagensDto, UsuarioVisualizacaoSimplesDto, VIEW_DetalheSessaoAventuraDetalhado, VIEW_GrupoAventuraDetalhado, VIEW_GrupoAventuraListagem, VIEW_JogadorDeSessao, VIEW_LISTAGEM_GerenciamentoAvataresPersonagemDto, VIEW_SessaoComParticipantesDto, VIEW_SessaoDeAventura, VIEW_SessaoDeJogadorDto, VIEW_SessaoDeJogadorDto__Base, VIEW_SessaoDeJogadorDto__Tipo, VIEW_SessaoListagemGeralDto, VariavelAmbienteCompletaDto, VinculoProdutoPasseDto, criaCaminhoArquivoArte, criaCaminhoArquivoAvatar, obtemDefinicaoUploadTipoArquivo };
|
package/dist/menus/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ declare const MENUS_INTERNOS: {
|
|
|
80
80
|
readonly minhasPaginas: {
|
|
81
81
|
readonly menu: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode];
|
|
82
82
|
readonly admin: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
|
|
83
|
-
readonly moderador: readonly [MenuItemNode];
|
|
83
|
+
readonly moderador: readonly [MenuItemNode, MenuItemNode];
|
|
84
84
|
readonly mestre: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
|
|
85
85
|
readonly artista: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
|
|
86
86
|
readonly jogador: readonly [MenuGrupoNode];
|
|
@@ -118,12 +118,13 @@ declare const MENUS_INTERNOS_LAYOUTCONTEXTO: {
|
|
|
118
118
|
readonly uploadRecursosInternos: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
|
|
119
119
|
};
|
|
120
120
|
readonly moderador: {
|
|
121
|
-
readonly menu: readonly [MenuItemNode];
|
|
122
|
-
readonly dashboardAprovacaoImagensArtista: readonly [MenuItemNode];
|
|
121
|
+
readonly menu: readonly [MenuItemNode, MenuItemNode];
|
|
122
|
+
readonly dashboardAprovacaoImagensArtista: readonly [MenuItemNode, MenuItemNode];
|
|
123
|
+
readonly gerenciarEmblemas: readonly [MenuItemNode, MenuItemNode];
|
|
124
|
+
readonly gerenciarConquistas: readonly [MenuItemNode, MenuItemNode];
|
|
123
125
|
};
|
|
124
126
|
readonly mestre: {
|
|
125
127
|
readonly menu: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
|
|
126
|
-
readonly aventura: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
|
|
127
128
|
readonly aventuras: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
|
|
128
129
|
readonly sessoesUnicas: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
|
|
129
130
|
readonly personagens: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
|
package/dist/menus/index.js
CHANGED
|
@@ -70,6 +70,7 @@ const MENUS_INTERNOS = {
|
|
|
70
70
|
],
|
|
71
71
|
moderador: [
|
|
72
72
|
menuItem('Imagens pendentes de Aprovação', { pagina: PAGINAS.minhasPaginas.moderador.dashboardAprovacaoImagensArtista }),
|
|
73
|
+
menuItem('Gerenciar Emblemas', { pagina: PAGINAS.minhasPaginas.moderador.gerenciarEmblemas }),
|
|
73
74
|
],
|
|
74
75
|
mestre: [
|
|
75
76
|
menuGrupo('Mestre', [
|
|
@@ -147,10 +148,11 @@ const MENUS_INTERNOS_LAYOUTCONTEXTO = {
|
|
|
147
148
|
moderador: {
|
|
148
149
|
menu: MENUS_INTERNOS.PAGINAS.minhasPaginas.moderador,
|
|
149
150
|
dashboardAprovacaoImagensArtista: MENUS_INTERNOS.PAGINAS.minhasPaginas.moderador,
|
|
151
|
+
gerenciarEmblemas: MENUS_INTERNOS.PAGINAS.minhasPaginas.moderador,
|
|
152
|
+
gerenciarConquistas: MENUS_INTERNOS.PAGINAS.minhasPaginas.moderador,
|
|
150
153
|
},
|
|
151
154
|
mestre: {
|
|
152
155
|
menu: MENUS_INTERNOS.PAGINAS.minhasPaginas.mestre,
|
|
153
|
-
aventura: MENUS_INTERNOS.PAGINAS.minhasPaginas.mestre,
|
|
154
156
|
aventuras: MENUS_INTERNOS.PAGINAS.minhasPaginas.mestre,
|
|
155
157
|
sessoesUnicas: MENUS_INTERNOS.PAGINAS.minhasPaginas.mestre,
|
|
156
158
|
personagens: MENUS_INTERNOS.PAGINAS.minhasPaginas.mestre,
|
package/dist/paginas/index.d.ts
CHANGED
|
@@ -112,6 +112,8 @@ declare const PAGINAS: {
|
|
|
112
112
|
};
|
|
113
113
|
readonly moderador: {
|
|
114
114
|
readonly dashboardAprovacaoImagensArtista: PaginaDef<"/minhas-paginas/moderador/aprovar-imagens-artista", PaginaInfoComLayoutContextualizado>;
|
|
115
|
+
readonly gerenciarEmblemas: PaginaDef<"/minhas-paginas/moderador/emblemas", PaginaInfoComLayoutContextualizado>;
|
|
116
|
+
readonly gerenciarConquistas: PaginaDef<"/minhas-paginas/moderador/conquistas", PaginaInfoComLayoutContextualizado>;
|
|
115
117
|
readonly label: string;
|
|
116
118
|
readonly comCabecalho?: true;
|
|
117
119
|
readonly acesso?: AcessoPagina;
|
|
@@ -122,7 +124,6 @@ declare const PAGINAS: {
|
|
|
122
124
|
readonly href: "/minhas-paginas/moderador";
|
|
123
125
|
};
|
|
124
126
|
readonly mestre: {
|
|
125
|
-
readonly aventura: PaginaDef<"/minhas-paginas/mestre/aventura/[id]", PaginaInfoComLayoutContextualizado>;
|
|
126
127
|
readonly aventuras: PaginaDef<"/minhas-paginas/mestre/aventuras", PaginaInfoComLayoutContextualizado>;
|
|
127
128
|
readonly sessoesUnicas: PaginaDef<"/minhas-paginas/mestre/sessoes-unicas", PaginaInfoComLayoutContextualizado>;
|
|
128
129
|
readonly personagens: PaginaDef<"/minhas-paginas/mestre/personagens", PaginaInfoComLayoutContextualizado>;
|
package/dist/paginas/index.js
CHANGED
|
@@ -138,10 +138,11 @@ const PAGINAS = {
|
|
|
138
138
|
moderador: {
|
|
139
139
|
...paginaComLayoutContextualizado('/minhas-paginas/moderador', { label: 'Área do Moderador', acesso: { autenticado: true }, acessoPorMenuInterno: true }, { titulo: 'Página de Moderador', proporcaoConteudo: 84 }),
|
|
140
140
|
dashboardAprovacaoImagensArtista: paginaComLayoutContextualizado('/minhas-paginas/moderador/aprovar-imagens-artista', { label: 'Aprovar Imagens de Artistas', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MODERADOR__IMAGENS] } }, { titulo: 'Aprovar Imagens de Artistas', proporcaoConteudo: 84 }),
|
|
141
|
+
gerenciarEmblemas: paginaComLayoutContextualizado('/minhas-paginas/moderador/emblemas', { label: 'Gerenciar Emblemas', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MODERADOR__CADASTROS__EMBLEMAS] } }, { titulo: 'Gerenciar Emblemas', proporcaoConteudo: 84 }),
|
|
142
|
+
gerenciarConquistas: paginaComLayoutContextualizado('/minhas-paginas/moderador/conquistas', { label: 'Gerenciar Conquistas', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MODERADOR__CADASTROS__CONQUISTAS] } }, { titulo: 'Gerenciar Conquistas', proporcaoConteudo: 84 }),
|
|
141
143
|
},
|
|
142
144
|
mestre: {
|
|
143
145
|
...paginaComLayoutContextualizado('/minhas-paginas/mestre', { label: 'Área do Mestre', acessoPorMenuInterno: true }, { titulo: 'Página de Mestre', proporcaoConteudo: 84 }),
|
|
144
|
-
aventura: paginaComLayoutContextualizado('/minhas-paginas/mestre/aventura/[id]', { label: 'Mestre - Aventura', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MESTRE__CRIACAO__AVENTURA] } }, { titulo: 'TROCAR', proporcaoConteudo: 84 }),
|
|
145
146
|
aventuras: paginaComLayoutContextualizado('/minhas-paginas/mestre/aventuras', { label: 'Mestre - Aventuras', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MESTRE__CRIACAO__AVENTURA] } }, { titulo: 'Minhas Aventuras', proporcaoConteudo: 84 }),
|
|
146
147
|
sessoesUnicas: paginaComLayoutContextualizado('/minhas-paginas/mestre/sessoes-unicas', { label: 'Mestre - Sessões Únicas', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MESTRE__CRIACAO__SESSAO_DE_JOGO] } }, { titulo: 'Minhas Sessões Únicas', proporcaoConteudo: 84 }),
|
|
147
148
|
personagens: paginaComLayoutContextualizado('/minhas-paginas/mestre/personagens', { label: 'Mestre - Personagens', acesso: { listaDeCapacidadesNecessarias: [CAPACIDADES.MESTRE__CRIACAO__AVENTURA] } }, { titulo: 'Meus Personagens de Mestre', proporcaoConteudo: 84 }),
|
package/dist/ws/index.d.ts
CHANGED
|
@@ -55,6 +55,57 @@ type PAYLOAD__EmitirFichaEmJogo = {
|
|
|
55
55
|
codigoSala: SalaDeJogo_Codigo;
|
|
56
56
|
idFicha: number;
|
|
57
57
|
};
|
|
58
|
+
declare const TESTE_VOZ_ID_SALA = "testevoz-global";
|
|
59
|
+
type TesteVoz_IdSala = typeof TESTE_VOZ_ID_SALA;
|
|
60
|
+
type TesteVoz_IdUsuario = string;
|
|
61
|
+
type TesteVoz_IdSocket = string;
|
|
62
|
+
type TesteVoz_DescricaoSessaoTipo = "offer" | "answer";
|
|
63
|
+
type TesteVoz_DescricaoSessao = {
|
|
64
|
+
type: TesteVoz_DescricaoSessaoTipo;
|
|
65
|
+
sdp: string;
|
|
66
|
+
};
|
|
67
|
+
type TesteVoz_IceCandidate = {
|
|
68
|
+
candidate: string;
|
|
69
|
+
sdpMid: string | null;
|
|
70
|
+
sdpMLineIndex: number | null;
|
|
71
|
+
usernameFragment?: string | null;
|
|
72
|
+
};
|
|
73
|
+
type PAYLOAD__TesteVoz_entrarNaSala = Record<string, never>;
|
|
74
|
+
type RESPONSE__TesteVoz_entrarNaSala = {
|
|
75
|
+
idSala: TesteVoz_IdSala;
|
|
76
|
+
idUsuario: TesteVoz_IdUsuario;
|
|
77
|
+
usuariosJaConectados: TesteVoz_IdUsuario[];
|
|
78
|
+
};
|
|
79
|
+
type PAYLOAD__TesteVoz_enviarOffer = {
|
|
80
|
+
idUsuarioDestino: TesteVoz_IdUsuario;
|
|
81
|
+
offer: TesteVoz_DescricaoSessao;
|
|
82
|
+
};
|
|
83
|
+
type PAYLOAD__TesteVoz_enviarAnswer = {
|
|
84
|
+
idUsuarioDestino: TesteVoz_IdUsuario;
|
|
85
|
+
answer: TesteVoz_DescricaoSessao;
|
|
86
|
+
};
|
|
87
|
+
type PAYLOAD__TesteVoz_enviarIceCandidate = {
|
|
88
|
+
idUsuarioDestino: TesteVoz_IdUsuario;
|
|
89
|
+
candidate: TesteVoz_IceCandidate;
|
|
90
|
+
};
|
|
91
|
+
type EMIT__TesteVoz_usuarioEntrou = {
|
|
92
|
+
idUsuario: TesteVoz_IdUsuario;
|
|
93
|
+
};
|
|
94
|
+
type EMIT__TesteVoz_usuarioSaiu = {
|
|
95
|
+
idUsuario: TesteVoz_IdUsuario;
|
|
96
|
+
};
|
|
97
|
+
type EMIT__TesteVoz_receberOffer = {
|
|
98
|
+
idUsuarioOrigem: TesteVoz_IdUsuario;
|
|
99
|
+
offer: TesteVoz_DescricaoSessao;
|
|
100
|
+
};
|
|
101
|
+
type EMIT__TesteVoz_receberAnswer = {
|
|
102
|
+
idUsuarioOrigem: TesteVoz_IdUsuario;
|
|
103
|
+
answer: TesteVoz_DescricaoSessao;
|
|
104
|
+
};
|
|
105
|
+
type EMIT__TesteVoz_receberIceCandidate = {
|
|
106
|
+
idUsuarioOrigem: TesteVoz_IdUsuario;
|
|
107
|
+
candidate: TesteVoz_IceCandidate;
|
|
108
|
+
};
|
|
58
109
|
type SOCKET_AcessoUsuario = {
|
|
59
110
|
usuario: UsuarioParaObjetoAutenticacaoDto;
|
|
60
111
|
paginaAtual?: PaginaTemplate | null;
|
|
@@ -255,6 +306,64 @@ declare namespace EventosWebSocket {
|
|
|
255
306
|
};
|
|
256
307
|
};
|
|
257
308
|
};
|
|
309
|
+
readonly TesteVoz: {
|
|
310
|
+
entrarNaSala: {
|
|
311
|
+
tipo: "envia-e-recebe";
|
|
312
|
+
autenticacao_necessaria: false;
|
|
313
|
+
payload: PAYLOAD__TesteVoz_entrarNaSala;
|
|
314
|
+
response: RESPONSE__TesteVoz_entrarNaSala;
|
|
315
|
+
};
|
|
316
|
+
enviarOffer: {
|
|
317
|
+
tipo: "envia";
|
|
318
|
+
autenticacao_necessaria: false;
|
|
319
|
+
payload: PAYLOAD__TesteVoz_enviarOffer;
|
|
320
|
+
};
|
|
321
|
+
enviarAnswer: {
|
|
322
|
+
tipo: "envia";
|
|
323
|
+
autenticacao_necessaria: false;
|
|
324
|
+
payload: PAYLOAD__TesteVoz_enviarAnswer;
|
|
325
|
+
};
|
|
326
|
+
enviarIceCandidate: {
|
|
327
|
+
tipo: "envia";
|
|
328
|
+
autenticacao_necessaria: false;
|
|
329
|
+
payload: PAYLOAD__TesteVoz_enviarIceCandidate;
|
|
330
|
+
};
|
|
331
|
+
usuarioEntrou: {
|
|
332
|
+
tipo: "emite";
|
|
333
|
+
autenticacao_necessaria: false;
|
|
334
|
+
payload: EMIT__TesteVoz_usuarioEntrou;
|
|
335
|
+
response: EMIT__TesteVoz_usuarioEntrou;
|
|
336
|
+
delivery: "broadcast";
|
|
337
|
+
};
|
|
338
|
+
usuarioSaiu: {
|
|
339
|
+
tipo: "emite";
|
|
340
|
+
autenticacao_necessaria: false;
|
|
341
|
+
payload: EMIT__TesteVoz_usuarioSaiu;
|
|
342
|
+
response: EMIT__TesteVoz_usuarioSaiu;
|
|
343
|
+
delivery: "broadcast";
|
|
344
|
+
};
|
|
345
|
+
receberOffer: {
|
|
346
|
+
tipo: "emite";
|
|
347
|
+
autenticacao_necessaria: false;
|
|
348
|
+
payload: EMIT__TesteVoz_receberOffer;
|
|
349
|
+
response: EMIT__TesteVoz_receberOffer;
|
|
350
|
+
delivery: "broadcast";
|
|
351
|
+
};
|
|
352
|
+
receberAnswer: {
|
|
353
|
+
tipo: "emite";
|
|
354
|
+
autenticacao_necessaria: false;
|
|
355
|
+
payload: EMIT__TesteVoz_receberAnswer;
|
|
356
|
+
response: EMIT__TesteVoz_receberAnswer;
|
|
357
|
+
delivery: "broadcast";
|
|
358
|
+
};
|
|
359
|
+
receberIceCandidate: {
|
|
360
|
+
tipo: "emite";
|
|
361
|
+
autenticacao_necessaria: false;
|
|
362
|
+
payload: EMIT__TesteVoz_receberIceCandidate;
|
|
363
|
+
response: EMIT__TesteVoz_receberIceCandidate;
|
|
364
|
+
delivery: "broadcast";
|
|
365
|
+
};
|
|
366
|
+
};
|
|
258
367
|
};
|
|
259
368
|
}
|
|
260
369
|
declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
@@ -336,6 +445,37 @@ declare const Eventos_Envia: {
|
|
|
336
445
|
readonly UsuariosExistentes: {
|
|
337
446
|
eventos: {};
|
|
338
447
|
};
|
|
448
|
+
readonly TesteVoz: {
|
|
449
|
+
eventos: {
|
|
450
|
+
enviarOffer: {
|
|
451
|
+
tipo: "envia";
|
|
452
|
+
autenticacao_necessaria: false;
|
|
453
|
+
payload: PAYLOAD__TesteVoz_enviarOffer;
|
|
454
|
+
} & {
|
|
455
|
+
readonly nome: "enviarOffer";
|
|
456
|
+
readonly gateway: "TesteVoz";
|
|
457
|
+
readonly fullName: "TesteVoz:enviarOffer";
|
|
458
|
+
};
|
|
459
|
+
enviarAnswer: {
|
|
460
|
+
tipo: "envia";
|
|
461
|
+
autenticacao_necessaria: false;
|
|
462
|
+
payload: PAYLOAD__TesteVoz_enviarAnswer;
|
|
463
|
+
} & {
|
|
464
|
+
readonly nome: "enviarAnswer";
|
|
465
|
+
readonly gateway: "TesteVoz";
|
|
466
|
+
readonly fullName: "TesteVoz:enviarAnswer";
|
|
467
|
+
};
|
|
468
|
+
enviarIceCandidate: {
|
|
469
|
+
tipo: "envia";
|
|
470
|
+
autenticacao_necessaria: false;
|
|
471
|
+
payload: PAYLOAD__TesteVoz_enviarIceCandidate;
|
|
472
|
+
} & {
|
|
473
|
+
readonly nome: "enviarIceCandidate";
|
|
474
|
+
readonly gateway: "TesteVoz";
|
|
475
|
+
readonly fullName: "TesteVoz:enviarIceCandidate";
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
339
479
|
};
|
|
340
480
|
declare const Eventos_Emite: {
|
|
341
481
|
readonly Chat: {
|
|
@@ -455,6 +595,65 @@ declare const Eventos_Emite: {
|
|
|
455
595
|
readonly UsuariosExistentes: {
|
|
456
596
|
eventos: {};
|
|
457
597
|
};
|
|
598
|
+
readonly TesteVoz: {
|
|
599
|
+
eventos: {
|
|
600
|
+
usuarioEntrou: {
|
|
601
|
+
tipo: "emite";
|
|
602
|
+
autenticacao_necessaria: false;
|
|
603
|
+
payload: EMIT__TesteVoz_usuarioEntrou;
|
|
604
|
+
response: EMIT__TesteVoz_usuarioEntrou;
|
|
605
|
+
delivery: "broadcast";
|
|
606
|
+
} & {
|
|
607
|
+
readonly nome: "usuarioEntrou";
|
|
608
|
+
readonly gateway: "TesteVoz";
|
|
609
|
+
readonly fullName: "TesteVoz:usuarioEntrou";
|
|
610
|
+
};
|
|
611
|
+
usuarioSaiu: {
|
|
612
|
+
tipo: "emite";
|
|
613
|
+
autenticacao_necessaria: false;
|
|
614
|
+
payload: EMIT__TesteVoz_usuarioSaiu;
|
|
615
|
+
response: EMIT__TesteVoz_usuarioSaiu;
|
|
616
|
+
delivery: "broadcast";
|
|
617
|
+
} & {
|
|
618
|
+
readonly nome: "usuarioSaiu";
|
|
619
|
+
readonly gateway: "TesteVoz";
|
|
620
|
+
readonly fullName: "TesteVoz:usuarioSaiu";
|
|
621
|
+
};
|
|
622
|
+
receberOffer: {
|
|
623
|
+
tipo: "emite";
|
|
624
|
+
autenticacao_necessaria: false;
|
|
625
|
+
payload: EMIT__TesteVoz_receberOffer;
|
|
626
|
+
response: EMIT__TesteVoz_receberOffer;
|
|
627
|
+
delivery: "broadcast";
|
|
628
|
+
} & {
|
|
629
|
+
readonly nome: "receberOffer";
|
|
630
|
+
readonly gateway: "TesteVoz";
|
|
631
|
+
readonly fullName: "TesteVoz:receberOffer";
|
|
632
|
+
};
|
|
633
|
+
receberAnswer: {
|
|
634
|
+
tipo: "emite";
|
|
635
|
+
autenticacao_necessaria: false;
|
|
636
|
+
payload: EMIT__TesteVoz_receberAnswer;
|
|
637
|
+
response: EMIT__TesteVoz_receberAnswer;
|
|
638
|
+
delivery: "broadcast";
|
|
639
|
+
} & {
|
|
640
|
+
readonly nome: "receberAnswer";
|
|
641
|
+
readonly gateway: "TesteVoz";
|
|
642
|
+
readonly fullName: "TesteVoz:receberAnswer";
|
|
643
|
+
};
|
|
644
|
+
receberIceCandidate: {
|
|
645
|
+
tipo: "emite";
|
|
646
|
+
autenticacao_necessaria: false;
|
|
647
|
+
payload: EMIT__TesteVoz_receberIceCandidate;
|
|
648
|
+
response: EMIT__TesteVoz_receberIceCandidate;
|
|
649
|
+
delivery: "broadcast";
|
|
650
|
+
} & {
|
|
651
|
+
readonly nome: "receberIceCandidate";
|
|
652
|
+
readonly gateway: "TesteVoz";
|
|
653
|
+
readonly fullName: "TesteVoz:receberIceCandidate";
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
};
|
|
458
657
|
};
|
|
459
658
|
declare const Eventos_EnviaERecebe: {
|
|
460
659
|
readonly Chat: {
|
|
@@ -508,5 +707,19 @@ declare const Eventos_EnviaERecebe: {
|
|
|
508
707
|
};
|
|
509
708
|
};
|
|
510
709
|
};
|
|
710
|
+
readonly TesteVoz: {
|
|
711
|
+
eventos: {
|
|
712
|
+
entrarNaSala: {
|
|
713
|
+
tipo: "envia-e-recebe";
|
|
714
|
+
autenticacao_necessaria: false;
|
|
715
|
+
payload: PAYLOAD__TesteVoz_entrarNaSala;
|
|
716
|
+
response: RESPONSE__TesteVoz_entrarNaSala;
|
|
717
|
+
} & {
|
|
718
|
+
readonly nome: "entrarNaSala";
|
|
719
|
+
readonly gateway: "TesteVoz";
|
|
720
|
+
readonly fullName: "TesteVoz:entrarNaSala";
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
};
|
|
511
724
|
};
|
|
512
|
-
export { EmitDelivery, EventoAuthDefault, EventoEmite, EventoEmiteAny, EventoEnvia, EventoEnviaERecebe, EventoSchema, EventoTipo, EventoTipoLiteral, EventosEmiteMap, EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, FiltraEventosPorTipo, GatewayDef, Gateways, MensagemChatPayload, MensagemChatRecebida, PAYLOAD__EmitirFichaEmJogo, PAYLOAD__ExecutaTestePericia_PROTOTIPO, PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__emitirMensagemSalaJogo, PAYLOAD__emitirMensagemSalaJogo__Enviando, PAYLOAD__emitirMensagemSalaJogo__Escutando, PAYLOAD__executaTestePericia, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, SalaChat, SalaChatFront, TelemetryConnectionInfo, TelemetryEventLog, TelemetrySnapshot, WsEmitParams, WsEmitTarget, WsErrorResponse, WsEventAudience, WsEventAudienceMultiplo, WsEventAudienceUnico, WsResult, WsUnauthorizedErrorResponse, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|
|
725
|
+
export { EMIT__TesteVoz_receberAnswer, EMIT__TesteVoz_receberIceCandidate, EMIT__TesteVoz_receberOffer, EMIT__TesteVoz_usuarioEntrou, EMIT__TesteVoz_usuarioSaiu, EmitDelivery, EventoAuthDefault, EventoEmite, EventoEmiteAny, EventoEnvia, EventoEnviaERecebe, EventoSchema, EventoTipo, EventoTipoLiteral, EventosEmiteMap, EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, FiltraEventosPorTipo, GatewayDef, Gateways, MensagemChatPayload, MensagemChatRecebida, PAYLOAD__EmitirFichaEmJogo, PAYLOAD__ExecutaTestePericia_PROTOTIPO, PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__TesteVoz_entrarNaSala, PAYLOAD__TesteVoz_enviarAnswer, PAYLOAD__TesteVoz_enviarIceCandidate, PAYLOAD__TesteVoz_enviarOffer, PAYLOAD__emitirMensagemSalaJogo, PAYLOAD__emitirMensagemSalaJogo__Enviando, PAYLOAD__emitirMensagemSalaJogo__Escutando, PAYLOAD__executaTestePericia, RESPONSE__TesteVoz_entrarNaSala, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, SalaChat, SalaChatFront, TESTE_VOZ_ID_SALA, TelemetryConnectionInfo, TelemetryEventLog, TelemetrySnapshot, TesteVoz_DescricaoSessao, TesteVoz_DescricaoSessaoTipo, TesteVoz_IceCandidate, TesteVoz_IdSala, TesteVoz_IdSocket, TesteVoz_IdUsuario, WsEmitParams, WsEmitTarget, WsErrorResponse, WsEventAudience, WsEventAudienceMultiplo, WsEventAudienceUnico, WsResult, WsUnauthorizedErrorResponse, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|