types-nora-api 0.0.469 → 0.0.473
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/acessos/index.d.ts +8 -0
- package/dist/acessos/index.js +5 -0
- package/dist/api/graphql/index.d.ts +1 -0
- package/dist/api/graphql/index.js +3 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.js +4 -0
- package/dist/api/rest/index.d.ts +1 -0
- package/dist/api/rest/index.js +3 -0
- package/dist/classes.d.ts +1 -3763
- package/dist/classes.js +2 -1238
- package/dist/dominio/index.d.ts +899 -0
- package/dist/dominio/index.js +237 -0
- package/dist/dtos/index.d.ts +2140 -0
- package/dist/dtos/index.js +363 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +11 -1
- package/dist/menus/index.d.ts +127 -0
- package/dist/menus/index.js +279 -0
- package/dist/paginas/index.d.ts +172 -0
- package/dist/paginas/index.js +137 -0
- package/dist/shared/index.d.ts +175 -0
- package/dist/shared/index.js +138 -0
- package/dist/uploads/index.d.ts +47 -0
- package/dist/uploads/index.js +112 -0
- package/dist/ws/index.d.ts +236 -0
- package/dist/ws/index.js +20 -0
- package/package.json +58 -3
- package/dist/scripts/extrairClasses.config.d.ts +0 -27
- package/dist/scripts/extrairClasses.config.js +0 -66
- package/dist/scripts/extrairClasses.d.ts +0 -9
- package/dist/scripts/extrairClasses.js +0 -161
- package/dist/scripts/extrairClasses.utils.d.ts +0 -58
- package/dist/scripts/extrairClasses.utils.js +0 -255
- package/dist/src/classes.d.ts +0 -1066
- package/dist/src/classes.js +0 -218
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.js +0 -1
|
@@ -0,0 +1,2140 @@
|
|
|
1
|
+
import { ESTILOS_SESSAO_MESTRADA } from '../dominio';
|
|
2
|
+
import { AventuraEstado, DiaDaSemana, EstadoOcupacaoPersonagem, EstadoSessao } from '../shared';
|
|
3
|
+
import { Eventos_Emite } from '../ws';
|
|
4
|
+
import type { TipoPersonagemKey } from '../dominio';
|
|
5
|
+
import type { PaginaDestino } from '../paginas';
|
|
6
|
+
import type { AcessoPagina, CargosUsuario, DetalheUtilizacaoRascunho, MomentoFormatado24, ObjetoPendeciaPersonagem, PaletaCores, TipoVariavelAmbiente, TituloSessaoInteligente } from '../shared';
|
|
7
|
+
declare enum ApiTransporte {
|
|
8
|
+
GRAPHQL = "GRAPHQL",
|
|
9
|
+
REST = "REST"
|
|
10
|
+
}
|
|
11
|
+
declare enum ApiTipoRequisicao {
|
|
12
|
+
GET = "GET",
|
|
13
|
+
POST = "POST",
|
|
14
|
+
PATCH = "PATCH",
|
|
15
|
+
DELETE = "DELETE"
|
|
16
|
+
}
|
|
17
|
+
declare enum ApiMetodoHttp {
|
|
18
|
+
GET = "GET",
|
|
19
|
+
POST = "POST",
|
|
20
|
+
PATCH = "PATCH",
|
|
21
|
+
DELETE = "DELETE"
|
|
22
|
+
}
|
|
23
|
+
type ApiErroGraphql = {
|
|
24
|
+
message: string;
|
|
25
|
+
};
|
|
26
|
+
type ApiRespostaGraphql<TResposta extends object> = {
|
|
27
|
+
data?: TResposta;
|
|
28
|
+
errors?: ApiErroGraphql[];
|
|
29
|
+
};
|
|
30
|
+
type ApiOperacaoGraphqlGet<TParametros extends object, TVariaveis extends object, TResposta extends object> = {
|
|
31
|
+
readonly transporte: ApiTransporte.GRAPHQL;
|
|
32
|
+
readonly tipoRequisicao: ApiTipoRequisicao.GET;
|
|
33
|
+
readonly metodoHttp: ApiMetodoHttp.POST;
|
|
34
|
+
readonly nome: string;
|
|
35
|
+
readonly endpoint: '/graphql';
|
|
36
|
+
readonly nomeOperacaoGraphql: string;
|
|
37
|
+
readonly query: string;
|
|
38
|
+
readonly montaVariaveis: (parametros: TParametros) => TVariaveis;
|
|
39
|
+
};
|
|
40
|
+
type ApiOperacaoRestGet<TParametros extends object, TResposta extends object> = {
|
|
41
|
+
readonly transporte: ApiTransporte.REST;
|
|
42
|
+
readonly tipoRequisicao: ApiTipoRequisicao.GET;
|
|
43
|
+
readonly metodoHttp: ApiMetodoHttp.GET;
|
|
44
|
+
readonly nome: string;
|
|
45
|
+
readonly endpoint: string;
|
|
46
|
+
readonly montaQueryString: (parametros: TParametros) => string;
|
|
47
|
+
};
|
|
48
|
+
type ApiParametros<TOperacao> = TOperacao extends ApiOperacaoGraphqlGet<infer TParametros, infer _TVariaveis, infer _TResposta> ? TParametros : TOperacao extends ApiOperacaoRestGet<infer TParametros, infer _TResposta> ? TParametros : never;
|
|
49
|
+
type ApiResposta<TOperacao> = TOperacao extends ApiOperacaoGraphqlGet<infer _TParametros, infer _TVariaveis, infer TResposta> ? TResposta : TOperacao extends ApiOperacaoRestGet<infer _TParametros, infer TResposta> ? TResposta : never;
|
|
50
|
+
declare function createApiGraphqlGet<TParametros extends object, TVariaveis extends object, TResposta extends object>(definicao: ApiOperacaoGraphqlGet<TParametros, TVariaveis, TResposta>): ApiOperacaoGraphqlGet<TParametros, TVariaveis, TResposta>;
|
|
51
|
+
declare function createApiRestGet<TParametros extends object, TResposta extends object>(definicao: ApiOperacaoRestGet<TParametros, TResposta>): ApiOperacaoRestGet<TParametros, TResposta>;
|
|
52
|
+
type TesteGraphqlParametros = Record<string, never>;
|
|
53
|
+
type TesteGraphqlVariaveis = Record<string, never>;
|
|
54
|
+
type TesteGraphqlResposta = {
|
|
55
|
+
testeGraphql: string;
|
|
56
|
+
};
|
|
57
|
+
type TesteGraphqlSessaoParametros = {
|
|
58
|
+
idSessao: number;
|
|
59
|
+
};
|
|
60
|
+
type TesteGraphqlSessaoVariaveis = {
|
|
61
|
+
idSessao: number;
|
|
62
|
+
};
|
|
63
|
+
type TesteGraphqlSessaoResposta = {
|
|
64
|
+
testeGraphqlSessao: {
|
|
65
|
+
id: number;
|
|
66
|
+
tituloSessao: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
type TesteRestParametros = Record<string, never>;
|
|
70
|
+
type TesteRestResposta = {
|
|
71
|
+
testeRest: string;
|
|
72
|
+
};
|
|
73
|
+
declare namespace EventosApi {
|
|
74
|
+
const GET: {
|
|
75
|
+
readonly Graphql: {
|
|
76
|
+
readonly testeGraphql: ApiOperacaoGraphqlGet<TesteGraphqlParametros, TesteGraphqlVariaveis, TesteGraphqlResposta>;
|
|
77
|
+
readonly testeGraphqlSessao: ApiOperacaoGraphqlGet<TesteGraphqlSessaoParametros, TesteGraphqlSessaoVariaveis, TesteGraphqlSessaoResposta>;
|
|
78
|
+
};
|
|
79
|
+
readonly Rest: {
|
|
80
|
+
readonly testeRest: ApiOperacaoRestGet<TesteRestParametros, TesteRestResposta>;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
type PermissoesEstadoCompletaDto = {
|
|
85
|
+
id: number;
|
|
86
|
+
chave: string;
|
|
87
|
+
descricao: string;
|
|
88
|
+
temPermissao: boolean;
|
|
89
|
+
};
|
|
90
|
+
type PermissoesItemSemPaiEFilhosDto = {
|
|
91
|
+
id: number;
|
|
92
|
+
usuarioCriou: UsuarioCompletaDto;
|
|
93
|
+
codigo: string;
|
|
94
|
+
descricao: string;
|
|
95
|
+
dataCriacao: Date;
|
|
96
|
+
usuariosPermitidos: PermissoesUsuarioSemItemDto[];
|
|
97
|
+
};
|
|
98
|
+
type PermissoesItemCompletaDto = {
|
|
99
|
+
id: number;
|
|
100
|
+
itemPai: PermissoesItemSemPaiEFilhosDto | null;
|
|
101
|
+
itensFilhos: PermissoesItemSemPaiEFilhosDto[];
|
|
102
|
+
usuariosPermitidos: PermissoesUsuarioSemItemDto[];
|
|
103
|
+
usuarioCriou: UsuarioCompletaDto;
|
|
104
|
+
codigo: string;
|
|
105
|
+
descricao: string;
|
|
106
|
+
dataCriacao: Date;
|
|
107
|
+
};
|
|
108
|
+
type ItemPermissaoDto = {
|
|
109
|
+
id: number;
|
|
110
|
+
codigo: string;
|
|
111
|
+
descricao: string;
|
|
112
|
+
parentId: number | null;
|
|
113
|
+
path: string;
|
|
114
|
+
dataCriacao: string;
|
|
115
|
+
usuarioCriouId?: number;
|
|
116
|
+
childrenCount: number;
|
|
117
|
+
listaIdsUsuariosPermitidos: number[];
|
|
118
|
+
isLockedLeaf: boolean;
|
|
119
|
+
children: ItemPermissaoDto[];
|
|
120
|
+
};
|
|
121
|
+
type ArvoreItensPermissaoDto = {
|
|
122
|
+
generatedAt: string;
|
|
123
|
+
totalItems: number;
|
|
124
|
+
tree: ItemPermissaoDto[];
|
|
125
|
+
indexById: Record<number, {
|
|
126
|
+
parentId: number | null;
|
|
127
|
+
path: string;
|
|
128
|
+
childrenCount: number;
|
|
129
|
+
listaIdsUsuariosPermitidosCount: number;
|
|
130
|
+
isLockedLeaf: boolean;
|
|
131
|
+
}>;
|
|
132
|
+
};
|
|
133
|
+
type PermissoesUsuarioSemItemDto = {
|
|
134
|
+
fkPermissoesItemId: number;
|
|
135
|
+
fkUsuarioId: number;
|
|
136
|
+
fkPermissoesEstadoId: number;
|
|
137
|
+
usuario: UsuarioCompletaDto;
|
|
138
|
+
permissoesEstado: PermissoesEstadoCompletaDto;
|
|
139
|
+
};
|
|
140
|
+
type PermissoesUsuarioCompletaDto = {
|
|
141
|
+
fkPermissoesItemId: number;
|
|
142
|
+
fkUsuarioId: number;
|
|
143
|
+
fkPermissoesEstadoId: number;
|
|
144
|
+
permissoesItem: PermissoesItemSemPaiEFilhosDto;
|
|
145
|
+
usuario: UsuarioCompletaDto;
|
|
146
|
+
permissoesEstado: PermissoesEstadoCompletaDto;
|
|
147
|
+
};
|
|
148
|
+
type PermissoesUsuariosHistoricoCompletaDto = {
|
|
149
|
+
id: number;
|
|
150
|
+
usuario: UsuarioCompletaDto;
|
|
151
|
+
permissaoItem: PermissoesItemSemPaiEFilhosDto;
|
|
152
|
+
permissaoEstadoAnterior: PermissoesEstadoCompletaDto | null;
|
|
153
|
+
permissaoEstadoAtual: PermissoesEstadoCompletaDto;
|
|
154
|
+
usuarioAlterou: UsuarioCompletaDto | null;
|
|
155
|
+
dataCriacao: Date;
|
|
156
|
+
mensagem: string | null;
|
|
157
|
+
};
|
|
158
|
+
type AprovacaoArquivoSemArquivoDto = {
|
|
159
|
+
fkArquivoId: number;
|
|
160
|
+
usuarioAprovou: UsuarioCompletaDto | null;
|
|
161
|
+
dataAprovacao: Date | null;
|
|
162
|
+
};
|
|
163
|
+
type AprovacaoArquivoCompletaDto = {
|
|
164
|
+
fkArquivoId: number;
|
|
165
|
+
arquivo: ArquivoCompletaDto;
|
|
166
|
+
usuarioAprovou: UsuarioCompletaDto | null;
|
|
167
|
+
dataAprovacao: Date | null;
|
|
168
|
+
};
|
|
169
|
+
type ArquivoCompletaDto = {
|
|
170
|
+
id: number;
|
|
171
|
+
tipoArquivo: TipoArquivoCompletaDto;
|
|
172
|
+
usuarioAdicionou: UsuarioCompletaDto;
|
|
173
|
+
usuarioAtualizou: UsuarioCompletaDto | null;
|
|
174
|
+
detalheArquivoInterno: DetalheArquivoInternoSemArquivoDto | null;
|
|
175
|
+
aprovacaoArquivo: AprovacaoArquivoSemArquivoDto | null;
|
|
176
|
+
caminhoArquivo: string;
|
|
177
|
+
tipoMime: string;
|
|
178
|
+
dataCriacao: Date;
|
|
179
|
+
dataAtualizacao: Date | null;
|
|
180
|
+
pendenteAprovacao: boolean;
|
|
181
|
+
nomeGeralArquivo: string | null;
|
|
182
|
+
};
|
|
183
|
+
type CampoExtraUploadTipo = 'texto' | 'numero';
|
|
184
|
+
type CampoExtraUploadDef = {
|
|
185
|
+
nome: string;
|
|
186
|
+
tipo: CampoExtraUploadTipo;
|
|
187
|
+
obrigatorio: boolean;
|
|
188
|
+
};
|
|
189
|
+
type ArquivoUploadDef = {
|
|
190
|
+
nome: string;
|
|
191
|
+
obrigatorio: boolean;
|
|
192
|
+
multiplicidade: 'unico';
|
|
193
|
+
};
|
|
194
|
+
type DefinicaoUploadTipoArquivo = {
|
|
195
|
+
tipoArquivoId: number;
|
|
196
|
+
camposExtras: CampoExtraUploadDef[];
|
|
197
|
+
arquivos: ArquivoUploadDef[];
|
|
198
|
+
};
|
|
199
|
+
declare const ARQUIVO_UPLOAD_DEFINICOES: Record<number, DefinicaoUploadTipoArquivo>;
|
|
200
|
+
declare function obtemDefinicaoUploadTipoArquivo(tipoArquivoId: number): DefinicaoUploadTipoArquivo | null;
|
|
201
|
+
type CaminhoArquivoArte = string & {
|
|
202
|
+
readonly __brand: 'CaminhoArquivoArte';
|
|
203
|
+
};
|
|
204
|
+
declare const criaCaminhoArquivoArte: (caminhoArquivo: string) => CaminhoArquivoArte;
|
|
205
|
+
type ArquivoTipadoArteDto = {};
|
|
206
|
+
type CaminhoArquivoAvatar = string & {
|
|
207
|
+
readonly __brand: 'CaminhoArquivoAvatar';
|
|
208
|
+
};
|
|
209
|
+
declare const criaCaminhoArquivoAvatar: (caminhoArquivo: string) => CaminhoArquivoAvatar;
|
|
210
|
+
type ArquivoTipadoAvatarDto = {};
|
|
211
|
+
type ArquivoTipadoEmblemaDto = {};
|
|
212
|
+
type DetalheArquivoInternoSemArquivoDto = {
|
|
213
|
+
fkArquivoId: number;
|
|
214
|
+
nomeInterno: string;
|
|
215
|
+
};
|
|
216
|
+
type DetalheArquivoInternoCompletaDto = {
|
|
217
|
+
fkArquivoId: number;
|
|
218
|
+
arquivo: ArquivoCompletaDto;
|
|
219
|
+
nomeInterno: string;
|
|
220
|
+
};
|
|
221
|
+
type TipoArquivoCompletaDto = {
|
|
222
|
+
id: number;
|
|
223
|
+
nome: string;
|
|
224
|
+
};
|
|
225
|
+
type ArcoAventuraCompletaDto = {
|
|
226
|
+
id: number;
|
|
227
|
+
nome: string;
|
|
228
|
+
aplicaNomeArcoAventura: boolean;
|
|
229
|
+
};
|
|
230
|
+
type AventuraCompletaDto = {
|
|
231
|
+
id: number;
|
|
232
|
+
geracao: GeracaoSemAventurasDto;
|
|
233
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
234
|
+
detalheRascunhoAventura: DetalheRascunhoAventuraCompletaDto | null;
|
|
235
|
+
arco: ArcoAventuraCompletaDto | null;
|
|
236
|
+
gruposAventura: GrupoAventuraParaAssistirDto[] | null;
|
|
237
|
+
titulo: string;
|
|
238
|
+
dataCriacao: Date;
|
|
239
|
+
nomeCompletoAventura: string;
|
|
240
|
+
temApenasUmGrupo: boolean;
|
|
241
|
+
estadoAtual: AventuraEstado;
|
|
242
|
+
dataInicioAventura: Date | null;
|
|
243
|
+
dataFimAventura: Date | null;
|
|
244
|
+
};
|
|
245
|
+
type AventuraParaAssistirDto = {
|
|
246
|
+
id: number;
|
|
247
|
+
estadoAtual: AventuraEstado;
|
|
248
|
+
dataFimAventura: Date | null;
|
|
249
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
250
|
+
titulo: string;
|
|
251
|
+
};
|
|
252
|
+
type ConviteGrupoAventuraPersonagemCompletaDto = {
|
|
253
|
+
id: number;
|
|
254
|
+
grupoAventura: GrupoAventuraCompletaDto;
|
|
255
|
+
usuario: UsuarioCompletaDto;
|
|
256
|
+
respostaConvite: RespostaConviteCompletaDto;
|
|
257
|
+
dataCriacao: Date;
|
|
258
|
+
};
|
|
259
|
+
type DadosArteCapa = {
|
|
260
|
+
temCapaConfigurada: boolean;
|
|
261
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
262
|
+
};
|
|
263
|
+
type GrupoAventuraCompletaDto = {
|
|
264
|
+
id: number;
|
|
265
|
+
nome: string;
|
|
266
|
+
aventura: AventuraCompletaDto;
|
|
267
|
+
usuarioMestre: UsuarioCompletaDto;
|
|
268
|
+
linkTrailerYoutube: LinkCompletaDto | null;
|
|
269
|
+
linkPlaylistYoutube: LinkCompletaDto | null;
|
|
270
|
+
linkSerieSpotify: LinkCompletaDto | null;
|
|
271
|
+
detalhesSessoesAventuras: DetalheSessaoAventuraSemGrupoDto[];
|
|
272
|
+
personagensDaAventura: GrupoAventuraPersonagemSemGrupoAventuraDto[];
|
|
273
|
+
sessaoFinal: SessaoEmVisualizacaoDto | null;
|
|
274
|
+
dataPrevisaoInicio: Date | null;
|
|
275
|
+
ddsPadrao: number | null;
|
|
276
|
+
recorrencia: string | null;
|
|
277
|
+
horaInicio: string | null;
|
|
278
|
+
nomeUnicoGrupoAventura: string;
|
|
279
|
+
dataQueIniciou: Date | null;
|
|
280
|
+
dataQueEncerrou: Date | null;
|
|
281
|
+
estadoAtual: AventuraEstado;
|
|
282
|
+
obtemTextoInformacionalOcorrencia: string | null;
|
|
283
|
+
sessaoMaisRecente: SessaoEmVisualizacaoDto | null;
|
|
284
|
+
numeroSessoesFinalizadasGrupoAventura: number;
|
|
285
|
+
duracaoGrupoAventuraEmSegundos: number | null;
|
|
286
|
+
tempoProximaSessao: string | null;
|
|
287
|
+
dadosArteCapa: DadosArteCapa;
|
|
288
|
+
};
|
|
289
|
+
type GrupoAventuraParaAssistirDto = {
|
|
290
|
+
id: number;
|
|
291
|
+
nome: string;
|
|
292
|
+
usuarioMestre: UsuarioCompletaDto;
|
|
293
|
+
linkTrailerYoutube: LinkCompletaDto | null;
|
|
294
|
+
linkPlaylistYoutube: LinkCompletaDto | null;
|
|
295
|
+
linkSerieSpotify: LinkCompletaDto | null;
|
|
296
|
+
detalhesSessoesAventuras: DetalheSessaoAventuraSemGrupoDto[];
|
|
297
|
+
personagensDaAventura: GrupoAventuraPersonagemSemGrupoAventuraDto[];
|
|
298
|
+
dataPrevisaoInicio: Date | null;
|
|
299
|
+
ddsPadrao: number | null;
|
|
300
|
+
recorrencia: string | null;
|
|
301
|
+
horaInicio: string | null;
|
|
302
|
+
nomeUnicoGrupoAventura: string;
|
|
303
|
+
dataQueIniciou: Date | null;
|
|
304
|
+
dataQueEncerrou: Date | null;
|
|
305
|
+
estadoAtual: AventuraEstado;
|
|
306
|
+
numeroSessoesFinalizadasGrupoAventura: number;
|
|
307
|
+
duracaoGrupoAventuraEmSegundos: number | null;
|
|
308
|
+
tempoProximaSessao: string | null;
|
|
309
|
+
dadosArteCapa: DadosArteCapa;
|
|
310
|
+
};
|
|
311
|
+
type VIEW_GrupoAventuraListagem = {
|
|
312
|
+
id: number;
|
|
313
|
+
dadosArteCapa: DadosArteCapa;
|
|
314
|
+
nomeUnicoGrupoAventura: string;
|
|
315
|
+
estadoAtual: AventuraEstado;
|
|
316
|
+
};
|
|
317
|
+
type VIEW_GrupoAventuraDetalhado = {
|
|
318
|
+
id: number;
|
|
319
|
+
nomeUnicoGrupoAventura: string;
|
|
320
|
+
dataPrevisaoInicio: Date | null;
|
|
321
|
+
dataQueIniciou: Date | null;
|
|
322
|
+
dataQueEncerrou: Date | null;
|
|
323
|
+
numeroSessoesFinalizadasGrupoAventura: number;
|
|
324
|
+
duracaoGrupoAventuraEmSegundos: number | null;
|
|
325
|
+
dadosArteCapa: DadosArteCapa;
|
|
326
|
+
estadoAtual: AventuraEstado;
|
|
327
|
+
detalhesSessoesAventuras: VIEW_DetalheSessaoAventuraDetalhado[];
|
|
328
|
+
};
|
|
329
|
+
type GrupoAventuraPersonagemSemGrupoAventuraDto = {
|
|
330
|
+
fkGruposAventurasId: number;
|
|
331
|
+
fkPersonagensId: number;
|
|
332
|
+
personagem: PersonagemCompletaDto;
|
|
333
|
+
};
|
|
334
|
+
type GrupoAventuraPersonagemSemPersonagemDto = {
|
|
335
|
+
fkGruposAventurasId: number;
|
|
336
|
+
fkPersonagensId: number;
|
|
337
|
+
grupoAventura: GrupoAventuraCompletaDto;
|
|
338
|
+
};
|
|
339
|
+
type GrupoAventuraPersonagemCompletaDto = {
|
|
340
|
+
fkGruposAventurasId: number;
|
|
341
|
+
fkPersonagensId: number;
|
|
342
|
+
grupoAventura: GrupoAventuraCompletaDto;
|
|
343
|
+
personagem: PersonagemCompletaDto;
|
|
344
|
+
};
|
|
345
|
+
type RespostaConviteSemConviteDto = {
|
|
346
|
+
fkConviteGrupoAventuraPersonagemId: number;
|
|
347
|
+
fkPersonagensId: number;
|
|
348
|
+
personagemVinculado: PersonagemCompletaDto;
|
|
349
|
+
dataResposta: Date;
|
|
350
|
+
criouNovoPersonagem: boolean;
|
|
351
|
+
};
|
|
352
|
+
type RespostaConviteCompletaDto = {
|
|
353
|
+
fkConviteGrupoAventuraPersonagemId: number;
|
|
354
|
+
fkPersonagensId: number;
|
|
355
|
+
convite: ConviteGrupoAventuraPersonagemCompletaDto;
|
|
356
|
+
personagemVinculado: PersonagemCompletaDto;
|
|
357
|
+
dataResposta: Date;
|
|
358
|
+
criouNovoPersonagem: boolean;
|
|
359
|
+
};
|
|
360
|
+
type VariavelAmbienteCompletaDto = {
|
|
361
|
+
id: number;
|
|
362
|
+
chave: string;
|
|
363
|
+
tipo: TipoVariavelAmbiente;
|
|
364
|
+
valor: boolean | string | number;
|
|
365
|
+
descricao: string | null;
|
|
366
|
+
dataCriacao: Date;
|
|
367
|
+
dataAtualizacao: Date;
|
|
368
|
+
};
|
|
369
|
+
type ConquistaCompletaDto = {
|
|
370
|
+
id: number;
|
|
371
|
+
tipoConquista: TipoConquistaCompletaDto;
|
|
372
|
+
nome: string;
|
|
373
|
+
descricao: string;
|
|
374
|
+
};
|
|
375
|
+
type TipoConquistaCompletaDto = {
|
|
376
|
+
id: number;
|
|
377
|
+
nome: string;
|
|
378
|
+
};
|
|
379
|
+
type DetalheSessaoAventuraCompletaDto = {
|
|
380
|
+
fkSessaoId: number;
|
|
381
|
+
episodio: number;
|
|
382
|
+
episodioPorExtenso: string;
|
|
383
|
+
nomeUnico: string;
|
|
384
|
+
grupoAventura: GrupoAventuraCompletaDto;
|
|
385
|
+
};
|
|
386
|
+
type DetalheSessaoAventuraSemGrupoDto = {
|
|
387
|
+
fkSessaoId: number;
|
|
388
|
+
episodio: number;
|
|
389
|
+
episodioPorExtenso: string;
|
|
390
|
+
nomeUnico: string;
|
|
391
|
+
sessao: VIEW_SessaoDeAventura;
|
|
392
|
+
};
|
|
393
|
+
type VIEW_DetalheSessaoAventuraDetalhado = {
|
|
394
|
+
episodio: number;
|
|
395
|
+
episodioPorExtenso: string;
|
|
396
|
+
sessao: VIEW_SessaoDeAventura;
|
|
397
|
+
};
|
|
398
|
+
type DetalheSessaoCanonicaCompletaDto = {
|
|
399
|
+
fkSessaoId: number;
|
|
400
|
+
sessao: SessaoCompletaDto;
|
|
401
|
+
linkSessaoYoutube: LinkCompletaDto | null;
|
|
402
|
+
linkSessaoSpotify: LinkCompletaDto | null;
|
|
403
|
+
capitulos: CapituloSessaoCanonica[] | null;
|
|
404
|
+
detalhes: string | null;
|
|
405
|
+
};
|
|
406
|
+
type CapituloSessaoCanonica = {
|
|
407
|
+
descricao: string;
|
|
408
|
+
momentoInicioEmSegundos: number;
|
|
409
|
+
};
|
|
410
|
+
type BaseDetalheSessaoCanonicaParaAssistirDto = {
|
|
411
|
+
idSessao: number;
|
|
412
|
+
dadosArteCapa: DadosArteCapa;
|
|
413
|
+
};
|
|
414
|
+
type DetalheSessaoCanonicaParaAssistir_AventuraDto = BaseDetalheSessaoCanonicaParaAssistirDto & {
|
|
415
|
+
tipoSessao: 'AVENTURA';
|
|
416
|
+
idGrupoAventura: number;
|
|
417
|
+
episodio: number;
|
|
418
|
+
tituloPrincipal: string;
|
|
419
|
+
tituloDetalhado: string;
|
|
420
|
+
};
|
|
421
|
+
type DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto = BaseDetalheSessaoCanonicaParaAssistirDto & {
|
|
422
|
+
tipoSessao: 'SESSAO_UNICA_CANONICA';
|
|
423
|
+
titulo: string;
|
|
424
|
+
};
|
|
425
|
+
type DetalheSessaoCanonicaParaAssistirDto = DetalheSessaoCanonicaParaAssistir_AventuraDto | DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto;
|
|
426
|
+
type DetalheSessaoUnicaCompletaDto = {
|
|
427
|
+
fkSessaoId: number;
|
|
428
|
+
sessao: SessaoCompletaDto;
|
|
429
|
+
rascunho: RascunhoCompletaDto | null;
|
|
430
|
+
usuarioMestre: UsuarioCompletaDto;
|
|
431
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
432
|
+
participantesSessaoUnica: ParticipanteSessaoUnicaCompletaDto[];
|
|
433
|
+
};
|
|
434
|
+
type DetalheSessaoUnicaAmarradaComFichaDto = {
|
|
435
|
+
tituloRascunho: string;
|
|
436
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
437
|
+
dataPrevisaoInicio: Date;
|
|
438
|
+
};
|
|
439
|
+
type FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto = {
|
|
440
|
+
fkParticipanteSessaoUnicaId: number;
|
|
441
|
+
participanteSessaoUnica: ParticipanteSessaoUnicaCompletaDto;
|
|
442
|
+
};
|
|
443
|
+
type FichaAmarradaParticipanteSessaoUnicaCompletaDto = {
|
|
444
|
+
fkParticipanteSessaoUnicaId: number;
|
|
445
|
+
participanteSessaoUnica: ParticipanteSessaoUnicaCompletaDto;
|
|
446
|
+
fichaTemporaria: FichaTemporariaCompletaDto;
|
|
447
|
+
};
|
|
448
|
+
type ParticipanteSessaoUnicaSemDetalheSessaoUnicaDto = {
|
|
449
|
+
id: number;
|
|
450
|
+
usuario: UsuarioCompletaDto;
|
|
451
|
+
personagem: PersonagemCompletaDto | null;
|
|
452
|
+
amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaCompletaDto | null;
|
|
453
|
+
valido: boolean;
|
|
454
|
+
participantePendente: boolean;
|
|
455
|
+
};
|
|
456
|
+
type ParticipanteSessaoUnicaCompletaDto = {
|
|
457
|
+
id: number;
|
|
458
|
+
detalheSessaoUnica: DetalheSessaoUnicaCompletaDto;
|
|
459
|
+
usuario: UsuarioCompletaDto;
|
|
460
|
+
personagem: PersonagemCompletaDto | null;
|
|
461
|
+
amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaCompletaDto | null;
|
|
462
|
+
valido: boolean;
|
|
463
|
+
participantePendente: boolean;
|
|
464
|
+
};
|
|
465
|
+
type DisponibilidadeUsuarioHistoricoCompletaDto = {
|
|
466
|
+
id: number;
|
|
467
|
+
usuario: UsuarioCompletaDto;
|
|
468
|
+
snapshot: ListaDisponibilidadesUsuario;
|
|
469
|
+
tipoFrequencia: TipoFrequenciaCompletaDto;
|
|
470
|
+
dataCriacao: Date;
|
|
471
|
+
};
|
|
472
|
+
type JanelaDisponibilidadeCompletaDto = {
|
|
473
|
+
id: number;
|
|
474
|
+
disponibilidadeUsuario: DisponibilidadeUsuarioCompletaDto;
|
|
475
|
+
dds: DiaDaSemana;
|
|
476
|
+
horaInicio: MomentoFormatado24;
|
|
477
|
+
horaFim: MomentoFormatado24;
|
|
478
|
+
duracaoEmMinutos: number;
|
|
479
|
+
janelaPorExtenso: string;
|
|
480
|
+
};
|
|
481
|
+
type DadosJanelaDisponibilidade = {
|
|
482
|
+
dds: DiaDaSemana;
|
|
483
|
+
horaInicio: MomentoFormatado24;
|
|
484
|
+
horaFim: MomentoFormatado24;
|
|
485
|
+
};
|
|
486
|
+
type DadosDataParaSessao = {
|
|
487
|
+
data: Date;
|
|
488
|
+
horaInicio: MomentoFormatado24;
|
|
489
|
+
};
|
|
490
|
+
type TipoFrequenciaCompletaDto = {
|
|
491
|
+
id: number;
|
|
492
|
+
nome: string;
|
|
493
|
+
};
|
|
494
|
+
type EmblemaDto = {};
|
|
495
|
+
type FichaCompletaDto = {
|
|
496
|
+
id: number;
|
|
497
|
+
fichaPersonagem: FichaPersonagemCompletaDto | null;
|
|
498
|
+
fichaTemporaria: FichaTemporariaCompletaDto | null;
|
|
499
|
+
fichaSer: FichaSerCompletaDto | null;
|
|
500
|
+
dataAtualizacao: Date;
|
|
501
|
+
ficha: J_FichaPersistida;
|
|
502
|
+
detalhesEvolucao: DetalheEvolucao[];
|
|
503
|
+
pai: PaiFichaRef;
|
|
504
|
+
paiTipo: PaiFichaTipo;
|
|
505
|
+
nome: string | null;
|
|
506
|
+
nomeComDetalhe: string | null;
|
|
507
|
+
nivel: NivelDto | null;
|
|
508
|
+
usuario: UsuarioCompletaDto | null;
|
|
509
|
+
};
|
|
510
|
+
type FichaEmProcessoDeEvolucaoDto = {
|
|
511
|
+
id: number;
|
|
512
|
+
fichaPersonagem: FichaPersonagemCompletaDto | null;
|
|
513
|
+
fichaTemporaria: FichaTemporariaCompletaDto | null;
|
|
514
|
+
fichaSer: FichaSerCompletaDto | null;
|
|
515
|
+
dataAtualizacao: Date;
|
|
516
|
+
ficha: J_FichaPersistida;
|
|
517
|
+
detalhesEvolucao: DetalheEvolucao[];
|
|
518
|
+
fichaDeJogo: FichaEmClient;
|
|
519
|
+
paiTipo: PaiFichaTipo;
|
|
520
|
+
nome: string | null;
|
|
521
|
+
nomeComDetalhe: string | null;
|
|
522
|
+
nivel: NivelDto;
|
|
523
|
+
};
|
|
524
|
+
type DetalheEvolucao = {
|
|
525
|
+
etapa: string;
|
|
526
|
+
detalhes: string[];
|
|
527
|
+
};
|
|
528
|
+
type DetalhesExtras = {};
|
|
529
|
+
type PaiFichaTipo = 'PERSONAGEM' | 'TEMPORARIA' | 'SER';
|
|
530
|
+
type PaiFichaRef = {
|
|
531
|
+
tipo: 'PERSONAGEM';
|
|
532
|
+
ref: FichaPersonagemCompletaDto;
|
|
533
|
+
} | {
|
|
534
|
+
tipo: 'TEMPORARIA';
|
|
535
|
+
ref: FichaTemporariaCompletaDto;
|
|
536
|
+
} | {
|
|
537
|
+
tipo: 'SER';
|
|
538
|
+
ref: FichaSerCompletaDto;
|
|
539
|
+
};
|
|
540
|
+
type DadosEvolucaoFicha = {
|
|
541
|
+
fichaDeJogo: FichaEmClient;
|
|
542
|
+
detalhesEvolucao: DetalheEvolucao[];
|
|
543
|
+
};
|
|
544
|
+
type FichaTemporariaCompletaDto = {
|
|
545
|
+
id: number;
|
|
546
|
+
usuario: UsuarioCompletaDto;
|
|
547
|
+
ficha: FichaCompletaDto;
|
|
548
|
+
nivel: NivelDto;
|
|
549
|
+
amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto | null;
|
|
550
|
+
dataAtualizacao: Date;
|
|
551
|
+
historicoDetalhesEvolucao: HistoricoDetalhesEvolucao;
|
|
552
|
+
nome: string;
|
|
553
|
+
descricao: string | null;
|
|
554
|
+
detalheSessaoUnicaAmarrada: DetalheSessaoUnicaCompletaDto | null;
|
|
555
|
+
};
|
|
556
|
+
type FichaTemporariaSemFichaDto = {
|
|
557
|
+
id: number;
|
|
558
|
+
usuario: UsuarioCompletaDto;
|
|
559
|
+
nivel: NivelDto;
|
|
560
|
+
amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto | null;
|
|
561
|
+
dataAtualizacao: Date;
|
|
562
|
+
historicoDetalhesEvolucao: HistoricoDetalhesEvolucao;
|
|
563
|
+
nome: string;
|
|
564
|
+
descricao: string | null;
|
|
565
|
+
detalheSessaoUnicaAmarrada: DetalheSessaoUnicaCompletaDto | null;
|
|
566
|
+
};
|
|
567
|
+
type HistoricoDetalhesEvolucao = DetalheEvolucao[][];
|
|
568
|
+
type FichaTemporariaExibicaoDto = {
|
|
569
|
+
id: number;
|
|
570
|
+
nome: string;
|
|
571
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
572
|
+
};
|
|
573
|
+
type FichaTemporariaVisualizacaoDetalhadaDto = {
|
|
574
|
+
id: number;
|
|
575
|
+
nome: string;
|
|
576
|
+
descricao: string | null;
|
|
577
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
578
|
+
classe: ClasseDto;
|
|
579
|
+
nivel: NivelDto;
|
|
580
|
+
detalheSessaoUnicaAmarrada: DetalheSessaoUnicaAmarradaComFichaDto | null;
|
|
581
|
+
idFicha: number;
|
|
582
|
+
};
|
|
583
|
+
type PagamentoPixDto = {};
|
|
584
|
+
type ProdutoDto = {
|
|
585
|
+
id: number;
|
|
586
|
+
codigoInterno: string;
|
|
587
|
+
nome: string;
|
|
588
|
+
descricao: string | null;
|
|
589
|
+
ativo: boolean;
|
|
590
|
+
valorCentavosPadrao: number | null;
|
|
591
|
+
diasDeValidade: number | null;
|
|
592
|
+
geraRenovacaoPasse: boolean;
|
|
593
|
+
permiteValorInformadoUsuario: boolean;
|
|
594
|
+
dataCriacao: Date;
|
|
595
|
+
dataAtualizacao: Date;
|
|
596
|
+
};
|
|
597
|
+
type RegistroPixDto = {};
|
|
598
|
+
declare enum RegistroPixProvedor {
|
|
599
|
+
Efi = "EFI"
|
|
600
|
+
}
|
|
601
|
+
type CoeficienteGanhoEstatisticaClasseCompletaDto = {
|
|
602
|
+
id: number;
|
|
603
|
+
classe: ClasseDto;
|
|
604
|
+
estatisticaDanificavel: EstatisticaDanificavelCompletaDto;
|
|
605
|
+
ganhosRelativos: GanhoRelativoCoeficienteAtributoCompletaDto[];
|
|
606
|
+
coeficiente: number;
|
|
607
|
+
};
|
|
608
|
+
type GanhoNivelClasseCompletaDto = {
|
|
609
|
+
fkNivelId: number;
|
|
610
|
+
fkTipoGanhoNivelId: number;
|
|
611
|
+
fkClassesId: number;
|
|
612
|
+
nivel: NivelDto;
|
|
613
|
+
tipoGanhoNivel: TipoGanhoNivelCompletaDto;
|
|
614
|
+
classe: ClasseDto;
|
|
615
|
+
dados: DadosDoTipoGanho;
|
|
616
|
+
};
|
|
617
|
+
type DadosDoTipoGanho = DadosGanho_Atributos | DadosGanho_Pericias | DadosGanho_Estatisticas | DadosGanho_Classes | DadosGanho_ValorMaximoAtributo | DadosGanho_PontosHabilidadesEspeciais | DadosGanho_PontosHabilidadesParanormais | DadosGanho_PontosHabilidadeElemental;
|
|
618
|
+
type DadosGanho_Atributos = {
|
|
619
|
+
ganhos: number;
|
|
620
|
+
trocas: number;
|
|
621
|
+
};
|
|
622
|
+
type DadosGanho_Pericias = {
|
|
623
|
+
comum?: {
|
|
624
|
+
idPatente: number;
|
|
625
|
+
ganhos: number;
|
|
626
|
+
trocas: number;
|
|
627
|
+
}[];
|
|
628
|
+
livre?: {
|
|
629
|
+
ganhos: number;
|
|
630
|
+
trocas: number;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
type DadosGanho_Estatisticas = {
|
|
634
|
+
idEstatistica: number;
|
|
635
|
+
valorAumento: number;
|
|
636
|
+
}[];
|
|
637
|
+
type DadosGanho_Classes = {
|
|
638
|
+
selecao: boolean;
|
|
639
|
+
};
|
|
640
|
+
type DadosGanho_ValorMaximoAtributo = {
|
|
641
|
+
aumento: boolean;
|
|
642
|
+
};
|
|
643
|
+
type DadosGanho_PontosHabilidadesEspeciais = {
|
|
644
|
+
valorAumento: number;
|
|
645
|
+
};
|
|
646
|
+
type DadosGanho_PontosHabilidadesParanormais = {
|
|
647
|
+
valorAumento: number;
|
|
648
|
+
};
|
|
649
|
+
type DadosGanho_PontosHabilidadeElemental = {
|
|
650
|
+
valorAumento: number;
|
|
651
|
+
};
|
|
652
|
+
type GanhoRelativoCoeficienteAtributoSemCoeficienteDto = {
|
|
653
|
+
fkCoeficientesGanhoEstatisticaClasseId: number;
|
|
654
|
+
fkAtributosId: number;
|
|
655
|
+
atributo: AtributoCompletaDto;
|
|
656
|
+
valorPorcentagem: number;
|
|
657
|
+
};
|
|
658
|
+
type GanhoRelativoCoeficienteAtributoCompletaDto = {
|
|
659
|
+
fkCoeficientesGanhoEstatisticaClasseId: number;
|
|
660
|
+
fkAtributosId: number;
|
|
661
|
+
coeficiente: CoeficienteGanhoEstatisticaClasseCompletaDto;
|
|
662
|
+
atributo: AtributoCompletaDto;
|
|
663
|
+
valorPorcentagem: number;
|
|
664
|
+
};
|
|
665
|
+
type TipoGanhoNivelCompletaDto = {
|
|
666
|
+
id: number;
|
|
667
|
+
nome: string;
|
|
668
|
+
ordem: number;
|
|
669
|
+
};
|
|
670
|
+
type GeracaoSemAventurasDto = {
|
|
671
|
+
id: number;
|
|
672
|
+
nome: string | null;
|
|
673
|
+
anoInicio: number | null;
|
|
674
|
+
};
|
|
675
|
+
type GeracaoCompletaDto = {
|
|
676
|
+
id: number;
|
|
677
|
+
aventuras: AventuraCompletaDto[] | null;
|
|
678
|
+
nome: string | null;
|
|
679
|
+
anoInicio: number | null;
|
|
680
|
+
};
|
|
681
|
+
type ImagemCompletaDto = {
|
|
682
|
+
id: number;
|
|
683
|
+
uuid: string;
|
|
684
|
+
validatedBy: UsuarioCompletaDto | null;
|
|
685
|
+
usuario: UsuarioCompletaDto | null;
|
|
686
|
+
uploader: UsuarioCompletaDto | null;
|
|
687
|
+
tipoImagem: TipoImagemCompletaDto;
|
|
688
|
+
filename: string;
|
|
689
|
+
status: string;
|
|
690
|
+
resolution: string;
|
|
691
|
+
quality: string;
|
|
692
|
+
folder: string;
|
|
693
|
+
originalName: string;
|
|
694
|
+
mimeType: string;
|
|
695
|
+
size: number;
|
|
696
|
+
isPublic: boolean;
|
|
697
|
+
rejectionReason: string | null;
|
|
698
|
+
createdAt: Date;
|
|
699
|
+
updatedAt: Date;
|
|
700
|
+
fullPath: string;
|
|
701
|
+
};
|
|
702
|
+
type TipoImagemCompletaDto = {
|
|
703
|
+
id: number;
|
|
704
|
+
nome: string;
|
|
705
|
+
};
|
|
706
|
+
type AlcanceCompletaDto = {
|
|
707
|
+
id: number;
|
|
708
|
+
nome: string;
|
|
709
|
+
numeroMetros: number;
|
|
710
|
+
descricao: string | null;
|
|
711
|
+
};
|
|
712
|
+
type AtributoSemPericiasDto = {
|
|
713
|
+
id: number;
|
|
714
|
+
linhaEfeito: LinhaEfeitoCompletaDto;
|
|
715
|
+
nome: string;
|
|
716
|
+
descricao: string;
|
|
717
|
+
nomeAbreviado: string;
|
|
718
|
+
};
|
|
719
|
+
type AtributoCompletaDto = {
|
|
720
|
+
id: number;
|
|
721
|
+
linhaEfeito: LinhaEfeitoCompletaDto;
|
|
722
|
+
pericias: PericiaCompletaDto[];
|
|
723
|
+
nome: string;
|
|
724
|
+
descricao: string;
|
|
725
|
+
nomeAbreviado: string;
|
|
726
|
+
};
|
|
727
|
+
type CategoriaRitualCompletaDto = {
|
|
728
|
+
id: number;
|
|
729
|
+
circuloRitual: CirculoRitualCompletaDto;
|
|
730
|
+
nivelRitual: NivelRitualCompletaDto;
|
|
731
|
+
valorPsSacrificado: number;
|
|
732
|
+
nome: string;
|
|
733
|
+
};
|
|
734
|
+
type CirculoRitualCompletaDto = {
|
|
735
|
+
id: number;
|
|
736
|
+
nome: string;
|
|
737
|
+
nomeCompleto: string;
|
|
738
|
+
};
|
|
739
|
+
type ClasseDto = {
|
|
740
|
+
id: number;
|
|
741
|
+
nome: string;
|
|
742
|
+
descricao: string;
|
|
743
|
+
};
|
|
744
|
+
type DuracaoCompletaDto = {
|
|
745
|
+
id: number;
|
|
746
|
+
nome: string;
|
|
747
|
+
};
|
|
748
|
+
type ElementoCompletaDto = {
|
|
749
|
+
id: number;
|
|
750
|
+
nome: string;
|
|
751
|
+
cores: PaletaCores;
|
|
752
|
+
};
|
|
753
|
+
type EstatisticaDanificavelCompletaDto = {
|
|
754
|
+
id: number;
|
|
755
|
+
nome: string;
|
|
756
|
+
cor: string;
|
|
757
|
+
descricao: string;
|
|
758
|
+
nomeAbreviado: string;
|
|
759
|
+
};
|
|
760
|
+
type ExecucaoCompletaDto = {
|
|
761
|
+
id: number;
|
|
762
|
+
linhaEfeito: LinhaEfeitoCompletaDto;
|
|
763
|
+
nome: string;
|
|
764
|
+
};
|
|
765
|
+
type FormatoAlcanceCompletaDto = {
|
|
766
|
+
id: number;
|
|
767
|
+
nome: string;
|
|
768
|
+
};
|
|
769
|
+
type LinhaEfeitoCompletaDto = {
|
|
770
|
+
id: number;
|
|
771
|
+
nome: string;
|
|
772
|
+
};
|
|
773
|
+
type NivelDto = {
|
|
774
|
+
id: number;
|
|
775
|
+
valorNivel: number;
|
|
776
|
+
nomeVisualizacao: string;
|
|
777
|
+
};
|
|
778
|
+
type NivelComponenteCompletaDto = {
|
|
779
|
+
id: number;
|
|
780
|
+
nome: string;
|
|
781
|
+
};
|
|
782
|
+
type NivelProficienciaCompletaDto = {
|
|
783
|
+
id: number;
|
|
784
|
+
nivel: number;
|
|
785
|
+
};
|
|
786
|
+
type NivelRitualCompletaDto = {
|
|
787
|
+
id: number;
|
|
788
|
+
nome: string;
|
|
789
|
+
};
|
|
790
|
+
type PatentePericiaCompletaDto = {
|
|
791
|
+
id: number;
|
|
792
|
+
nome: string;
|
|
793
|
+
varianciaQualidadeAcao: number;
|
|
794
|
+
bonusPatente: number;
|
|
795
|
+
descricao: string;
|
|
796
|
+
cor: string;
|
|
797
|
+
nomeAbreviado: string;
|
|
798
|
+
};
|
|
799
|
+
type PericiaCompletaDto = {
|
|
800
|
+
id: number;
|
|
801
|
+
atributo: AtributoSemPericiasDto;
|
|
802
|
+
linhaEfeito: LinhaEfeitoCompletaDto;
|
|
803
|
+
nome: string;
|
|
804
|
+
descricao: string;
|
|
805
|
+
nomeAbreviado: string;
|
|
806
|
+
};
|
|
807
|
+
type ProficienciaCompletaDto = {
|
|
808
|
+
id: number;
|
|
809
|
+
tipoProficiencia: TipoProficienciaCompletaDto;
|
|
810
|
+
nivelProficiencia: NivelProficienciaCompletaDto;
|
|
811
|
+
nome: string;
|
|
812
|
+
};
|
|
813
|
+
type TipoAlvoCompletaDto = {
|
|
814
|
+
id: number;
|
|
815
|
+
nome: string;
|
|
816
|
+
};
|
|
817
|
+
type TipoCategoriaCompletaDto = {
|
|
818
|
+
id: number;
|
|
819
|
+
valor: number;
|
|
820
|
+
nome: string;
|
|
821
|
+
};
|
|
822
|
+
type TipoDanoSemPaiDto = {
|
|
823
|
+
id: number;
|
|
824
|
+
linhaEfeito: LinhaEfeitoCompletaDto;
|
|
825
|
+
nome: string;
|
|
826
|
+
};
|
|
827
|
+
type TipoDanoCompletaDto = {
|
|
828
|
+
id: number;
|
|
829
|
+
linhaEfeito: LinhaEfeitoCompletaDto;
|
|
830
|
+
tipoDanoPertencente: TipoDanoSemPaiDto | null;
|
|
831
|
+
nome: string;
|
|
832
|
+
};
|
|
833
|
+
type TipoEfeitoCompletaDto = {
|
|
834
|
+
id: number;
|
|
835
|
+
nome: string;
|
|
836
|
+
nomeVisualizacao: string;
|
|
837
|
+
};
|
|
838
|
+
type TipoItemCompletaDto = {
|
|
839
|
+
id: number;
|
|
840
|
+
nome: string;
|
|
841
|
+
};
|
|
842
|
+
type TipoProficienciaCompletaDto = {
|
|
843
|
+
id: number;
|
|
844
|
+
nome: string;
|
|
845
|
+
};
|
|
846
|
+
type LinkCompletaDto = {
|
|
847
|
+
id: number;
|
|
848
|
+
tipoLink: TipoLinkCompletaDto;
|
|
849
|
+
sufixo: string;
|
|
850
|
+
descricao: string;
|
|
851
|
+
dataCriacao: Date;
|
|
852
|
+
urlCompleta: string | null;
|
|
853
|
+
};
|
|
854
|
+
type TipoLinkCompletaDto = {
|
|
855
|
+
id: number;
|
|
856
|
+
nome: string;
|
|
857
|
+
prefixo: string;
|
|
858
|
+
};
|
|
859
|
+
type DificuldadeSessaoCompletaDto = {
|
|
860
|
+
id: number;
|
|
861
|
+
descricao: string;
|
|
862
|
+
};
|
|
863
|
+
type EstiloSessaoMestradaDto = {
|
|
864
|
+
id: number;
|
|
865
|
+
descricao: string;
|
|
866
|
+
ehSessaoUnica: boolean;
|
|
867
|
+
};
|
|
868
|
+
type TipoSessaoDto = {
|
|
869
|
+
id: number;
|
|
870
|
+
descricao: string;
|
|
871
|
+
};
|
|
872
|
+
type PasseCompletoDto = {
|
|
873
|
+
id: number;
|
|
874
|
+
codigoInterno: string;
|
|
875
|
+
nome: string;
|
|
876
|
+
descricao: string | null;
|
|
877
|
+
ativo: boolean;
|
|
878
|
+
dataCriacao: Date;
|
|
879
|
+
};
|
|
880
|
+
type PasseEmUsuarioDto = {
|
|
881
|
+
passe: PasseCompletoDto;
|
|
882
|
+
dataUltimaRenovacao: Date | null;
|
|
883
|
+
dataValidade: Date | null;
|
|
884
|
+
};
|
|
885
|
+
type RenovacaoPasseDto = {};
|
|
886
|
+
type VinculoProdutoPasseDto = {};
|
|
887
|
+
type PerfilAdminCompletaDto = {
|
|
888
|
+
id: number;
|
|
889
|
+
nome: string;
|
|
890
|
+
descricao: string;
|
|
891
|
+
};
|
|
892
|
+
type PerfilJogadorCompletaDto = {
|
|
893
|
+
id: number;
|
|
894
|
+
nome: string;
|
|
895
|
+
descricao: string;
|
|
896
|
+
};
|
|
897
|
+
type PerfilMestreCompletaDto = {
|
|
898
|
+
id: number;
|
|
899
|
+
nome: string;
|
|
900
|
+
descricao: string;
|
|
901
|
+
};
|
|
902
|
+
type AvatarPersonagemDto = {
|
|
903
|
+
idChaveNovoAvatar: number;
|
|
904
|
+
descricao: string;
|
|
905
|
+
caminhoArquivo: CaminhoArquivoAvatar | null;
|
|
906
|
+
dataMomentoCanonico: Date | null;
|
|
907
|
+
avatarEstaConfigurado: boolean;
|
|
908
|
+
};
|
|
909
|
+
type FichaPersonagemSemFichaDto = {
|
|
910
|
+
fkPersonagensId: number;
|
|
911
|
+
fkNiveisId: number;
|
|
912
|
+
personagem: PersonagemCompletaDto;
|
|
913
|
+
nivel: NivelDto;
|
|
914
|
+
};
|
|
915
|
+
type FichaPersonagemSemPersonagemDto = {
|
|
916
|
+
fkPersonagensId: number;
|
|
917
|
+
fkNiveisId: number;
|
|
918
|
+
nivel: NivelDto;
|
|
919
|
+
ficha: FichaCompletaDto;
|
|
920
|
+
};
|
|
921
|
+
type FichaPersonagemCompletaDto = {
|
|
922
|
+
fkPersonagensId: number;
|
|
923
|
+
fkNiveisId: number;
|
|
924
|
+
personagem: PersonagemCompletaDto;
|
|
925
|
+
nivel: NivelDto;
|
|
926
|
+
ficha: FichaCompletaDto;
|
|
927
|
+
};
|
|
928
|
+
type InformacaoPersonagemSemPersonagemDto = {
|
|
929
|
+
fkPersonagensId: number;
|
|
930
|
+
nome: string;
|
|
931
|
+
anoNascimento: number;
|
|
932
|
+
};
|
|
933
|
+
type InformacaoPersonagemCompletaDto = {
|
|
934
|
+
fkPersonagensId: number;
|
|
935
|
+
personagem: PersonagemCompletaDto;
|
|
936
|
+
nome: string;
|
|
937
|
+
anoNascimento: number;
|
|
938
|
+
};
|
|
939
|
+
type PersonagemCompletaDto = {
|
|
940
|
+
id: number;
|
|
941
|
+
tipoPersonagem: TipoPersonagemCompletaDto;
|
|
942
|
+
nivelVigente: NivelDto | null;
|
|
943
|
+
usuario: UsuarioCompletaDto;
|
|
944
|
+
imagemAvatar: ImagemCompletaDto | null;
|
|
945
|
+
informacao: InformacaoPersonagemSemPersonagemDto;
|
|
946
|
+
gruposAventuraPersonagem: GrupoAventuraPersonagemSemPersonagemDto[] | null;
|
|
947
|
+
resumosPersonagemAventura: ResumoPersonagemAventuraCompletaDto[] | null;
|
|
948
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
949
|
+
temCriacaoPendente: boolean;
|
|
950
|
+
temEvolucaoPendente: boolean;
|
|
951
|
+
pendencias: ObjetoPendeciaPersonagem;
|
|
952
|
+
ultimoGrupoParticipado: GrupoAventuraPersonagemSemPersonagemDto | null;
|
|
953
|
+
indexEstadoOcupacaoAtual: EstadoOcupacaoPersonagem;
|
|
954
|
+
mensagemEstadoOcupacao: string;
|
|
955
|
+
tempoProximaSessaoPersonagem: string;
|
|
956
|
+
};
|
|
957
|
+
type PersonagemSalaJogoDto = Pick<PersonagemCompletaDto, 'id' | 'usuario' | 'informacao' | 'avatarAtual'>;
|
|
958
|
+
type PersonagemExibicaoDto = {
|
|
959
|
+
id: number;
|
|
960
|
+
nome: string;
|
|
961
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
962
|
+
};
|
|
963
|
+
type VIEW_LISTAGEM_GerenciamentoAvataresPersonagemDto = {
|
|
964
|
+
id: number;
|
|
965
|
+
nome: string;
|
|
966
|
+
tipoPersonagem: TipoPersonagemKey;
|
|
967
|
+
avatares: AvatarPersonagemDto[];
|
|
968
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
969
|
+
};
|
|
970
|
+
type PersonagemAvatarDto = {
|
|
971
|
+
idPersonagem: number;
|
|
972
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
973
|
+
};
|
|
974
|
+
type PersonagemVisualizacaoDetalhadaDto = {
|
|
975
|
+
id: number;
|
|
976
|
+
nome: string;
|
|
977
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
978
|
+
tipoPersonagem: TipoPersonagemKey;
|
|
979
|
+
classe: ClasseDto | null;
|
|
980
|
+
nivel: NivelDto | null;
|
|
981
|
+
usuario: UsuarioVisualizacaoSimplesDto;
|
|
982
|
+
idFichaVigente: number | null;
|
|
983
|
+
};
|
|
984
|
+
type ResumoPersonagemAventuraSemPersonagemDto = {
|
|
985
|
+
fkPersonagensId: number;
|
|
986
|
+
fkAventurasId: number;
|
|
987
|
+
aventura: AventuraCompletaDto;
|
|
988
|
+
texto: string;
|
|
989
|
+
};
|
|
990
|
+
type ResumoPersonagemAventuraCompletaDto = {
|
|
991
|
+
fkPersonagensId: number;
|
|
992
|
+
fkAventurasId: number;
|
|
993
|
+
personagem: PersonagemCompletaDto;
|
|
994
|
+
aventura: AventuraCompletaDto;
|
|
995
|
+
texto: string;
|
|
996
|
+
};
|
|
997
|
+
type TipoPersonagemCompletaDto = {
|
|
998
|
+
id: number;
|
|
999
|
+
nome: string;
|
|
1000
|
+
descricao: string;
|
|
1001
|
+
};
|
|
1002
|
+
type DetalheRascunhoAventuraCompletaDto = {
|
|
1003
|
+
fkRascunhoId: number;
|
|
1004
|
+
descricao: Record<string, any>;
|
|
1005
|
+
dataAtualizacao: Date;
|
|
1006
|
+
};
|
|
1007
|
+
type PAYLOAD_DetalheRascunhoAventuraEdicaoDto = Pick<DetalheRascunhoAventuraCompletaDto, 'fkRascunhoId' | 'descricao'>;
|
|
1008
|
+
type DetalheRascunhoSessaoUnicaCanonicaCompletaDto = {
|
|
1009
|
+
fkRascunhoId: number;
|
|
1010
|
+
tipoSessao: TipoSessaoDto;
|
|
1011
|
+
dificuldadeSessao: DificuldadeSessaoCompletaDto;
|
|
1012
|
+
sessaoUnica: DetalheSessaoUnicaCompletaDto | null;
|
|
1013
|
+
descricao: Record<string, any>;
|
|
1014
|
+
dataAtualizacao: Date;
|
|
1015
|
+
};
|
|
1016
|
+
type PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto = Pick<DetalheRascunhoSessaoUnicaCanonicaCompletaDto, 'fkRascunhoId' | 'tipoSessao' | 'dificuldadeSessao' | 'descricao'>;
|
|
1017
|
+
type DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto = {
|
|
1018
|
+
fkRascunhoId: number;
|
|
1019
|
+
tipoSessao: TipoSessaoDto;
|
|
1020
|
+
dificuldadeSessao: DificuldadeSessaoCompletaDto;
|
|
1021
|
+
sessoesUnicas: DetalheSessaoUnicaCompletaDto[];
|
|
1022
|
+
nivelPersonagem: NivelDto;
|
|
1023
|
+
numeroMinimoJogadores: number;
|
|
1024
|
+
numeroMaximoJogadores: number | null;
|
|
1025
|
+
descricao: Record<string, any>;
|
|
1026
|
+
dataAtualizacao: Date;
|
|
1027
|
+
};
|
|
1028
|
+
type PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto = Pick<DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto, 'fkRascunhoId' | 'tipoSessao' | 'dificuldadeSessao' | 'nivelPersonagem' | 'numeroMinimoJogadores' | 'numeroMaximoJogadores' | 'descricao'>;
|
|
1029
|
+
type RascunhoCompletaDto = RascunhoAventuraCompletaDto | RascunhoSessaoUnicaCanonicaCompletaDto | RascunhoSessaoUnicaNaoCanonicaCompletaDto;
|
|
1030
|
+
type RascunhoCompletaDto__Base = {
|
|
1031
|
+
id: number;
|
|
1032
|
+
usuario: UsuarioCompletaDto;
|
|
1033
|
+
titulo: string;
|
|
1034
|
+
dataCriacao: Date;
|
|
1035
|
+
possuiDetalhesConfigurados: boolean;
|
|
1036
|
+
detalheUtilizacaoRascunho: DetalheUtilizacaoRascunho;
|
|
1037
|
+
};
|
|
1038
|
+
type RascunhoCompletaDto__Tipo = RascunhoCompletaDto__TipoAventura | RascunhoCompletaDto__TipoSessaoUnicaCanonica | RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica;
|
|
1039
|
+
type RascunhoCompletaDto__TipoAventura = {
|
|
1040
|
+
idEstiloSessaoMestrada: 1;
|
|
1041
|
+
estiloSessaoMestrada: typeof ESTILOS_SESSAO_MESTRADA.AVENTURA;
|
|
1042
|
+
detalheRascunho: DetalheRascunhoAventuraCompletaDto | null;
|
|
1043
|
+
};
|
|
1044
|
+
type RascunhoCompletaDto__TipoSessaoUnicaCanonica = {
|
|
1045
|
+
idEstiloSessaoMestrada: 2;
|
|
1046
|
+
estiloSessaoMestrada: typeof ESTILOS_SESSAO_MESTRADA.SESSAO_UNICA_CANONICA;
|
|
1047
|
+
detalheRascunho: DetalheRascunhoSessaoUnicaCanonicaCompletaDto | null;
|
|
1048
|
+
};
|
|
1049
|
+
type RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica = {
|
|
1050
|
+
idEstiloSessaoMestrada: 3;
|
|
1051
|
+
estiloSessaoMestrada: typeof ESTILOS_SESSAO_MESTRADA.SESSAO_UNICA_NAO_CANONICA;
|
|
1052
|
+
detalheRascunho: DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto | null;
|
|
1053
|
+
};
|
|
1054
|
+
type RascunhoAventuraCompletaDto = RascunhoCompletaDto__Base & RascunhoCompletaDto__TipoAventura;
|
|
1055
|
+
type RascunhoSessaoUnicaCanonicaCompletaDto = RascunhoCompletaDto__Base & RascunhoCompletaDto__TipoSessaoUnicaCanonica;
|
|
1056
|
+
type RascunhoSessaoUnicaNaoCanonicaCompletaDto = RascunhoCompletaDto__Base & RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica;
|
|
1057
|
+
type PAYLOAD_DetalheRascunhoEdicaoDto = PAYLOAD_DetalheRascunhoAventuraEdicaoDto | PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto | PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto;
|
|
1058
|
+
type EstudoCompletaDto = {
|
|
1059
|
+
id: number;
|
|
1060
|
+
nome: string;
|
|
1061
|
+
};
|
|
1062
|
+
type FichaSerCompletaDto = {
|
|
1063
|
+
id: number;
|
|
1064
|
+
fkSeresId: number;
|
|
1065
|
+
ser: SerCompletaDto;
|
|
1066
|
+
ficha: FichaCompletaDto;
|
|
1067
|
+
};
|
|
1068
|
+
type FichaSerSemSerDto = {
|
|
1069
|
+
id: number;
|
|
1070
|
+
fkSeresId: number;
|
|
1071
|
+
ficha: FichaCompletaDto;
|
|
1072
|
+
};
|
|
1073
|
+
type FichaSerSemFichaDto = {
|
|
1074
|
+
id: number;
|
|
1075
|
+
fkSeresId: number;
|
|
1076
|
+
ser: SerCompletaDto;
|
|
1077
|
+
};
|
|
1078
|
+
type SerCompletaDto = {
|
|
1079
|
+
id: number;
|
|
1080
|
+
fichaSer: FichaSerCompletaDto;
|
|
1081
|
+
};
|
|
1082
|
+
type RegistroSessaoCompletaDto = {
|
|
1083
|
+
id: number;
|
|
1084
|
+
sessao: SessaoCompletaDto;
|
|
1085
|
+
tempoDoInicio: string;
|
|
1086
|
+
tempoDeDuracao: string;
|
|
1087
|
+
descricao: string;
|
|
1088
|
+
};
|
|
1089
|
+
type SessaoCompletaDto = {
|
|
1090
|
+
id: number;
|
|
1091
|
+
dataCriacao: Date;
|
|
1092
|
+
dataPrevisaoInicio: Date;
|
|
1093
|
+
dataInicio: Date | null;
|
|
1094
|
+
duracaoEmSegundos: number | null;
|
|
1095
|
+
dataQueEncerrou: Date | null;
|
|
1096
|
+
estadoAtual: EstadoSessao;
|
|
1097
|
+
detalheData: string;
|
|
1098
|
+
tipo: TipoSessao;
|
|
1099
|
+
tipoPorExtenso: string;
|
|
1100
|
+
usuarioMestre: UsuarioSemPersonagensDto;
|
|
1101
|
+
tituloInteligente: TituloSessaoInteligente;
|
|
1102
|
+
dadosArteCapa: DadosArteCapa;
|
|
1103
|
+
participantes: ParticipanteSessaoDto[];
|
|
1104
|
+
};
|
|
1105
|
+
type SessaoEmVisualizacaoDto = {
|
|
1106
|
+
id: number;
|
|
1107
|
+
dataCriacao: Date;
|
|
1108
|
+
dataPrevisaoInicio: Date;
|
|
1109
|
+
dataInicio: Date | null;
|
|
1110
|
+
duracaoEmSegundos: number | null;
|
|
1111
|
+
dataQueEncerrou: Date | null;
|
|
1112
|
+
estadoAtual: EstadoSessao;
|
|
1113
|
+
detalheData: string;
|
|
1114
|
+
tipo: TipoSessao;
|
|
1115
|
+
tipoPorExtenso: string;
|
|
1116
|
+
usuarioMestre: UsuarioSemPersonagensDto;
|
|
1117
|
+
tituloInteligente: TituloSessaoInteligente;
|
|
1118
|
+
dadosArteCapa: DadosArteCapa;
|
|
1119
|
+
};
|
|
1120
|
+
type VIEW_SessaoDeJogadorDto = VIEW_SessaoDeJogadorDto__Base & VIEW_SessaoDeJogadorDto__Tipo;
|
|
1121
|
+
type VIEW_SessaoDeJogadorDto__Base = {
|
|
1122
|
+
id: number;
|
|
1123
|
+
dadosArteCapa: DadosArteCapa;
|
|
1124
|
+
tituloInteligente: TituloSessaoInteligente;
|
|
1125
|
+
dataPrevisaoInicio: Date;
|
|
1126
|
+
jogadorSessao: JogadorSessaoDto;
|
|
1127
|
+
};
|
|
1128
|
+
type VIEW_SessaoDeJogadorDto__Tipo = {
|
|
1129
|
+
tipoSessao: TipoSessao.AVENTURA;
|
|
1130
|
+
} | {
|
|
1131
|
+
tipoSessao: TipoSessao.SESSAO_UNICA_CANONICA | TipoSessao.SESSAO_UNICA_NAO_CANONICA;
|
|
1132
|
+
rascunhoSessaoUnica: RascunhoCompletaDto | null;
|
|
1133
|
+
};
|
|
1134
|
+
type VIEW_SessaoListagemGeralDto = {
|
|
1135
|
+
id: number;
|
|
1136
|
+
dataCriacao: Date;
|
|
1137
|
+
detalheData: string;
|
|
1138
|
+
tipoPorExtenso: string;
|
|
1139
|
+
usernameUsuarioMestre: string;
|
|
1140
|
+
tituloSessao: string;
|
|
1141
|
+
};
|
|
1142
|
+
type VIEW_SessaoComParticipantesDto = {
|
|
1143
|
+
id: number;
|
|
1144
|
+
tituloSessao: string;
|
|
1145
|
+
tipo: TipoSessao;
|
|
1146
|
+
tipoPorExtenso: string;
|
|
1147
|
+
dataPrevisaoInicio: Date;
|
|
1148
|
+
dadosArteCapa: DadosArteCapa;
|
|
1149
|
+
usuarioMestre: UsuarioSemPersonagensDto;
|
|
1150
|
+
participantes: ParticipanteSessaoDto[];
|
|
1151
|
+
};
|
|
1152
|
+
type VIEW_SessaoDeAventura = {
|
|
1153
|
+
id: number;
|
|
1154
|
+
dataCriacao: Date;
|
|
1155
|
+
dataPrevisaoInicio: Date;
|
|
1156
|
+
dataInicio: Date | null;
|
|
1157
|
+
duracaoEmSegundos: number | null;
|
|
1158
|
+
dataQueEncerrou: Date | null;
|
|
1159
|
+
estadoAtual: EstadoSessao;
|
|
1160
|
+
detalheData: string;
|
|
1161
|
+
linkSessaoYoutube: string | null;
|
|
1162
|
+
linkSessaoSpotify: string | null;
|
|
1163
|
+
};
|
|
1164
|
+
declare enum TipoSessao {
|
|
1165
|
+
AVENTURA = "AVENTURA",
|
|
1166
|
+
SESSAO_UNICA_CANONICA = "SESSAO_UNICA_CANONICA",
|
|
1167
|
+
SESSAO_UNICA_NAO_CANONICA = "SESSAO_UNICA_NAO_CANONICA"
|
|
1168
|
+
}
|
|
1169
|
+
declare const TIPO_SESSAO_LABEL: Record<TipoSessao, string>;
|
|
1170
|
+
type DadosCriacaoSessao = {
|
|
1171
|
+
dadosParticipantes: DadosCriacaoSessao_Participante[];
|
|
1172
|
+
idRascunho: number | null;
|
|
1173
|
+
dadosDataParaSessao: DadosDataParaSessao;
|
|
1174
|
+
canonica: boolean;
|
|
1175
|
+
};
|
|
1176
|
+
type DadosCriacaoSessao_Participante = {
|
|
1177
|
+
idUsuarioParticipante: number;
|
|
1178
|
+
} & ({
|
|
1179
|
+
tipoParticipante: 'PERSONAGEM';
|
|
1180
|
+
idPersonagem: number;
|
|
1181
|
+
} | {
|
|
1182
|
+
tipoParticipante: 'FICHA';
|
|
1183
|
+
});
|
|
1184
|
+
declare class AuthSession {
|
|
1185
|
+
expiredAt: number;
|
|
1186
|
+
id: string;
|
|
1187
|
+
destroyedAt?: Date | undefined;
|
|
1188
|
+
json: string;
|
|
1189
|
+
constructor(expiredAt: number, id: string, json: string, destroyedAt?: Date | undefined);
|
|
1190
|
+
}
|
|
1191
|
+
type CustomizacaoUsuarioSemUsuarioDto = {
|
|
1192
|
+
fkUsuariosId: number;
|
|
1193
|
+
personagemAvatarPrincipal: PersonagemAvatarDto | null;
|
|
1194
|
+
conquistaExibirPerfil1: ConquistaCompletaDto | null;
|
|
1195
|
+
conquistaExibirPerfil2: ConquistaCompletaDto | null;
|
|
1196
|
+
conquistaExibirPerfil3: ConquistaCompletaDto | null;
|
|
1197
|
+
caminhoArquivoAvatar: CaminhoArquivoAvatar;
|
|
1198
|
+
};
|
|
1199
|
+
type CustomizacaoUsuarioCompletaDto = {
|
|
1200
|
+
fkUsuariosId: number;
|
|
1201
|
+
usuario: UsuarioCompletaDto;
|
|
1202
|
+
personagemAvatarPrincipal: PersonagemAvatarDto | null;
|
|
1203
|
+
conquistaExibirPerfil1: ConquistaCompletaDto | null;
|
|
1204
|
+
conquistaExibirPerfil2: ConquistaCompletaDto | null;
|
|
1205
|
+
conquistaExibirPerfil3: ConquistaCompletaDto | null;
|
|
1206
|
+
caminhoArquivoAvatar: CaminhoArquivoAvatar;
|
|
1207
|
+
};
|
|
1208
|
+
type CustomizacaoUsuarioVisualizacaoDto = {
|
|
1209
|
+
caminhoArquivoAvatar: CaminhoArquivoAvatar;
|
|
1210
|
+
};
|
|
1211
|
+
type DisponibilidadeUsuarioCompletaDto = {
|
|
1212
|
+
fkUsuariosId: number;
|
|
1213
|
+
usuario: UsuarioCompletaDto;
|
|
1214
|
+
tipoFrequencia: TipoFrequenciaCompletaDto;
|
|
1215
|
+
disponibilidades: ListaDisponibilidadesUsuario;
|
|
1216
|
+
dataAtualizacao: Date;
|
|
1217
|
+
dataValidade: Date;
|
|
1218
|
+
estaValido: boolean;
|
|
1219
|
+
};
|
|
1220
|
+
type ListaDisponibilidadesUsuario = DisponibilidadesDDS[];
|
|
1221
|
+
interface DisponibilidadesDDS {
|
|
1222
|
+
dds: DiaDaSemana;
|
|
1223
|
+
disponibilidades: JanelaDisponibilidade[];
|
|
1224
|
+
}
|
|
1225
|
+
interface JanelaDisponibilidade {
|
|
1226
|
+
horaInicio: MomentoFormatado24;
|
|
1227
|
+
horaFim: MomentoFormatado24;
|
|
1228
|
+
}
|
|
1229
|
+
type GithubUsuarioSemUsuarioDto = {
|
|
1230
|
+
fkUsuarioId: number;
|
|
1231
|
+
githubId: string;
|
|
1232
|
+
};
|
|
1233
|
+
type GithubUsuarioCompletaDto = {
|
|
1234
|
+
fkUsuarioId: number;
|
|
1235
|
+
usuario: UsuarioCompletaDto;
|
|
1236
|
+
githubId: string;
|
|
1237
|
+
};
|
|
1238
|
+
type UsuarioCompletaDto = {
|
|
1239
|
+
id: number;
|
|
1240
|
+
perfilJogador: PerfilJogadorCompletaDto;
|
|
1241
|
+
perfilMestre: PerfilMestreCompletaDto;
|
|
1242
|
+
perfilAdmin: PerfilAdminCompletaDto;
|
|
1243
|
+
permissoes: PermissoesUsuarioCompletaDto[];
|
|
1244
|
+
customizacao: CustomizacaoUsuarioCompletaDto;
|
|
1245
|
+
personagens: PersonagemCompletaDto[] | null;
|
|
1246
|
+
githubUsuario: GithubUsuarioSemUsuarioDto | null;
|
|
1247
|
+
username: string;
|
|
1248
|
+
email: string | null;
|
|
1249
|
+
discordId: string;
|
|
1250
|
+
githubId: string | null;
|
|
1251
|
+
dataCriacao: Date;
|
|
1252
|
+
listaCargos: CargosUsuario;
|
|
1253
|
+
};
|
|
1254
|
+
type UsuarioSemPersonagensDto = {
|
|
1255
|
+
id: number;
|
|
1256
|
+
perfilJogador: PerfilJogadorCompletaDto;
|
|
1257
|
+
perfilMestre: PerfilMestreCompletaDto;
|
|
1258
|
+
perfilAdmin: PerfilAdminCompletaDto;
|
|
1259
|
+
permissoes: PermissoesUsuarioCompletaDto[];
|
|
1260
|
+
customizacao: CustomizacaoUsuarioCompletaDto;
|
|
1261
|
+
githubUsuario: GithubUsuarioSemUsuarioDto | null;
|
|
1262
|
+
username: string;
|
|
1263
|
+
email: string | null;
|
|
1264
|
+
discordId: string;
|
|
1265
|
+
githubId: string | null;
|
|
1266
|
+
dataCriacao: Date;
|
|
1267
|
+
listaCargos: CargosUsuario;
|
|
1268
|
+
};
|
|
1269
|
+
type UsuarioParaObjetoAutenticacaoDto = {
|
|
1270
|
+
id: number;
|
|
1271
|
+
username: string;
|
|
1272
|
+
personagens: PersonagemAvatarDto[];
|
|
1273
|
+
customizacao: CustomizacaoUsuarioSemUsuarioDto;
|
|
1274
|
+
permissoes: PermissoesUsuarioCompletaDto[];
|
|
1275
|
+
passes: PasseEmUsuarioDto[];
|
|
1276
|
+
};
|
|
1277
|
+
type UsuarioVisualizacaoSimplesDto = {
|
|
1278
|
+
id: number;
|
|
1279
|
+
username: string;
|
|
1280
|
+
};
|
|
1281
|
+
declare class TesteGraphqlSessaoDto {
|
|
1282
|
+
id: number;
|
|
1283
|
+
tituloSessao: string;
|
|
1284
|
+
}
|
|
1285
|
+
type LayoutContextualizadoInicial = {
|
|
1286
|
+
readonly titulo?: string | null;
|
|
1287
|
+
readonly escondeFundo?: boolean;
|
|
1288
|
+
readonly proporcaoConteudo?: number;
|
|
1289
|
+
readonly esconderMenu?: boolean;
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* Estrutura persistida da ficha.
|
|
1293
|
+
* Representa exatamente o JSON salvo em banco e funciona como a fonte de verdade serializada da ficha.
|
|
1294
|
+
* Não deve carregar dados enriquecidos, estado de jogo ou responsabilidades de renderização.
|
|
1295
|
+
*/
|
|
1296
|
+
type J_FichaPersistida = {
|
|
1297
|
+
atributos: {
|
|
1298
|
+
id: number;
|
|
1299
|
+
valor: number;
|
|
1300
|
+
}[];
|
|
1301
|
+
pericias: {
|
|
1302
|
+
id: number;
|
|
1303
|
+
idPatente: number;
|
|
1304
|
+
}[];
|
|
1305
|
+
estatisticasDanificaveis: {
|
|
1306
|
+
id: number;
|
|
1307
|
+
valorMaximo: number;
|
|
1308
|
+
}[];
|
|
1309
|
+
classe: {
|
|
1310
|
+
id: number;
|
|
1311
|
+
};
|
|
1312
|
+
detalhe: DetalheFicha;
|
|
1313
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* Estrutura base da ficha dentro da Sala de Jogo.
|
|
1317
|
+
* Representa a ficha carregada na sala como fonte de verdade imutável durante a sessão.
|
|
1318
|
+
* Não deve conter dados de vínculo, origem anterior, estado mutável ou dados enriquecidos de lógica.
|
|
1319
|
+
*/
|
|
1320
|
+
type SalaDeJogo_FichaBase = {
|
|
1321
|
+
fichaPersistida: J_FichaPersistida;
|
|
1322
|
+
};
|
|
1323
|
+
/**
|
|
1324
|
+
* Snapshot serializável e enxuto da ficha em jogo.
|
|
1325
|
+
* É o payload recorrente enviado pelo backend ao frontend com o estado atual da ficha,
|
|
1326
|
+
* contendo apenas os dados dinâmicos necessários para tradução e renderização.
|
|
1327
|
+
* Não deve repetir metadados estáveis ou objetos ricos de catálogo a cada atualização.
|
|
1328
|
+
*/
|
|
1329
|
+
type J_DadosFichaEmJogo = {
|
|
1330
|
+
atributos: {
|
|
1331
|
+
id: number;
|
|
1332
|
+
valor: number;
|
|
1333
|
+
valorTotal: number;
|
|
1334
|
+
detalhesValor: string[];
|
|
1335
|
+
}[];
|
|
1336
|
+
pericias: {
|
|
1337
|
+
id: number;
|
|
1338
|
+
idPatente: number;
|
|
1339
|
+
valorEfeito: number;
|
|
1340
|
+
valorTotal: number;
|
|
1341
|
+
detalhesValor: string[];
|
|
1342
|
+
}[];
|
|
1343
|
+
estatisticasDanificaveis: {
|
|
1344
|
+
id: number;
|
|
1345
|
+
valorMaximo: number;
|
|
1346
|
+
}[];
|
|
1347
|
+
classe: {
|
|
1348
|
+
id: number;
|
|
1349
|
+
};
|
|
1350
|
+
detalhe: DetalheFicha;
|
|
1351
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* Vínculo fixo da participação jogável dentro da Sala de Jogo.
|
|
1355
|
+
* É armazenado pela sala em uma estrutura indexada por idUsuario, então não precisa repetir o id do usuário internamente.
|
|
1356
|
+
* Representa qual ficha foi carregada para aquela participação e qual é o pai fixo dessa ficha.
|
|
1357
|
+
*/
|
|
1358
|
+
type SalaDeJogo_JogadorEmJogo = {
|
|
1359
|
+
idFicha: number;
|
|
1360
|
+
paiFicha: PaiFichaRef;
|
|
1361
|
+
fichaBase: SalaDeJogo_FichaBase;
|
|
1362
|
+
};
|
|
1363
|
+
type ParticipanteSessaoDto = {
|
|
1364
|
+
usuario: UsuarioVisualizacaoSimplesDto;
|
|
1365
|
+
} & (NarradorSessaoDto | JogadorSessaoDto);
|
|
1366
|
+
type NarradorSessaoDto = {
|
|
1367
|
+
tipoParticipante: ParticipanteSessao_Tipo.NARRADOR;
|
|
1368
|
+
};
|
|
1369
|
+
type JogadorSessaoDto = {
|
|
1370
|
+
tipoParticipante: ParticipanteSessao_Tipo.JOGADOR;
|
|
1371
|
+
} & JogadorSessao__Tipo;
|
|
1372
|
+
type JogadorSessao__Tipo = {
|
|
1373
|
+
tipoVinculoSessaoJogador: TipoVinculoSessaoJogador.FICHA_TEMPORARIA_PENDENTE;
|
|
1374
|
+
} | {
|
|
1375
|
+
tipoVinculoSessaoJogador: TipoVinculoSessaoJogador.PERSONAGEM;
|
|
1376
|
+
personagemDoJogador: PersonagemExibicaoDto;
|
|
1377
|
+
idFicha: number;
|
|
1378
|
+
} | {
|
|
1379
|
+
tipoVinculoSessaoJogador: TipoVinculoSessaoJogador.FICHA_TEMPORARIA;
|
|
1380
|
+
fichaTemporariaDoJogador: FichaTemporariaExibicaoDto;
|
|
1381
|
+
idFicha: number;
|
|
1382
|
+
};
|
|
1383
|
+
declare enum ParticipanteSessao_Tipo {
|
|
1384
|
+
NARRADOR = "Narrador",
|
|
1385
|
+
JOGADOR = "Jogador"
|
|
1386
|
+
}
|
|
1387
|
+
declare enum TipoVinculoSessaoJogador {
|
|
1388
|
+
FICHA_TEMPORARIA_PENDENTE = "FICHA_TEMPORARIA_PENDENTE",
|
|
1389
|
+
PERSONAGEM = "PERSONAGEM",
|
|
1390
|
+
FICHA_TEMPORARIA = "FICHA_TEMPORARIA"
|
|
1391
|
+
}
|
|
1392
|
+
type FichaEmClient = {
|
|
1393
|
+
atributos: AtributoFicha[];
|
|
1394
|
+
pericias: PericiaFicha[];
|
|
1395
|
+
estatisticasDanificaveis: EstatisticaDanificavelFicha[];
|
|
1396
|
+
detalhe: DetalheFicha;
|
|
1397
|
+
classe: ClasseDto;
|
|
1398
|
+
detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
|
|
1399
|
+
};
|
|
1400
|
+
type AtributoFicha = {
|
|
1401
|
+
atributo: AtributoCompletaDto;
|
|
1402
|
+
valor: number;
|
|
1403
|
+
valorTotal: number;
|
|
1404
|
+
detalhesValor: string[];
|
|
1405
|
+
};
|
|
1406
|
+
type PericiaFicha = {
|
|
1407
|
+
pericia: PericiaCompletaDto;
|
|
1408
|
+
patentePericia: PatentePericiaCompletaDto;
|
|
1409
|
+
valorEfeito: number;
|
|
1410
|
+
valorTotal: number;
|
|
1411
|
+
detalhesValor: string[];
|
|
1412
|
+
};
|
|
1413
|
+
type EstatisticaDanificavelFicha = {
|
|
1414
|
+
estatisticaDanificavel: EstatisticaDanificavelCompletaDto;
|
|
1415
|
+
valorMaximo: number;
|
|
1416
|
+
};
|
|
1417
|
+
type DetalheFicha = {
|
|
1418
|
+
valorMaxAtributo: number;
|
|
1419
|
+
pontosDeHabilidadeEspecial: number;
|
|
1420
|
+
pontosDeHabilidadeParanormal: number;
|
|
1421
|
+
pontosDeHabilidadeElemental: number;
|
|
1422
|
+
};
|
|
1423
|
+
type RegistroPericiaLivre = {
|
|
1424
|
+
idPericia: number;
|
|
1425
|
+
idPatente: number;
|
|
1426
|
+
};
|
|
1427
|
+
type DadosGeraisFicha = {
|
|
1428
|
+
nomeVisualizacao: string;
|
|
1429
|
+
tipoParentFicha: PaiFichaTipo;
|
|
1430
|
+
nomeComTipo: string;
|
|
1431
|
+
};
|
|
1432
|
+
type SalaDeJogo_Codigo = `${number}_${string}`;
|
|
1433
|
+
type SalaDeJogoParams = {
|
|
1434
|
+
tipo: "sessao";
|
|
1435
|
+
sessao: SessaoCompletaDto;
|
|
1436
|
+
} | {
|
|
1437
|
+
tipo: "solo";
|
|
1438
|
+
jogadorSolo: UsuarioCompletaDto;
|
|
1439
|
+
};
|
|
1440
|
+
declare enum SalaDeJogo_Tipo {
|
|
1441
|
+
SALA__SOLO = "Sess\u00E3o Solo",
|
|
1442
|
+
SALA__SESSAO_UNICA = "Sess\u00E3o \u00DAnica",
|
|
1443
|
+
SALA__SESSAO_AVENTURA = "Sess\u00E3o Aventura"
|
|
1444
|
+
}
|
|
1445
|
+
declare enum SalaDeJogo_Estado {
|
|
1446
|
+
SALA__EM_ESPERA = "Em Espera",
|
|
1447
|
+
SALA__EM_ANDAMENTO = "Em Andamento"
|
|
1448
|
+
}
|
|
1449
|
+
declare enum SalaDeJogo_TipoMestre {
|
|
1450
|
+
SALA__MESTRADA = "SALA__MESTRADA",
|
|
1451
|
+
SALA__INTELIGENTE = "SALA__INTELIGENTE"
|
|
1452
|
+
}
|
|
1453
|
+
type SalaDeJogo_Mestre = SalaDeJogo_Mestre_Mestrada | SalaDeJogo_Mestre_Inteligente;
|
|
1454
|
+
type SalaDeJogo_Mestre_Mestrada = {
|
|
1455
|
+
tipoMestre: SalaDeJogo_TipoMestre.SALA__MESTRADA;
|
|
1456
|
+
usuario: UsuarioVisualizacaoSimplesDto;
|
|
1457
|
+
};
|
|
1458
|
+
type SalaDeJogo_Mestre_Inteligente = {
|
|
1459
|
+
tipoMestre: SalaDeJogo_TipoMestre.SALA__INTELIGENTE;
|
|
1460
|
+
};
|
|
1461
|
+
declare enum SalaDeJogo_TipoParticipante {
|
|
1462
|
+
NARRADOR = "Narrador",
|
|
1463
|
+
JOGADOR = "Jogador"
|
|
1464
|
+
}
|
|
1465
|
+
type SalaDeJogo_Participante = SalaDeJogo_Participante_Narrador | SalaDeJogo_Participante_Jogador;
|
|
1466
|
+
type SalaDeJogo_Participante_Narrador = {
|
|
1467
|
+
tipo: SalaDeJogo_TipoParticipante.NARRADOR;
|
|
1468
|
+
usuario: UsuarioVisualizacaoSimplesDto;
|
|
1469
|
+
};
|
|
1470
|
+
type SalaDeJogo_Participante_Jogador = {
|
|
1471
|
+
tipo: SalaDeJogo_TipoParticipante.JOGADOR;
|
|
1472
|
+
usuario: UsuarioVisualizacaoSimplesDto;
|
|
1473
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
1474
|
+
nomeEmJogo: string;
|
|
1475
|
+
vinculoParticipante: SalaDeJogo_VinculoParticipante;
|
|
1476
|
+
};
|
|
1477
|
+
type SalaDeJogo_VinculoParticipante = {
|
|
1478
|
+
idPersonagem: number | null;
|
|
1479
|
+
idFicha: number | null;
|
|
1480
|
+
};
|
|
1481
|
+
type SalaDeJogo_FUNC_AtualizaParticipanteParams = {
|
|
1482
|
+
acao: "adicionar";
|
|
1483
|
+
tipo: SalaDeJogo_TipoParticipante;
|
|
1484
|
+
idUsuario: number;
|
|
1485
|
+
} | {
|
|
1486
|
+
acao: "remover";
|
|
1487
|
+
tipo: SalaDeJogo_TipoParticipante;
|
|
1488
|
+
idUsuario: number;
|
|
1489
|
+
};
|
|
1490
|
+
type SalaDeJogoDto = {
|
|
1491
|
+
codigo: SalaDeJogo_Codigo;
|
|
1492
|
+
idSessao: number | null;
|
|
1493
|
+
tipo: SalaDeJogo_Tipo;
|
|
1494
|
+
mestre: SalaDeJogo_Mestre;
|
|
1495
|
+
participantes: readonly SalaDeJogo_Participante[];
|
|
1496
|
+
};
|
|
1497
|
+
type LogicaJogoUsuario_EstouEmJogoDto = {
|
|
1498
|
+
estouEmJogo: boolean;
|
|
1499
|
+
};
|
|
1500
|
+
type LogicaJogoUsuario_ObjetoEmJogoDto = {
|
|
1501
|
+
objetoInicialSala: LogicaJogoUsuario_ObjetoInicialSalaDto;
|
|
1502
|
+
};
|
|
1503
|
+
type ObjetoEmJogoDto = ObjetoEmJogoDto__Narrador | ObjetoEmJogoDto__Jogador;
|
|
1504
|
+
type ObjetoEmJogoDto__Narrador = ObjetoEmJogoDto__Base & {
|
|
1505
|
+
tipoParticipante: SalaDeJogo_TipoParticipante.NARRADOR;
|
|
1506
|
+
listaIdsUsuariosParticipantes: number[];
|
|
1507
|
+
};
|
|
1508
|
+
type ObjetoEmJogoDto__Jogador = ObjetoEmJogoDto__Base & {
|
|
1509
|
+
tipoParticipante: SalaDeJogo_TipoParticipante.JOGADOR;
|
|
1510
|
+
ficha: J_DadosFichaEmJogo | null;
|
|
1511
|
+
};
|
|
1512
|
+
type ObjetoEmJogoDto__Base = {
|
|
1513
|
+
tipoParticipante: SalaDeJogo_TipoParticipante;
|
|
1514
|
+
};
|
|
1515
|
+
type DadosParticipanteJogo = {
|
|
1516
|
+
personagem: PersonagemSalaJogoDto | null;
|
|
1517
|
+
ficha: FichaCompletaDto | null;
|
|
1518
|
+
};
|
|
1519
|
+
type LogicaJogoUsuario_ObjetoInicialSalaDto = LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador | LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador;
|
|
1520
|
+
type LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador = LogicaJogoUsuario_ObjetoInicialSalaDto__Base & {
|
|
1521
|
+
tipoParticipante: SalaDeJogo_TipoParticipante.NARRADOR;
|
|
1522
|
+
participantesDaSessao: VIEW_JogadorDeSessao[];
|
|
1523
|
+
};
|
|
1524
|
+
type LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador = LogicaJogoUsuario_ObjetoInicialSalaDto__Base & {
|
|
1525
|
+
tipoParticipante: SalaDeJogo_TipoParticipante.JOGADOR;
|
|
1526
|
+
idFicha: number;
|
|
1527
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
1528
|
+
};
|
|
1529
|
+
type LogicaJogoUsuario_ObjetoInicialSalaDto__Base = {
|
|
1530
|
+
idSessao: number;
|
|
1531
|
+
tituloSessao: string;
|
|
1532
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
1533
|
+
codigoSalaDeJogo: SalaDeJogo_Codigo;
|
|
1534
|
+
};
|
|
1535
|
+
type VIEW_JogadorDeSessao = {
|
|
1536
|
+
usernameUsuario: string;
|
|
1537
|
+
nomeParticipante: string;
|
|
1538
|
+
avatarAtual: CaminhoArquivoAvatar;
|
|
1539
|
+
};
|
|
1540
|
+
type AcaoDeSessao = AcaoDeSessaoTestePericiaExecutado;
|
|
1541
|
+
type AcaoDeSessaoTestePericiaExecutado = AcaoDeSessaoBase<'teste_pericia_executado', PayloadAcaoTestePericiaExecutado>;
|
|
1542
|
+
type AcaoDeSessaoTipo = 'teste_pericia_executado';
|
|
1543
|
+
interface AcaoDeSessaoBase<TTipoAcao extends AcaoDeSessaoTipo, TPayload> {
|
|
1544
|
+
id: number;
|
|
1545
|
+
idSessao: number;
|
|
1546
|
+
tipoAcao: TTipoAcao;
|
|
1547
|
+
timestampReal: string;
|
|
1548
|
+
segundoDaSessao: number;
|
|
1549
|
+
dataHoraInGame: string | null;
|
|
1550
|
+
origem: OrigemAcaoDeSessao;
|
|
1551
|
+
ator: ReferenciaEntidadeAcaoDeSessao | null;
|
|
1552
|
+
alvos: ReferenciaEntidadeAcaoDeSessao[];
|
|
1553
|
+
contexto: ContextoAcaoDeSessao;
|
|
1554
|
+
payload: TPayload;
|
|
1555
|
+
}
|
|
1556
|
+
type OrigemAcaoDeSessao = OrigemAcaoDeSessaoJogador | OrigemAcaoDeSessaoParticipanteNarrador | OrigemAcaoDeSessaoSistema;
|
|
1557
|
+
interface OrigemAcaoDeSessaoJogador {
|
|
1558
|
+
tipo: 'jogador';
|
|
1559
|
+
idUsuario: number;
|
|
1560
|
+
idParticipanteSessao: number | null;
|
|
1561
|
+
nomeExibicaoNoMomento: string | null;
|
|
1562
|
+
}
|
|
1563
|
+
interface OrigemAcaoDeSessaoParticipanteNarrador {
|
|
1564
|
+
tipo: 'participante_narrador';
|
|
1565
|
+
idUsuario: number;
|
|
1566
|
+
idParticipanteSessao: number;
|
|
1567
|
+
nomeExibicaoNoMomento: string | null;
|
|
1568
|
+
}
|
|
1569
|
+
interface OrigemAcaoDeSessaoSistema {
|
|
1570
|
+
tipo: 'sistema';
|
|
1571
|
+
idRotinaSistema: string | null;
|
|
1572
|
+
descricaoOrigem: string | null;
|
|
1573
|
+
}
|
|
1574
|
+
type ReferenciaEntidadeAcaoDeSessao = ReferenciaFichaAcaoDeSessao | ReferenciaParticipanteSessaoAcaoDeSessao | ReferenciaSistemaAcaoDeSessao;
|
|
1575
|
+
interface ReferenciaFichaAcaoDeSessao {
|
|
1576
|
+
tipo: 'ficha';
|
|
1577
|
+
id: number;
|
|
1578
|
+
nomeExibicaoNoMomento: string;
|
|
1579
|
+
}
|
|
1580
|
+
interface ReferenciaParticipanteSessaoAcaoDeSessao {
|
|
1581
|
+
tipo: 'participante_sessao';
|
|
1582
|
+
id: number;
|
|
1583
|
+
nomeExibicaoNoMomento: string | null;
|
|
1584
|
+
}
|
|
1585
|
+
interface ReferenciaSistemaAcaoDeSessao {
|
|
1586
|
+
tipo: 'sistema';
|
|
1587
|
+
id: string;
|
|
1588
|
+
nomeExibicaoNoMomento: string;
|
|
1589
|
+
}
|
|
1590
|
+
interface ContextoAcaoDeSessao {
|
|
1591
|
+
idAcaoOrigem: number | null;
|
|
1592
|
+
localizacao: ContextoLocalizacaoAcaoDeSessao | null;
|
|
1593
|
+
observacao: ContextoObservacaoAcaoDeSessao | null;
|
|
1594
|
+
tags: string[];
|
|
1595
|
+
}
|
|
1596
|
+
interface ContextoLocalizacaoAcaoDeSessao {
|
|
1597
|
+
tipo: 'sala' | 'cena' | 'area' | 'outro';
|
|
1598
|
+
id: number | string | null;
|
|
1599
|
+
descricaoNoMomento: string | null;
|
|
1600
|
+
}
|
|
1601
|
+
interface ContextoObservacaoAcaoDeSessao {
|
|
1602
|
+
idsParticipantesPresentes: number[];
|
|
1603
|
+
idsUsuariosEspectadores: number[];
|
|
1604
|
+
}
|
|
1605
|
+
type ModoExecucaoTestePericia = 'solicitado_por_jogador' | 'solicitado_por_participante_narrador' | 'autonomo_do_sistema';
|
|
1606
|
+
interface PayloadAcaoTestePericiaExecutado {
|
|
1607
|
+
idPericia: number;
|
|
1608
|
+
nomePericiaAbreviadoNoMomento: string;
|
|
1609
|
+
modoExecucaoTeste: ModoExecucaoTestePericia;
|
|
1610
|
+
resultadoInterno: number;
|
|
1611
|
+
idInstanciaTeste: number | null;
|
|
1612
|
+
detalhesInternos: DetalhesInternosTestePericia | null;
|
|
1613
|
+
}
|
|
1614
|
+
interface DetalhesInternosTestePericia {
|
|
1615
|
+
dificuldadeAlvo: number | null;
|
|
1616
|
+
modificadoresAplicados: number[];
|
|
1617
|
+
observacoesTecnicas: string[];
|
|
1618
|
+
}
|
|
1619
|
+
interface RegistrarAcaoTestePericiaExecutadoInput {
|
|
1620
|
+
idSessao: number;
|
|
1621
|
+
origem: OrigemAcaoDeSessao;
|
|
1622
|
+
ator: ReferenciaEntidadeAcaoDeSessao | null;
|
|
1623
|
+
alvos: ReferenciaEntidadeAcaoDeSessao[];
|
|
1624
|
+
contexto: ContextoAcaoDeSessao;
|
|
1625
|
+
idPericia: number;
|
|
1626
|
+
nomePericiaAbreviadoNoMomento: string;
|
|
1627
|
+
modoExecucaoTeste: ModoExecucaoTestePericia;
|
|
1628
|
+
resultadoInterno: number;
|
|
1629
|
+
idInstanciaTeste: number | null;
|
|
1630
|
+
detalhesInternos: DetalhesInternosTestePericia | null;
|
|
1631
|
+
}
|
|
1632
|
+
type CodigoRecuperarFichaRuntime = `${SalaDeJogo_Codigo}_${number}`;
|
|
1633
|
+
type ObjetoMensagemSalaJogo = {
|
|
1634
|
+
mensagens: MensagemSalaJogo[];
|
|
1635
|
+
};
|
|
1636
|
+
type MensagemSalaJogo = {
|
|
1637
|
+
mensagem: string;
|
|
1638
|
+
subNivel: ObjetoMensagemSalaJogo;
|
|
1639
|
+
};
|
|
1640
|
+
type SalaDeJogo_SessaoDto = {
|
|
1641
|
+
idSessao: number;
|
|
1642
|
+
tipoSessao: TipoSessao;
|
|
1643
|
+
tituloSessao: string;
|
|
1644
|
+
caminhoArquivoArteCapa: CaminhoArquivoArte;
|
|
1645
|
+
usuarioMestre: UsuarioVisualizacaoSimplesDto;
|
|
1646
|
+
jogadores: SalaDeJogo_JogadorDto[];
|
|
1647
|
+
};
|
|
1648
|
+
type SalaDeJogo_JogadorDto = {
|
|
1649
|
+
usuario: UsuarioVisualizacaoSimplesDto;
|
|
1650
|
+
} & JogadorSessao__Tipo;
|
|
1651
|
+
type MenuItemNode = {
|
|
1652
|
+
readonly tipo: 'item';
|
|
1653
|
+
readonly titulo: string;
|
|
1654
|
+
readonly destino: PaginaDestino;
|
|
1655
|
+
};
|
|
1656
|
+
type MenuGrupoNode = {
|
|
1657
|
+
readonly tipo: 'grupo';
|
|
1658
|
+
readonly titulo: string;
|
|
1659
|
+
readonly itens: readonly MenuNode[];
|
|
1660
|
+
};
|
|
1661
|
+
type MenuNode = MenuItemNode | MenuGrupoNode;
|
|
1662
|
+
declare function menuItem(titulo: string, destino: PaginaDestino): MenuItemNode;
|
|
1663
|
+
declare function menuGrupo(titulo: string, itens: readonly MenuNode[]): MenuGrupoNode;
|
|
1664
|
+
type PaginaLike = {
|
|
1665
|
+
readonly template: object;
|
|
1666
|
+
readonly hrefTemplate: string;
|
|
1667
|
+
readonly href: string;
|
|
1668
|
+
readonly label: string;
|
|
1669
|
+
readonly comCabecalho?: true;
|
|
1670
|
+
readonly acesso?: object;
|
|
1671
|
+
readonly acessoPorMenuInterno?: true;
|
|
1672
|
+
readonly layoutContextualizadoInicial?: object;
|
|
1673
|
+
};
|
|
1674
|
+
type ChildKeys<T> = Exclude<keyof T, keyof PaginaLike>;
|
|
1675
|
+
type HasChildren<T> = ChildKeys<T> extends never ? false : true;
|
|
1676
|
+
type MenuInternoChildren<P> = {
|
|
1677
|
+
readonly [K in ChildKeys<P>]?: MenuInternoTree<P[K]>;
|
|
1678
|
+
};
|
|
1679
|
+
type ObjectChildren<P> = {
|
|
1680
|
+
readonly [K in keyof P]?: MenuInternoTree<P[K]>;
|
|
1681
|
+
};
|
|
1682
|
+
type MenuAgrupadorSemPagina<P> = keyof P extends never ? never : ObjectChildren<P> | readonly MenuNode[] | ({
|
|
1683
|
+
readonly menu: readonly MenuNode[];
|
|
1684
|
+
} & ObjectChildren<P>);
|
|
1685
|
+
type MenuInternoTree<P> = P extends PaginaLike ? (HasChildren<P> extends true ? (readonly MenuNode[] | ({
|
|
1686
|
+
readonly menu: readonly MenuNode[];
|
|
1687
|
+
} & MenuInternoChildren<P>)) : readonly MenuNode[]) : P extends Record<string, object | string | number | boolean | null | undefined> ? MenuAgrupadorSemPagina<P> : never;
|
|
1688
|
+
type MenusInternos<P> = {
|
|
1689
|
+
readonly PAGINAS: MenuInternoTree<P>;
|
|
1690
|
+
};
|
|
1691
|
+
type PaginaComLayout = PaginaLike & {
|
|
1692
|
+
readonly layoutContextualizadoInicial: object;
|
|
1693
|
+
};
|
|
1694
|
+
type HasLayout<T> = T extends PaginaComLayout ? true : T extends object ? (true extends {
|
|
1695
|
+
[K in keyof T]-?: HasLayout<T[K]>;
|
|
1696
|
+
}[keyof T] ? true : false) : false;
|
|
1697
|
+
type ChildKeysByHasLayout<T> = {
|
|
1698
|
+
[K in keyof T]-?: HasLayout<T[K]> extends true ? K : never;
|
|
1699
|
+
}[keyof T];
|
|
1700
|
+
type TemFilhos<T> = ChildKeysByHasLayout<T> extends never ? false : true;
|
|
1701
|
+
type FilhosDePagina<T> = Pick<T, ChildKeysByHasLayout<T>>;
|
|
1702
|
+
type MenuLayoutLeaf = readonly MenuNode[] | {
|
|
1703
|
+
readonly tipo: 'vazio';
|
|
1704
|
+
} | {
|
|
1705
|
+
readonly tipo: 'dinamico';
|
|
1706
|
+
};
|
|
1707
|
+
declare function menuVazio(): {
|
|
1708
|
+
readonly tipo: 'vazio';
|
|
1709
|
+
};
|
|
1710
|
+
declare function menuDinamico(): {
|
|
1711
|
+
readonly tipo: 'dinamico';
|
|
1712
|
+
};
|
|
1713
|
+
type MenuLayoutChildren<T> = {
|
|
1714
|
+
readonly [K in keyof T]: MenuLayoutNode<T[K]>;
|
|
1715
|
+
};
|
|
1716
|
+
type MenuLayoutNode<T> = T extends PaginaComLayout ? (TemFilhos<T> extends true ? {
|
|
1717
|
+
readonly menu: MenuLayoutLeaf;
|
|
1718
|
+
} & MenuLayoutChildren<FilhosDePagina<T>> : MenuLayoutLeaf) : T extends object ? (HasLayout<T> extends true ? MenuLayoutChildren<Pick<T, ChildKeysByHasLayout<T>>> : never) : never;
|
|
1719
|
+
type RootMenuLayout<P> = HasLayout<P> extends true ? MenuLayoutNode<P> : {};
|
|
1720
|
+
type MenusInternosLayoutContexto<P> = {
|
|
1721
|
+
readonly PAGINAS: RootMenuLayout<P>;
|
|
1722
|
+
};
|
|
1723
|
+
type Brand<T, B extends string> = T & {
|
|
1724
|
+
readonly __brand: B;
|
|
1725
|
+
};
|
|
1726
|
+
type ParamSingle = string | number;
|
|
1727
|
+
type ParamMany = (string | number)[];
|
|
1728
|
+
type ParamValue = ParamSingle | ParamMany | undefined;
|
|
1729
|
+
type ParamsRecord = Record<string, ParamValue>;
|
|
1730
|
+
type ExtrairParamsDoTemplate<S extends string, Acc extends ParamsRecord = {}> = S extends `${infer _A}[[...${infer P}]]${infer Rest}` ? ExtrairParamsDoTemplate<Rest, Acc & {
|
|
1731
|
+
[K in P]?: ParamMany;
|
|
1732
|
+
}> : S extends `${infer _A}[...${infer P}]${infer Rest}` ? ExtrairParamsDoTemplate<Rest, Acc & {
|
|
1733
|
+
[K in P]: ParamMany;
|
|
1734
|
+
}> : S extends `${infer _A}[${infer P}]${infer Rest}` ? ExtrairParamsDoTemplate<Rest, Acc & {
|
|
1735
|
+
[K in P]: ParamSingle;
|
|
1736
|
+
}> : Acc;
|
|
1737
|
+
type PaginaParamsDoTemplate<T extends string> = ExtrairParamsDoTemplate<T>;
|
|
1738
|
+
type PaginaInfoBase = {
|
|
1739
|
+
readonly label: string;
|
|
1740
|
+
readonly comCabecalho?: true;
|
|
1741
|
+
readonly acesso?: AcessoPagina;
|
|
1742
|
+
readonly acessoPorMenuInterno?: true;
|
|
1743
|
+
};
|
|
1744
|
+
type PaginaInfoComLayoutContextualizado = PaginaInfoBase & {
|
|
1745
|
+
readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
|
|
1746
|
+
};
|
|
1747
|
+
type PaginaInfo = PaginaInfoBase | PaginaInfoComLayoutContextualizado;
|
|
1748
|
+
type PaginaTemplate<T extends string = string> = Brand<T, 'PaginaTemplate'>;
|
|
1749
|
+
type PaginaDef<T extends string, I extends PaginaInfo = PaginaInfo> = I & {
|
|
1750
|
+
readonly template: PaginaTemplate<T>;
|
|
1751
|
+
readonly hrefTemplate: T;
|
|
1752
|
+
readonly href: T;
|
|
1753
|
+
};
|
|
1754
|
+
type PaginaParams<P extends {
|
|
1755
|
+
hrefTemplate: string;
|
|
1756
|
+
}> = PaginaParamsDoTemplate<P['hrefTemplate']>;
|
|
1757
|
+
declare function montarHref(template: string, params: ParamsRecord): string;
|
|
1758
|
+
type LimparUndefinedValue = string | number | boolean | object | null | undefined;
|
|
1759
|
+
type LimparUndefinedRecord = Record<string, LimparUndefinedValue>;
|
|
1760
|
+
declare function limparUndefined<T extends LimparUndefinedRecord>(obj: T): T;
|
|
1761
|
+
declare function pagina<const T extends string>(hrefTemplate: T, info: PaginaInfoBase): PaginaDef<T, PaginaInfoBase>;
|
|
1762
|
+
declare function paginaComLayoutContextualizado<const T extends string>(hrefTemplate: T, info: PaginaInfoBase, layoutContextualizadoInicial: LayoutContextualizadoInicial): PaginaDef<T, PaginaInfoComLayoutContextualizado>;
|
|
1763
|
+
type RequiredKeys<T> = {
|
|
1764
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? never : K;
|
|
1765
|
+
}[keyof T];
|
|
1766
|
+
type ParamsProps<P extends PaginaDef<string>> = keyof PaginaParams<P> extends never ? {
|
|
1767
|
+
params?: never;
|
|
1768
|
+
} : RequiredKeys<PaginaParams<P>> extends never ? {
|
|
1769
|
+
params?: PaginaParams<P>;
|
|
1770
|
+
} : {
|
|
1771
|
+
params: PaginaParams<P>;
|
|
1772
|
+
};
|
|
1773
|
+
declare function toParamsRecord(params: object): ParamsRecord;
|
|
1774
|
+
type EfiPixConfig = {
|
|
1775
|
+
clientId: string;
|
|
1776
|
+
clientSecret: string;
|
|
1777
|
+
pixKey: string;
|
|
1778
|
+
baseUrl: string;
|
|
1779
|
+
certificatePath: string;
|
|
1780
|
+
certificatePassword: string | null;
|
|
1781
|
+
};
|
|
1782
|
+
type EfiCriarCobrancaImediataInput = {
|
|
1783
|
+
txid: string;
|
|
1784
|
+
valorCentavos: number;
|
|
1785
|
+
segundosAteExpirar: number;
|
|
1786
|
+
descricao: string;
|
|
1787
|
+
};
|
|
1788
|
+
type EfiCriarCobrancaImediataOutput = {
|
|
1789
|
+
txid: string;
|
|
1790
|
+
pixCopiaECola: string;
|
|
1791
|
+
location: string | null;
|
|
1792
|
+
revisao: number | null;
|
|
1793
|
+
};
|
|
1794
|
+
type DadosGeracaoPixProdutoDto = {
|
|
1795
|
+
idProduto: number;
|
|
1796
|
+
};
|
|
1797
|
+
type DadosGeracaoPixContribuicaoDto = {
|
|
1798
|
+
idProduto: number;
|
|
1799
|
+
valorCentavos: number;
|
|
1800
|
+
};
|
|
1801
|
+
type PixGeradoDto = {
|
|
1802
|
+
idRegistroPix: number;
|
|
1803
|
+
idProduto: number;
|
|
1804
|
+
nomeProduto: string;
|
|
1805
|
+
valorCentavos: number;
|
|
1806
|
+
codigoPix: string;
|
|
1807
|
+
conteudoCopiaCola: string;
|
|
1808
|
+
dataExpiracao: Date;
|
|
1809
|
+
};
|
|
1810
|
+
type DadosWebhookPixDto = {
|
|
1811
|
+
codigoPix: string;
|
|
1812
|
+
e2eId: string;
|
|
1813
|
+
rawJson: string | null;
|
|
1814
|
+
};
|
|
1815
|
+
type FormatoUploadArquivo = 'png' | 'webp' | 'svg';
|
|
1816
|
+
type DimensoesImagem = {
|
|
1817
|
+
largura: number;
|
|
1818
|
+
altura: number;
|
|
1819
|
+
};
|
|
1820
|
+
type RequireAtLeastOne<T, K extends keyof T> = Omit<T, K> & {
|
|
1821
|
+
[P in K]-?: Required<Pick<T, P>> & Partial<Omit<Pick<T, K>, P>>;
|
|
1822
|
+
}[K];
|
|
1823
|
+
type RegraTamanhoArquivo = RequireAtLeastOne<{
|
|
1824
|
+
minBytes?: number;
|
|
1825
|
+
maxBytes?: number;
|
|
1826
|
+
}, 'minBytes' | 'maxBytes'>;
|
|
1827
|
+
type RegraDimensoesImagem = {
|
|
1828
|
+
modo: 'exato';
|
|
1829
|
+
exato: DimensoesImagem;
|
|
1830
|
+
} | ({
|
|
1831
|
+
modo: 'intervalo';
|
|
1832
|
+
} & RequireAtLeastOne<{
|
|
1833
|
+
min?: DimensoesImagem;
|
|
1834
|
+
max?: DimensoesImagem;
|
|
1835
|
+
}, 'min' | 'max'>);
|
|
1836
|
+
type RegraProporcaoImagem = {
|
|
1837
|
+
largura: number;
|
|
1838
|
+
altura: number;
|
|
1839
|
+
toleranciaPercentual?: number;
|
|
1840
|
+
};
|
|
1841
|
+
type RegrasUploadBase = {
|
|
1842
|
+
formatosPermitidos: FormatoUploadArquivo[];
|
|
1843
|
+
tamanho?: RegraTamanhoArquivo;
|
|
1844
|
+
};
|
|
1845
|
+
type RegrasUploadImagem = RegrasUploadBase & {
|
|
1846
|
+
imagem: {
|
|
1847
|
+
tipoValidacao: 'dimensoes';
|
|
1848
|
+
dimensoes: RegraDimensoesImagem;
|
|
1849
|
+
maxPixels?: number;
|
|
1850
|
+
} | {
|
|
1851
|
+
tipoValidacao: 'proporcao';
|
|
1852
|
+
proporcao: RegraProporcaoImagem;
|
|
1853
|
+
maxPixels?: number;
|
|
1854
|
+
} | {
|
|
1855
|
+
tipoValidacao: 'nenhuma';
|
|
1856
|
+
maxPixels?: number;
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
type RegrasUploadArquivo = RegrasUploadBase | RegrasUploadImagem;
|
|
1860
|
+
type ResultadoSaveFile = {
|
|
1861
|
+
caminhoArquivo: string;
|
|
1862
|
+
tipoMime: string;
|
|
1863
|
+
};
|
|
1864
|
+
interface MensagemChatRecebida {
|
|
1865
|
+
salaId: string;
|
|
1866
|
+
idUsuario: number;
|
|
1867
|
+
conteudo: string;
|
|
1868
|
+
timestamp: number;
|
|
1869
|
+
}
|
|
1870
|
+
interface SalaChat {
|
|
1871
|
+
id: string;
|
|
1872
|
+
leituraPublica: boolean;
|
|
1873
|
+
idUsuariosLeitoresEspecificos?: number[];
|
|
1874
|
+
escritaPublica: boolean;
|
|
1875
|
+
idUsuariosEscritoresEspecificos?: number[];
|
|
1876
|
+
}
|
|
1877
|
+
interface SalaChatFront {
|
|
1878
|
+
id: string;
|
|
1879
|
+
podeEscrever: boolean;
|
|
1880
|
+
mensagensIniciais: MensagemChatRecebida[];
|
|
1881
|
+
}
|
|
1882
|
+
interface MensagemChatPayload {
|
|
1883
|
+
salaId: string;
|
|
1884
|
+
conteudo: string;
|
|
1885
|
+
}
|
|
1886
|
+
type PAYLOAD__executaTestePericia = {
|
|
1887
|
+
codigoRecuperarFichaRuntime: CodigoRecuperarFichaRuntime;
|
|
1888
|
+
idPericia: number;
|
|
1889
|
+
};
|
|
1890
|
+
type PAYLOAD__emitirMensagemSalaJogo = PAYLOAD__emitirMensagemSalaJogo__Escutando | PAYLOAD__emitirMensagemSalaJogo__Enviando;
|
|
1891
|
+
type PAYLOAD__emitirMensagemSalaJogo__Escutando = {
|
|
1892
|
+
escutando: true;
|
|
1893
|
+
};
|
|
1894
|
+
type PAYLOAD__emitirMensagemSalaJogo__Enviando = {
|
|
1895
|
+
mensagemSalaJogo: MensagemSalaJogo;
|
|
1896
|
+
};
|
|
1897
|
+
type PAYLOAD__ExecutaTestePericia_PROTOTIPO = {
|
|
1898
|
+
tipo: 'TESTE_NARRADOR';
|
|
1899
|
+
} | {
|
|
1900
|
+
tipo: 'TESTE_JOGADOR';
|
|
1901
|
+
valorAtributo: number;
|
|
1902
|
+
valorPericia: number;
|
|
1903
|
+
abrevPericia: string;
|
|
1904
|
+
};
|
|
1905
|
+
type PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO = {
|
|
1906
|
+
codigoSala: SalaDeJogo_Codigo;
|
|
1907
|
+
idPericia: number;
|
|
1908
|
+
listaIdsFichas: number[];
|
|
1909
|
+
};
|
|
1910
|
+
type PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO = {
|
|
1911
|
+
idFicha: number;
|
|
1912
|
+
codigoSala: SalaDeJogo_Codigo;
|
|
1913
|
+
idPericia: number;
|
|
1914
|
+
};
|
|
1915
|
+
type PAYLOAD__EmitirFichaEmJogo = {
|
|
1916
|
+
codigoSala: SalaDeJogo_Codigo;
|
|
1917
|
+
idFicha: number;
|
|
1918
|
+
};
|
|
1919
|
+
type SOCKET_AcessoUsuario = {
|
|
1920
|
+
usuario: UsuarioParaObjetoAutenticacaoDto;
|
|
1921
|
+
paginaAtual?: PaginaTemplate | null;
|
|
1922
|
+
dataAtualizacao: Date;
|
|
1923
|
+
};
|
|
1924
|
+
type SOCKET_UsuarioExistente = {
|
|
1925
|
+
id: number;
|
|
1926
|
+
username: string;
|
|
1927
|
+
caminhoArquivoAvatar: CaminhoArquivoAvatar;
|
|
1928
|
+
};
|
|
1929
|
+
type TelemetryConnectionInfo = {
|
|
1930
|
+
socketId: string;
|
|
1931
|
+
username?: string;
|
|
1932
|
+
ip: string;
|
|
1933
|
+
userAgent?: string;
|
|
1934
|
+
connectedAt: number;
|
|
1935
|
+
};
|
|
1936
|
+
type WsEventAudienceUnico<TSocket> = {
|
|
1937
|
+
escopo: 'unico';
|
|
1938
|
+
socket: TSocket;
|
|
1939
|
+
username?: string;
|
|
1940
|
+
};
|
|
1941
|
+
type WsEventAudienceMultiplo = {
|
|
1942
|
+
escopo: 'multiplo';
|
|
1943
|
+
socketsCount: number;
|
|
1944
|
+
};
|
|
1945
|
+
type WsEventAudience<TSocket> = WsEventAudienceUnico<TSocket> | WsEventAudienceMultiplo;
|
|
1946
|
+
type TelemetryEventLog<TPayload extends Record<string, unknown> = Record<string, unknown>> = {
|
|
1947
|
+
direction: 'in' | 'out';
|
|
1948
|
+
event: string;
|
|
1949
|
+
audiencia: WsEventAudience<string>;
|
|
1950
|
+
payload: TPayload;
|
|
1951
|
+
timestamp: number;
|
|
1952
|
+
};
|
|
1953
|
+
type TelemetrySnapshot = {
|
|
1954
|
+
totalConnections: number;
|
|
1955
|
+
totalEvents: number;
|
|
1956
|
+
connections: TelemetryConnectionInfo[];
|
|
1957
|
+
lastEvents: TelemetryEventLog[];
|
|
1958
|
+
serverTime: number;
|
|
1959
|
+
};
|
|
1960
|
+
type WsErrorResponse = {
|
|
1961
|
+
_wsErro: true;
|
|
1962
|
+
mensagem: string;
|
|
1963
|
+
code?: string;
|
|
1964
|
+
detalhes?: unknown;
|
|
1965
|
+
};
|
|
1966
|
+
type WsUnauthorizedErrorResponse = WsErrorResponse & {
|
|
1967
|
+
code: 'UNAUTHORIZED';
|
|
1968
|
+
};
|
|
1969
|
+
type WsResult<T> = T | WsErrorResponse;
|
|
1970
|
+
declare function isWsErrorResponse(payload: unknown): payload is WsErrorResponse;
|
|
1971
|
+
declare function isWsUnauthorizedErrorResponse(payload: unknown): payload is WsUnauthorizedErrorResponse;
|
|
1972
|
+
declare function wsErro(mensagem: string, extra?: {
|
|
1973
|
+
code?: string;
|
|
1974
|
+
detalhes?: unknown;
|
|
1975
|
+
}): WsErrorResponse;
|
|
1976
|
+
declare function wsUnauthorized(mensagem?: string, detalhes?: unknown): WsUnauthorizedErrorResponse;
|
|
1977
|
+
declare function wsMap<T, R>(value: WsResult<T>, mapper: (value: T) => R): WsResult<R>;
|
|
1978
|
+
declare function wsChain<T, R>(value: WsResult<T>, next: (value: T) => WsResult<R>): WsResult<R>;
|
|
1979
|
+
type EventoTipo = 'envia' | 'emite' | 'envia-e-recebe';
|
|
1980
|
+
type EmitDelivery = 'broadcast' | 'perRecipient';
|
|
1981
|
+
type EventoAuthDefault = {
|
|
1982
|
+
autenticacao_necessaria?: false;
|
|
1983
|
+
};
|
|
1984
|
+
type EventoEnvia<P = unknown> = EventoAuthDefault & {
|
|
1985
|
+
tipo: 'envia';
|
|
1986
|
+
payload: P;
|
|
1987
|
+
response?: never;
|
|
1988
|
+
};
|
|
1989
|
+
type EventoEmite<P = unknown, R = unknown> = EventoAuthDefault & {
|
|
1990
|
+
tipo: 'emite';
|
|
1991
|
+
payload: P;
|
|
1992
|
+
response: R;
|
|
1993
|
+
delivery?: EmitDelivery;
|
|
1994
|
+
};
|
|
1995
|
+
type EventoEnviaERecebe<P = unknown, R = unknown> = EventoAuthDefault & {
|
|
1996
|
+
tipo: 'envia-e-recebe';
|
|
1997
|
+
payload: P;
|
|
1998
|
+
response: R;
|
|
1999
|
+
};
|
|
2000
|
+
type EventoSchema = EventoEnvia<unknown> | EventoEmite<unknown, unknown> | EventoEnviaERecebe<unknown, unknown>;
|
|
2001
|
+
type GatewayDef = Record<string, EventoSchema>;
|
|
2002
|
+
declare function createGateway<T extends {
|
|
2003
|
+
[K in keyof T]: EventoSchema;
|
|
2004
|
+
}>(def: T): T;
|
|
2005
|
+
declare namespace EventosWebSocket {
|
|
2006
|
+
const gateways: {
|
|
2007
|
+
readonly Chat: {
|
|
2008
|
+
enviaMensagem: {
|
|
2009
|
+
tipo: "envia";
|
|
2010
|
+
payload: {
|
|
2011
|
+
salaId: string;
|
|
2012
|
+
conteudoMensagem: string;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
emitirSalas: {
|
|
2016
|
+
tipo: "envia-e-recebe";
|
|
2017
|
+
payload: {};
|
|
2018
|
+
response: {
|
|
2019
|
+
salas: SalaChatFront[];
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
emitirMensagem: {
|
|
2023
|
+
tipo: "emite";
|
|
2024
|
+
payload: {
|
|
2025
|
+
mensagemId: number;
|
|
2026
|
+
};
|
|
2027
|
+
response: {
|
|
2028
|
+
conteudoMensagem: MensagemChatRecebida;
|
|
2029
|
+
};
|
|
2030
|
+
delivery: "broadcast";
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
readonly Jogo: {
|
|
2034
|
+
requisicaoDeFechamentoDeSalaAberta: {
|
|
2035
|
+
tipo: "envia-e-recebe";
|
|
2036
|
+
payload: {
|
|
2037
|
+
codigoSalaDeJogo: SalaDeJogo_Codigo;
|
|
2038
|
+
};
|
|
2039
|
+
response: {};
|
|
2040
|
+
};
|
|
2041
|
+
emitirEstouEmJogo: {
|
|
2042
|
+
tipo: "emite";
|
|
2043
|
+
payload: {};
|
|
2044
|
+
response: {
|
|
2045
|
+
objetoEstouEmJogo: LogicaJogoUsuario_EstouEmJogoDto;
|
|
2046
|
+
};
|
|
2047
|
+
delivery: "perRecipient";
|
|
2048
|
+
};
|
|
2049
|
+
emitirObjetoEmJogo: {
|
|
2050
|
+
tipo: "emite";
|
|
2051
|
+
payload: {};
|
|
2052
|
+
response: {
|
|
2053
|
+
objetoEmJogo: LogicaJogoUsuario_ObjetoEmJogoDto;
|
|
2054
|
+
};
|
|
2055
|
+
delivery: "perRecipient";
|
|
2056
|
+
};
|
|
2057
|
+
emitirSessaoEmAndamento: {
|
|
2058
|
+
tipo: "emite";
|
|
2059
|
+
payload: {};
|
|
2060
|
+
response: {
|
|
2061
|
+
sessaoEmAndamento: SalaDeJogo_SessaoDto | null;
|
|
2062
|
+
};
|
|
2063
|
+
delivery: "perRecipient";
|
|
2064
|
+
};
|
|
2065
|
+
emitirTodasSalas: {
|
|
2066
|
+
tipo: "emite";
|
|
2067
|
+
payload: {};
|
|
2068
|
+
response: {
|
|
2069
|
+
salas: SalaDeJogoDto[];
|
|
2070
|
+
};
|
|
2071
|
+
delivery: "broadcast";
|
|
2072
|
+
};
|
|
2073
|
+
NARRADOR_executaAcaoParticipante_PROTOTIPO: {
|
|
2074
|
+
tipo: "envia";
|
|
2075
|
+
payload: PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO;
|
|
2076
|
+
};
|
|
2077
|
+
emitirFichaEmJogo: {
|
|
2078
|
+
tipo: "emite";
|
|
2079
|
+
payload: PAYLOAD__EmitirFichaEmJogo;
|
|
2080
|
+
response: {
|
|
2081
|
+
fichaAtualizada: J_DadosFichaEmJogo;
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2085
|
+
readonly ExecucaoDeJogo: {
|
|
2086
|
+
executaTestePericia: {
|
|
2087
|
+
tipo: "envia";
|
|
2088
|
+
payload: PAYLOAD__executaTestePericia;
|
|
2089
|
+
};
|
|
2090
|
+
emitirMensagemSalaJogo: {
|
|
2091
|
+
tipo: "emite";
|
|
2092
|
+
payload: {
|
|
2093
|
+
mensagemSalaJogo: PAYLOAD__emitirMensagemSalaJogo;
|
|
2094
|
+
};
|
|
2095
|
+
response: {
|
|
2096
|
+
mensagemSalaJogo: MensagemSalaJogo | null;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
readonly UsuariosConectados: {
|
|
2101
|
+
emitirUsuariosConectadosAgora: {
|
|
2102
|
+
tipo: "emite";
|
|
2103
|
+
payload: {};
|
|
2104
|
+
response: {
|
|
2105
|
+
usuariosConectados: SOCKET_AcessoUsuario[];
|
|
2106
|
+
};
|
|
2107
|
+
delivery: "broadcast";
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
readonly UsuariosExistentes: {
|
|
2111
|
+
obterTodos: {
|
|
2112
|
+
tipo: "envia-e-recebe";
|
|
2113
|
+
payload: {};
|
|
2114
|
+
response: {
|
|
2115
|
+
usuariosExistentes: SOCKET_UsuarioExistente[];
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
};
|
|
2119
|
+
};
|
|
2120
|
+
}
|
|
2121
|
+
declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
2122
|
+
declare function getEmitDelivery(gatewayName: string, eventName: string): EmitDelivery | undefined;
|
|
2123
|
+
type WsEmitTarget = {
|
|
2124
|
+
room: string;
|
|
2125
|
+
} | {
|
|
2126
|
+
userIds: number[];
|
|
2127
|
+
} | {
|
|
2128
|
+
scope: 'authenticated';
|
|
2129
|
+
} | {
|
|
2130
|
+
scope: 'all';
|
|
2131
|
+
};
|
|
2132
|
+
type WsEmitParams<E extends EventoEmiteAny> = {
|
|
2133
|
+
payload?: E['payload'];
|
|
2134
|
+
target?: WsEmitTarget;
|
|
2135
|
+
};
|
|
2136
|
+
type EventosEmiteMap = typeof Eventos_Emite;
|
|
2137
|
+
type EventoEmiteAny = {
|
|
2138
|
+
[G in keyof EventosEmiteMap]: EventosEmiteMap[G]['eventos'][keyof EventosEmiteMap[G]['eventos']];
|
|
2139
|
+
}[keyof EventosEmiteMap];
|
|
2140
|
+
export { ARQUIVO_UPLOAD_DEFINICOES, AcaoDeSessao, AcaoDeSessaoBase, AcaoDeSessaoTestePericiaExecutado, AcaoDeSessaoTipo, AlcanceCompletaDto, ApiErroGraphql, ApiMetodoHttp, ApiOperacaoGraphqlGet, ApiOperacaoRestGet, ApiParametros, ApiResposta, ApiRespostaGraphql, ApiTipoRequisicao, ApiTransporte, AprovacaoArquivoCompletaDto, AprovacaoArquivoSemArquivoDto, ArcoAventuraCompletaDto, ArquivoCompletaDto, ArquivoTipadoArteDto, ArquivoTipadoAvatarDto, ArquivoTipadoEmblemaDto, ArquivoUploadDef, ArvoreItensPermissaoDto, AtributoCompletaDto, AtributoFicha, AtributoSemPericiasDto, AuthSession, AvatarPersonagemDto, AventuraCompletaDto, AventuraParaAssistirDto, BaseDetalheSessaoCanonicaParaAssistirDto, Brand, CaminhoArquivoArte, CaminhoArquivoAvatar, CampoExtraUploadDef, CampoExtraUploadTipo, CapituloSessaoCanonica, CategoriaRitualCompletaDto, ChildKeys, ChildKeysByHasLayout, 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, DimensoesImagem, DisponibilidadeUsuarioCompletaDto, DisponibilidadeUsuarioHistoricoCompletaDto, DisponibilidadesDDS, DuracaoCompletaDto, EfiCriarCobrancaImediataInput, EfiCriarCobrancaImediataOutput, EfiPixConfig, ElementoCompletaDto, EmblemaDto, EmitDelivery, EstatisticaDanificavelCompletaDto, EstatisticaDanificavelFicha, EstiloSessaoMestradaDto, EstudoCompletaDto, EventoAuthDefault, EventoEmite, EventoEmiteAny, EventoEnvia, EventoEnviaERecebe, EventoSchema, EventoTipo, EventosApi, EventosEmiteMap, EventosWebSocket, ExecucaoCompletaDto, ExtrairParamsDoTemplate, FichaAmarradaParticipanteSessaoUnicaCompletaDto, FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto, FichaCompletaDto, FichaEmClient, FichaEmProcessoDeEvolucaoDto, FichaPersonagemCompletaDto, FichaPersonagemSemFichaDto, FichaPersonagemSemPersonagemDto, FichaSerCompletaDto, FichaSerSemFichaDto, FichaSerSemSerDto, FichaTemporariaCompletaDto, FichaTemporariaExibicaoDto, FichaTemporariaSemFichaDto, FichaTemporariaVisualizacaoDetalhadaDto, FilhosDePagina, FormatoAlcanceCompletaDto, FormatoUploadArquivo, GanhoNivelClasseCompletaDto, GanhoRelativoCoeficienteAtributoCompletaDto, GanhoRelativoCoeficienteAtributoSemCoeficienteDto, GatewayDef, GeracaoCompletaDto, GeracaoSemAventurasDto, GithubUsuarioCompletaDto, GithubUsuarioSemUsuarioDto, GrupoAventuraCompletaDto, GrupoAventuraParaAssistirDto, GrupoAventuraPersonagemCompletaDto, GrupoAventuraPersonagemSemGrupoAventuraDto, GrupoAventuraPersonagemSemPersonagemDto, HasChildren, HasLayout, HistoricoDetalhesEvolucao, ImagemCompletaDto, InformacaoPersonagemCompletaDto, InformacaoPersonagemSemPersonagemDto, ItemPermissaoDto, J_DadosFichaEmJogo, J_FichaPersistida, JanelaDisponibilidade, JanelaDisponibilidadeCompletaDto, JogadorSessaoDto, JogadorSessao__Tipo, LayoutContextualizadoInicial, LimparUndefinedRecord, LimparUndefinedValue, LinhaEfeitoCompletaDto, LinkCompletaDto, ListaDisponibilidadesUsuario, LogicaJogoUsuario_EstouEmJogoDto, LogicaJogoUsuario_ObjetoEmJogoDto, LogicaJogoUsuario_ObjetoInicialSalaDto, LogicaJogoUsuario_ObjetoInicialSalaDto__Base, LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador, LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador, MensagemChatPayload, MensagemChatRecebida, MensagemSalaJogo, MenuAgrupadorSemPagina, MenuGrupoNode, MenuInternoChildren, MenuInternoTree, MenuItemNode, MenuLayoutChildren, MenuLayoutLeaf, MenuLayoutNode, MenuNode, MenusInternos, MenusInternosLayoutContexto, ModoExecucaoTestePericia, NarradorSessaoDto, NivelComponenteCompletaDto, NivelDto, NivelProficienciaCompletaDto, NivelRitualCompletaDto, ObjectChildren, ObjetoEmJogoDto, ObjetoEmJogoDto__Base, ObjetoEmJogoDto__Jogador, ObjetoEmJogoDto__Narrador, ObjetoMensagemSalaJogo, OrigemAcaoDeSessao, OrigemAcaoDeSessaoJogador, OrigemAcaoDeSessaoParticipanteNarrador, OrigemAcaoDeSessaoSistema, PAYLOAD_DetalheRascunhoAventuraEdicaoDto, PAYLOAD_DetalheRascunhoEdicaoDto, PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto, PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto, PAYLOAD__EmitirFichaEmJogo, PAYLOAD__ExecutaTestePericia_PROTOTIPO, PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__emitirMensagemSalaJogo, PAYLOAD__emitirMensagemSalaJogo__Enviando, PAYLOAD__emitirMensagemSalaJogo__Escutando, PAYLOAD__executaTestePericia, PagamentoPixDto, PaginaComLayout, PaginaDef, PaginaInfo, PaginaInfoBase, PaginaInfoComLayoutContextualizado, PaginaLike, PaginaParams, PaginaParamsDoTemplate, PaginaTemplate, PaiFichaRef, PaiFichaTipo, ParamMany, ParamSingle, ParamValue, ParamsProps, ParamsRecord, 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, RegraDimensoesImagem, RegraProporcaoImagem, RegraTamanhoArquivo, RegrasUploadArquivo, RegrasUploadBase, RegrasUploadImagem, RenovacaoPasseDto, RequireAtLeastOne, RequiredKeys, RespostaConviteCompletaDto, RespostaConviteSemConviteDto, ResultadoSaveFile, ResumoPersonagemAventuraCompletaDto, ResumoPersonagemAventuraSemPersonagemDto, RootMenuLayout, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, SalaChat, SalaChatFront, 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, SessaoEmVisualizacaoDto, TIPO_SESSAO_LABEL, TelemetryConnectionInfo, TelemetryEventLog, TelemetrySnapshot, TemFilhos, TesteGraphqlParametros, TesteGraphqlResposta, TesteGraphqlSessaoDto, TesteGraphqlSessaoParametros, TesteGraphqlSessaoResposta, TesteGraphqlSessaoVariaveis, TesteGraphqlVariaveis, TesteRestParametros, TesteRestResposta, 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, WsEmitParams, WsEmitTarget, WsErrorResponse, WsEventAudience, WsEventAudienceMultiplo, WsEventAudienceUnico, WsResult, WsUnauthorizedErrorResponse, createApiGraphqlGet, createApiRestGet, createGateway, criaCaminhoArquivoArte, criaCaminhoArquivoAvatar, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, limparUndefined, menuDinamico, menuGrupo, menuItem, menuVazio, montarHref, obtemDefinicaoUploadTipoArquivo, pagina, paginaComLayoutContextualizado, toParamsRecord, wsChain, wsErro, wsMap, wsUnauthorized };
|