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/classes.d.ts CHANGED
@@ -1,3763 +1 @@
1
- declare const ARQUIVOS_INTERNOS: {
2
- readonly AVATAR_PADRAO: {
3
- readonly caminhoArquivo: "RecursosInternos/cebadeaf-6c1b-441e-87f5-abe38e18cf8e.webp";
4
- readonly id: 209;
5
- };
6
- readonly BACKGROUND_ACESSAR: {
7
- readonly caminhoArquivo: "RecursosInternos/861fb939-1658-4310-a522-02d4acb7edea.webp";
8
- readonly id: 68;
9
- };
10
- readonly BOTAO_CRIACAO__FICHA__IMAGEM__COPIA: {
11
- readonly caminhoArquivo: "RecursosInternos/43aec7b5-bc08-408f-95d3-bc2116706829.webp";
12
- readonly id: 81;
13
- };
14
- readonly BOTAO_CRIACAO__FICHA__IMAGEM__CRIA: {
15
- readonly caminhoArquivo: "RecursosInternos/443a5cb8-3dde-4e85-8b3e-d860cd5dd8b6.webp";
16
- readonly id: 80;
17
- };
18
- readonly BOTAO_CRIACAO__FUNDO: {
19
- readonly caminhoArquivo: "RecursosInternos/293f0bdc-9d1b-4796-8a79-3a23cf1e4e57.webp";
20
- readonly id: 78;
21
- };
22
- readonly BOTAO_CRIACAO__ORNAMENTO: {
23
- readonly caminhoArquivo: "RecursosInternos/f1a2b62d-e322-47b3-81b0-b788320e59b1.svg";
24
- readonly id: 79;
25
- };
26
- readonly BOTAO_CRIACAO__PERSONAGEM__IMAGEM__COPIA: {
27
- readonly caminhoArquivo: "RecursosInternos/432f9fac-a4dd-4f7a-9aad-dc69b8452543.webp";
28
- readonly id: 84;
29
- };
30
- readonly BOTAO_CRIACAO__PERSONAGEM__IMAGEM__NOVO: {
31
- readonly caminhoArquivo: "RecursosInternos/6f88f8e2-ad3d-45ae-bbb9-6a3eae43b3cf.webp";
32
- readonly id: 83;
33
- };
34
- readonly CARD_ACESSAR: {
35
- readonly caminhoArquivo: "RecursosInternos/cce6bdea-0aee-4424-86a1-36a5279cee0d.webp";
36
- readonly id: 69;
37
- };
38
- readonly GUIA_AVATAR: {
39
- readonly caminhoArquivo: "RecursosInternos/184b10c9-dcc9-491d-9141-96c9e724c777.webp";
40
- readonly id: 94;
41
- };
42
- readonly IMAGENS_CLASSES__DOMINANTE: {
43
- readonly caminhoArquivo: "RecursosInternos/c2dea8b3-18bd-4860-850f-30affcd9b9e6.webp";
44
- readonly id: 65;
45
- };
46
- readonly IMAGENS_CLASSES__MARCADO: {
47
- readonly caminhoArquivo: "RecursosInternos/47bc5d7f-0dbc-4be5-a793-5773c25f93f7.webp";
48
- readonly id: 67;
49
- };
50
- readonly IMAGENS_CLASSES__VERSATIL: {
51
- readonly caminhoArquivo: "RecursosInternos/4a72a81c-d084-4cca-9411-df93c85514ae.webp";
52
- readonly id: 66;
53
- };
54
- readonly LOGO: {
55
- readonly caminhoArquivo: "RecursosInternos/4cc77fa6-d0f3-4b1d-bdb0-2e42c89fe53b.svg";
56
- readonly id: 71;
57
- };
58
- readonly MENU_PRINCIPAL__BOTAO_ABRIR: {
59
- readonly caminhoArquivo: "RecursosInternos/77be9843-77e8-412e-9967-911908fc9308.svg";
60
- readonly id: 73;
61
- };
62
- readonly MENU_PRINCIPAL__CAMADA_1: {
63
- readonly caminhoArquivo: "RecursosInternos/5c938b7d-767d-4975-b19e-ff634e42b514.svg";
64
- readonly id: 75;
65
- };
66
- readonly MENU_PRINCIPAL__CAMADA_2: {
67
- readonly caminhoArquivo: "RecursosInternos/ba820662-3acb-4775-9c28-b3bf16e4b7d5.svg";
68
- readonly id: 76;
69
- };
70
- readonly MENU_PRINCIPAL__CAMADA_3: {
71
- readonly caminhoArquivo: "RecursosInternos/f707c9f5-fa85-4376-bb92-4a52a1eadb9b.svg";
72
- readonly id: 77;
73
- };
74
- readonly MENU_PRINCIPAL__MOLDURA: {
75
- readonly caminhoArquivo: "RecursosInternos/7ff3130f-dde0-43e0-bdc8-bb9e2295eb75.svg";
76
- readonly id: 74;
77
- };
78
- readonly PAGINA_ATERRISSAGEM__BOTAO_ACESSAR__BORDA: {
79
- readonly caminhoArquivo: "RecursosInternos/c758f4fb-8866-4e13-a1d5-7162cbaf3482.svg";
80
- readonly id: 5;
81
- };
82
- readonly PAGINA_ATERRISSAGEM__BOTAO_ACESSAR__FUNDO: {
83
- readonly caminhoArquivo: "RecursosInternos/d338f07e-7685-407a-8814-d6d9b0f2d0cd.svg";
84
- readonly id: 7;
85
- };
86
- readonly PAGINA_ATERRISSAGEM__BOTAO_ACESSAR__TEXTO: {
87
- readonly caminhoArquivo: "RecursosInternos/c1f61701-a7b5-4a03-822b-c9e852988733.svg";
88
- readonly id: 8;
89
- };
90
- readonly PAGINA_ATERRISSAGEM__BOTAO_MISSAO: {
91
- readonly caminhoArquivo: "RecursosInternos/949d1dcf-534d-4914-a1eb-09899cebb425.webp";
92
- readonly id: 18;
93
- };
94
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_1__FUNDO: {
95
- readonly caminhoArquivo: "RecursosInternos/ec609e11-8fe5-44ab-bd21-41808805e1aa.webp";
96
- readonly id: 27;
97
- };
98
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_1__SOBREPOSICAO: {
99
- readonly caminhoArquivo: "RecursosInternos/38a53e58-9d2b-4edc-8a7d-0d6869788ebf.webp";
100
- readonly id: 31;
101
- };
102
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_2__FUNDO: {
103
- readonly caminhoArquivo: "RecursosInternos/88a0a242-8c6d-4cc1-9126-71eebf894735.webp";
104
- readonly id: 28;
105
- };
106
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_2__SOBREPOSICAO: {
107
- readonly caminhoArquivo: "RecursosInternos/bf901f20-a5eb-448f-94aa-2bdae207fbf6.webp";
108
- readonly id: 32;
109
- };
110
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_3__FUNDO: {
111
- readonly caminhoArquivo: "RecursosInternos/7fd7cc74-d2f4-4b73-8370-e1e2741587fc.webp";
112
- readonly id: 29;
113
- };
114
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_3__SOBREPOSICAO: {
115
- readonly caminhoArquivo: "RecursosInternos/36401dfc-d6fc-41ec-bfdc-27a5afb2c8d2.webp";
116
- readonly id: 33;
117
- };
118
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_4__FUNDO: {
119
- readonly caminhoArquivo: "RecursosInternos/a3708333-a56f-48a7-bf91-386215b7697f.webp";
120
- readonly id: 30;
121
- };
122
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__ARTIGO_4__SOBREPOSICAO: {
123
- readonly caminhoArquivo: "RecursosInternos/39662591-df83-4f39-8bc9-3328041374bc.webp";
124
- readonly id: 34;
125
- };
126
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__BORDA: {
127
- readonly caminhoArquivo: "RecursosInternos/cff279aa-6309-4709-8387-d1245a2fc9a8.webp";
128
- readonly id: 40;
129
- };
130
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__BORDA_DOURADA: {
131
- readonly caminhoArquivo: "RecursosInternos/5110b915-c1c9-4021-ab4b-88b2410fd21e.webp";
132
- readonly id: 48;
133
- };
134
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__SETA_ANTERIOR: {
135
- readonly caminhoArquivo: "RecursosInternos/52dc0326-4eec-4b3c-ab40-a78d2ecaf4b1.webp";
136
- readonly id: 60;
137
- };
138
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__SETA_PROXIMO: {
139
- readonly caminhoArquivo: "RecursosInternos/fe9cf077-ec2e-4f96-986b-2986c681b126.webp";
140
- readonly id: 59;
141
- };
142
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_ARTIGOS__SETAS_FUNDO: {
143
- readonly caminhoArquivo: "RecursosInternos/56b41e02-ece7-40c5-a835-73d14b539318.webp";
144
- readonly id: 47;
145
- };
146
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__ADESIVOS: {
147
- readonly caminhoArquivo: "RecursosInternos/3ed03313-40df-463c-b695-75b48140835a.webp";
148
- readonly id: 21;
149
- };
150
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__CRISTAL_DIREITA: {
151
- readonly caminhoArquivo: "RecursosInternos/0e5b89bc-fdbb-4f0d-bc9f-80473cdb26cf.svg";
152
- readonly id: 20;
153
- };
154
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__CRISTAL_ESQUERDA: {
155
- readonly caminhoArquivo: "RecursosInternos/8570294b-98f3-4c5e-8a8d-74b2044a0662.svg";
156
- readonly id: 19;
157
- };
158
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__DOT: {
159
- readonly caminhoArquivo: "RecursosInternos/2ed5061e-c430-42e1-b263-41d0c62a2753.svg";
160
- readonly id: 57;
161
- };
162
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__DOT_ATIVO: {
163
- readonly caminhoArquivo: "RecursosInternos/02d7c255-c7b8-4a4b-a582-b0b2efc6063d.webp";
164
- readonly id: 14;
165
- };
166
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__MOLDURA: {
167
- readonly caminhoArquivo: "RecursosInternos/da3e7c39-b7c2-4881-bb17-13894c011621.svg";
168
- readonly id: 22;
169
- };
170
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__MOLDURA_DOTS__DIREITA: {
171
- readonly caminhoArquivo: "RecursosInternos/989ec3ae-8fe6-4121-b776-0cb24f8730ff.svg";
172
- readonly id: 50;
173
- };
174
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__MOLDURA_DOTS__ESQUERDA: {
175
- readonly caminhoArquivo: "RecursosInternos/bb6d8556-3a31-45fe-88b9-42958946b4ce.svg";
176
- readonly id: 51;
177
- };
178
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__ORNAMENTO_TOPO: {
179
- readonly caminhoArquivo: "RecursosInternos/83f32754-f2c4-4d0b-8ecf-6a585073ffa7.webp";
180
- readonly id: 11;
181
- };
182
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__SETA_ANTERIOR: {
183
- readonly caminhoArquivo: "RecursosInternos/422c322e-db24-4d0d-b2b0-8d88768e249d.svg";
184
- readonly id: 16;
185
- };
186
- readonly PAGINA_ATERRISSAGEM__CARROSSEL_PRINCIPAL__SETA_PROXIMO: {
187
- readonly caminhoArquivo: "RecursosInternos/2bb90801-ae5b-4cca-b6d1-868a15ce38be.svg";
188
- readonly id: 15;
189
- };
190
- readonly PAGINA_ATERRISSAGEM__EXTERNO_MISSAO: {
191
- readonly caminhoArquivo: "RecursosInternos/739ea312-6d25-4f0d-97ae-ba4f22395867.webp";
192
- readonly id: 24;
193
- };
194
- readonly PAGINA_ATERRISSAGEM__FUNDO_MISSAO: {
195
- readonly caminhoArquivo: "RecursosInternos/2b42443e-a8f2-44d0-90b6-e8234e8d4074.webp";
196
- readonly id: 23;
197
- };
198
- readonly PAGINA_ATERRISSAGEM__FUNDO_TINTA: {
199
- readonly caminhoArquivo: "RecursosInternos/9bcc2643-f20d-457b-9052-f2b31ed146c6.svg";
200
- readonly id: 35;
201
- };
202
- readonly PAGINA_ATERRISSAGEM__MARCA_PAGINA: {
203
- readonly caminhoArquivo: "RecursosInternos/4bf9ff41-66dc-4fcc-8b9e-e5aac5789c8b.webp";
204
- readonly id: 41;
205
- };
206
- readonly PAGINA_ATERRISSAGEM__MARCA_PAGINA__BASE: {
207
- readonly caminhoArquivo: "RecursosInternos/b1d3ead1-69df-456d-be65-b3d03c2a8e45.webp";
208
- readonly id: 43;
209
- };
210
- readonly PAGINA_ATERRISSAGEM__MARCA_PAGINA__DETALHE_BORDA: {
211
- readonly caminhoArquivo: "RecursosInternos/b0dd4e07-c7fd-4b10-9a43-2419fb2bf244.webp";
212
- readonly id: 42;
213
- };
214
- readonly PAGINA_ATERRISSAGEM__MARCA_PAGINA__VETOR: {
215
- readonly caminhoArquivo: "RecursosInternos/d825ef40-3d64-4be5-879d-357f0a14b815.svg";
216
- readonly id: 49;
217
- };
218
- readonly PAGINA_ATERRISSAGEM__MASCARA_CARROSSEL: {
219
- readonly caminhoArquivo: "RecursosInternos/463d4bf4-1ce9-4004-a2d8-d3796d01f6e5.svg";
220
- readonly id: 56;
221
- };
222
- readonly PAGINA_ATERRISSAGEM__MOLDURA_MISSAO: {
223
- readonly caminhoArquivo: "RecursosInternos/84c75e7f-7393-402f-9b63-8efce24fc8fc.svg";
224
- readonly id: 54;
225
- };
226
- readonly PAGINA_ATERRISSAGEM__MOLDURA_TITULO_DIREITA: {
227
- readonly caminhoArquivo: "RecursosInternos/dbb87df4-3812-443a-a6f0-26acd7a755d8.svg";
228
- readonly id: 38;
229
- };
230
- readonly PAGINA_ATERRISSAGEM__MOLDURA_TITULO_ESQUERDA: {
231
- readonly caminhoArquivo: "RecursosInternos/6f1858e0-2826-4b5a-bfc3-61017fec5c99.svg";
232
- readonly id: 52;
233
- };
234
- readonly PAGINA_ATERRISSAGEM__ORNAMENTO_DIVISORIA: {
235
- readonly caminhoArquivo: "RecursosInternos/7fa9b480-f623-462b-afcd-25876dee3fa6.webp";
236
- readonly id: 39;
237
- };
238
- readonly PAGINA_ATERRISSAGEM__ORNAMENTO_MISSAO: {
239
- readonly caminhoArquivo: "RecursosInternos/84da34a5-e36d-4e54-aca1-46277f3e64c9.svg";
240
- readonly id: 55;
241
- };
242
- readonly PAGINA_ATERRISSAGEM__RODAPE: {
243
- readonly caminhoArquivo: "RecursosInternos/6eb1dde2-d63b-4622-a667-bf316a9062ca.webp";
244
- readonly id: 17;
245
- };
246
- readonly PAGINA_ATERRISSAGEM__SECAO_PRINCIPAL__BOTAO_JOGUE_AGORA: {
247
- readonly caminhoArquivo: "RecursosInternos/e272cc23-a845-4889-91ab-c83c17a99865.webp";
248
- readonly id: 25;
249
- };
250
- readonly PAGINA_ATERRISSAGEM__SECAO_PRINCIPAL__FUNDO: {
251
- readonly caminhoArquivo: "RecursosInternos/72adaebf-3f5e-4e14-a3c2-bf43f95d60b0.webp";
252
- readonly id: 58;
253
- };
254
- readonly PAGINA_ATERRISSAGEM__SECAO_PRINCIPAL__MOLDURA: {
255
- readonly caminhoArquivo: "RecursosInternos/bae11b79-b786-48eb-8853-3d1cbb5c78f0.svg";
256
- readonly id: 72;
257
- };
258
- readonly PAGINA_ATERRISSAGEM__SECAO_PRINCIPAL__MOLDURA_TITULO: {
259
- readonly caminhoArquivo: "RecursosInternos/fdd4a955-47d9-41fa-86c8-a510640f5353.svg";
260
- readonly id: 10;
261
- };
262
- readonly PAGINA_ATERRISSAGEM__SECAO_PRINCIPAL__SETA_JOGUE_AGORA: {
263
- readonly caminhoArquivo: "RecursosInternos/c74b5064-8ca7-472b-a17a-553829959f50.webp";
264
- readonly id: 26;
265
- };
266
- readonly PAGINA_ATERRISSAGEM__SIMBOLOS_FUNDO: {
267
- readonly caminhoArquivo: "RecursosInternos/cd7505b7-4176-4d61-b12d-d8ead8277765.webp";
268
- readonly id: 36;
269
- };
270
- readonly PAGINA_ATERRISSAGEM__SOBREPOSICAO_TINTA: {
271
- readonly caminhoArquivo: "RecursosInternos/e749d16f-11ce-40ba-bc25-28a6373232b1.webp";
272
- readonly id: 37;
273
- };
274
- readonly SIMBOLO_ITEM_MENU: {
275
- readonly caminhoArquivo: "RecursosInternos/bdd722a4-40d6-4301-8272-8b3ddfa99378.svg";
276
- readonly id: 70;
277
- };
278
- };
279
- type ArquivoInternoDef = (typeof ARQUIVOS_INTERNOS)[keyof typeof ARQUIVOS_INTERNOS];
280
- type ArquivoInternoKey = keyof typeof ARQUIVOS_INTERNOS;
281
- declare const ATRIBUTOS: {
282
- readonly AGI: {
283
- readonly descricao: "Índice da velocidade e precisão que seu corpo responde a estímulos";
284
- readonly id: 1;
285
- readonly idLinhaEfeito: 1;
286
- readonly nome: "Agilidade";
287
- readonly nomeAbreviado: "AGI";
288
- };
289
- readonly FOR: {
290
- readonly descricao: "Índice da construção física de seu corpo";
291
- readonly id: 2;
292
- readonly idLinhaEfeito: 2;
293
- readonly nome: "Força";
294
- readonly nomeAbreviado: "FOR";
295
- };
296
- readonly INT: {
297
- readonly descricao: "Índice da sua capacidade mental, que responde à atividades intelectuais e memórias";
298
- readonly id: 3;
299
- readonly idLinhaEfeito: 3;
300
- readonly nome: "Inteligência";
301
- readonly nomeAbreviado: "INT";
302
- };
303
- readonly PRE: {
304
- readonly descricao: "Índice de seus sentidos e habilidades sociais";
305
- readonly id: 4;
306
- readonly idLinhaEfeito: 4;
307
- readonly nome: "Presença";
308
- readonly nomeAbreviado: "PRE";
309
- };
310
- readonly VIG: {
311
- readonly descricao: "Índice da sua resistência física e persistência";
312
- readonly id: 5;
313
- readonly idLinhaEfeito: 5;
314
- readonly nome: "Vigor";
315
- readonly nomeAbreviado: "VIG";
316
- };
317
- };
318
- type AtributosDef = (typeof ATRIBUTOS)[keyof typeof ATRIBUTOS];
319
- type AtributosKey = keyof typeof ATRIBUTOS;
320
- declare const CAPACIDADES: {
321
- readonly ADMINISTRADOR__ACOMPANHAMENTO__SESSAO_DE_JOGO: {
322
- readonly id: 29;
323
- readonly nome: "ADMINISTRADOR.ACOMPANHAMENTO.SESSAO_DE_JOGO";
324
- };
325
- readonly ADMINISTRADOR__ACOMPANHAMENTO__WEBSOCKET: {
326
- readonly id: 23;
327
- readonly nome: "ADMINISTRADOR.ACOMPANHAMENTO.WEBSOCKET";
328
- };
329
- readonly ADMINISTRADOR__GERENCIAMENTO__AVENTURAS_E_SESSOES: {
330
- readonly id: 19;
331
- readonly nome: "ADMINISTRADOR.GERENCIAMENTO.AVENTURAS_E_SESSOES";
332
- };
333
- readonly ADMINISTRADOR__GERENCIAMENTO__UPLOAD_RECURSOS_INTERNOS: {
334
- readonly id: 21;
335
- readonly nome: "ADMINISTRADOR.GERENCIAMENTO.UPLOAD_RECURSOS_INTERNOS";
336
- };
337
- readonly ADMINISTRADOR__GERENCIAMENTO__VARIAVEIS_DE_AMBIENTE: {
338
- readonly id: 20;
339
- readonly nome: "ADMINISTRADOR.GERENCIAMENTO.VARIAVEIS_DE_AMBIENTE";
340
- };
341
- readonly ADMINISTRADOR__PERMISSOES__ALTERACAO_CAPACIDADES_GERAIS_USUARIOS: {
342
- readonly id: 3;
343
- readonly nome: "ADMINISTRADOR.PERMISSOES.ALTERACAO_CAPACIDADES_GERAIS_USUARIOS";
344
- };
345
- readonly ADMINISTRADOR__PERMISSOES__CRIACAO_CAPACIDADES: {
346
- readonly id: 11;
347
- readonly nome: "ADMINISTRADOR.PERMISSOES.CRIACAO_CAPACIDADES";
348
- };
349
- readonly ADMINISTRADOR__SUDO__BURLAR_CAPACIDADES: {
350
- readonly id: 9;
351
- readonly nome: "ADMINISTRADOR.SUDO.BURLAR_CAPACIDADES";
352
- };
353
- readonly ADMINISTRADOR__SUDO__BURLAR_MODO_MANUTENÇÃO: {
354
- readonly id: 8;
355
- readonly nome: "ADMINISTRADOR.SUDO.BURLAR_MODO_MANUTENÇÃO";
356
- };
357
- readonly ADMINISTRADOR__SUDO__DELETAR_ARQUIVOS_FILE_SERVER: {
358
- readonly id: 32;
359
- readonly nome: "ADMINISTRADOR.SUDO.DELETAR_ARQUIVOS_FILE_SERVER";
360
- };
361
- readonly ARTISTA__CRIACAO__NAO_PRECISA_APROVACAO: {
362
- readonly id: 35;
363
- readonly nome: "ARTISTA.CRIACAO.NAO_PRECISA_APROVACAO";
364
- };
365
- readonly ARTISTA__CRIACAO__RESPONSABILIDADES__AVATARES: {
366
- readonly id: 41;
367
- readonly nome: "ARTISTA.CRIACAO.RESPONSABILIDADES.AVATARES";
368
- };
369
- readonly ARTISTA__CRIACAO__RESPONSABILIDADES__EMBLEMAS: {
370
- readonly id: 42;
371
- readonly nome: "ARTISTA.CRIACAO.RESPONSABILIDADES.EMBLEMAS";
372
- };
373
- readonly ARTISTA__CRIACAO__UPLOAD_IMAGEM: {
374
- readonly id: 6;
375
- readonly nome: "ARTISTA.CRIACAO.UPLOAD_IMAGEM";
376
- };
377
- readonly DESENVOLVEDOR: {
378
- readonly id: 36;
379
- readonly nome: "DESENVOLVEDOR";
380
- };
381
- readonly MESTRE__CRIACAO__AVENTURA: {
382
- readonly id: 37;
383
- readonly nome: "MESTRE.CRIACAO.AVENTURA";
384
- };
385
- readonly MESTRE__CRIACAO__RASCUNHO_AVENTURA: {
386
- readonly id: 27;
387
- readonly nome: "MESTRE.CRIACAO.RASCUNHO_AVENTURA";
388
- };
389
- readonly MESTRE__CRIACAO__RASCUNHO_SESSAO_UNICA: {
390
- readonly id: 26;
391
- readonly nome: "MESTRE.CRIACAO.RASCUNHO_SESSAO_UNICA";
392
- };
393
- readonly MESTRE__CRIACAO__SESSAO_DE_JOGO: {
394
- readonly id: 28;
395
- readonly nome: "MESTRE.CRIACAO.SESSAO_DE_JOGO";
396
- };
397
- readonly MODERADOR__IMAGENS: {
398
- readonly id: 34;
399
- readonly nome: "MODERADOR.IMAGENS";
400
- };
401
- readonly PASSE_LIVRE: {
402
- readonly id: 39;
403
- readonly nome: "PASSE_LIVRE";
404
- };
405
- readonly STREAMER: {
406
- readonly id: 38;
407
- readonly nome: "STREAMER";
408
- };
409
- readonly TITULOS__ADMINISTRADOR: {
410
- readonly id: 14;
411
- readonly nome: "TITULOS.ADMINISTRADOR";
412
- };
413
- readonly TITULOS__JOGADOR__INICIADO: {
414
- readonly id: 16;
415
- readonly nome: "TITULOS.JOGADOR.INICIADO";
416
- };
417
- readonly TITULOS__JOGADOR__INICIANTE: {
418
- readonly id: 15;
419
- readonly nome: "TITULOS.JOGADOR.INICIANTE";
420
- };
421
- readonly TITULOS__JOGADOR__VETERANO: {
422
- readonly id: 17;
423
- readonly nome: "TITULOS.JOGADOR.VETERANO";
424
- };
425
- readonly TITULOS__MESTRE: {
426
- readonly id: 13;
427
- readonly nome: "TITULOS.MESTRE";
428
- };
429
- };
430
- type CapacidadeDef = (typeof CAPACIDADES)[keyof typeof CAPACIDADES];
431
- type CapacidadeKey = keyof typeof CAPACIDADES;
432
- declare const CLASSES: {
433
- readonly DOMINANTE: {
434
- readonly descricao: "O Paranormal alterou a velocidade na qual seus músculos e raciocínio evoluem. Você recebe Pontos de Atributos extras, melhores Ganhos de Estatísticas e terá o limite de Atributos maior que outras classes";
435
- readonly id: 2;
436
- readonly nome: "Dominante";
437
- };
438
- readonly MARCADO: {
439
- readonly descricao: "O Paranormal se conectou a sua alma. Além de receber mais Pontos de Sanidade, tem a possibilidade de aprender e customizar mais Rituais e Habilidades Paranormais, além de se comunicar com o Outro Lado com mais facilidade que outras classes";
440
- readonly id: 4;
441
- readonly nome: "Marcado";
442
- };
443
- readonly MUNDANO: {
444
- readonly descricao: "";
445
- readonly id: 1;
446
- readonly nome: "Mundano";
447
- };
448
- readonly VERSATIL: {
449
- readonly descricao: "O Paranormal se vinculou a suas vontades e práticas. Você recebe Pontos de Melhoria de Perícia extras e terá uma quantidade maior de Pontos de Habilidades Especiais que outras classes";
450
- readonly id: 3;
451
- readonly nome: "Versátil";
452
- };
453
- };
454
- type ClassesDef = (typeof CLASSES)[keyof typeof CLASSES];
455
- type ClassesKey = keyof typeof CLASSES;
456
- declare const ESTATISTICAS_DANIFICAVEIS: {
457
- readonly PE: {
458
- readonly cor: "#47BA16";
459
- readonly descricao: "Mostram a sua capacidade de agir além do seu limite habitual, como Ações Especiais e Usar o Paranormal, traduzindo o seu cansaço";
460
- readonly id: 3;
461
- readonly nome: "Pontos de Esforço";
462
- readonly nomeAbreviado: "P.E.";
463
- };
464
- readonly PS: {
465
- readonly cor: "#324A99";
466
- readonly descricao: "Mostram o seu Estado de Mente e Espírito, traduzindo sua proximidade com o Paranormal. Ao zerar, você automaticamente recebe a condição Enlouquecendo";
467
- readonly id: 2;
468
- readonly nome: "Pontos de Sanidade";
469
- readonly nomeAbreviado: "P.S.";
470
- };
471
- readonly PV: {
472
- readonly cor: "#FF0000";
473
- readonly descricao: "Mostram a Saúde Física e Vital do seu Personagem, traduzindo Ferimentos e Condições Físicas. Ao zerar, você automaticamente recebe a condição Morrendo";
474
- readonly id: 1;
475
- readonly nome: "Pontos de Vida";
476
- readonly nomeAbreviado: "P.V.";
477
- };
478
- };
479
- type EstatisticasDanificaveisDef = (typeof ESTATISTICAS_DANIFICAVEIS)[keyof typeof ESTATISTICAS_DANIFICAVEIS];
480
- type EstatisticasDanificaveisKey = keyof typeof ESTATISTICAS_DANIFICAVEIS;
481
- declare const ESTILOS_SESSAO_MESTRADA: {
482
- readonly AVENTURA: {
483
- readonly ehSessaoUnica: false;
484
- readonly id: 1;
485
- readonly nome: "Aventura";
486
- };
487
- readonly SESSAO_UNICA_CANONICA: {
488
- readonly ehSessaoUnica: true;
489
- readonly id: 2;
490
- readonly nome: "Sessão Única Canônica";
491
- };
492
- readonly SESSAO_UNICA_NAO_CANONICA: {
493
- readonly ehSessaoUnica: true;
494
- readonly id: 3;
495
- readonly nome: "Sessão Única não Canônica";
496
- };
497
- };
498
- type EstilosSessaoMestradaDef = (typeof ESTILOS_SESSAO_MESTRADA)[keyof typeof ESTILOS_SESSAO_MESTRADA];
499
- type EstilosSessaoMestradaKey = keyof typeof ESTILOS_SESSAO_MESTRADA;
500
- declare const PASSES: {
501
- readonly PASSE_DE_FUNDADOR: {
502
- readonly ativo: true;
503
- readonly codigo_interno: "PASSE_DE_FUNDADOR";
504
- readonly descricao: "Passe de Apoio durante desenvolvimento inicial";
505
- readonly id: 1;
506
- readonly nome: "Passe de Fundador";
507
- };
508
- };
509
- type PasseDef = (typeof PASSES)[keyof typeof PASSES];
510
- type PasseKey = keyof typeof PASSES;
511
- declare const PATENTES_PERICIAS: {
512
- readonly D: {
513
- readonly bonusPatente: 10;
514
- readonly cor: "#E59627";
515
- readonly descricao: "Você escuta vozes que ecoam em sua cabeça que riem do seu conhecimento previamente adquirido sobre essa Perícia. O Outro Lado te mostra visões e segredos que reconstroem suas crenças e paradigmas, como o instinto em busca da perfeição em algo que antes, eram apenas experimentos de Mundanos curiosos e intrometidos";
516
- readonly id: 3;
517
- readonly nome: "Desperta";
518
- readonly nomeAbreviado: "D";
519
- readonly varianciaQualidadeAcao: 19;
520
- };
521
- readonly E: {
522
- readonly bonusPatente: 5;
523
- readonly cor: "#EBEF5D";
524
- readonly descricao: "Você aprendeu e pratica sobre essa Perícia com outros Experientes. Você pode trabalhar em áreas relacionadas e até mesmo formando outros Experientes, usando dos conhecimentos guardados pela comunidade dessa área em mídias e outros acessos comuns";
525
- readonly id: 2;
526
- readonly nome: "Experiente";
527
- readonly nomeAbreviado: "E";
528
- readonly varianciaQualidadeAcao: 19;
529
- };
530
- readonly L: {
531
- readonly bonusPatente: 0;
532
- readonly cor: "#CDCDCD";
533
- readonly descricao: "Você possui conhecimentos básicos nessa Perícia, vindos da intuição, instinto ou da experiência de outras pessoas. A teoria por trás dessas ações são desconhecidas, e você tenta replicar o que já viu de praticas de outras pessoas ou até mesmo se arrisca fazendo o que parece estar certo, mesmo que na maioria das vezes não esteja";
534
- readonly id: 1;
535
- readonly nome: "Leiga";
536
- readonly nomeAbreviado: "L";
537
- readonly varianciaQualidadeAcao: 19;
538
- };
539
- readonly S: {
540
- readonly bonusPatente: 15;
541
- readonly cor: "#FFFFFF";
542
- readonly descricao: "Como se conectado nas fundações dessas práticas, em seus sonhos você vê cada um que usou e vai usar dessas técnicas por toda a história, e eles também vão te assistir. Os segredos dessas ações agora estão em suas mãos não como vozes, mas como a cristalização da prática, aperfeiçoada por dentre os ecos do Outro Lado";
543
- readonly id: 5;
544
- readonly nome: "Soberena";
545
- readonly nomeAbreviado: "S";
546
- readonly varianciaQualidadeAcao: 49;
547
- };
548
- readonly V: {
549
- readonly bonusPatente: 15;
550
- readonly cor: "#FF4A24";
551
- readonly descricao: "Você se funde as vozes. Cada segredo e detalhe, agora moldáveis e personalizáveis à seu prazer, são como informações e experiências visíveis e audíveis ao redor de toda ação dessa Perícia praticada ao seu redor. Você vê o que poucos vêem";
552
- readonly id: 4;
553
- readonly nome: "Visionária";
554
- readonly nomeAbreviado: "V";
555
- readonly varianciaQualidadeAcao: 19;
556
- };
557
- };
558
- type PatentesPericiasDef = (typeof PATENTES_PERICIAS)[keyof typeof PATENTES_PERICIAS];
559
- type PatentesPericiasKey = keyof typeof PATENTES_PERICIAS;
560
- declare const PERICIAS: {
561
- readonly ACRO: {
562
- readonly descricao: "Experiência em movimentação vertical e manobras, como realizar movimentos não lineares ou em maior velocidade";
563
- readonly id: 1;
564
- readonly idAtributo: 1;
565
- readonly idLinhaEfeito: 6;
566
- readonly nome: "Acrobacia";
567
- readonly nomeAbreviado: "ACRO";
568
- };
569
- readonly ADES: {
570
- readonly descricao: "Experiência na domesticação, treinamento e relacionamento com seres domesticáveis";
571
- readonly id: 9;
572
- readonly idAtributo: 3;
573
- readonly idLinhaEfeito: 7;
574
- readonly nome: "Adestramento";
575
- readonly nomeAbreviado: "ADES";
576
- };
577
- readonly ARTE: {
578
- readonly descricao: "Experiência na execução de ações magistrais, que procuram chamar atenção do público";
579
- readonly id: 10;
580
- readonly idAtributo: 3;
581
- readonly idLinhaEfeito: 8;
582
- readonly nome: "Artes";
583
- readonly nomeAbreviado: "ARTE";
584
- };
585
- readonly ATLE: {
586
- readonly descricao: "Experiência em utilizar o máximo de sua capacidade física";
587
- readonly id: 7;
588
- readonly idAtributo: 2;
589
- readonly idLinhaEfeito: 9;
590
- readonly nome: "Atletismo";
591
- readonly nomeAbreviado: "ATLE";
592
- };
593
- readonly ATUA: {
594
- readonly descricao: "Experiência no estudo de acontecimentos do mundo e como eles se afetam";
595
- readonly id: 11;
596
- readonly idAtributo: 3;
597
- readonly idLinhaEfeito: 10;
598
- readonly nome: "Atualidades";
599
- readonly nomeAbreviado: "ATUA";
600
- };
601
- readonly CIEN: {
602
- readonly descricao: "Experiência no estudo de matérias biológicas e lógicas, utilizadas na confecção e produção de substâncias";
603
- readonly id: 12;
604
- readonly idAtributo: 3;
605
- readonly idLinhaEfeito: 11;
606
- readonly nome: "Ciências";
607
- readonly nomeAbreviado: "CIEN";
608
- };
609
- readonly CRIM: {
610
- readonly descricao: "Experiência no roubo e encobrimento de objetos, assim como a resolução e manuseio de pequenos mecanismos";
611
- readonly id: 2;
612
- readonly idAtributo: 1;
613
- readonly idLinhaEfeito: 12;
614
- readonly nome: "Crime";
615
- readonly nomeAbreviado: "CRIM";
616
- };
617
- readonly DIPL: {
618
- readonly descricao: "Experiência na comunicação com outros seres racionais e suas vantagens";
619
- readonly id: 20;
620
- readonly idAtributo: 4;
621
- readonly idLinhaEfeito: 13;
622
- readonly nome: "Diplomacia";
623
- readonly nomeAbreviado: "DIPL";
624
- };
625
- readonly ENGA: {
626
- readonly descricao: "Experiência em esconder ou mentir informações e trabalhar com disfarces";
627
- readonly id: 21;
628
- readonly idAtributo: 4;
629
- readonly idLinhaEfeito: 14;
630
- readonly nome: "Enganação";
631
- readonly nomeAbreviado: "ENGA";
632
- };
633
- readonly ENGE: {
634
- readonly descricao: "Experiência na produção de ferramentas, equipamentos e utensílios";
635
- readonly id: 13;
636
- readonly idAtributo: 3;
637
- readonly idLinhaEfeito: 15;
638
- readonly nome: "Engenharia";
639
- readonly nomeAbreviado: "ENGE";
640
- };
641
- readonly FORT: {
642
- readonly descricao: "Experiência em resistir a condições e danos físicos, assim como danos graves";
643
- readonly id: 26;
644
- readonly idAtributo: 5;
645
- readonly idLinhaEfeito: 16;
646
- readonly nome: "Fortitude";
647
- readonly nomeAbreviado: "FORT";
648
- };
649
- readonly FURT: {
650
- readonly descricao: "Experiência em se esconder e tomar ações estando despercebido, assim como atacar furtivamente e se mesclar no ambiente";
651
- readonly id: 3;
652
- readonly idAtributo: 1;
653
- readonly idLinhaEfeito: 17;
654
- readonly nome: "Furtividade";
655
- readonly nomeAbreviado: "FURT";
656
- };
657
- readonly INIC: {
658
- readonly descricao: "Experiência em tomar ações de maneira preventiva, se preparando para situações especificas ou reagindo a ações tomadas por outros";
659
- readonly id: 4;
660
- readonly idAtributo: 1;
661
- readonly idLinhaEfeito: 18;
662
- readonly nome: "Iniciativa";
663
- readonly nomeAbreviado: "INIC";
664
- };
665
- readonly INTI: {
666
- readonly descricao: "Experiência em coagir oui amendrontar seus alvos";
667
- readonly id: 22;
668
- readonly idAtributo: 4;
669
- readonly idLinhaEfeito: 19;
670
- readonly nome: "Intimidação";
671
- readonly nomeAbreviado: "INTI";
672
- };
673
- readonly INTU: {
674
- readonly descricao: "Experiência na analise da omissão de informações de outros seres racionais";
675
- readonly id: 23;
676
- readonly idAtributo: 4;
677
- readonly idLinhaEfeito: 20;
678
- readonly nome: "Intuição";
679
- readonly nomeAbreviado: "INTU";
680
- };
681
- readonly INVE: {
682
- readonly descricao: "Experiência na busca de detalhes e atenção a pistas no ambiente ou em objetos";
683
- readonly id: 14;
684
- readonly idAtributo: 3;
685
- readonly idLinhaEfeito: 21;
686
- readonly nome: "Investigação";
687
- readonly nomeAbreviado: "INVE";
688
- };
689
- readonly LUTA: {
690
- readonly descricao: "Experiência no manuseio de armas corpo-a-corpo e suas utlizações";
691
- readonly id: 8;
692
- readonly idAtributo: 2;
693
- readonly idLinhaEfeito: 22;
694
- readonly nome: "Luta";
695
- readonly nomeAbreviado: "LUTA";
696
- };
697
- readonly MEDI: {
698
- readonly descricao: "Experiência no tratamento de ferimentos, condições negativas e suas adversidades em materiais biológicos";
699
- readonly id: 15;
700
- readonly idAtributo: 3;
701
- readonly idLinhaEfeito: 23;
702
- readonly nome: "Medicina";
703
- readonly nomeAbreviado: "MEDI";
704
- };
705
- readonly OCUL: {
706
- readonly descricao: "Experiência em estudar e se comunicar com o outro lado";
707
- readonly id: 16;
708
- readonly idAtributo: 3;
709
- readonly idLinhaEfeito: 24;
710
- readonly nome: "Ocultismo";
711
- readonly nomeAbreviado: "OCUL";
712
- };
713
- readonly PERC: {
714
- readonly descricao: "Experiência em observar, analisar e estudar seus arredores, como padrões ou alterações no ambiente";
715
- readonly id: 24;
716
- readonly idAtributo: 4;
717
- readonly idLinhaEfeito: 25;
718
- readonly nome: "Percepção";
719
- readonly nomeAbreviado: "PERC";
720
- };
721
- readonly PONT: {
722
- readonly descricao: "Experiência no manuseio de armas de longo alcance e suas utilizações";
723
- readonly id: 5;
724
- readonly idAtributo: 1;
725
- readonly idLinhaEfeito: 26;
726
- readonly nome: "Pontaria";
727
- readonly nomeAbreviado: "PONT";
728
- };
729
- readonly REFL: {
730
- readonly descricao: "Experiência em reagir defensivamente a situações inesperadas";
731
- readonly id: 6;
732
- readonly idAtributo: 1;
733
- readonly idLinhaEfeito: 27;
734
- readonly nome: "Reflexo";
735
- readonly nomeAbreviado: "REFL";
736
- };
737
- readonly SOBR: {
738
- readonly descricao: "Experiência em utilizar de materiais naturais para sobreviver ou se adaptar à ambientes inóspitos e vida selvagem";
739
- readonly id: 17;
740
- readonly idAtributo: 3;
741
- readonly idLinhaEfeito: 28;
742
- readonly nome: "Sobrevivência";
743
- readonly nomeAbreviado: "SOBR";
744
- };
745
- readonly TATI: {
746
- readonly descricao: "Experiência em estudar e analisar o ambiente e seus alvos para melhor explorá-los";
747
- readonly id: 18;
748
- readonly idAtributo: 3;
749
- readonly idLinhaEfeito: 29;
750
- readonly nome: "Tática";
751
- readonly nomeAbreviado: "TATI";
752
- };
753
- readonly TECN: {
754
- readonly descricao: "Experiência na utilizaçao de equipamentos tecnológicos e seus conhecimentos";
755
- readonly id: 19;
756
- readonly idAtributo: 3;
757
- readonly idLinhaEfeito: 30;
758
- readonly nome: "Tecnologia";
759
- readonly nomeAbreviado: "TECN";
760
- };
761
- readonly VONT: {
762
- readonly descricao: "Experiência em resistir a condições e danos mentais";
763
- readonly id: 25;
764
- readonly idAtributo: 4;
765
- readonly idLinhaEfeito: 31;
766
- readonly nome: "Vontade";
767
- readonly nomeAbreviado: "VONT";
768
- };
769
- };
770
- type PericiasDef = (typeof PERICIAS)[keyof typeof PERICIAS];
771
- type PericiasKey = keyof typeof PERICIAS;
772
- declare const PERMISSOES_ESTADOS: {
773
- readonly CONCEDIDA: {
774
- readonly chave: "CONCEDIDA";
775
- readonly id: 3;
776
- readonly permissao: true;
777
- };
778
- readonly NEGADA: {
779
- readonly chave: "NEGADA";
780
- readonly id: 2;
781
- readonly permissao: false;
782
- };
783
- readonly REQUISITADA: {
784
- readonly chave: "REQUISITADA";
785
- readonly id: 1;
786
- readonly permissao: false;
787
- };
788
- readonly REVOGADA: {
789
- readonly chave: "REVOGADA";
790
- readonly id: 4;
791
- readonly permissao: false;
792
- };
793
- };
794
- type PermissaoEstadoDef = (typeof PERMISSOES_ESTADOS)[keyof typeof PERMISSOES_ESTADOS];
795
- type PermissaoEstadoKey = keyof typeof PERMISSOES_ESTADOS;
796
- declare const PRODUTOS: {
797
- readonly CONTRIBUICAO_ABERTA: {
798
- readonly ativo: true;
799
- readonly codigo_interno: "CONTRIBUICAO_ABERTA";
800
- readonly descricao: "Doação para desenvolvimento do projeto";
801
- readonly id: 1;
802
- readonly nome: "Contribuição Aberta";
803
- readonly valor_centavos: null;
804
- };
805
- readonly PASSE_DE_FUNDADOR_30_DIAS: {
806
- readonly ativo: true;
807
- readonly codigo_interno: "PASSE_DE_FUNDADOR__30_DIAS";
808
- readonly descricao: "Assinatura Mensal durante desenvolvimento inicial";
809
- readonly id: 2;
810
- readonly nome: "Passe de Fundador - Mensal";
811
- readonly valor_centavos: 1190;
812
- };
813
- };
814
- type ProdutoDef = (typeof PRODUTOS)[keyof typeof PRODUTOS];
815
- type ProdutoKey = keyof typeof PRODUTOS;
816
- declare const TIPOS_ARQUIVO: {
817
- readonly AVATAR_PERSONAGEM: {
818
- readonly id: 2;
819
- readonly nome: "avatar_personagem";
820
- };
821
- readonly IMAGEM_ESPECIAL_ARTISTA: {
822
- readonly id: 3;
823
- readonly nome: "imagem_especial_artista";
824
- };
825
- readonly ITENS_EMBLEMAS: {
826
- readonly id: 4;
827
- readonly nome: "itens_emblemas";
828
- };
829
- readonly RECURSOS_INTERNOS: {
830
- readonly id: 1;
831
- readonly nome: "recursos_internos";
832
- };
833
- };
834
- type TipoArquivoDef = (typeof TIPOS_ARQUIVO)[keyof typeof TIPOS_ARQUIVO];
835
- type TipoArquivoKey = keyof typeof TIPOS_ARQUIVO;
836
- declare const TIPOS_GANHO_NIVEL: {
837
- readonly ALTERACAO_ATRIBUTOS: {
838
- readonly id: 1;
839
- readonly nome: "Alterações de Atributos";
840
- readonly ordem: 4;
841
- };
842
- readonly ALTERACAO_ESTATISTICAS: {
843
- readonly id: 3;
844
- readonly nome: "Alterações de Estatísticas";
845
- readonly ordem: 3;
846
- };
847
- readonly ALTERACAO_PERICIAS: {
848
- readonly id: 2;
849
- readonly nome: "Alterações de Perícias";
850
- readonly ordem: 5;
851
- };
852
- readonly AUMENTO_VALOR_MAXIMO_ATRIBUTO: {
853
- readonly id: 5;
854
- readonly nome: "Aumento de Valor Máximo de Atributo";
855
- readonly ordem: 2;
856
- };
857
- readonly GANHO_PONTOS_HABILIDADE_ELEMENTAL: {
858
- readonly id: 8;
859
- readonly nome: "Ganho de Pontos de Habilidade Elemental";
860
- readonly ordem: 8;
861
- };
862
- readonly GANHO_PONTOS_HABILIDADES_ESPECIAL: {
863
- readonly id: 6;
864
- readonly nome: "Ganho de Pontos de Habilidades Especial";
865
- readonly ordem: 6;
866
- };
867
- readonly GANHO_PONTOS_HABILIDADES_PARANORMAL: {
868
- readonly id: 7;
869
- readonly nome: "Ganho de Pontos de Habilidades Paranormal";
870
- readonly ordem: 7;
871
- };
872
- readonly SELECAO_CLASSE: {
873
- readonly id: 4;
874
- readonly nome: "Seleção de Classe";
875
- readonly ordem: 1;
876
- };
877
- };
878
- type TiposGanhoNivelDef = (typeof TIPOS_GANHO_NIVEL)[keyof typeof TIPOS_GANHO_NIVEL];
879
- type TiposGanhoNivelKey = keyof typeof TIPOS_GANHO_NIVEL;
880
- declare const TIPOS_PERSONAGEM: {
881
- readonly PERSONAGEM_DE_JOGADOR: {
882
- readonly descricao: "Personagens que são únicos de um Usuário";
883
- readonly id: 1;
884
- readonly nome: "Personagem de Jogador";
885
- };
886
- readonly PERSONAGEM_DE_MESTRE: {
887
- readonly descricao: "Personagens que são participantes da história, compartilhados por mestres";
888
- readonly id: 2;
889
- readonly nome: "Personagem de Mestre";
890
- };
891
- readonly PERSONAGEM_GENERICO: {
892
- readonly descricao: "Personagens \"sem nome\", como inimigos e massa de população";
893
- readonly id: 3;
894
- readonly nome: "Personagem Genérico";
895
- };
896
- };
897
- type TipoPersonagemDef = (typeof TIPOS_PERSONAGEM)[keyof typeof TIPOS_PERSONAGEM];
898
- type TipoPersonagemKey = keyof typeof TIPOS_PERSONAGEM;
899
- type CtxAcesso = {
900
- estaAutenticado: boolean;
901
- verificarCapacidade: (capacidade: CapacidadeDef) => boolean;
902
- cadastroPermitido: boolean;
903
- };
904
- declare function temSudoBurlarCapacidades(ctx: CtxAcesso): boolean;
905
- declare enum ApiTransporte {
906
- GRAPHQL = "GRAPHQL",
907
- REST = "REST"
908
- }
909
- declare enum ApiTipoRequisicao {
910
- GET = "GET",
911
- POST = "POST",
912
- PATCH = "PATCH",
913
- DELETE = "DELETE"
914
- }
915
- declare enum ApiMetodoHttp {
916
- GET = "GET",
917
- POST = "POST",
918
- PATCH = "PATCH",
919
- DELETE = "DELETE"
920
- }
921
- type ApiErroGraphql = {
922
- message: string;
923
- };
924
- type ApiRespostaGraphql<TResposta extends object> = {
925
- data?: TResposta;
926
- errors?: ApiErroGraphql[];
927
- };
928
- type ApiOperacaoGraphqlGet<TParametros extends object, TVariaveis extends object, TResposta extends object> = {
929
- readonly transporte: ApiTransporte.GRAPHQL;
930
- readonly tipoRequisicao: ApiTipoRequisicao.GET;
931
- readonly metodoHttp: ApiMetodoHttp.POST;
932
- readonly nome: string;
933
- readonly endpoint: '/graphql';
934
- readonly nomeOperacaoGraphql: string;
935
- readonly query: string;
936
- readonly montaVariaveis: (parametros: TParametros) => TVariaveis;
937
- };
938
- type ApiOperacaoRestGet<TParametros extends object, TResposta extends object> = {
939
- readonly transporte: ApiTransporte.REST;
940
- readonly tipoRequisicao: ApiTipoRequisicao.GET;
941
- readonly metodoHttp: ApiMetodoHttp.GET;
942
- readonly nome: string;
943
- readonly endpoint: string;
944
- readonly montaQueryString: (parametros: TParametros) => string;
945
- };
946
- type ApiOperacaoGet<TParametros extends object, TResposta extends object> = ApiOperacaoGraphqlGet<TParametros, object, TResposta> | ApiOperacaoRestGet<TParametros, TResposta>;
947
- type ApiParametros<TOperacao> = TOperacao extends ApiOperacaoGraphqlGet<infer TParametros, infer _TVariaveis, infer _TResposta> ? TParametros : TOperacao extends ApiOperacaoRestGet<infer TParametros, infer _TResposta> ? TParametros : never;
948
- type ApiResposta<TOperacao> = TOperacao extends ApiOperacaoGraphqlGet<infer _TParametros, infer _TVariaveis, infer TResposta> ? TResposta : TOperacao extends ApiOperacaoRestGet<infer _TParametros, infer TResposta> ? TResposta : never;
949
- declare function createApiGraphqlGet<TParametros extends object, TVariaveis extends object, TResposta extends object>(definicao: ApiOperacaoGraphqlGet<TParametros, TVariaveis, TResposta>): ApiOperacaoGraphqlGet<TParametros, TVariaveis, TResposta>;
950
- declare function createApiRestGet<TParametros extends object, TResposta extends object>(definicao: ApiOperacaoRestGet<TParametros, TResposta>): ApiOperacaoRestGet<TParametros, TResposta>;
951
- type TesteGraphqlParametros = Record<string, never>;
952
- type TesteGraphqlVariaveis = Record<string, never>;
953
- type TesteGraphqlResposta = {
954
- testeGraphql: string;
955
- };
956
- type TesteRestParametros = Record<string, never>;
957
- type TesteRestResposta = {
958
- testeRest: string;
959
- };
960
- declare namespace EventosApi {
961
- const GET: {
962
- readonly Graphql: {
963
- readonly testeGraphql: ApiOperacaoGraphqlGet<TesteGraphqlParametros, TesteGraphqlVariaveis, TesteGraphqlResposta>;
964
- };
965
- readonly Rest: {
966
- readonly testeRest: ApiOperacaoRestGet<TesteRestParametros, TesteRestResposta>;
967
- };
968
- };
969
- }
970
- type PermissoesEstadoCompletaDto = {
971
- id: number;
972
- chave: string;
973
- descricao: string;
974
- temPermissao: boolean;
975
- };
976
- type PermissoesItemSemPaiEFilhosDto = {
977
- id: number;
978
- usuarioCriou: UsuarioCompletaDto;
979
- codigo: string;
980
- descricao: string;
981
- dataCriacao: Date;
982
- usuariosPermitidos: PermissoesUsuarioSemItemDto[];
983
- };
984
- type PermissoesItemCompletaDto = {
985
- id: number;
986
- itemPai: PermissoesItemSemPaiEFilhosDto | null;
987
- itensFilhos: PermissoesItemSemPaiEFilhosDto[];
988
- usuariosPermitidos: PermissoesUsuarioSemItemDto[];
989
- usuarioCriou: UsuarioCompletaDto;
990
- codigo: string;
991
- descricao: string;
992
- dataCriacao: Date;
993
- };
994
- type ItemPermissaoDto = {
995
- id: number;
996
- codigo: string;
997
- descricao: string;
998
- parentId: number | null;
999
- path: string;
1000
- dataCriacao: string;
1001
- usuarioCriouId?: number;
1002
- childrenCount: number;
1003
- listaIdsUsuariosPermitidos: number[];
1004
- isLockedLeaf: boolean;
1005
- children: ItemPermissaoDto[];
1006
- };
1007
- type ArvoreItensPermissaoDto = {
1008
- generatedAt: string;
1009
- totalItems: number;
1010
- tree: ItemPermissaoDto[];
1011
- indexById: Record<number, {
1012
- parentId: number | null;
1013
- path: string;
1014
- childrenCount: number;
1015
- listaIdsUsuariosPermitidosCount: number;
1016
- isLockedLeaf: boolean;
1017
- }>;
1018
- };
1019
- type PermissoesUsuarioSemItemDto = {
1020
- fkPermissoesItemId: number;
1021
- fkUsuarioId: number;
1022
- fkPermissoesEstadoId: number;
1023
- usuario: UsuarioCompletaDto;
1024
- permissoesEstado: PermissoesEstadoCompletaDto;
1025
- };
1026
- type PermissoesUsuarioCompletaDto = {
1027
- fkPermissoesItemId: number;
1028
- fkUsuarioId: number;
1029
- fkPermissoesEstadoId: number;
1030
- permissoesItem: PermissoesItemSemPaiEFilhosDto;
1031
- usuario: UsuarioCompletaDto;
1032
- permissoesEstado: PermissoesEstadoCompletaDto;
1033
- };
1034
- type PermissoesUsuariosHistoricoCompletaDto = {
1035
- id: number;
1036
- usuario: UsuarioCompletaDto;
1037
- permissaoItem: PermissoesItemSemPaiEFilhosDto;
1038
- permissaoEstadoAnterior: PermissoesEstadoCompletaDto | null;
1039
- permissaoEstadoAtual: PermissoesEstadoCompletaDto;
1040
- usuarioAlterou: UsuarioCompletaDto | null;
1041
- dataCriacao: Date;
1042
- mensagem: string | null;
1043
- };
1044
- type AprovacaoArquivoSemArquivoDto = {
1045
- fkArquivoId: number;
1046
- usuarioAprovou: UsuarioCompletaDto | null;
1047
- dataAprovacao: Date | null;
1048
- };
1049
- type AprovacaoArquivoCompletaDto = {
1050
- fkArquivoId: number;
1051
- arquivo: ArquivoCompletaDto;
1052
- usuarioAprovou: UsuarioCompletaDto | null;
1053
- dataAprovacao: Date | null;
1054
- };
1055
- type ArquivoCompletaDto = {
1056
- id: number;
1057
- tipoArquivo: TipoArquivoCompletaDto;
1058
- usuarioAdicionou: UsuarioCompletaDto;
1059
- usuarioAtualizou: UsuarioCompletaDto | null;
1060
- detalheArquivoInterno: DetalheArquivoInternoSemArquivoDto | null;
1061
- aprovacaoArquivo: AprovacaoArquivoSemArquivoDto | null;
1062
- caminhoArquivo: string;
1063
- tipoMime: string;
1064
- dataCriacao: Date;
1065
- dataAtualizacao: Date | null;
1066
- pendenteAprovacao: boolean;
1067
- nomeGeralArquivo: string | null;
1068
- };
1069
- type CampoExtraUploadTipo = 'texto' | 'numero';
1070
- type CampoExtraUploadDef = {
1071
- nome: string;
1072
- tipo: CampoExtraUploadTipo;
1073
- obrigatorio: boolean;
1074
- };
1075
- type ArquivoUploadDef = {
1076
- nome: string;
1077
- obrigatorio: boolean;
1078
- multiplicidade: 'unico';
1079
- };
1080
- type DefinicaoUploadTipoArquivo = {
1081
- tipoArquivoId: number;
1082
- camposExtras: CampoExtraUploadDef[];
1083
- arquivos: ArquivoUploadDef[];
1084
- };
1085
- declare const ARQUIVO_UPLOAD_DEFINICOES: Record<number, DefinicaoUploadTipoArquivo>;
1086
- declare function obtemDefinicaoUploadTipoArquivo(tipoArquivoId: number): DefinicaoUploadTipoArquivo | null;
1087
- type CaminhoArquivoArte = string & {
1088
- readonly __brand: 'CaminhoArquivoArte';
1089
- };
1090
- declare const criaCaminhoArquivoArte: (caminhoArquivo: string) => CaminhoArquivoArte;
1091
- type ArquivoTipadoArteDto = {};
1092
- type CaminhoArquivoAvatar = string & {
1093
- readonly __brand: 'CaminhoArquivoAvatar';
1094
- };
1095
- declare const criaCaminhoArquivoAvatar: (caminhoArquivo: string) => CaminhoArquivoAvatar;
1096
- type ArquivoTipadoAvatarDto = {};
1097
- type ArquivoTipadoEmblemaDto = {};
1098
- type DetalheArquivoInternoSemArquivoDto = {
1099
- fkArquivoId: number;
1100
- nomeInterno: string;
1101
- };
1102
- type DetalheArquivoInternoCompletaDto = {
1103
- fkArquivoId: number;
1104
- arquivo: ArquivoCompletaDto;
1105
- nomeInterno: string;
1106
- };
1107
- type TipoArquivoCompletaDto = {
1108
- id: number;
1109
- nome: string;
1110
- };
1111
- type ArcoAventuraCompletaDto = {
1112
- id: number;
1113
- nome: string;
1114
- aplicaNomeArcoAventura: boolean;
1115
- };
1116
- type AventuraCompletaDto = {
1117
- id: number;
1118
- geracao: GeracaoSemAventurasDto;
1119
- caminhoArquivoArteCapa: CaminhoArquivoArte;
1120
- detalheRascunhoAventura: DetalheRascunhoAventuraCompletaDto | null;
1121
- arco: ArcoAventuraCompletaDto | null;
1122
- gruposAventura: GrupoAventuraParaAssistirDto[] | null;
1123
- titulo: string;
1124
- dataCriacao: Date;
1125
- nomeCompletoAventura: string;
1126
- temApenasUmGrupo: boolean;
1127
- estadoAtual: AventuraEstado;
1128
- dataInicioAventura: Date | null;
1129
- dataFimAventura: Date | null;
1130
- };
1131
- type AventuraParaAssistirDto = {
1132
- id: number;
1133
- estadoAtual: AventuraEstado;
1134
- dataFimAventura: Date | null;
1135
- caminhoArquivoArteCapa: CaminhoArquivoArte;
1136
- titulo: string;
1137
- };
1138
- type ConviteGrupoAventuraPersonagemCompletaDto = {
1139
- id: number;
1140
- grupoAventura: GrupoAventuraCompletaDto;
1141
- usuario: UsuarioCompletaDto;
1142
- respostaConvite: RespostaConviteCompletaDto;
1143
- dataCriacao: Date;
1144
- };
1145
- type DadosArteCapa = {
1146
- temCapaConfigurada: boolean;
1147
- caminhoArquivoArteCapa: CaminhoArquivoArte;
1148
- };
1149
- type GrupoAventuraCompletaDto = {
1150
- id: number;
1151
- nome: string;
1152
- aventura: AventuraCompletaDto;
1153
- usuarioMestre: UsuarioCompletaDto;
1154
- linkTrailerYoutube: LinkCompletaDto | null;
1155
- linkPlaylistYoutube: LinkCompletaDto | null;
1156
- linkSerieSpotify: LinkCompletaDto | null;
1157
- detalhesSessoesAventuras: DetalheSessaoAventuraSemGrupoDto[];
1158
- personagensDaAventura: GrupoAventuraPersonagemSemGrupoAventuraDto[];
1159
- sessaoFinal: SessaoEmVisualizacaoDto | null;
1160
- dataPrevisaoInicio: Date | null;
1161
- ddsPadrao: number | null;
1162
- recorrencia: string | null;
1163
- horaInicio: string | null;
1164
- nomeUnicoGrupoAventura: string;
1165
- dataQueIniciou: Date | null;
1166
- dataQueEncerrou: Date | null;
1167
- estadoAtual: AventuraEstado;
1168
- obtemTextoInformacionalOcorrencia: string | null;
1169
- sessaoMaisRecente: SessaoEmVisualizacaoDto | null;
1170
- numeroSessoesFinalizadasGrupoAventura: number;
1171
- duracaoGrupoAventuraEmSegundos: number | null;
1172
- tempoProximaSessao: string | null;
1173
- dadosArteCapa: DadosArteCapa;
1174
- };
1175
- type GrupoAventuraParaAssistirDto = {
1176
- id: number;
1177
- nome: string;
1178
- usuarioMestre: UsuarioCompletaDto;
1179
- linkTrailerYoutube: LinkCompletaDto | null;
1180
- linkPlaylistYoutube: LinkCompletaDto | null;
1181
- linkSerieSpotify: LinkCompletaDto | null;
1182
- detalhesSessoesAventuras: DetalheSessaoAventuraSemGrupoDto[];
1183
- personagensDaAventura: GrupoAventuraPersonagemSemGrupoAventuraDto[];
1184
- dataPrevisaoInicio: Date | null;
1185
- ddsPadrao: number | null;
1186
- recorrencia: string | null;
1187
- horaInicio: string | null;
1188
- nomeUnicoGrupoAventura: string;
1189
- dataQueIniciou: Date | null;
1190
- dataQueEncerrou: Date | null;
1191
- estadoAtual: AventuraEstado;
1192
- numeroSessoesFinalizadasGrupoAventura: number;
1193
- duracaoGrupoAventuraEmSegundos: number | null;
1194
- tempoProximaSessao: string | null;
1195
- dadosArteCapa: DadosArteCapa;
1196
- };
1197
- type VIEW_GrupoAventuraListagem = {
1198
- id: number;
1199
- dadosArteCapa: DadosArteCapa;
1200
- nomeUnicoGrupoAventura: string;
1201
- estadoAtual: AventuraEstado;
1202
- };
1203
- type VIEW_GrupoAventuraDetalhado = {
1204
- id: number;
1205
- nomeUnicoGrupoAventura: string;
1206
- dataPrevisaoInicio: Date | null;
1207
- dataQueIniciou: Date | null;
1208
- dataQueEncerrou: Date | null;
1209
- numeroSessoesFinalizadasGrupoAventura: number;
1210
- duracaoGrupoAventuraEmSegundos: number | null;
1211
- dadosArteCapa: DadosArteCapa;
1212
- estadoAtual: AventuraEstado;
1213
- detalhesSessoesAventuras: VIEW_DetalheSessaoAventuraDetalhado[];
1214
- };
1215
- type GrupoAventuraPersonagemSemGrupoAventuraDto = {
1216
- fkGruposAventurasId: number;
1217
- fkPersonagensId: number;
1218
- personagem: PersonagemCompletaDto;
1219
- };
1220
- type GrupoAventuraPersonagemSemPersonagemDto = {
1221
- fkGruposAventurasId: number;
1222
- fkPersonagensId: number;
1223
- grupoAventura: GrupoAventuraCompletaDto;
1224
- };
1225
- type GrupoAventuraPersonagemCompletaDto = {
1226
- fkGruposAventurasId: number;
1227
- fkPersonagensId: number;
1228
- grupoAventura: GrupoAventuraCompletaDto;
1229
- personagem: PersonagemCompletaDto;
1230
- };
1231
- type RespostaConviteSemConviteDto = {
1232
- fkConviteGrupoAventuraPersonagemId: number;
1233
- fkPersonagensId: number;
1234
- personagemVinculado: PersonagemCompletaDto;
1235
- dataResposta: Date;
1236
- criouNovoPersonagem: boolean;
1237
- };
1238
- type RespostaConviteCompletaDto = {
1239
- fkConviteGrupoAventuraPersonagemId: number;
1240
- fkPersonagensId: number;
1241
- convite: ConviteGrupoAventuraPersonagemCompletaDto;
1242
- personagemVinculado: PersonagemCompletaDto;
1243
- dataResposta: Date;
1244
- criouNovoPersonagem: boolean;
1245
- };
1246
- type VariavelAmbienteCompletaDto = {
1247
- id: number;
1248
- chave: string;
1249
- tipo: TipoVariavelAmbiente;
1250
- valor: boolean | string | number;
1251
- descricao: string | null;
1252
- dataCriacao: Date;
1253
- dataAtualizacao: Date;
1254
- };
1255
- type ConquistaCompletaDto = {
1256
- id: number;
1257
- tipoConquista: TipoConquistaCompletaDto;
1258
- nome: string;
1259
- descricao: string;
1260
- };
1261
- type TipoConquistaCompletaDto = {
1262
- id: number;
1263
- nome: string;
1264
- };
1265
- type DetalheSessaoAventuraCompletaDto = {
1266
- fkSessaoId: number;
1267
- episodio: number;
1268
- episodioPorExtenso: string;
1269
- nomeUnico: string;
1270
- grupoAventura: GrupoAventuraCompletaDto;
1271
- };
1272
- type DetalheSessaoAventuraSemGrupoDto = {
1273
- fkSessaoId: number;
1274
- episodio: number;
1275
- episodioPorExtenso: string;
1276
- nomeUnico: string;
1277
- sessao: VIEW_SessaoDeAventura;
1278
- };
1279
- type VIEW_DetalheSessaoAventuraDetalhado = {
1280
- episodio: number;
1281
- episodioPorExtenso: string;
1282
- sessao: VIEW_SessaoDeAventura;
1283
- };
1284
- type DetalheSessaoCanonicaCompletaDto = {
1285
- fkSessaoId: number;
1286
- sessao: SessaoCompletaDto;
1287
- linkSessaoYoutube: LinkCompletaDto | null;
1288
- linkSessaoSpotify: LinkCompletaDto | null;
1289
- capitulos: CapituloSessaoCanonica[] | null;
1290
- detalhes: string | null;
1291
- };
1292
- type CapituloSessaoCanonica = {
1293
- descricao: string;
1294
- momentoInicioEmSegundos: number;
1295
- };
1296
- type BaseDetalheSessaoCanonicaParaAssistirDto = {
1297
- idSessao: number;
1298
- dadosArteCapa: DadosArteCapa;
1299
- };
1300
- type DetalheSessaoCanonicaParaAssistir_AventuraDto = BaseDetalheSessaoCanonicaParaAssistirDto & {
1301
- tipoSessao: 'AVENTURA';
1302
- idGrupoAventura: number;
1303
- episodio: number;
1304
- tituloPrincipal: string;
1305
- tituloDetalhado: string;
1306
- };
1307
- type DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto = BaseDetalheSessaoCanonicaParaAssistirDto & {
1308
- tipoSessao: 'SESSAO_UNICA_CANONICA';
1309
- titulo: string;
1310
- };
1311
- type DetalheSessaoCanonicaParaAssistirDto = DetalheSessaoCanonicaParaAssistir_AventuraDto | DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto;
1312
- type DetalheSessaoUnicaCompletaDto = {
1313
- fkSessaoId: number;
1314
- sessao: SessaoCompletaDto;
1315
- rascunho: RascunhoCompletaDto | null;
1316
- usuarioMestre: UsuarioCompletaDto;
1317
- caminhoArquivoArteCapa: CaminhoArquivoArte;
1318
- participantesSessaoUnica: ParticipanteSessaoUnicaCompletaDto[];
1319
- };
1320
- type DetalheSessaoUnicaAmarradaComFichaDto = {
1321
- tituloRascunho: string;
1322
- caminhoArquivoArteCapa: CaminhoArquivoArte;
1323
- dataPrevisaoInicio: Date;
1324
- };
1325
- type FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto = {
1326
- fkParticipanteSessaoUnicaId: number;
1327
- participanteSessaoUnica: ParticipanteSessaoUnicaCompletaDto;
1328
- };
1329
- type FichaAmarradaParticipanteSessaoUnicaCompletaDto = {
1330
- fkParticipanteSessaoUnicaId: number;
1331
- participanteSessaoUnica: ParticipanteSessaoUnicaCompletaDto;
1332
- fichaTemporaria: FichaTemporariaCompletaDto;
1333
- };
1334
- type ParticipanteSessaoUnicaSemDetalheSessaoUnicaDto = {
1335
- id: number;
1336
- usuario: UsuarioCompletaDto;
1337
- personagem: PersonagemCompletaDto | null;
1338
- amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaCompletaDto | null;
1339
- valido: boolean;
1340
- participantePendente: boolean;
1341
- };
1342
- type ParticipanteSessaoUnicaCompletaDto = {
1343
- id: number;
1344
- detalheSessaoUnica: DetalheSessaoUnicaCompletaDto;
1345
- usuario: UsuarioCompletaDto;
1346
- personagem: PersonagemCompletaDto | null;
1347
- amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaCompletaDto | null;
1348
- valido: boolean;
1349
- participantePendente: boolean;
1350
- };
1351
- type DisponibilidadeUsuarioHistoricoCompletaDto = {
1352
- id: number;
1353
- usuario: UsuarioCompletaDto;
1354
- snapshot: ListaDisponibilidadesUsuario;
1355
- tipoFrequencia: TipoFrequenciaCompletaDto;
1356
- dataCriacao: Date;
1357
- };
1358
- type JanelaDisponibilidadeCompletaDto = {
1359
- id: number;
1360
- disponibilidadeUsuario: DisponibilidadeUsuarioCompletaDto;
1361
- dds: DiaDaSemana;
1362
- horaInicio: MomentoFormatado24;
1363
- horaFim: MomentoFormatado24;
1364
- duracaoEmMinutos: number;
1365
- janelaPorExtenso: string;
1366
- };
1367
- type DadosJanelaDisponibilidade = {
1368
- dds: DiaDaSemana;
1369
- horaInicio: MomentoFormatado24;
1370
- horaFim: MomentoFormatado24;
1371
- };
1372
- type DadosDataParaSessao = {
1373
- data: Date;
1374
- horaInicio: MomentoFormatado24;
1375
- };
1376
- type TipoFrequenciaCompletaDto = {
1377
- id: number;
1378
- nome: string;
1379
- };
1380
- type EmblemaDto = {};
1381
- type FichaCompletaDto = {
1382
- id: number;
1383
- fichaPersonagem: FichaPersonagemCompletaDto | null;
1384
- fichaTemporaria: FichaTemporariaCompletaDto | null;
1385
- fichaSer: FichaSerCompletaDto | null;
1386
- dataAtualizacao: Date;
1387
- ficha: J_FichaPersistida;
1388
- detalhesEvolucao: DetalheEvolucao[];
1389
- pai: PaiFichaRef;
1390
- paiTipo: PaiFichaTipo;
1391
- nome: string | null;
1392
- nomeComDetalhe: string | null;
1393
- nivel: NivelDto | null;
1394
- usuario: UsuarioCompletaDto | null;
1395
- };
1396
- type FichaEmProcessoDeEvolucaoDto = {
1397
- id: number;
1398
- fichaPersonagem: FichaPersonagemCompletaDto | null;
1399
- fichaTemporaria: FichaTemporariaCompletaDto | null;
1400
- fichaSer: FichaSerCompletaDto | null;
1401
- dataAtualizacao: Date;
1402
- ficha: J_FichaPersistida;
1403
- detalhesEvolucao: DetalheEvolucao[];
1404
- fichaDeJogo: FichaEmClient;
1405
- paiTipo: PaiFichaTipo;
1406
- nome: string | null;
1407
- nomeComDetalhe: string | null;
1408
- nivel: NivelDto;
1409
- };
1410
- type DetalheEvolucao = {
1411
- etapa: string;
1412
- detalhes: string[];
1413
- };
1414
- type DetalhesExtras = {};
1415
- type PaiFichaTipo = 'PERSONAGEM' | 'TEMPORARIA' | 'SER';
1416
- type PaiFichaRef = {
1417
- tipo: 'PERSONAGEM';
1418
- ref: FichaPersonagemCompletaDto;
1419
- } | {
1420
- tipo: 'TEMPORARIA';
1421
- ref: FichaTemporariaCompletaDto;
1422
- } | {
1423
- tipo: 'SER';
1424
- ref: FichaSerCompletaDto;
1425
- };
1426
- type DadosEvolucaoFicha = {
1427
- fichaDeJogo: FichaEmClient;
1428
- detalhesEvolucao: DetalheEvolucao[];
1429
- };
1430
- type FichaTemporariaCompletaDto = {
1431
- id: number;
1432
- usuario: UsuarioCompletaDto;
1433
- ficha: FichaCompletaDto;
1434
- nivel: NivelDto;
1435
- amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto | null;
1436
- dataAtualizacao: Date;
1437
- historicoDetalhesEvolucao: HistoricoDetalhesEvolucao;
1438
- nome: string;
1439
- descricao: string | null;
1440
- detalheSessaoUnicaAmarrada: DetalheSessaoUnicaCompletaDto | null;
1441
- };
1442
- type FichaTemporariaSemFichaDto = {
1443
- id: number;
1444
- usuario: UsuarioCompletaDto;
1445
- nivel: NivelDto;
1446
- amarracaoFichaSessaoUnica: FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto | null;
1447
- dataAtualizacao: Date;
1448
- historicoDetalhesEvolucao: HistoricoDetalhesEvolucao;
1449
- nome: string;
1450
- descricao: string | null;
1451
- detalheSessaoUnicaAmarrada: DetalheSessaoUnicaCompletaDto | null;
1452
- };
1453
- type HistoricoDetalhesEvolucao = DetalheEvolucao[][];
1454
- type FichaTemporariaExibicaoDto = {
1455
- id: number;
1456
- nome: string;
1457
- avatarAtual: CaminhoArquivoAvatar;
1458
- };
1459
- type FichaTemporariaVisualizacaoDetalhadaDto = {
1460
- id: number;
1461
- nome: string;
1462
- descricao: string | null;
1463
- avatarAtual: CaminhoArquivoAvatar;
1464
- classe: ClasseDto;
1465
- nivel: NivelDto;
1466
- detalheSessaoUnicaAmarrada: DetalheSessaoUnicaAmarradaComFichaDto | null;
1467
- idFicha: number;
1468
- };
1469
- type PagamentoPixDto = {};
1470
- type ProdutoDto = {
1471
- id: number;
1472
- codigoInterno: string;
1473
- nome: string;
1474
- descricao: string | null;
1475
- ativo: boolean;
1476
- valorCentavosPadrao: number | null;
1477
- diasDeValidade: number | null;
1478
- geraRenovacaoPasse: boolean;
1479
- permiteValorInformadoUsuario: boolean;
1480
- dataCriacao: Date;
1481
- dataAtualizacao: Date;
1482
- };
1483
- type RegistroPixDto = {};
1484
- declare enum RegistroPixProvedor {
1485
- Efi = "EFI"
1486
- }
1487
- type CoeficienteGanhoEstatisticaClasseCompletaDto = {
1488
- id: number;
1489
- classe: ClasseDto;
1490
- estatisticaDanificavel: EstatisticaDanificavelCompletaDto;
1491
- ganhosRelativos: GanhoRelativoCoeficienteAtributoCompletaDto[];
1492
- coeficiente: number;
1493
- };
1494
- type GanhoNivelClasseCompletaDto = {
1495
- fkNivelId: number;
1496
- fkTipoGanhoNivelId: number;
1497
- fkClassesId: number;
1498
- nivel: NivelDto;
1499
- tipoGanhoNivel: TipoGanhoNivelCompletaDto;
1500
- classe: ClasseDto;
1501
- dados: DadosDoTipoGanho;
1502
- };
1503
- type DadosDoTipoGanho = DadosGanho_Atributos | DadosGanho_Pericias | DadosGanho_Estatisticas | DadosGanho_Classes | DadosGanho_ValorMaximoAtributo | DadosGanho_PontosHabilidadesEspeciais | DadosGanho_PontosHabilidadesParanormais | DadosGanho_PontosHabilidadeElemental;
1504
- type DadosGanho_Atributos = {
1505
- ganhos: number;
1506
- trocas: number;
1507
- };
1508
- type DadosGanho_Pericias = {
1509
- comum?: {
1510
- idPatente: number;
1511
- ganhos: number;
1512
- trocas: number;
1513
- }[];
1514
- livre?: {
1515
- ganhos: number;
1516
- trocas: number;
1517
- };
1518
- };
1519
- type DadosGanho_Estatisticas = {
1520
- idEstatistica: number;
1521
- valorAumento: number;
1522
- }[];
1523
- type DadosGanho_Classes = {
1524
- selecao: boolean;
1525
- };
1526
- type DadosGanho_ValorMaximoAtributo = {
1527
- aumento: boolean;
1528
- };
1529
- type DadosGanho_PontosHabilidadesEspeciais = {
1530
- valorAumento: number;
1531
- };
1532
- type DadosGanho_PontosHabilidadesParanormais = {
1533
- valorAumento: number;
1534
- };
1535
- type DadosGanho_PontosHabilidadeElemental = {
1536
- valorAumento: number;
1537
- };
1538
- type GanhoRelativoCoeficienteAtributoSemCoeficienteDto = {
1539
- fkCoeficientesGanhoEstatisticaClasseId: number;
1540
- fkAtributosId: number;
1541
- atributo: AtributoCompletaDto;
1542
- valorPorcentagem: number;
1543
- };
1544
- type GanhoRelativoCoeficienteAtributoCompletaDto = {
1545
- fkCoeficientesGanhoEstatisticaClasseId: number;
1546
- fkAtributosId: number;
1547
- coeficiente: CoeficienteGanhoEstatisticaClasseCompletaDto;
1548
- atributo: AtributoCompletaDto;
1549
- valorPorcentagem: number;
1550
- };
1551
- type TipoGanhoNivelCompletaDto = {
1552
- id: number;
1553
- nome: string;
1554
- ordem: number;
1555
- };
1556
- type GeracaoSemAventurasDto = {
1557
- id: number;
1558
- nome: string | null;
1559
- anoInicio: number | null;
1560
- };
1561
- type GeracaoCompletaDto = {
1562
- id: number;
1563
- aventuras: AventuraCompletaDto[] | null;
1564
- nome: string | null;
1565
- anoInicio: number | null;
1566
- };
1567
- type ImagemCompletaDto = {
1568
- id: number;
1569
- uuid: string;
1570
- validatedBy: UsuarioCompletaDto | null;
1571
- usuario: UsuarioCompletaDto | null;
1572
- uploader: UsuarioCompletaDto | null;
1573
- tipoImagem: TipoImagemCompletaDto;
1574
- filename: string;
1575
- status: string;
1576
- resolution: string;
1577
- quality: string;
1578
- folder: string;
1579
- originalName: string;
1580
- mimeType: string;
1581
- size: number;
1582
- isPublic: boolean;
1583
- rejectionReason: string | null;
1584
- createdAt: Date;
1585
- updatedAt: Date;
1586
- fullPath: string;
1587
- };
1588
- type TipoImagemCompletaDto = {
1589
- id: number;
1590
- nome: string;
1591
- };
1592
- type AlcanceCompletaDto = {
1593
- id: number;
1594
- nome: string;
1595
- numeroMetros: number;
1596
- descricao: string | null;
1597
- };
1598
- type AtributoSemPericiasDto = {
1599
- id: number;
1600
- linhaEfeito: LinhaEfeitoCompletaDto;
1601
- nome: string;
1602
- descricao: string;
1603
- nomeAbreviado: string;
1604
- };
1605
- type AtributoCompletaDto = {
1606
- id: number;
1607
- linhaEfeito: LinhaEfeitoCompletaDto;
1608
- pericias: PericiaCompletaDto[];
1609
- nome: string;
1610
- descricao: string;
1611
- nomeAbreviado: string;
1612
- };
1613
- type CategoriaRitualCompletaDto = {
1614
- id: number;
1615
- circuloRitual: CirculoRitualCompletaDto;
1616
- nivelRitual: NivelRitualCompletaDto;
1617
- valorPsSacrificado: number;
1618
- nome: string;
1619
- };
1620
- type CirculoRitualCompletaDto = {
1621
- id: number;
1622
- nome: string;
1623
- nomeCompleto: string;
1624
- };
1625
- type ClasseDto = {
1626
- id: number;
1627
- nome: string;
1628
- descricao: string;
1629
- };
1630
- type DuracaoCompletaDto = {
1631
- id: number;
1632
- nome: string;
1633
- };
1634
- type ElementoCompletaDto = {
1635
- id: number;
1636
- nome: string;
1637
- cores: PaletaCores;
1638
- };
1639
- type EstatisticaDanificavelCompletaDto = {
1640
- id: number;
1641
- nome: string;
1642
- cor: string;
1643
- descricao: string;
1644
- nomeAbreviado: string;
1645
- };
1646
- type ExecucaoCompletaDto = {
1647
- id: number;
1648
- linhaEfeito: LinhaEfeitoCompletaDto;
1649
- nome: string;
1650
- };
1651
- type FormatoAlcanceCompletaDto = {
1652
- id: number;
1653
- nome: string;
1654
- };
1655
- type LinhaEfeitoCompletaDto = {
1656
- id: number;
1657
- nome: string;
1658
- };
1659
- type NivelDto = {
1660
- id: number;
1661
- valorNivel: number;
1662
- nomeVisualizacao: string;
1663
- };
1664
- type NivelComponenteCompletaDto = {
1665
- id: number;
1666
- nome: string;
1667
- };
1668
- type NivelProficienciaCompletaDto = {
1669
- id: number;
1670
- nivel: number;
1671
- };
1672
- type NivelRitualCompletaDto = {
1673
- id: number;
1674
- nome: string;
1675
- };
1676
- type PatentePericiaCompletaDto = {
1677
- id: number;
1678
- nome: string;
1679
- varianciaQualidadeAcao: number;
1680
- bonusPatente: number;
1681
- descricao: string;
1682
- cor: string;
1683
- nomeAbreviado: string;
1684
- };
1685
- type PericiaCompletaDto = {
1686
- id: number;
1687
- atributo: AtributoSemPericiasDto;
1688
- linhaEfeito: LinhaEfeitoCompletaDto;
1689
- nome: string;
1690
- descricao: string;
1691
- nomeAbreviado: string;
1692
- };
1693
- type ProficienciaCompletaDto = {
1694
- id: number;
1695
- tipoProficiencia: TipoProficienciaCompletaDto;
1696
- nivelProficiencia: NivelProficienciaCompletaDto;
1697
- nome: string;
1698
- };
1699
- type TipoAlvoCompletaDto = {
1700
- id: number;
1701
- nome: string;
1702
- };
1703
- type TipoCategoriaCompletaDto = {
1704
- id: number;
1705
- valor: number;
1706
- nome: string;
1707
- };
1708
- type TipoDanoSemPaiDto = {
1709
- id: number;
1710
- linhaEfeito: LinhaEfeitoCompletaDto;
1711
- nome: string;
1712
- };
1713
- type TipoDanoCompletaDto = {
1714
- id: number;
1715
- linhaEfeito: LinhaEfeitoCompletaDto;
1716
- tipoDanoPertencente: TipoDanoSemPaiDto | null;
1717
- nome: string;
1718
- };
1719
- type TipoEfeitoCompletaDto = {
1720
- id: number;
1721
- nome: string;
1722
- nomeVisualizacao: string;
1723
- };
1724
- type TipoItemCompletaDto = {
1725
- id: number;
1726
- nome: string;
1727
- };
1728
- type TipoProficienciaCompletaDto = {
1729
- id: number;
1730
- nome: string;
1731
- };
1732
- type LinkCompletaDto = {
1733
- id: number;
1734
- tipoLink: TipoLinkCompletaDto;
1735
- sufixo: string;
1736
- descricao: string;
1737
- dataCriacao: Date;
1738
- urlCompleta: string | null;
1739
- };
1740
- type TipoLinkCompletaDto = {
1741
- id: number;
1742
- nome: string;
1743
- prefixo: string;
1744
- };
1745
- type DificuldadeSessaoCompletaDto = {
1746
- id: number;
1747
- descricao: string;
1748
- };
1749
- type EstiloSessaoMestradaDto = {
1750
- id: number;
1751
- descricao: string;
1752
- ehSessaoUnica: boolean;
1753
- };
1754
- type TipoSessaoDto = {
1755
- id: number;
1756
- descricao: string;
1757
- };
1758
- type PasseCompletoDto = {
1759
- id: number;
1760
- codigoInterno: string;
1761
- nome: string;
1762
- descricao: string | null;
1763
- ativo: boolean;
1764
- dataCriacao: Date;
1765
- };
1766
- type PasseEmUsuarioDto = {
1767
- passe: PasseCompletoDto;
1768
- dataUltimaRenovacao: Date | null;
1769
- dataValidade: Date | null;
1770
- };
1771
- type RenovacaoPasseDto = {};
1772
- type VinculoProdutoPasseDto = {};
1773
- type PerfilAdminCompletaDto = {
1774
- id: number;
1775
- nome: string;
1776
- descricao: string;
1777
- };
1778
- type PerfilJogadorCompletaDto = {
1779
- id: number;
1780
- nome: string;
1781
- descricao: string;
1782
- };
1783
- type PerfilMestreCompletaDto = {
1784
- id: number;
1785
- nome: string;
1786
- descricao: string;
1787
- };
1788
- type AvatarPersonagemDto = {
1789
- idChaveNovoAvatar: number;
1790
- descricao: string;
1791
- caminhoArquivo: CaminhoArquivoAvatar | null;
1792
- dataMomentoCanonico: Date | null;
1793
- avatarEstaConfigurado: boolean;
1794
- };
1795
- type FichaPersonagemSemFichaDto = {
1796
- fkPersonagensId: number;
1797
- fkNiveisId: number;
1798
- personagem: PersonagemCompletaDto;
1799
- nivel: NivelDto;
1800
- };
1801
- type FichaPersonagemSemPersonagemDto = {
1802
- fkPersonagensId: number;
1803
- fkNiveisId: number;
1804
- nivel: NivelDto;
1805
- ficha: FichaCompletaDto;
1806
- };
1807
- type FichaPersonagemCompletaDto = {
1808
- fkPersonagensId: number;
1809
- fkNiveisId: number;
1810
- personagem: PersonagemCompletaDto;
1811
- nivel: NivelDto;
1812
- ficha: FichaCompletaDto;
1813
- };
1814
- type InformacaoPersonagemSemPersonagemDto = {
1815
- fkPersonagensId: number;
1816
- nome: string;
1817
- anoNascimento: number;
1818
- };
1819
- type InformacaoPersonagemCompletaDto = {
1820
- fkPersonagensId: number;
1821
- personagem: PersonagemCompletaDto;
1822
- nome: string;
1823
- anoNascimento: number;
1824
- };
1825
- type PersonagemCompletaDto = {
1826
- id: number;
1827
- tipoPersonagem: TipoPersonagemCompletaDto;
1828
- nivelVigente: NivelDto | null;
1829
- usuario: UsuarioCompletaDto;
1830
- imagemAvatar: ImagemCompletaDto | null;
1831
- informacao: InformacaoPersonagemSemPersonagemDto;
1832
- gruposAventuraPersonagem: GrupoAventuraPersonagemSemPersonagemDto[] | null;
1833
- resumosPersonagemAventura: ResumoPersonagemAventuraCompletaDto[] | null;
1834
- avatarAtual: CaminhoArquivoAvatar;
1835
- temCriacaoPendente: boolean;
1836
- temEvolucaoPendente: boolean;
1837
- pendencias: ObjetoPendeciaPersonagem;
1838
- ultimoGrupoParticipado: GrupoAventuraPersonagemSemPersonagemDto | null;
1839
- indexEstadoOcupacaoAtual: EstadoOcupacaoPersonagem;
1840
- mensagemEstadoOcupacao: string;
1841
- tempoProximaSessaoPersonagem: string;
1842
- };
1843
- type PersonagemSalaJogoDto = Pick<PersonagemCompletaDto, 'id' | 'usuario' | 'informacao' | 'avatarAtual'>;
1844
- type PersonagemExibicaoDto = {
1845
- id: number;
1846
- nome: string;
1847
- avatarAtual: CaminhoArquivoAvatar;
1848
- };
1849
- type VIEW_LISTAGEM_GerenciamentoAvataresPersonagemDto = {
1850
- id: number;
1851
- nome: string;
1852
- tipoPersonagem: TipoPersonagemKey;
1853
- avatares: AvatarPersonagemDto[];
1854
- avatarAtual: CaminhoArquivoAvatar;
1855
- };
1856
- type PersonagemAvatarDto = {
1857
- idPersonagem: number;
1858
- avatarAtual: CaminhoArquivoAvatar;
1859
- };
1860
- type PersonagemVisualizacaoDetalhadaDto = {
1861
- id: number;
1862
- nome: string;
1863
- avatarAtual: CaminhoArquivoAvatar;
1864
- tipoPersonagem: TipoPersonagemKey;
1865
- classe: ClasseDto | null;
1866
- nivel: NivelDto | null;
1867
- usuario: UsuarioVisualizacaoSimplesDto;
1868
- idFichaVigente: number | null;
1869
- };
1870
- type ResumoPersonagemAventuraSemPersonagemDto = {
1871
- fkPersonagensId: number;
1872
- fkAventurasId: number;
1873
- aventura: AventuraCompletaDto;
1874
- texto: string;
1875
- };
1876
- type ResumoPersonagemAventuraCompletaDto = {
1877
- fkPersonagensId: number;
1878
- fkAventurasId: number;
1879
- personagem: PersonagemCompletaDto;
1880
- aventura: AventuraCompletaDto;
1881
- texto: string;
1882
- };
1883
- type TipoPersonagemCompletaDto = {
1884
- id: number;
1885
- nome: string;
1886
- descricao: string;
1887
- };
1888
- type DetalheRascunhoAventuraCompletaDto = {
1889
- fkRascunhoId: number;
1890
- descricao: Record<string, any>;
1891
- dataAtualizacao: Date;
1892
- };
1893
- type PAYLOAD_DetalheRascunhoAventuraEdicaoDto = Pick<DetalheRascunhoAventuraCompletaDto, 'fkRascunhoId' | 'descricao'>;
1894
- type DetalheRascunhoSessaoUnicaCanonicaCompletaDto = {
1895
- fkRascunhoId: number;
1896
- tipoSessao: TipoSessaoDto;
1897
- dificuldadeSessao: DificuldadeSessaoCompletaDto;
1898
- sessaoUnica: DetalheSessaoUnicaCompletaDto | null;
1899
- descricao: Record<string, any>;
1900
- dataAtualizacao: Date;
1901
- };
1902
- type PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto = Pick<DetalheRascunhoSessaoUnicaCanonicaCompletaDto, 'fkRascunhoId' | 'tipoSessao' | 'dificuldadeSessao' | 'descricao'>;
1903
- type DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto = {
1904
- fkRascunhoId: number;
1905
- tipoSessao: TipoSessaoDto;
1906
- dificuldadeSessao: DificuldadeSessaoCompletaDto;
1907
- sessoesUnicas: DetalheSessaoUnicaCompletaDto[];
1908
- nivelPersonagem: NivelDto;
1909
- numeroMinimoJogadores: number;
1910
- numeroMaximoJogadores: number | null;
1911
- descricao: Record<string, any>;
1912
- dataAtualizacao: Date;
1913
- };
1914
- type PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto = Pick<DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto, 'fkRascunhoId' | 'tipoSessao' | 'dificuldadeSessao' | 'nivelPersonagem' | 'numeroMinimoJogadores' | 'numeroMaximoJogadores' | 'descricao'>;
1915
- type RascunhoCompletaDto = RascunhoAventuraCompletaDto | RascunhoSessaoUnicaCanonicaCompletaDto | RascunhoSessaoUnicaNaoCanonicaCompletaDto;
1916
- type RascunhoCompletaDto__Base = {
1917
- id: number;
1918
- usuario: UsuarioCompletaDto;
1919
- titulo: string;
1920
- dataCriacao: Date;
1921
- possuiDetalhesConfigurados: boolean;
1922
- detalheUtilizacaoRascunho: DetalheUtilizacaoRascunho;
1923
- };
1924
- type RascunhoCompletaDto__Tipo = RascunhoCompletaDto__TipoAventura | RascunhoCompletaDto__TipoSessaoUnicaCanonica | RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica;
1925
- type RascunhoCompletaDto__TipoAventura = {
1926
- idEstiloSessaoMestrada: 1;
1927
- estiloSessaoMestrada: typeof ESTILOS_SESSAO_MESTRADA.AVENTURA;
1928
- detalheRascunho: DetalheRascunhoAventuraCompletaDto | null;
1929
- };
1930
- type RascunhoCompletaDto__TipoSessaoUnicaCanonica = {
1931
- idEstiloSessaoMestrada: 2;
1932
- estiloSessaoMestrada: typeof ESTILOS_SESSAO_MESTRADA.SESSAO_UNICA_CANONICA;
1933
- detalheRascunho: DetalheRascunhoSessaoUnicaCanonicaCompletaDto | null;
1934
- };
1935
- type RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica = {
1936
- idEstiloSessaoMestrada: 3;
1937
- estiloSessaoMestrada: typeof ESTILOS_SESSAO_MESTRADA.SESSAO_UNICA_NAO_CANONICA;
1938
- detalheRascunho: DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto | null;
1939
- };
1940
- type RascunhoAventuraCompletaDto = RascunhoCompletaDto__Base & RascunhoCompletaDto__TipoAventura;
1941
- type RascunhoSessaoUnicaCanonicaCompletaDto = RascunhoCompletaDto__Base & RascunhoCompletaDto__TipoSessaoUnicaCanonica;
1942
- type RascunhoSessaoUnicaNaoCanonicaCompletaDto = RascunhoCompletaDto__Base & RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica;
1943
- type PAYLOAD_DetalheRascunhoEdicaoDto = PAYLOAD_DetalheRascunhoAventuraEdicaoDto | PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto | PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto;
1944
- type EstudoCompletaDto = {
1945
- id: number;
1946
- nome: string;
1947
- };
1948
- type FichaSerCompletaDto = {
1949
- id: number;
1950
- fkSeresId: number;
1951
- ser: SerCompletaDto;
1952
- ficha: FichaCompletaDto;
1953
- };
1954
- type FichaSerSemSerDto = {
1955
- id: number;
1956
- fkSeresId: number;
1957
- ficha: FichaCompletaDto;
1958
- };
1959
- type FichaSerSemFichaDto = {
1960
- id: number;
1961
- fkSeresId: number;
1962
- ser: SerCompletaDto;
1963
- };
1964
- type SerCompletaDto = {
1965
- id: number;
1966
- fichaSer: FichaSerCompletaDto;
1967
- };
1968
- type RegistroSessaoCompletaDto = {
1969
- id: number;
1970
- sessao: SessaoCompletaDto;
1971
- tempoDoInicio: string;
1972
- tempoDeDuracao: string;
1973
- descricao: string;
1974
- };
1975
- type SessaoCompletaDto = {
1976
- id: number;
1977
- dataCriacao: Date;
1978
- dataPrevisaoInicio: Date;
1979
- dataInicio: Date | null;
1980
- duracaoEmSegundos: number | null;
1981
- dataQueEncerrou: Date | null;
1982
- estadoAtual: EstadoSessao;
1983
- detalheData: string;
1984
- tipo: TipoSessao;
1985
- tipoPorExtenso: string;
1986
- usuarioMestre: UsuarioSemPersonagensDto;
1987
- tituloInteligente: TituloSessaoInteligente;
1988
- dadosArteCapa: DadosArteCapa;
1989
- participantes: ParticipanteSessaoDto[];
1990
- };
1991
- type SessaoEmVisualizacaoDto = {
1992
- id: number;
1993
- dataCriacao: Date;
1994
- dataPrevisaoInicio: Date;
1995
- dataInicio: Date | null;
1996
- duracaoEmSegundos: number | null;
1997
- dataQueEncerrou: Date | null;
1998
- estadoAtual: EstadoSessao;
1999
- detalheData: string;
2000
- tipo: TipoSessao;
2001
- tipoPorExtenso: string;
2002
- usuarioMestre: UsuarioSemPersonagensDto;
2003
- tituloInteligente: TituloSessaoInteligente;
2004
- dadosArteCapa: DadosArteCapa;
2005
- };
2006
- type VIEW_SessaoDeJogadorDto = VIEW_SessaoDeJogadorDto__Base & VIEW_SessaoDeJogadorDto__Tipo;
2007
- type VIEW_SessaoDeJogadorDto__Base = {
2008
- id: number;
2009
- dadosArteCapa: DadosArteCapa;
2010
- tituloInteligente: TituloSessaoInteligente;
2011
- dataPrevisaoInicio: Date;
2012
- jogadorSessao: JogadorSessaoDto;
2013
- };
2014
- type VIEW_SessaoDeJogadorDto__Tipo = {
2015
- tipoSessao: TipoSessao.AVENTURA;
2016
- } | {
2017
- tipoSessao: TipoSessao.SESSAO_UNICA_CANONICA | TipoSessao.SESSAO_UNICA_NAO_CANONICA;
2018
- rascunhoSessaoUnica: RascunhoCompletaDto | null;
2019
- };
2020
- type VIEW_SessaoListagemGeralDto = {
2021
- id: number;
2022
- dataCriacao: Date;
2023
- detalheData: string;
2024
- tipoPorExtenso: string;
2025
- usernameUsuarioMestre: string;
2026
- tituloSessao: string;
2027
- };
2028
- type VIEW_SessaoComParticipantesDto = {
2029
- id: number;
2030
- tituloSessao: string;
2031
- tipo: TipoSessao;
2032
- tipoPorExtenso: string;
2033
- dataPrevisaoInicio: Date;
2034
- dadosArteCapa: DadosArteCapa;
2035
- usuarioMestre: UsuarioSemPersonagensDto;
2036
- participantes: ParticipanteSessaoDto[];
2037
- };
2038
- type VIEW_SessaoDeAventura = {
2039
- id: number;
2040
- dataCriacao: Date;
2041
- dataPrevisaoInicio: Date;
2042
- dataInicio: Date | null;
2043
- duracaoEmSegundos: number | null;
2044
- dataQueEncerrou: Date | null;
2045
- estadoAtual: EstadoSessao;
2046
- detalheData: string;
2047
- linkSessaoYoutube: string | null;
2048
- linkSessaoSpotify: string | null;
2049
- };
2050
- declare enum TipoSessao {
2051
- AVENTURA = "AVENTURA",
2052
- SESSAO_UNICA_CANONICA = "SESSAO_UNICA_CANONICA",
2053
- SESSAO_UNICA_NAO_CANONICA = "SESSAO_UNICA_NAO_CANONICA"
2054
- }
2055
- declare const TIPO_SESSAO_LABEL: Record<TipoSessao, string>;
2056
- type DadosCriacaoSessao = {
2057
- dadosParticipantes: DadosCriacaoSessao_Participante[];
2058
- idRascunho: number | null;
2059
- dadosDataParaSessao: DadosDataParaSessao;
2060
- canonica: boolean;
2061
- };
2062
- type DadosCriacaoSessao_Participante = {
2063
- idUsuarioParticipante: number;
2064
- } & ({
2065
- tipoParticipante: 'PERSONAGEM';
2066
- idPersonagem: number;
2067
- } | {
2068
- tipoParticipante: 'FICHA';
2069
- });
2070
- declare class AuthSession {
2071
- expiredAt: number;
2072
- id: string;
2073
- destroyedAt?: Date | undefined;
2074
- json: string;
2075
- constructor(expiredAt: number, id: string, json: string, destroyedAt?: Date | undefined);
2076
- }
2077
- type CustomizacaoUsuarioSemUsuarioDto = {
2078
- fkUsuariosId: number;
2079
- personagemAvatarPrincipal: PersonagemAvatarDto | null;
2080
- conquistaExibirPerfil1: ConquistaCompletaDto | null;
2081
- conquistaExibirPerfil2: ConquistaCompletaDto | null;
2082
- conquistaExibirPerfil3: ConquistaCompletaDto | null;
2083
- caminhoArquivoAvatar: CaminhoArquivoAvatar;
2084
- };
2085
- type CustomizacaoUsuarioCompletaDto = {
2086
- fkUsuariosId: number;
2087
- usuario: UsuarioCompletaDto;
2088
- personagemAvatarPrincipal: PersonagemAvatarDto | null;
2089
- conquistaExibirPerfil1: ConquistaCompletaDto | null;
2090
- conquistaExibirPerfil2: ConquistaCompletaDto | null;
2091
- conquistaExibirPerfil3: ConquistaCompletaDto | null;
2092
- caminhoArquivoAvatar: CaminhoArquivoAvatar;
2093
- };
2094
- type CustomizacaoUsuarioVisualizacaoDto = {
2095
- caminhoArquivoAvatar: CaminhoArquivoAvatar;
2096
- };
2097
- type DisponibilidadeUsuarioCompletaDto = {
2098
- fkUsuariosId: number;
2099
- usuario: UsuarioCompletaDto;
2100
- tipoFrequencia: TipoFrequenciaCompletaDto;
2101
- disponibilidades: ListaDisponibilidadesUsuario;
2102
- dataAtualizacao: Date;
2103
- dataValidade: Date;
2104
- estaValido: boolean;
2105
- };
2106
- type ListaDisponibilidadesUsuario = DisponibilidadesDDS[];
2107
- interface DisponibilidadesDDS {
2108
- dds: DiaDaSemana;
2109
- disponibilidades: JanelaDisponibilidade[];
2110
- }
2111
- interface JanelaDisponibilidade {
2112
- horaInicio: MomentoFormatado24;
2113
- horaFim: MomentoFormatado24;
2114
- }
2115
- type GithubUsuarioSemUsuarioDto = {
2116
- fkUsuarioId: number;
2117
- githubId: string;
2118
- };
2119
- type GithubUsuarioCompletaDto = {
2120
- fkUsuarioId: number;
2121
- usuario: UsuarioCompletaDto;
2122
- githubId: string;
2123
- };
2124
- type UsuarioCompletaDto = {
2125
- id: number;
2126
- perfilJogador: PerfilJogadorCompletaDto;
2127
- perfilMestre: PerfilMestreCompletaDto;
2128
- perfilAdmin: PerfilAdminCompletaDto;
2129
- permissoes: PermissoesUsuarioCompletaDto[];
2130
- customizacao: CustomizacaoUsuarioCompletaDto;
2131
- personagens: PersonagemCompletaDto[] | null;
2132
- githubUsuario: GithubUsuarioSemUsuarioDto | null;
2133
- username: string;
2134
- email: string | null;
2135
- discordId: string;
2136
- githubId: string | null;
2137
- dataCriacao: Date;
2138
- listaCargos: CargosUsuario;
2139
- };
2140
- type UsuarioSemPersonagensDto = {
2141
- id: number;
2142
- perfilJogador: PerfilJogadorCompletaDto;
2143
- perfilMestre: PerfilMestreCompletaDto;
2144
- perfilAdmin: PerfilAdminCompletaDto;
2145
- permissoes: PermissoesUsuarioCompletaDto[];
2146
- customizacao: CustomizacaoUsuarioCompletaDto;
2147
- githubUsuario: GithubUsuarioSemUsuarioDto | null;
2148
- username: string;
2149
- email: string | null;
2150
- discordId: string;
2151
- githubId: string | null;
2152
- dataCriacao: Date;
2153
- listaCargos: CargosUsuario;
2154
- };
2155
- type UsuarioParaObjetoAutenticacaoDto = {
2156
- id: number;
2157
- username: string;
2158
- personagens: PersonagemAvatarDto[];
2159
- customizacao: CustomizacaoUsuarioSemUsuarioDto;
2160
- permissoes: PermissoesUsuarioCompletaDto[];
2161
- passes: PasseEmUsuarioDto[];
2162
- };
2163
- type UsuarioVisualizacaoSimplesDto = {
2164
- id: number;
2165
- username: string;
2166
- };
2167
- type LayoutContextualizadoInicial = {
2168
- readonly titulo?: string | null;
2169
- readonly escondeFundo?: boolean;
2170
- readonly proporcaoConteudo?: number;
2171
- readonly esconderMenu?: boolean;
2172
- };
2173
- /**
2174
- * Estrutura persistida da ficha.
2175
- * Representa exatamente o JSON salvo em banco e funciona como a fonte de verdade serializada da ficha.
2176
- * Não deve carregar dados enriquecidos, estado de jogo ou responsabilidades de renderização.
2177
- */
2178
- type J_FichaPersistida = {
2179
- atributos: {
2180
- id: number;
2181
- valor: number;
2182
- }[];
2183
- pericias: {
2184
- id: number;
2185
- idPatente: number;
2186
- }[];
2187
- estatisticasDanificaveis: {
2188
- id: number;
2189
- valorMaximo: number;
2190
- }[];
2191
- classe: {
2192
- id: number;
2193
- };
2194
- detalhe: DetalheFicha;
2195
- detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
2196
- };
2197
- /**
2198
- * Estrutura base da ficha dentro da Sala de Jogo.
2199
- * Representa a ficha carregada na sala como fonte de verdade imutável durante a sessão.
2200
- * Não deve conter dados de vínculo, origem anterior, estado mutável ou dados enriquecidos de lógica.
2201
- */
2202
- type SalaDeJogo_FichaBase = {
2203
- fichaPersistida: J_FichaPersistida;
2204
- };
2205
- /**
2206
- * Snapshot serializável e enxuto da ficha em jogo.
2207
- * É o payload recorrente enviado pelo backend ao frontend com o estado atual da ficha,
2208
- * contendo apenas os dados dinâmicos necessários para tradução e renderização.
2209
- * Não deve repetir metadados estáveis ou objetos ricos de catálogo a cada atualização.
2210
- */
2211
- type J_DadosFichaEmJogo = {
2212
- atributos: {
2213
- id: number;
2214
- valor: number;
2215
- valorTotal: number;
2216
- detalhesValor: string[];
2217
- }[];
2218
- pericias: {
2219
- id: number;
2220
- idPatente: number;
2221
- valorEfeito: number;
2222
- valorTotal: number;
2223
- detalhesValor: string[];
2224
- }[];
2225
- estatisticasDanificaveis: {
2226
- id: number;
2227
- valorMaximo: number;
2228
- }[];
2229
- classe: {
2230
- id: number;
2231
- };
2232
- detalhe: DetalheFicha;
2233
- detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
2234
- };
2235
- /**
2236
- * Vínculo fixo da participação jogável dentro da Sala de Jogo.
2237
- * É armazenado pela sala em uma estrutura indexada por idUsuario, então não precisa repetir o id do usuário internamente.
2238
- * Representa qual ficha foi carregada para aquela participação e qual é o pai fixo dessa ficha.
2239
- */
2240
- type SalaDeJogo_JogadorEmJogo = {
2241
- idFicha: number;
2242
- paiFicha: PaiFichaRef;
2243
- fichaBase: SalaDeJogo_FichaBase;
2244
- };
2245
- type ParticipanteSessaoDto = {
2246
- usuario: UsuarioVisualizacaoSimplesDto;
2247
- } & (NarradorSessaoDto | JogadorSessaoDto);
2248
- type NarradorSessaoDto = {
2249
- tipoParticipante: ParticipanteSessao_Tipo.NARRADOR;
2250
- };
2251
- type JogadorSessaoDto = {
2252
- tipoParticipante: ParticipanteSessao_Tipo.JOGADOR;
2253
- } & JogadorSessao__Tipo;
2254
- type JogadorSessao__Tipo = {
2255
- tipoVinculoSessaoJogador: TipoVinculoSessaoJogador.FICHA_TEMPORARIA_PENDENTE;
2256
- } | {
2257
- tipoVinculoSessaoJogador: TipoVinculoSessaoJogador.PERSONAGEM;
2258
- personagemDoJogador: PersonagemExibicaoDto;
2259
- idFicha: number;
2260
- } | {
2261
- tipoVinculoSessaoJogador: TipoVinculoSessaoJogador.FICHA_TEMPORARIA;
2262
- fichaTemporariaDoJogador: FichaTemporariaExibicaoDto;
2263
- idFicha: number;
2264
- };
2265
- declare enum ParticipanteSessao_Tipo {
2266
- NARRADOR = "Narrador",
2267
- JOGADOR = "Jogador"
2268
- }
2269
- declare enum TipoVinculoSessaoJogador {
2270
- FICHA_TEMPORARIA_PENDENTE = "FICHA_TEMPORARIA_PENDENTE",
2271
- PERSONAGEM = "PERSONAGEM",
2272
- FICHA_TEMPORARIA = "FICHA_TEMPORARIA"
2273
- }
2274
- type FichaEmClient = {
2275
- atributos: AtributoFicha[];
2276
- pericias: PericiaFicha[];
2277
- estatisticasDanificaveis: EstatisticaDanificavelFicha[];
2278
- detalhe: DetalheFicha;
2279
- classe: ClasseDto;
2280
- detalhesUsoEvolucaoPericiasLivres: RegistroPericiaLivre[];
2281
- };
2282
- type AtributoFicha = {
2283
- atributo: AtributoCompletaDto;
2284
- valor: number;
2285
- valorTotal: number;
2286
- detalhesValor: string[];
2287
- };
2288
- type PericiaFicha = {
2289
- pericia: PericiaCompletaDto;
2290
- patentePericia: PatentePericiaCompletaDto;
2291
- valorEfeito: number;
2292
- valorTotal: number;
2293
- detalhesValor: string[];
2294
- };
2295
- type EstatisticaDanificavelFicha = {
2296
- estatisticaDanificavel: EstatisticaDanificavelCompletaDto;
2297
- valorMaximo: number;
2298
- };
2299
- type DetalheFicha = {
2300
- valorMaxAtributo: number;
2301
- pontosDeHabilidadeEspecial: number;
2302
- pontosDeHabilidadeParanormal: number;
2303
- pontosDeHabilidadeElemental: number;
2304
- };
2305
- type RegistroPericiaLivre = {
2306
- idPericia: number;
2307
- idPatente: number;
2308
- };
2309
- type DadosGeraisFicha = {
2310
- nomeVisualizacao: string;
2311
- tipoParentFicha: PaiFichaTipo;
2312
- nomeComTipo: string;
2313
- };
2314
- type SalaDeJogo_Codigo = `${number}_${string}`;
2315
- type SalaDeJogoParams = {
2316
- tipo: "sessao";
2317
- sessao: SessaoCompletaDto;
2318
- } | {
2319
- tipo: "solo";
2320
- jogadorSolo: UsuarioCompletaDto;
2321
- };
2322
- declare enum SalaDeJogo_Tipo {
2323
- SALA__SOLO = "Sess\u00E3o Solo",
2324
- SALA__SESSAO_UNICA = "Sess\u00E3o \u00DAnica",
2325
- SALA__SESSAO_AVENTURA = "Sess\u00E3o Aventura"
2326
- }
2327
- declare enum SalaDeJogo_Estado {
2328
- SALA__EM_ESPERA = "Em Espera",
2329
- SALA__EM_ANDAMENTO = "Em Andamento"
2330
- }
2331
- declare enum SalaDeJogo_TipoMestre {
2332
- SALA__MESTRADA = "SALA__MESTRADA",
2333
- SALA__INTELIGENTE = "SALA__INTELIGENTE"
2334
- }
2335
- type SalaDeJogo_Mestre = SalaDeJogo_Mestre_Mestrada | SalaDeJogo_Mestre_Inteligente;
2336
- type SalaDeJogo_Mestre_Mestrada = {
2337
- tipoMestre: SalaDeJogo_TipoMestre.SALA__MESTRADA;
2338
- usuario: UsuarioVisualizacaoSimplesDto;
2339
- };
2340
- type SalaDeJogo_Mestre_Inteligente = {
2341
- tipoMestre: SalaDeJogo_TipoMestre.SALA__INTELIGENTE;
2342
- };
2343
- declare enum SalaDeJogo_TipoParticipante {
2344
- NARRADOR = "Narrador",
2345
- JOGADOR = "Jogador"
2346
- }
2347
- type SalaDeJogo_Participante = SalaDeJogo_Participante_Narrador | SalaDeJogo_Participante_Jogador;
2348
- type SalaDeJogo_Participante_Narrador = {
2349
- tipo: SalaDeJogo_TipoParticipante.NARRADOR;
2350
- usuario: UsuarioVisualizacaoSimplesDto;
2351
- };
2352
- type SalaDeJogo_Participante_Jogador = {
2353
- tipo: SalaDeJogo_TipoParticipante.JOGADOR;
2354
- usuario: UsuarioVisualizacaoSimplesDto;
2355
- avatarAtual: CaminhoArquivoAvatar;
2356
- nomeEmJogo: string;
2357
- vinculoParticipante: SalaDeJogo_VinculoParticipante;
2358
- };
2359
- type SalaDeJogo_VinculoParticipante = {
2360
- idPersonagem: number | null;
2361
- idFicha: number | null;
2362
- };
2363
- type SalaDeJogo_FUNC_AtualizaParticipanteParams = {
2364
- acao: "adicionar";
2365
- tipo: SalaDeJogo_TipoParticipante;
2366
- idUsuario: number;
2367
- } | {
2368
- acao: "remover";
2369
- tipo: SalaDeJogo_TipoParticipante;
2370
- idUsuario: number;
2371
- };
2372
- type SalaDeJogoDto = {
2373
- codigo: SalaDeJogo_Codigo;
2374
- idSessao: number | null;
2375
- tipo: SalaDeJogo_Tipo;
2376
- mestre: SalaDeJogo_Mestre;
2377
- participantes: readonly SalaDeJogo_Participante[];
2378
- };
2379
- type LogicaJogoUsuario_EstouEmJogoDto = {
2380
- estouEmJogo: boolean;
2381
- };
2382
- type LogicaJogoUsuario_ObjetoEmJogoDto = {
2383
- objetoInicialSala: LogicaJogoUsuario_ObjetoInicialSalaDto;
2384
- };
2385
- type ObjetoEmJogoDto = ObjetoEmJogoDto__Narrador | ObjetoEmJogoDto__Jogador;
2386
- type ObjetoEmJogoDto__Narrador = ObjetoEmJogoDto__Base & {
2387
- tipoParticipante: SalaDeJogo_TipoParticipante.NARRADOR;
2388
- listaIdsUsuariosParticipantes: number[];
2389
- };
2390
- type ObjetoEmJogoDto__Jogador = ObjetoEmJogoDto__Base & {
2391
- tipoParticipante: SalaDeJogo_TipoParticipante.JOGADOR;
2392
- ficha: J_DadosFichaEmJogo | null;
2393
- };
2394
- type ObjetoEmJogoDto__Base = {
2395
- tipoParticipante: SalaDeJogo_TipoParticipante;
2396
- };
2397
- type DadosParticipanteJogo = {
2398
- personagem: PersonagemSalaJogoDto | null;
2399
- ficha: FichaCompletaDto | null;
2400
- };
2401
- type LogicaJogoUsuario_ObjetoInicialSalaDto = LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador | LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador;
2402
- type LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador = LogicaJogoUsuario_ObjetoInicialSalaDto__Base & {
2403
- tipoParticipante: SalaDeJogo_TipoParticipante.NARRADOR;
2404
- participantesDaSessao: VIEW_JogadorDeSessao[];
2405
- };
2406
- type LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador = LogicaJogoUsuario_ObjetoInicialSalaDto__Base & {
2407
- tipoParticipante: SalaDeJogo_TipoParticipante.JOGADOR;
2408
- idFicha: number;
2409
- avatarAtual: CaminhoArquivoAvatar;
2410
- };
2411
- type LogicaJogoUsuario_ObjetoInicialSalaDto__Base = {
2412
- idSessao: number;
2413
- tituloSessao: string;
2414
- caminhoArquivoArteCapa: CaminhoArquivoArte;
2415
- codigoSalaDeJogo: SalaDeJogo_Codigo;
2416
- };
2417
- type VIEW_JogadorDeSessao = {
2418
- usernameUsuario: string;
2419
- nomeParticipante: string;
2420
- avatarAtual: CaminhoArquivoAvatar;
2421
- };
2422
- type AcaoDeSessao = AcaoDeSessaoTestePericiaExecutado;
2423
- type AcaoDeSessaoTestePericiaExecutado = AcaoDeSessaoBase<'teste_pericia_executado', PayloadAcaoTestePericiaExecutado>;
2424
- type AcaoDeSessaoTipo = 'teste_pericia_executado';
2425
- interface AcaoDeSessaoBase<TTipoAcao extends AcaoDeSessaoTipo, TPayload> {
2426
- id: number;
2427
- idSessao: number;
2428
- tipoAcao: TTipoAcao;
2429
- timestampReal: string;
2430
- segundoDaSessao: number;
2431
- dataHoraInGame: string | null;
2432
- origem: OrigemAcaoDeSessao;
2433
- ator: ReferenciaEntidadeAcaoDeSessao | null;
2434
- alvos: ReferenciaEntidadeAcaoDeSessao[];
2435
- contexto: ContextoAcaoDeSessao;
2436
- payload: TPayload;
2437
- }
2438
- type OrigemAcaoDeSessao = OrigemAcaoDeSessaoJogador | OrigemAcaoDeSessaoParticipanteNarrador | OrigemAcaoDeSessaoSistema;
2439
- interface OrigemAcaoDeSessaoJogador {
2440
- tipo: 'jogador';
2441
- idUsuario: number;
2442
- idParticipanteSessao: number | null;
2443
- nomeExibicaoNoMomento: string | null;
2444
- }
2445
- interface OrigemAcaoDeSessaoParticipanteNarrador {
2446
- tipo: 'participante_narrador';
2447
- idUsuario: number;
2448
- idParticipanteSessao: number;
2449
- nomeExibicaoNoMomento: string | null;
2450
- }
2451
- interface OrigemAcaoDeSessaoSistema {
2452
- tipo: 'sistema';
2453
- idRotinaSistema: string | null;
2454
- descricaoOrigem: string | null;
2455
- }
2456
- type ReferenciaEntidadeAcaoDeSessao = ReferenciaFichaAcaoDeSessao | ReferenciaParticipanteSessaoAcaoDeSessao | ReferenciaSistemaAcaoDeSessao;
2457
- interface ReferenciaFichaAcaoDeSessao {
2458
- tipo: 'ficha';
2459
- id: number;
2460
- nomeExibicaoNoMomento: string;
2461
- }
2462
- interface ReferenciaParticipanteSessaoAcaoDeSessao {
2463
- tipo: 'participante_sessao';
2464
- id: number;
2465
- nomeExibicaoNoMomento: string | null;
2466
- }
2467
- interface ReferenciaSistemaAcaoDeSessao {
2468
- tipo: 'sistema';
2469
- id: string;
2470
- nomeExibicaoNoMomento: string;
2471
- }
2472
- interface ContextoAcaoDeSessao {
2473
- idAcaoOrigem: number | null;
2474
- localizacao: ContextoLocalizacaoAcaoDeSessao | null;
2475
- observacao: ContextoObservacaoAcaoDeSessao | null;
2476
- tags: string[];
2477
- }
2478
- interface ContextoLocalizacaoAcaoDeSessao {
2479
- tipo: 'sala' | 'cena' | 'area' | 'outro';
2480
- id: number | string | null;
2481
- descricaoNoMomento: string | null;
2482
- }
2483
- interface ContextoObservacaoAcaoDeSessao {
2484
- idsParticipantesPresentes: number[];
2485
- idsUsuariosEspectadores: number[];
2486
- }
2487
- type ModoExecucaoTestePericia = 'solicitado_por_jogador' | 'solicitado_por_participante_narrador' | 'autonomo_do_sistema';
2488
- interface PayloadAcaoTestePericiaExecutado {
2489
- idPericia: number;
2490
- nomePericiaAbreviadoNoMomento: string;
2491
- modoExecucaoTeste: ModoExecucaoTestePericia;
2492
- resultadoInterno: number;
2493
- idInstanciaTeste: number | null;
2494
- detalhesInternos: DetalhesInternosTestePericia | null;
2495
- }
2496
- interface DetalhesInternosTestePericia {
2497
- dificuldadeAlvo: number | null;
2498
- modificadoresAplicados: number[];
2499
- observacoesTecnicas: string[];
2500
- }
2501
- interface RegistrarAcaoTestePericiaExecutadoInput {
2502
- idSessao: number;
2503
- origem: OrigemAcaoDeSessao;
2504
- ator: ReferenciaEntidadeAcaoDeSessao | null;
2505
- alvos: ReferenciaEntidadeAcaoDeSessao[];
2506
- contexto: ContextoAcaoDeSessao;
2507
- idPericia: number;
2508
- nomePericiaAbreviadoNoMomento: string;
2509
- modoExecucaoTeste: ModoExecucaoTestePericia;
2510
- resultadoInterno: number;
2511
- idInstanciaTeste: number | null;
2512
- detalhesInternos: DetalhesInternosTestePericia | null;
2513
- }
2514
- type CodigoRecuperarFichaRuntime = `${SalaDeJogo_Codigo}_${number}`;
2515
- type ObjetoMensagemSalaJogo = {
2516
- mensagens: MensagemSalaJogo[];
2517
- };
2518
- type MensagemSalaJogo = {
2519
- mensagem: string;
2520
- subNivel: ObjetoMensagemSalaJogo;
2521
- };
2522
- type SalaDeJogo_SessaoDto = {
2523
- idSessao: number;
2524
- tipoSessao: TipoSessao;
2525
- tituloSessao: string;
2526
- caminhoArquivoArteCapa: CaminhoArquivoArte;
2527
- usuarioMestre: UsuarioVisualizacaoSimplesDto;
2528
- jogadores: SalaDeJogo_JogadorDto[];
2529
- };
2530
- type SalaDeJogo_JogadorDto = {
2531
- usuario: UsuarioVisualizacaoSimplesDto;
2532
- } & JogadorSessao__Tipo;
2533
- type MenuItemNode = {
2534
- readonly tipo: 'item';
2535
- readonly titulo: string;
2536
- readonly destino: PaginaDestino;
2537
- };
2538
- type MenuGrupoNode = {
2539
- readonly tipo: 'grupo';
2540
- readonly titulo: string;
2541
- readonly itens: readonly MenuNode[];
2542
- };
2543
- type MenuNode = MenuItemNode | MenuGrupoNode;
2544
- declare function menuItem(titulo: string, destino: PaginaDestino): MenuItemNode;
2545
- declare function menuGrupo(titulo: string, itens: readonly MenuNode[]): MenuGrupoNode;
2546
- type PaginaLike = {
2547
- readonly template: object;
2548
- readonly hrefTemplate: string;
2549
- readonly href: string;
2550
- readonly label: string;
2551
- readonly comCabecalho?: true;
2552
- readonly acesso?: object;
2553
- readonly acessoPorMenuInterno?: true;
2554
- readonly layoutContextualizadoInicial?: object;
2555
- };
2556
- type ChildKeys<T> = Exclude<keyof T, keyof PaginaLike>;
2557
- type HasChildren<T> = ChildKeys<T> extends never ? false : true;
2558
- type MenuInternoChildren<P> = {
2559
- readonly [K in ChildKeys<P>]?: MenuInternoTree<P[K]>;
2560
- };
2561
- type ObjectChildren<P> = {
2562
- readonly [K in keyof P]?: MenuInternoTree<P[K]>;
2563
- };
2564
- type MenuAgrupadorSemPagina<P> = keyof P extends never ? never : ObjectChildren<P> | readonly MenuNode[] | ({
2565
- readonly menu: readonly MenuNode[];
2566
- } & ObjectChildren<P>);
2567
- type MenuInternoTree<P> = P extends PaginaLike ? (HasChildren<P> extends true ? (readonly MenuNode[] | ({
2568
- readonly menu: readonly MenuNode[];
2569
- } & MenuInternoChildren<P>)) : readonly MenuNode[]) : P extends Record<string, object | string | number | boolean | null | undefined> ? MenuAgrupadorSemPagina<P> : never;
2570
- type MenusInternos<P> = {
2571
- readonly PAGINAS: MenuInternoTree<P>;
2572
- };
2573
- type PaginaComLayout = PaginaLike & {
2574
- readonly layoutContextualizadoInicial: object;
2575
- };
2576
- type HasLayout<T> = T extends PaginaComLayout ? true : T extends object ? (true extends {
2577
- [K in keyof T]-?: HasLayout<T[K]>;
2578
- }[keyof T] ? true : false) : false;
2579
- type ChildKeysByHasLayout<T> = {
2580
- [K in keyof T]-?: HasLayout<T[K]> extends true ? K : never;
2581
- }[keyof T];
2582
- type TemFilhos<T> = ChildKeysByHasLayout<T> extends never ? false : true;
2583
- type FilhosDePagina<T> = Pick<T, ChildKeysByHasLayout<T>>;
2584
- type MenuLayoutLeaf = readonly MenuNode[] | {
2585
- readonly tipo: 'vazio';
2586
- } | {
2587
- readonly tipo: 'dinamico';
2588
- };
2589
- declare function menuVazio(): {
2590
- readonly tipo: 'vazio';
2591
- };
2592
- declare function menuDinamico(): {
2593
- readonly tipo: 'dinamico';
2594
- };
2595
- type MenuLayoutChildren<T> = {
2596
- readonly [K in keyof T]: MenuLayoutNode<T[K]>;
2597
- };
2598
- type MenuLayoutNode<T> = T extends PaginaComLayout ? (TemFilhos<T> extends true ? {
2599
- readonly menu: MenuLayoutLeaf;
2600
- } & MenuLayoutChildren<FilhosDePagina<T>> : MenuLayoutLeaf) : T extends object ? (HasLayout<T> extends true ? MenuLayoutChildren<Pick<T, ChildKeysByHasLayout<T>>> : never) : never;
2601
- type RootMenuLayout<P> = HasLayout<P> extends true ? MenuLayoutNode<P> : {};
2602
- type MenusInternosLayoutContexto<P> = {
2603
- readonly PAGINAS: RootMenuLayout<P>;
2604
- };
2605
- type Brand<T, B extends string> = T & {
2606
- readonly __brand: B;
2607
- };
2608
- type ParamSingle = string | number;
2609
- type ParamMany = (string | number)[];
2610
- type ParamValue = ParamSingle | ParamMany | undefined;
2611
- type ParamsRecord = Record<string, ParamValue>;
2612
- type ExtrairParamsDoTemplate<S extends string, Acc extends ParamsRecord = {}> = S extends `${infer _A}[[...${infer P}]]${infer Rest}` ? ExtrairParamsDoTemplate<Rest, Acc & {
2613
- [K in P]?: ParamMany;
2614
- }> : S extends `${infer _A}[...${infer P}]${infer Rest}` ? ExtrairParamsDoTemplate<Rest, Acc & {
2615
- [K in P]: ParamMany;
2616
- }> : S extends `${infer _A}[${infer P}]${infer Rest}` ? ExtrairParamsDoTemplate<Rest, Acc & {
2617
- [K in P]: ParamSingle;
2618
- }> : Acc;
2619
- type PaginaParamsDoTemplate<T extends string> = ExtrairParamsDoTemplate<T>;
2620
- type PaginaInfoBase = {
2621
- readonly label: string;
2622
- readonly comCabecalho?: true;
2623
- readonly acesso?: AcessoPagina;
2624
- readonly acessoPorMenuInterno?: true;
2625
- };
2626
- type PaginaInfoComLayoutContextualizado = PaginaInfoBase & {
2627
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
2628
- };
2629
- type PaginaInfo = PaginaInfoBase | PaginaInfoComLayoutContextualizado;
2630
- type PaginaTemplate<T extends string = string> = Brand<T, 'PaginaTemplate'>;
2631
- type PaginaDef<T extends string, I extends PaginaInfo = PaginaInfo> = I & {
2632
- readonly template: PaginaTemplate<T>;
2633
- readonly hrefTemplate: T;
2634
- readonly href: T;
2635
- };
2636
- type PaginaParams<P extends {
2637
- hrefTemplate: string;
2638
- }> = PaginaParamsDoTemplate<P['hrefTemplate']>;
2639
- declare function montarHref(template: string, params: ParamsRecord): string;
2640
- type LimparUndefinedValue = string | number | boolean | object | null | undefined;
2641
- type LimparUndefinedRecord = Record<string, LimparUndefinedValue>;
2642
- declare function limparUndefined<T extends LimparUndefinedRecord>(obj: T): T;
2643
- declare function pagina<const T extends string>(hrefTemplate: T, info: PaginaInfoBase): PaginaDef<T, PaginaInfoBase>;
2644
- declare function paginaComLayoutContextualizado<const T extends string>(hrefTemplate: T, info: PaginaInfoBase, layoutContextualizadoInicial: LayoutContextualizadoInicial): PaginaDef<T, PaginaInfoComLayoutContextualizado>;
2645
- type RequiredKeys<T> = {
2646
- [K in keyof T]-?: {} extends Pick<T, K> ? never : K;
2647
- }[keyof T];
2648
- type ParamsProps<P extends PaginaDef<string>> = keyof PaginaParams<P> extends never ? {
2649
- params?: never;
2650
- } : RequiredKeys<PaginaParams<P>> extends never ? {
2651
- params?: PaginaParams<P>;
2652
- } : {
2653
- params: PaginaParams<P>;
2654
- };
2655
- declare function toParamsRecord(params: object): ParamsRecord;
2656
- type EfiPixConfig = {
2657
- clientId: string;
2658
- clientSecret: string;
2659
- pixKey: string;
2660
- baseUrl: string;
2661
- certificatePath: string;
2662
- certificatePassword: string | null;
2663
- };
2664
- type EfiCriarCobrancaImediataInput = {
2665
- txid: string;
2666
- valorCentavos: number;
2667
- segundosAteExpirar: number;
2668
- descricao: string;
2669
- };
2670
- type EfiCriarCobrancaImediataOutput = {
2671
- txid: string;
2672
- pixCopiaECola: string;
2673
- location: string | null;
2674
- revisao: number | null;
2675
- };
2676
- type DadosGeracaoPixProdutoDto = {
2677
- idProduto: number;
2678
- };
2679
- type DadosGeracaoPixContribuicaoDto = {
2680
- idProduto: number;
2681
- valorCentavos: number;
2682
- };
2683
- type PixGeradoDto = {
2684
- idRegistroPix: number;
2685
- idProduto: number;
2686
- nomeProduto: string;
2687
- valorCentavos: number;
2688
- codigoPix: string;
2689
- conteudoCopiaCola: string;
2690
- dataExpiracao: Date;
2691
- };
2692
- type DadosWebhookPixDto = {
2693
- codigoPix: string;
2694
- e2eId: string;
2695
- rawJson: string | null;
2696
- };
2697
- type FormatoUploadArquivo = 'png' | 'webp' | 'svg';
2698
- type DimensoesImagem = {
2699
- largura: number;
2700
- altura: number;
2701
- };
2702
- type RequireAtLeastOne<T, K extends keyof T> = Omit<T, K> & {
2703
- [P in K]-?: Required<Pick<T, P>> & Partial<Omit<Pick<T, K>, P>>;
2704
- }[K];
2705
- type RegraTamanhoArquivo = RequireAtLeastOne<{
2706
- minBytes?: number;
2707
- maxBytes?: number;
2708
- }, 'minBytes' | 'maxBytes'>;
2709
- type RegraDimensoesImagem = {
2710
- modo: 'exato';
2711
- exato: DimensoesImagem;
2712
- } | ({
2713
- modo: 'intervalo';
2714
- } & RequireAtLeastOne<{
2715
- min?: DimensoesImagem;
2716
- max?: DimensoesImagem;
2717
- }, 'min' | 'max'>);
2718
- type RegraProporcaoImagem = {
2719
- largura: number;
2720
- altura: number;
2721
- toleranciaPercentual?: number;
2722
- };
2723
- type RegrasUploadBase = {
2724
- formatosPermitidos: FormatoUploadArquivo[];
2725
- tamanho?: RegraTamanhoArquivo;
2726
- };
2727
- type RegrasUploadImagem = RegrasUploadBase & {
2728
- imagem: {
2729
- tipoValidacao: 'dimensoes';
2730
- dimensoes: RegraDimensoesImagem;
2731
- maxPixels?: number;
2732
- } | {
2733
- tipoValidacao: 'proporcao';
2734
- proporcao: RegraProporcaoImagem;
2735
- maxPixels?: number;
2736
- } | {
2737
- tipoValidacao: 'nenhuma';
2738
- maxPixels?: number;
2739
- };
2740
- };
2741
- type RegrasUploadArquivo = RegrasUploadBase | RegrasUploadImagem;
2742
- type ResultadoSaveFile = {
2743
- caminhoArquivo: string;
2744
- tipoMime: string;
2745
- };
2746
- interface MensagemChatRecebida {
2747
- salaId: string;
2748
- idUsuario: number;
2749
- conteudo: string;
2750
- timestamp: number;
2751
- }
2752
- interface SalaChat {
2753
- id: string;
2754
- leituraPublica: boolean;
2755
- idUsuariosLeitoresEspecificos?: number[];
2756
- escritaPublica: boolean;
2757
- idUsuariosEscritoresEspecificos?: number[];
2758
- }
2759
- interface SalaChatFront {
2760
- id: string;
2761
- podeEscrever: boolean;
2762
- mensagensIniciais: MensagemChatRecebida[];
2763
- }
2764
- interface MensagemChatPayload {
2765
- salaId: string;
2766
- conteudo: string;
2767
- }
2768
- type PAYLOAD__executaTestePericia = {
2769
- codigoRecuperarFichaRuntime: CodigoRecuperarFichaRuntime;
2770
- idPericia: number;
2771
- };
2772
- type PAYLOAD__emitirMensagemSalaJogo = PAYLOAD__emitirMensagemSalaJogo__Escutando | PAYLOAD__emitirMensagemSalaJogo__Enviando;
2773
- type PAYLOAD__emitirMensagemSalaJogo__Escutando = {
2774
- escutando: true;
2775
- };
2776
- type PAYLOAD__emitirMensagemSalaJogo__Enviando = {
2777
- mensagemSalaJogo: MensagemSalaJogo;
2778
- };
2779
- type PAYLOAD__ExecutaTestePericia_PROTOTIPO = {
2780
- tipo: 'TESTE_NARRADOR';
2781
- } | {
2782
- tipo: 'TESTE_JOGADOR';
2783
- valorAtributo: number;
2784
- valorPericia: number;
2785
- abrevPericia: string;
2786
- };
2787
- type PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO = {
2788
- codigoSala: SalaDeJogo_Codigo;
2789
- idPericia: number;
2790
- listaIdsFichas: number[];
2791
- };
2792
- type PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO = {
2793
- idFicha: number;
2794
- codigoSala: SalaDeJogo_Codigo;
2795
- idPericia: number;
2796
- };
2797
- type PAYLOAD__EmitirFichaEmJogo = {
2798
- codigoSala: SalaDeJogo_Codigo;
2799
- idFicha: number;
2800
- };
2801
- type SOCKET_AcessoUsuario = {
2802
- usuario: UsuarioParaObjetoAutenticacaoDto;
2803
- paginaAtual?: PaginaTemplate | null;
2804
- dataAtualizacao: Date;
2805
- };
2806
- type SOCKET_UsuarioExistente = {
2807
- id: number;
2808
- username: string;
2809
- caminhoArquivoAvatar: CaminhoArquivoAvatar;
2810
- };
2811
- type TelemetryConnectionInfo = {
2812
- socketId: string;
2813
- username?: string;
2814
- ip: string;
2815
- userAgent?: string;
2816
- connectedAt: number;
2817
- };
2818
- type WsEventAudienceUnico<TSocket> = {
2819
- escopo: 'unico';
2820
- socket: TSocket;
2821
- username?: string;
2822
- };
2823
- type WsEventAudienceMultiplo = {
2824
- escopo: 'multiplo';
2825
- socketsCount: number;
2826
- };
2827
- type WsEventAudience<TSocket> = WsEventAudienceUnico<TSocket> | WsEventAudienceMultiplo;
2828
- type TelemetryEventLog<TPayload extends Record<string, unknown> = Record<string, unknown>> = {
2829
- direction: 'in' | 'out';
2830
- event: string;
2831
- audiencia: WsEventAudience<string>;
2832
- payload: TPayload;
2833
- timestamp: number;
2834
- };
2835
- type TelemetrySnapshot = {
2836
- totalConnections: number;
2837
- totalEvents: number;
2838
- connections: TelemetryConnectionInfo[];
2839
- lastEvents: TelemetryEventLog[];
2840
- serverTime: number;
2841
- };
2842
- type WsErrorResponse = {
2843
- _wsErro: true;
2844
- mensagem: string;
2845
- code?: string;
2846
- detalhes?: unknown;
2847
- };
2848
- type WsUnauthorizedErrorResponse = WsErrorResponse & {
2849
- code: 'UNAUTHORIZED';
2850
- };
2851
- type WsResult<T> = T | WsErrorResponse;
2852
- declare function isWsErrorResponse(payload: unknown): payload is WsErrorResponse;
2853
- declare function isWsUnauthorizedErrorResponse(payload: unknown): payload is WsUnauthorizedErrorResponse;
2854
- declare function wsErro(mensagem: string, extra?: {
2855
- code?: string;
2856
- detalhes?: unknown;
2857
- }): WsErrorResponse;
2858
- declare function wsUnauthorized(mensagem?: string, detalhes?: unknown): WsUnauthorizedErrorResponse;
2859
- declare function wsMap<T, R>(value: WsResult<T>, mapper: (value: T) => R): WsResult<R>;
2860
- declare function wsChain<T, R>(value: WsResult<T>, next: (value: T) => WsResult<R>): WsResult<R>;
2861
- type EventoTipo = 'envia' | 'emite' | 'envia-e-recebe';
2862
- type EmitDelivery = 'broadcast' | 'perRecipient';
2863
- type EventoAuthDefault = {
2864
- autenticacao_necessaria?: false;
2865
- };
2866
- type EventoEnvia<P = unknown> = EventoAuthDefault & {
2867
- tipo: 'envia';
2868
- payload: P;
2869
- response?: never;
2870
- };
2871
- type EventoEmite<P = unknown, R = unknown> = EventoAuthDefault & {
2872
- tipo: 'emite';
2873
- payload: P;
2874
- response: R;
2875
- delivery?: EmitDelivery;
2876
- };
2877
- type EventoEnviaERecebe<P = unknown, R = unknown> = EventoAuthDefault & {
2878
- tipo: 'envia-e-recebe';
2879
- payload: P;
2880
- response: R;
2881
- };
2882
- type EventoSchema = EventoEnvia<unknown> | EventoEmite<unknown, unknown> | EventoEnviaERecebe<unknown, unknown>;
2883
- type GatewayDef = Record<string, EventoSchema>;
2884
- declare function createGateway<T extends {
2885
- [K in keyof T]: EventoSchema;
2886
- }>(def: T): T;
2887
- declare namespace EventosWebSocket {
2888
- const gateways: {
2889
- readonly Chat: {
2890
- enviaMensagem: {
2891
- tipo: "envia";
2892
- payload: {
2893
- salaId: string;
2894
- conteudoMensagem: string;
2895
- };
2896
- };
2897
- emitirSalas: {
2898
- tipo: "envia-e-recebe";
2899
- payload: {};
2900
- response: {
2901
- salas: SalaChatFront[];
2902
- };
2903
- };
2904
- emitirMensagem: {
2905
- tipo: "emite";
2906
- payload: {
2907
- mensagemId: number;
2908
- };
2909
- response: {
2910
- conteudoMensagem: MensagemChatRecebida;
2911
- };
2912
- delivery: "broadcast";
2913
- };
2914
- };
2915
- readonly Jogo: {
2916
- requisicaoDeFechamentoDeSalaAberta: {
2917
- tipo: "envia-e-recebe";
2918
- payload: {
2919
- codigoSalaDeJogo: SalaDeJogo_Codigo;
2920
- };
2921
- response: {};
2922
- };
2923
- emitirEstouEmJogo: {
2924
- tipo: "emite";
2925
- payload: {};
2926
- response: {
2927
- objetoEstouEmJogo: LogicaJogoUsuario_EstouEmJogoDto;
2928
- };
2929
- delivery: "perRecipient";
2930
- };
2931
- emitirObjetoEmJogo: {
2932
- tipo: "emite";
2933
- payload: {};
2934
- response: {
2935
- objetoEmJogo: LogicaJogoUsuario_ObjetoEmJogoDto;
2936
- };
2937
- delivery: "perRecipient";
2938
- };
2939
- emitirSessaoEmAndamento: {
2940
- tipo: "emite";
2941
- payload: {};
2942
- response: {
2943
- sessaoEmAndamento: SalaDeJogo_SessaoDto | null;
2944
- };
2945
- delivery: "perRecipient";
2946
- };
2947
- emitirTodasSalas: {
2948
- tipo: "emite";
2949
- payload: {};
2950
- response: {
2951
- salas: SalaDeJogoDto[];
2952
- };
2953
- delivery: "broadcast";
2954
- };
2955
- NARRADOR_executaAcaoParticipante_PROTOTIPO: {
2956
- tipo: "envia";
2957
- payload: PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO;
2958
- };
2959
- emitirFichaEmJogo: {
2960
- tipo: "emite";
2961
- payload: PAYLOAD__EmitirFichaEmJogo;
2962
- response: {
2963
- fichaAtualizada: J_DadosFichaEmJogo;
2964
- };
2965
- };
2966
- };
2967
- readonly ExecucaoDeJogo: {
2968
- executaTestePericia: {
2969
- tipo: "envia";
2970
- payload: PAYLOAD__executaTestePericia;
2971
- };
2972
- emitirMensagemSalaJogo: {
2973
- tipo: "emite";
2974
- payload: {
2975
- mensagemSalaJogo: PAYLOAD__emitirMensagemSalaJogo;
2976
- };
2977
- response: {
2978
- mensagemSalaJogo: MensagemSalaJogo | null;
2979
- };
2980
- };
2981
- };
2982
- readonly UsuariosConectados: {
2983
- emitirUsuariosConectadosAgora: {
2984
- tipo: "emite";
2985
- payload: {};
2986
- response: {
2987
- usuariosConectados: SOCKET_AcessoUsuario[];
2988
- };
2989
- delivery: "broadcast";
2990
- };
2991
- };
2992
- readonly UsuariosExistentes: {
2993
- obterTodos: {
2994
- tipo: "envia-e-recebe";
2995
- payload: {};
2996
- response: {
2997
- usuariosExistentes: SOCKET_UsuarioExistente[];
2998
- };
2999
- };
3000
- };
3001
- };
3002
- }
3003
- declare function isRecord(value: unknown): value is Record<string, unknown>;
3004
- declare function getEmitDelivery(gatewayName: string, eventName: string): EmitDelivery | undefined;
3005
- type WsEmitTarget = {
3006
- room: string;
3007
- } | {
3008
- userIds: number[];
3009
- } | {
3010
- scope: 'authenticated';
3011
- } | {
3012
- scope: 'all';
3013
- };
3014
- type WsEmitParams<E extends EventoEmiteAny> = {
3015
- payload?: E['payload'];
3016
- target?: WsEmitTarget;
3017
- };
3018
- type EventosEmiteMap = typeof Eventos_Emite;
3019
- type EventoEmiteAny = {
3020
- [G in keyof EventosEmiteMap]: EventosEmiteMap[G]['eventos'][keyof EventosEmiteMap[G]['eventos']];
3021
- }[keyof EventosEmiteMap];
3022
- interface PaletaCores {
3023
- corPrimaria: string;
3024
- corSecundaria?: string;
3025
- corTerciaria?: string;
3026
- }
3027
- type EstruturaPaginaDefinicao = {
3028
- titulo: string;
3029
- subtitulo?: string;
3030
- listaConteudo: {
3031
- itens: ConteudoItem[];
3032
- };
3033
- listaItensDefinicoesConectadas?: {
3034
- etiqueta: string;
3035
- subPaginaDefinicao: string;
3036
- }[];
3037
- };
3038
- type ConteudoItem = {
3039
- tipo: 'Definicao';
3040
- elementos: DefinicaoElemento[];
3041
- } | {
3042
- tipo: 'Lista';
3043
- itensLista: ListaItem[];
3044
- };
3045
- type DefinicaoElemento = {
3046
- tipo: 'Paragrafo';
3047
- conteudo: string;
3048
- } | {
3049
- tipo: 'ParagrafoSecreto';
3050
- };
3051
- type ListaItem = {
3052
- tipo: 'ItemLista';
3053
- etiqueta: string;
3054
- subPaginaDefinicao: string;
3055
- } | {
3056
- tipo: 'ItemListaSecreto';
3057
- };
3058
- declare enum AventuraEstado {
3059
- EM_PREPARO = "Em Preparo",
3060
- EM_ANDAMENTO = "Em Andamento",
3061
- FINALIZADA = "Finalizada"
3062
- }
3063
- declare enum EstadoPendenciaPersonagem {
3064
- RESUMO_AVENTURA_PENDENTE = "Informa\u00E7\u00F5es sobre Aventura Pendentes",
3065
- FICHA_NAO_CRIADA = "Cria\u00E7\u00E3o da Ficha Pendente",
3066
- FICHA_PENDENTE = "Atualiza\u00E7\u00E3o de Ficha Pendente",
3067
- SEM_PENDENCIAS = ""
3068
- }
3069
- declare enum EstadoPendenciaAdministrativaPersonagem {
3070
- SEM_AVATAR = "O Administrador ainda n\u00E3o vinculou o avatar do personagem",
3071
- SEM_PENDENCIAS = ""
3072
- }
3073
- declare enum EstadoOcupacaoPersonagem {
3074
- SE_PREPARANDO_AVENTURA = 0,
3075
- EM_AVENTURA = 1,
3076
- EM_ESPERA = 2
3077
- }
3078
- declare enum EstadoSessao {
3079
- MARCADA = "A Sess\u00E3o est\u00E1 marcada",
3080
- EM_ANDAMENTO = "A Sess\u00E3o est\u00E1 em andamento nesse momento",
3081
- FINALIZADA = "A Sess\u00E3o j\u00E1 foi realizada"
3082
- }
3083
- declare enum DiaDaSemana {
3084
- DOMINGO = 0,
3085
- SEGUNDA = 1,
3086
- TERCA = 2,
3087
- QUARTA = 3,
3088
- QUINTA = 4,
3089
- SEXTA = 5,
3090
- SABADO = 6
3091
- }
3092
- declare function obtemDiaDaSemanaPorExtensoPorDDS(dds: DiaDaSemana, plural?: boolean): string;
3093
- type NumeroHora24 = `0${0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}` | `1${0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}` | `2${0 | 1 | 2 | 3}`;
3094
- type NumeroMomento = `0${0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}` | `${1 | 2 | 3 | 4 | 5}${0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}`;
3095
- type MomentoFormatado24 = `${NumeroHora24}:${NumeroMomento}`;
3096
- type MomentoFormatado = `${NumeroMomento}:${NumeroMomento}`;
3097
- declare enum CargoExibicaoUsuario {
3098
- ADMIN = 0,
3099
- MESTRE = 1,
3100
- JOGADOR = 2,
3101
- ESPECTADOR = 3
3102
- }
3103
- type CargosUsuario = {
3104
- cargoExibicaoUsuario: CargoExibicaoUsuario;
3105
- hierarquiaNoCargo: number;
3106
- hierarquiaTotal: number;
3107
- cargos: string[];
3108
- };
3109
- type ObjetoAutenticacao = {
3110
- usuarioLogado: UsuarioParaObjetoAutenticacaoDto | null;
3111
- variaveisAmbiente: VariavelAmbienteCompletaDto[];
3112
- capacidadesConcedidas: Record<string, true>;
3113
- cadastroPermitido: boolean;
3114
- };
3115
- type ObjetoCache = {
3116
- atributos: AtributoCompletaDto[];
3117
- pericias: PericiaCompletaDto[];
3118
- patentesPericia: PatentePericiaCompletaDto[];
3119
- estatisticasDanificaveis: EstatisticaDanificavelCompletaDto[];
3120
- classes: ClasseDto[];
3121
- tiposGanho: TipoGanhoNivelCompletaDto[];
3122
- niveis: NivelDto[];
3123
- dificuldadesSessao: DificuldadeSessaoCompletaDto[];
3124
- tiposSessao: TipoSessaoDto[];
3125
- };
3126
- type ObjetoPendeciaPersonagem = {
3127
- pendeciaUsuario: EstadoPendenciaPersonagem;
3128
- pendenciaAdmin: EstadoPendenciaAdministrativaPersonagem;
3129
- };
3130
- type TipoVariavelAmbiente = 'boolean' | 'string' | 'number';
3131
- type ObjetoEvolucaoCompleto = ObjetoEvolucao & ObjetoGanhosEvolucao;
3132
- type ObjetoEvolucao = {
3133
- fichaEmProcessoDeEvolucao: FichaEmProcessoDeEvolucaoDto;
3134
- listaReferenciaTodosAtributos: AtributoCompletaDto[];
3135
- listaReferenciaPericiasDisponiveis: PericiaCompletaDto[];
3136
- listaReferenciaTodasPatentes: PatentePericiaCompletaDto[];
3137
- listaReferenciaTodasEstatisticasDanificaveis: EstatisticaDanificavelCompletaDto[];
3138
- listaReferenciaTodasClasses: ClasseDto[];
3139
- listaReferenciaTodosTiposGanho: TipoGanhoNivelCompletaDto[];
3140
- };
3141
- type ObjetoGanhosEvolucao = {
3142
- listaGanhos: GanhoNivelClasseCompletaDto[];
3143
- listaGanhosEstatisticasPorAtributos: GanhoEstatistica[];
3144
- };
3145
- type GanhoEstatistica = {
3146
- estatisticaDanificavel: EstatisticaDanificavelCompletaDto;
3147
- ganhosPorAtributo: {
3148
- atributo: AtributoCompletaDto;
3149
- valorPorUnidade: number;
3150
- }[];
3151
- };
3152
- declare enum FormatoMomento {
3153
- HMS = 0,
3154
- EXTENSO = 1,
3155
- EXTENSO_APROXIMADO = 2
3156
- }
3157
- type DetalheUtilizacaoRascunho = {
3158
- disponivel: boolean;
3159
- detalhe: string;
3160
- };
3161
- declare const PathAvatarPadrao: CaminhoArquivoAvatar;
3162
- declare const PathArteCapaPadrao: CaminhoArquivoArte;
3163
- type TituloSessaoInteligente = {
3164
- tituloCompleto: string;
3165
- titulo: string;
3166
- subtitulo?: string;
3167
- };
3168
- type PermissaoItemMinimo = {
3169
- id: number;
3170
- codigo: string;
3171
- itemPai?: {
3172
- id: number;
3173
- } | null;
3174
- };
3175
- type ListaCapacidadesNecessarias = readonly [CapacidadeDef, ...CapacidadeDef[]];
3176
- type AcessoPagina = {
3177
- autenticado: true;
3178
- listaDeCapacidadesNecessarias?: never;
3179
- cadastroPermitido?: never;
3180
- } | {
3181
- autenticado?: never;
3182
- listaDeCapacidadesNecessarias: ListaCapacidadesNecessarias;
3183
- cadastroPermitido?: never;
3184
- } | {
3185
- autenticado?: never;
3186
- listaDeCapacidadesNecessarias?: never;
3187
- cadastroPermitido: true;
3188
- };
3189
- declare function momentoParaMinutos(momento: string): number;
3190
- declare function concatenarDataEHoraEmNovaData(data: Date | string, hora: string, utcOffsetMinutes?: number): Date;
3191
- declare const pluralize: (count: number, singular: string, plural?: string) => string;
3192
- declare function minutosParaMs(minutos: number): number;
3193
- declare function formataDataCompacta(data?: Date): string;
3194
- type Gateways = typeof EventosWebSocket.gateways;
3195
- type EventoTipoLiteral = EventoTipo;
3196
- type FiltraEventosPorTipo<G extends GatewayDef, Tipo extends EventoTipoLiteral> = {
3197
- [K in keyof G as G[K] extends {
3198
- tipo: Tipo;
3199
- } ? K : never]: G[K];
3200
- };
3201
- declare function criarEventosFiltrados<Tipo extends EventoTipoLiteral>(tipo: Tipo): { [G in keyof Gateways]: {
3202
- eventos: { [E in keyof FiltraEventosPorTipo<Gateways[G], Tipo>]: FiltraEventosPorTipo<Gateways[G], Tipo>[E] & {
3203
- readonly nome: E;
3204
- readonly gateway: G;
3205
- readonly fullName: `${Extract<G, string>}:${Extract<E, string>}`;
3206
- }; };
3207
- }; };
3208
- declare const Eventos_Envia: {
3209
- readonly Chat: {
3210
- eventos: {
3211
- enviaMensagem: {
3212
- tipo: "envia";
3213
- payload: {
3214
- salaId: string;
3215
- conteudoMensagem: string;
3216
- };
3217
- } & {
3218
- readonly nome: "enviaMensagem";
3219
- readonly gateway: "Chat";
3220
- readonly fullName: "Chat:enviaMensagem";
3221
- };
3222
- };
3223
- };
3224
- readonly Jogo: {
3225
- eventos: {
3226
- NARRADOR_executaAcaoParticipante_PROTOTIPO: {
3227
- tipo: "envia";
3228
- payload: PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO;
3229
- } & {
3230
- readonly nome: "NARRADOR_executaAcaoParticipante_PROTOTIPO";
3231
- readonly gateway: "Jogo";
3232
- readonly fullName: "Jogo:NARRADOR_executaAcaoParticipante_PROTOTIPO";
3233
- };
3234
- };
3235
- };
3236
- readonly ExecucaoDeJogo: {
3237
- eventos: {
3238
- executaTestePericia: {
3239
- tipo: "envia";
3240
- payload: PAYLOAD__executaTestePericia;
3241
- } & {
3242
- readonly nome: "executaTestePericia";
3243
- readonly gateway: "ExecucaoDeJogo";
3244
- readonly fullName: "ExecucaoDeJogo:executaTestePericia";
3245
- };
3246
- };
3247
- };
3248
- readonly UsuariosConectados: {
3249
- eventos: {};
3250
- };
3251
- readonly UsuariosExistentes: {
3252
- eventos: {};
3253
- };
3254
- };
3255
- declare const Eventos_Emite: {
3256
- readonly Chat: {
3257
- eventos: {
3258
- emitirMensagem: {
3259
- tipo: "emite";
3260
- payload: {
3261
- mensagemId: number;
3262
- };
3263
- response: {
3264
- conteudoMensagem: MensagemChatRecebida;
3265
- };
3266
- delivery: "broadcast";
3267
- } & {
3268
- readonly nome: "emitirMensagem";
3269
- readonly gateway: "Chat";
3270
- readonly fullName: "Chat:emitirMensagem";
3271
- };
3272
- };
3273
- };
3274
- readonly Jogo: {
3275
- eventos: {
3276
- emitirEstouEmJogo: {
3277
- tipo: "emite";
3278
- payload: {};
3279
- response: {
3280
- objetoEstouEmJogo: LogicaJogoUsuario_EstouEmJogoDto;
3281
- };
3282
- delivery: "perRecipient";
3283
- } & {
3284
- readonly nome: "emitirEstouEmJogo";
3285
- readonly gateway: "Jogo";
3286
- readonly fullName: "Jogo:emitirEstouEmJogo";
3287
- };
3288
- emitirObjetoEmJogo: {
3289
- tipo: "emite";
3290
- payload: {};
3291
- response: {
3292
- objetoEmJogo: LogicaJogoUsuario_ObjetoEmJogoDto;
3293
- };
3294
- delivery: "perRecipient";
3295
- } & {
3296
- readonly nome: "emitirObjetoEmJogo";
3297
- readonly gateway: "Jogo";
3298
- readonly fullName: "Jogo:emitirObjetoEmJogo";
3299
- };
3300
- emitirSessaoEmAndamento: {
3301
- tipo: "emite";
3302
- payload: {};
3303
- response: {
3304
- sessaoEmAndamento: SalaDeJogo_SessaoDto | null;
3305
- };
3306
- delivery: "perRecipient";
3307
- } & {
3308
- readonly nome: "emitirSessaoEmAndamento";
3309
- readonly gateway: "Jogo";
3310
- readonly fullName: "Jogo:emitirSessaoEmAndamento";
3311
- };
3312
- emitirTodasSalas: {
3313
- tipo: "emite";
3314
- payload: {};
3315
- response: {
3316
- salas: SalaDeJogoDto[];
3317
- };
3318
- delivery: "broadcast";
3319
- } & {
3320
- readonly nome: "emitirTodasSalas";
3321
- readonly gateway: "Jogo";
3322
- readonly fullName: "Jogo:emitirTodasSalas";
3323
- };
3324
- emitirFichaEmJogo: {
3325
- tipo: "emite";
3326
- payload: PAYLOAD__EmitirFichaEmJogo;
3327
- response: {
3328
- fichaAtualizada: J_DadosFichaEmJogo;
3329
- };
3330
- } & {
3331
- readonly nome: "emitirFichaEmJogo";
3332
- readonly gateway: "Jogo";
3333
- readonly fullName: "Jogo:emitirFichaEmJogo";
3334
- };
3335
- };
3336
- };
3337
- readonly ExecucaoDeJogo: {
3338
- eventos: {
3339
- emitirMensagemSalaJogo: {
3340
- tipo: "emite";
3341
- payload: {
3342
- mensagemSalaJogo: PAYLOAD__emitirMensagemSalaJogo;
3343
- };
3344
- response: {
3345
- mensagemSalaJogo: MensagemSalaJogo | null;
3346
- };
3347
- } & {
3348
- readonly nome: "emitirMensagemSalaJogo";
3349
- readonly gateway: "ExecucaoDeJogo";
3350
- readonly fullName: "ExecucaoDeJogo:emitirMensagemSalaJogo";
3351
- };
3352
- };
3353
- };
3354
- readonly UsuariosConectados: {
3355
- eventos: {
3356
- emitirUsuariosConectadosAgora: {
3357
- tipo: "emite";
3358
- payload: {};
3359
- response: {
3360
- usuariosConectados: SOCKET_AcessoUsuario[];
3361
- };
3362
- delivery: "broadcast";
3363
- } & {
3364
- readonly nome: "emitirUsuariosConectadosAgora";
3365
- readonly gateway: "UsuariosConectados";
3366
- readonly fullName: "UsuariosConectados:emitirUsuariosConectadosAgora";
3367
- };
3368
- };
3369
- };
3370
- readonly UsuariosExistentes: {
3371
- eventos: {};
3372
- };
3373
- };
3374
- declare const Eventos_EnviaERecebe: {
3375
- readonly Chat: {
3376
- eventos: {
3377
- emitirSalas: {
3378
- tipo: "envia-e-recebe";
3379
- payload: {};
3380
- response: {
3381
- salas: SalaChatFront[];
3382
- };
3383
- } & {
3384
- readonly nome: "emitirSalas";
3385
- readonly gateway: "Chat";
3386
- readonly fullName: "Chat:emitirSalas";
3387
- };
3388
- };
3389
- };
3390
- readonly Jogo: {
3391
- eventos: {
3392
- requisicaoDeFechamentoDeSalaAberta: {
3393
- tipo: "envia-e-recebe";
3394
- payload: {
3395
- codigoSalaDeJogo: SalaDeJogo_Codigo;
3396
- };
3397
- response: {};
3398
- } & {
3399
- readonly nome: "requisicaoDeFechamentoDeSalaAberta";
3400
- readonly gateway: "Jogo";
3401
- readonly fullName: "Jogo:requisicaoDeFechamentoDeSalaAberta";
3402
- };
3403
- };
3404
- };
3405
- readonly ExecucaoDeJogo: {
3406
- eventos: {};
3407
- };
3408
- readonly UsuariosConectados: {
3409
- eventos: {};
3410
- };
3411
- readonly UsuariosExistentes: {
3412
- eventos: {
3413
- obterTodos: {
3414
- tipo: "envia-e-recebe";
3415
- payload: {};
3416
- response: {
3417
- usuariosExistentes: SOCKET_UsuarioExistente[];
3418
- };
3419
- } & {
3420
- readonly nome: "obterTodos";
3421
- readonly gateway: "UsuariosExistentes";
3422
- readonly fullName: "UsuariosExistentes:obterTodos";
3423
- };
3424
- };
3425
- };
3426
- };
3427
- type DecisaoAcessoPagina = {
3428
- permitido: true;
3429
- } | {
3430
- permitido: false;
3431
- motivo: 'NAO_AUTENTICADO';
3432
- redirecionarPara: PaginaFolha;
3433
- } | {
3434
- permitido: false;
3435
- motivo: 'SEM_CAPACIDADE';
3436
- redirecionarPara: PaginaFolha;
3437
- };
3438
- type ResolverMenuInterno = (pagina: PaginaFolha) => readonly PaginaFolha[] | undefined;
3439
- type Opts = {
3440
- resolverMenuInterno?: ResolverMenuInterno;
3441
- redirectNaoAutenticado: PaginaFolha;
3442
- redirectSemCapacidade: PaginaFolha;
3443
- };
3444
- declare function decidirAcessoPagina(pagina: PaginaFolha, ctx: CtxAcesso, opts: Opts): DecisaoAcessoPagina;
3445
- declare function decidirAcessoPagina_Rec(pagina: PaginaFolha, ctx: CtxAcesso, opts: Opts, visitados: Set<string>): DecisaoAcessoPagina;
3446
- declare const PAGINAS: {
3447
- readonly home: PaginaDef<"/", PaginaInfoBase>;
3448
- readonly acessar: PaginaDef<"/acessar", PaginaInfoBase>;
3449
- readonly cadastrar: PaginaDef<"/cadastrar", PaginaInfoBase>;
3450
- readonly definicoes: PaginaDef<"/definicoes/[[...slug]]", PaginaInfoBase>;
3451
- readonly dicas: PaginaDef<"/dicas/[[...slug]]", PaginaInfoBase>;
3452
- readonly jogo: {
3453
- readonly admin: {
3454
- readonly gerenciarSalas: PaginaDef<"/jogo/admin/gerenciar-salas", PaginaInfoComLayoutContextualizado>;
3455
- };
3456
- readonly mestre: {
3457
- readonly sessoesMestre: PaginaDef<"/jogo/mestre/sessoes-mestre", PaginaInfoComLayoutContextualizado>;
3458
- };
3459
- readonly jogador: PaginaDef<"/jogo/jogador", PaginaInfoComLayoutContextualizado>;
3460
- readonly emJogo: PaginaDef<"/jogo/em-jogo", PaginaInfoBase>;
3461
- };
3462
- readonly linhaDoTempo: PaginaDef<"/linha-do-tempo", PaginaInfoBase>;
3463
- readonly minhaPagina: PaginaDef<"/minha-pagina", PaginaInfoBase>;
3464
- readonly minhasPaginas: {
3465
- readonly admin: {
3466
- readonly aventura: PaginaDef<"/minhas-paginas/admin/aventura/[id]", PaginaInfoComLayoutContextualizado>;
3467
- readonly aventuras: PaginaDef<"/minhas-paginas/admin/aventuras", PaginaInfoComLayoutContextualizado>;
3468
- readonly dashboardWs: PaginaDef<"/minhas-paginas/admin/dashboard-ws", PaginaInfoComLayoutContextualizado>;
3469
- readonly sessao: PaginaDef<"/minhas-paginas/admin/sessao/[id]", PaginaInfoComLayoutContextualizado>;
3470
- readonly variaveisAmbiente: PaginaDef<"/minhas-paginas/admin/variaveis-ambiente", PaginaInfoComLayoutContextualizado>;
3471
- readonly dashboardPermissoes: PaginaDef<"/minhas-paginas/admin/permissoes", PaginaInfoComLayoutContextualizado>;
3472
- readonly dashboardPermissoesUsuarios: PaginaDef<"/minhas-paginas/admin/permissoes-usuarios", PaginaInfoComLayoutContextualizado>;
3473
- readonly deletarArquivosAbsoluto: PaginaDef<"/minhas-paginas/admin/deletar-arquivos-absoluto", PaginaInfoComLayoutContextualizado>;
3474
- readonly deletarArquivosFileServer: PaginaDef<"/minhas-paginas/admin/deletar-arquivos-file-server", PaginaInfoComLayoutContextualizado>;
3475
- readonly uploadRecursosInternos: PaginaDef<"/minhas-paginas/admin/uploads-recursos-internos", PaginaInfoComLayoutContextualizado>;
3476
- readonly label: string;
3477
- readonly comCabecalho?: true;
3478
- readonly acesso?: AcessoPagina;
3479
- readonly acessoPorMenuInterno?: true;
3480
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3481
- readonly template: PaginaTemplate<"/minhas-paginas/admin">;
3482
- readonly hrefTemplate: "/minhas-paginas/admin";
3483
- readonly href: "/minhas-paginas/admin";
3484
- };
3485
- readonly moderador: {
3486
- readonly dashboardAprovacaoImagensArtista: PaginaDef<"/minhas-paginas/moderador/aprovar-imagens-artista", PaginaInfoComLayoutContextualizado>;
3487
- readonly label: string;
3488
- readonly comCabecalho?: true;
3489
- readonly acesso?: AcessoPagina;
3490
- readonly acessoPorMenuInterno?: true;
3491
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3492
- readonly template: PaginaTemplate<"/minhas-paginas/moderador">;
3493
- readonly hrefTemplate: "/minhas-paginas/moderador";
3494
- readonly href: "/minhas-paginas/moderador";
3495
- };
3496
- readonly mestre: {
3497
- readonly aventura: PaginaDef<"/minhas-paginas/mestre/aventura/[id]", PaginaInfoComLayoutContextualizado>;
3498
- readonly aventuras: PaginaDef<"/minhas-paginas/mestre/aventuras", PaginaInfoComLayoutContextualizado>;
3499
- readonly sessoesUnicas: PaginaDef<"/minhas-paginas/mestre/sessoes-unicas", PaginaInfoComLayoutContextualizado>;
3500
- readonly personagens: PaginaDef<"/minhas-paginas/mestre/personagens", PaginaInfoComLayoutContextualizado>;
3501
- readonly rascunhos: {
3502
- readonly aventuras: PaginaDef<"/minhas-paginas/mestre/rascunhos/aventuras", PaginaInfoComLayoutContextualizado>;
3503
- readonly sessoesUnicas: PaginaDef<"/minhas-paginas/mestre/rascunhos/sessoes-unicas", PaginaInfoComLayoutContextualizado>;
3504
- };
3505
- readonly temporario: {
3506
- readonly consultarDisponibilidades: PaginaDef<"/minhas-paginas/mestre/consultar-disponibilidades", PaginaInfoComLayoutContextualizado>;
3507
- readonly criarSessaoUnica: PaginaDef<"/minhas-paginas/mestre/criar-sessao-unica", PaginaInfoComLayoutContextualizado>;
3508
- };
3509
- readonly sessao: PaginaDef<"/minhas-paginas/mestre/sessao/[id]", PaginaInfoComLayoutContextualizado>;
3510
- readonly label: string;
3511
- readonly comCabecalho?: true;
3512
- readonly acesso?: AcessoPagina;
3513
- readonly acessoPorMenuInterno?: true;
3514
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3515
- readonly template: PaginaTemplate<"/minhas-paginas/mestre">;
3516
- readonly hrefTemplate: "/minhas-paginas/mestre";
3517
- readonly href: "/minhas-paginas/mestre";
3518
- };
3519
- readonly artista: {
3520
- readonly minhasImagens: PaginaDef<"/minhas-paginas/artista/minhas-imagens", PaginaInfoComLayoutContextualizado>;
3521
- readonly adicionarImagem: PaginaDef<"/minhas-paginas/artista/adicionar-imagem", PaginaInfoComLayoutContextualizado>;
3522
- readonly avatares: {
3523
- readonly gerenciarAvatares: PaginaDef<"/minhas-paginas/artista/avatares", PaginaInfoComLayoutContextualizado>;
3524
- };
3525
- readonly emblemas: {
3526
- readonly gerenciarEmblemas: PaginaDef<"/minhas-paginas/artista/emblemas", PaginaInfoComLayoutContextualizado>;
3527
- };
3528
- readonly label: string;
3529
- readonly comCabecalho?: true;
3530
- readonly acesso?: AcessoPagina;
3531
- readonly acessoPorMenuInterno?: true;
3532
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3533
- readonly template: PaginaTemplate<"/minhas-paginas/artista">;
3534
- readonly hrefTemplate: "/minhas-paginas/artista";
3535
- readonly href: "/minhas-paginas/artista";
3536
- };
3537
- readonly jogador: {
3538
- readonly meusPersonagens: PaginaDef<"/minhas-paginas/jogador/meus-personagens", PaginaInfoComLayoutContextualizado>;
3539
- readonly minhasFichas: PaginaDef<"/minhas-paginas/jogador/minhas-fichas", PaginaInfoComLayoutContextualizado>;
3540
- readonly criar: {
3541
- readonly ficha: PaginaDef<"/minhas-paginas/jogador/criar/ficha", PaginaInfoComLayoutContextualizado>;
3542
- readonly personagem: PaginaDef<"/minhas-paginas/jogador/criar/personagem", PaginaInfoComLayoutContextualizado>;
3543
- };
3544
- readonly label: string;
3545
- readonly comCabecalho?: true;
3546
- readonly acesso?: AcessoPagina;
3547
- readonly acessoPorMenuInterno?: true;
3548
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3549
- readonly template: PaginaTemplate<"/minhas-paginas/jogador">;
3550
- readonly hrefTemplate: "/minhas-paginas/jogador";
3551
- readonly href: "/minhas-paginas/jogador";
3552
- };
3553
- readonly minhasDisponibilidades: PaginaDef<"/minhas-paginas/minhas-disponibilidades", PaginaInfoComLayoutContextualizado>;
3554
- readonly minhasConfiguracoes: {
3555
- readonly passeDeJogador: PaginaDef<"/minhas-paginas/minhas-configuracoes/passe-de-jogador", PaginaInfoComLayoutContextualizado>;
3556
- readonly label: string;
3557
- readonly comCabecalho?: true;
3558
- readonly acesso?: AcessoPagina;
3559
- readonly acessoPorMenuInterno?: true;
3560
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3561
- readonly template: PaginaTemplate<"/minhas-paginas/minhas-configuracoes">;
3562
- readonly hrefTemplate: "/minhas-paginas/minhas-configuracoes";
3563
- readonly href: "/minhas-paginas/minhas-configuracoes";
3564
- };
3565
- readonly label: string;
3566
- readonly comCabecalho?: true;
3567
- readonly acesso?: AcessoPagina;
3568
- readonly acessoPorMenuInterno?: true;
3569
- readonly layoutContextualizadoInicial: LayoutContextualizadoInicial;
3570
- readonly template: PaginaTemplate<"/minhas-paginas">;
3571
- readonly hrefTemplate: "/minhas-paginas";
3572
- readonly href: "/minhas-paginas";
3573
- };
3574
- readonly fichas: PaginaDef<"/fichas", PaginaInfoComLayoutContextualizado>;
3575
- readonly personagens: PaginaDef<"/personagens", PaginaInfoComLayoutContextualizado>;
3576
- readonly sessoes: PaginaDef<"/sessoes", PaginaInfoComLayoutContextualizado>;
3577
- readonly sessaoAovivo: PaginaDef<"/sessao-aovivo", PaginaInfoBase>;
3578
- readonly assistir: PaginaDef<"/assistir", PaginaInfoComLayoutContextualizado>;
3579
- };
3580
- type Folhas<T> = T extends PaginaDef<string> ? T | Folhas<Omit<T, keyof PaginaDef<string>>> : T extends readonly (infer U)[] ? Folhas<U> : T extends object ? {
3581
- [K in keyof T]-?: Folhas<NonNullable<T[K]>>;
3582
- }[keyof T] : never;
3583
- type PaginaFolha = Folhas<typeof PAGINAS>;
3584
- type PaginaTemplateFolha = PaginaFolha['template'];
3585
- type PaginaDestino = PaginaFolha extends infer P ? P extends PaginaFolha ? {
3586
- pagina: P;
3587
- } & ParamsProps<P> : never : never;
3588
- type PaginaDestinoPagina<P extends PaginaFolha> = {
3589
- pagina: P;
3590
- } & ParamsProps<P>;
3591
- type PaginaHrefTemplate = PaginaFolha['hrefTemplate'];
3592
- type PaginaHref = PaginaFolha['href'];
3593
- type PaginaDefAny = PaginaDef<string>;
3594
- type PaginaTemplateAny = PaginaTemplate<string>;
3595
- declare function filtrarMenuPorAcesso(nodes: readonly MenuNode[], ctx: CtxAcesso): MenuNode[];
3596
- declare const MENU_PRINCIPAL: readonly MenuNode[];
3597
- declare const MENUS_INTERNOS: {
3598
- readonly PAGINAS: {
3599
- readonly jogo: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3600
- readonly minhasPaginas: {
3601
- readonly menu: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode];
3602
- readonly admin: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3603
- readonly moderador: readonly [MenuItemNode];
3604
- readonly mestre: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3605
- readonly artista: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3606
- readonly jogador: readonly [MenuGrupoNode];
3607
- readonly minhasConfiguracoes: readonly [MenuItemNode, MenuItemNode];
3608
- };
3609
- };
3610
- };
3611
- declare const MENUS_INTERNOS_LAYOUTCONTEXTO: {
3612
- readonly PAGINAS: {
3613
- readonly assistir: {
3614
- readonly tipo: "dinamico";
3615
- };
3616
- readonly jogo: {
3617
- readonly admin: {
3618
- readonly gerenciarSalas: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3619
- };
3620
- readonly mestre: {
3621
- readonly sessoesMestre: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3622
- };
3623
- readonly jogador: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3624
- };
3625
- readonly minhasPaginas: {
3626
- readonly menu: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode, MenuItemNode];
3627
- readonly admin: {
3628
- readonly menu: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3629
- readonly aventura: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3630
- readonly aventuras: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3631
- readonly dashboardWs: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3632
- readonly sessao: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3633
- readonly variaveisAmbiente: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3634
- readonly dashboardPermissoes: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3635
- readonly dashboardPermissoesUsuarios: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3636
- readonly deletarArquivosAbsoluto: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3637
- readonly deletarArquivosFileServer: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3638
- readonly uploadRecursosInternos: readonly [MenuItemNode, MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3639
- };
3640
- readonly moderador: {
3641
- readonly menu: readonly [MenuItemNode];
3642
- readonly dashboardAprovacaoImagensArtista: readonly [MenuItemNode];
3643
- };
3644
- readonly mestre: {
3645
- readonly menu: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3646
- readonly aventura: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3647
- readonly aventuras: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3648
- readonly sessoesUnicas: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3649
- readonly personagens: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3650
- readonly rascunhos: {
3651
- readonly aventuras: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3652
- readonly sessoesUnicas: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3653
- };
3654
- readonly sessao: readonly [MenuGrupoNode, MenuGrupoNode, MenuGrupoNode, MenuGrupoNode];
3655
- readonly temporario: {
3656
- readonly consultarDisponibilidades: {
3657
- readonly tipo: "vazio";
3658
- };
3659
- readonly criarSessaoUnica: {
3660
- readonly tipo: "vazio";
3661
- };
3662
- };
3663
- };
3664
- readonly artista: {
3665
- readonly menu: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3666
- readonly minhasImagens: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3667
- readonly adicionarImagem: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3668
- readonly avatares: {
3669
- readonly gerenciarAvatares: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3670
- };
3671
- readonly emblemas: {
3672
- readonly gerenciarEmblemas: readonly [MenuItemNode, MenuItemNode, MenuGrupoNode, MenuGrupoNode];
3673
- };
3674
- };
3675
- readonly jogador: {
3676
- readonly menu: readonly [MenuGrupoNode];
3677
- readonly meusPersonagens: readonly [MenuGrupoNode];
3678
- readonly minhasFichas: readonly [MenuGrupoNode];
3679
- readonly criar: {
3680
- readonly ficha: {
3681
- readonly tipo: "vazio";
3682
- };
3683
- readonly personagem: {
3684
- readonly tipo: "vazio";
3685
- };
3686
- };
3687
- };
3688
- readonly minhasDisponibilidades: {
3689
- readonly tipo: "vazio";
3690
- };
3691
- readonly minhasConfiguracoes: {
3692
- readonly menu: readonly [MenuItemNode, MenuItemNode];
3693
- readonly passeDeJogador: readonly [MenuItemNode, MenuItemNode];
3694
- };
3695
- };
3696
- readonly fichas: {
3697
- readonly tipo: "dinamico";
3698
- };
3699
- readonly personagens: {
3700
- readonly tipo: "dinamico";
3701
- };
3702
- readonly sessoes: {
3703
- readonly tipo: "vazio";
3704
- };
3705
- };
3706
- };
3707
- type PaginasNodeValue = object | string | number | boolean | null | undefined;
3708
- type PaginasNodeRecord = Record<string, PaginasNodeValue>;
3709
- type MenusNodeRecord = Record<string, object | undefined>;
3710
- declare function isPaginaComLayout(node: object): node is PaginaFolha;
3711
- declare function isMenuLeaf(node: object): node is MenuLayoutLeaf;
3712
- declare function getPaginaKey(pagina: PaginaFolha): string;
3713
- declare const MENUS_LAYOUTCONTEXTO_POR_PAGINA: ReadonlyMap<string, MenuLayoutLeaf>;
3714
- declare function obterMenuInternoLayoutContexto(pagina: PaginaFolha): MenuLayoutLeaf | undefined;
3715
- declare const MENUS_INTERNOS_POR_PAGINA: ReadonlyMap<string, readonly MenuNode[]>;
3716
- declare function obterMenuInterno(pagina: PaginaFolha): readonly MenuNode[] | undefined;
3717
- declare function resolverMenuInterno(pagina: PaginaFolha): readonly PaginaFolha[] | undefined;
3718
- type ResultadoValidacao = {
3719
- ok: true;
3720
- } | {
3721
- ok: false;
3722
- erros: string[];
3723
- };
3724
- declare function isNumeroInteiroPositivo(n: number): boolean;
3725
- declare function isNumeroPositivo(n: number): boolean;
3726
- declare function pushErro(erros: string[], msg: string): void;
3727
- declare function validarFormatos(formatos: FormatoUploadArquivo[], erros: string[]): void;
3728
- declare function validarTamanho(regras: RegrasUploadArquivo, erros: string[]): void;
3729
- declare function validarDimensoesDim(d: {
3730
- largura: number;
3731
- altura: number;
3732
- }, path: string, erros: string[]): void;
3733
- declare function validarDimensoesRegra(regra: {
3734
- modo: 'exato';
3735
- exato: {
3736
- largura: number;
3737
- altura: number;
3738
- };
3739
- } | ({
3740
- modo: 'intervalo';
3741
- } & {
3742
- min?: {
3743
- largura: number;
3744
- altura: number;
3745
- };
3746
- max?: {
3747
- largura: number;
3748
- altura: number;
3749
- };
3750
- }), erros: string[]): void;
3751
- declare function validarProporcao(regra: {
3752
- largura: number;
3753
- altura: number;
3754
- toleranciaPercentual?: number;
3755
- }, erros: string[]): void;
3756
- declare function validarMaxPixels(maxPixels: number | undefined, erros: string[]): void;
3757
- declare function validarImagem(regras: RegrasUploadArquivo, erros: string[]): void;
3758
- declare function validarRegrasUploadArquivo(regras: RegrasUploadArquivo): ResultadoValidacao;
3759
- declare function isRegrasUploadArquivoValidas(regras: RegrasUploadArquivo): regras is RegrasUploadArquivo;
3760
- declare function mimeFromFormato(formato: FormatoUploadArquivo): string | null;
3761
- declare function acceptFromFormatos(formatos: FormatoUploadArquivo[]): string;
3762
- declare function isFormatoImagemBitmap(formato: FormatoUploadArquivo): formato is "png" | "webp";
3763
- export { ARQUIVOS_INTERNOS, ArquivoInternoDef, ArquivoInternoKey, ATRIBUTOS, AtributosDef, AtributosKey, CAPACIDADES, CapacidadeDef, CapacidadeKey, CLASSES, ClassesDef, ClassesKey, ESTATISTICAS_DANIFICAVEIS, EstatisticasDanificaveisDef, EstatisticasDanificaveisKey, ESTILOS_SESSAO_MESTRADA, EstilosSessaoMestradaDef, EstilosSessaoMestradaKey, PASSES, PasseDef, PasseKey, PATENTES_PERICIAS, PatentesPericiasDef, PatentesPericiasKey, PERICIAS, PericiasDef, PericiasKey, PERMISSOES_ESTADOS, PermissaoEstadoDef, PermissaoEstadoKey, PRODUTOS, ProdutoDef, ProdutoKey, TIPOS_ARQUIVO, TipoArquivoDef, TipoArquivoKey, TIPOS_GANHO_NIVEL, TiposGanhoNivelDef, TiposGanhoNivelKey, TIPOS_PERSONAGEM, TipoPersonagemDef, TipoPersonagemKey, CtxAcesso, temSudoBurlarCapacidades, ApiTransporte, ApiTipoRequisicao, ApiMetodoHttp, ApiErroGraphql, ApiRespostaGraphql, ApiOperacaoGraphqlGet, ApiOperacaoRestGet, ApiOperacaoGet, ApiParametros, ApiResposta, createApiGraphqlGet, createApiRestGet, TesteGraphqlParametros, TesteGraphqlVariaveis, TesteGraphqlResposta, TesteRestParametros, TesteRestResposta, EventosApi, PermissoesEstadoCompletaDto, PermissoesItemSemPaiEFilhosDto, PermissoesItemCompletaDto, ItemPermissaoDto, ArvoreItensPermissaoDto, PermissoesUsuarioSemItemDto, PermissoesUsuarioCompletaDto, PermissoesUsuariosHistoricoCompletaDto, AprovacaoArquivoSemArquivoDto, AprovacaoArquivoCompletaDto, ArquivoCompletaDto, CampoExtraUploadTipo, CampoExtraUploadDef, ArquivoUploadDef, DefinicaoUploadTipoArquivo, ARQUIVO_UPLOAD_DEFINICOES, obtemDefinicaoUploadTipoArquivo, CaminhoArquivoArte, criaCaminhoArquivoArte, ArquivoTipadoArteDto, CaminhoArquivoAvatar, criaCaminhoArquivoAvatar, ArquivoTipadoAvatarDto, ArquivoTipadoEmblemaDto, DetalheArquivoInternoSemArquivoDto, DetalheArquivoInternoCompletaDto, TipoArquivoCompletaDto, ArcoAventuraCompletaDto, AventuraCompletaDto, AventuraParaAssistirDto, ConviteGrupoAventuraPersonagemCompletaDto, DadosArteCapa, GrupoAventuraCompletaDto, GrupoAventuraParaAssistirDto, VIEW_GrupoAventuraListagem, VIEW_GrupoAventuraDetalhado, GrupoAventuraPersonagemSemGrupoAventuraDto, GrupoAventuraPersonagemSemPersonagemDto, GrupoAventuraPersonagemCompletaDto, RespostaConviteSemConviteDto, RespostaConviteCompletaDto, VariavelAmbienteCompletaDto, ConquistaCompletaDto, TipoConquistaCompletaDto, DetalheSessaoAventuraCompletaDto, DetalheSessaoAventuraSemGrupoDto, VIEW_DetalheSessaoAventuraDetalhado, DetalheSessaoCanonicaCompletaDto, CapituloSessaoCanonica, BaseDetalheSessaoCanonicaParaAssistirDto, DetalheSessaoCanonicaParaAssistir_AventuraDto, DetalheSessaoCanonicaParaAssistir_SessaoUnicaCanonicaDto, DetalheSessaoCanonicaParaAssistirDto, DetalheSessaoUnicaCompletaDto, DetalheSessaoUnicaAmarradaComFichaDto, FichaAmarradaParticipanteSessaoUnicaSemFichaTemporariaDto, FichaAmarradaParticipanteSessaoUnicaCompletaDto, ParticipanteSessaoUnicaSemDetalheSessaoUnicaDto, ParticipanteSessaoUnicaCompletaDto, DisponibilidadeUsuarioHistoricoCompletaDto, JanelaDisponibilidadeCompletaDto, DadosJanelaDisponibilidade, DadosDataParaSessao, TipoFrequenciaCompletaDto, EmblemaDto, FichaCompletaDto, FichaEmProcessoDeEvolucaoDto, DetalheEvolucao, DetalhesExtras, PaiFichaTipo, PaiFichaRef, DadosEvolucaoFicha, FichaTemporariaCompletaDto, FichaTemporariaSemFichaDto, HistoricoDetalhesEvolucao, FichaTemporariaExibicaoDto, FichaTemporariaVisualizacaoDetalhadaDto, PagamentoPixDto, ProdutoDto, RegistroPixDto, RegistroPixProvedor, CoeficienteGanhoEstatisticaClasseCompletaDto, GanhoNivelClasseCompletaDto, DadosDoTipoGanho, DadosGanho_Atributos, DadosGanho_Pericias, DadosGanho_Estatisticas, DadosGanho_Classes, DadosGanho_ValorMaximoAtributo, DadosGanho_PontosHabilidadesEspeciais, DadosGanho_PontosHabilidadesParanormais, DadosGanho_PontosHabilidadeElemental, GanhoRelativoCoeficienteAtributoSemCoeficienteDto, GanhoRelativoCoeficienteAtributoCompletaDto, TipoGanhoNivelCompletaDto, GeracaoSemAventurasDto, GeracaoCompletaDto, ImagemCompletaDto, TipoImagemCompletaDto, AlcanceCompletaDto, AtributoSemPericiasDto, AtributoCompletaDto, CategoriaRitualCompletaDto, CirculoRitualCompletaDto, ClasseDto, DuracaoCompletaDto, ElementoCompletaDto, EstatisticaDanificavelCompletaDto, ExecucaoCompletaDto, FormatoAlcanceCompletaDto, LinhaEfeitoCompletaDto, NivelDto, NivelComponenteCompletaDto, NivelProficienciaCompletaDto, NivelRitualCompletaDto, PatentePericiaCompletaDto, PericiaCompletaDto, ProficienciaCompletaDto, TipoAlvoCompletaDto, TipoCategoriaCompletaDto, TipoDanoSemPaiDto, TipoDanoCompletaDto, TipoEfeitoCompletaDto, TipoItemCompletaDto, TipoProficienciaCompletaDto, LinkCompletaDto, TipoLinkCompletaDto, DificuldadeSessaoCompletaDto, EstiloSessaoMestradaDto, TipoSessaoDto, PasseCompletoDto, PasseEmUsuarioDto, RenovacaoPasseDto, VinculoProdutoPasseDto, PerfilAdminCompletaDto, PerfilJogadorCompletaDto, PerfilMestreCompletaDto, AvatarPersonagemDto, FichaPersonagemSemFichaDto, FichaPersonagemSemPersonagemDto, FichaPersonagemCompletaDto, InformacaoPersonagemSemPersonagemDto, InformacaoPersonagemCompletaDto, PersonagemCompletaDto, PersonagemSalaJogoDto, PersonagemExibicaoDto, VIEW_LISTAGEM_GerenciamentoAvataresPersonagemDto, PersonagemAvatarDto, PersonagemVisualizacaoDetalhadaDto, ResumoPersonagemAventuraSemPersonagemDto, ResumoPersonagemAventuraCompletaDto, TipoPersonagemCompletaDto, DetalheRascunhoAventuraCompletaDto, PAYLOAD_DetalheRascunhoAventuraEdicaoDto, DetalheRascunhoSessaoUnicaCanonicaCompletaDto, PAYLOAD_DetalheRascunhoSessaoUnicaCanonicaEdicaoDto, DetalheRascunhoSessaoUnicaNaoCanonicaCompletaDto, PAYLOAD_DetalheRascunhoSessaoUnicaNaoCanonicaEdicaoDto, RascunhoCompletaDto, RascunhoCompletaDto__Base, RascunhoCompletaDto__Tipo, RascunhoCompletaDto__TipoAventura, RascunhoCompletaDto__TipoSessaoUnicaCanonica, RascunhoCompletaDto__TipoSessaoUnicaNaoCanonica, RascunhoAventuraCompletaDto, RascunhoSessaoUnicaCanonicaCompletaDto, RascunhoSessaoUnicaNaoCanonicaCompletaDto, PAYLOAD_DetalheRascunhoEdicaoDto, EstudoCompletaDto, FichaSerCompletaDto, FichaSerSemSerDto, FichaSerSemFichaDto, SerCompletaDto, RegistroSessaoCompletaDto, SessaoCompletaDto, SessaoEmVisualizacaoDto, VIEW_SessaoDeJogadorDto, VIEW_SessaoDeJogadorDto__Base, VIEW_SessaoDeJogadorDto__Tipo, VIEW_SessaoListagemGeralDto, VIEW_SessaoComParticipantesDto, VIEW_SessaoDeAventura, TipoSessao, TIPO_SESSAO_LABEL, DadosCriacaoSessao, DadosCriacaoSessao_Participante, AuthSession, CustomizacaoUsuarioSemUsuarioDto, CustomizacaoUsuarioCompletaDto, CustomizacaoUsuarioVisualizacaoDto, DisponibilidadeUsuarioCompletaDto, ListaDisponibilidadesUsuario, DisponibilidadesDDS, JanelaDisponibilidade, GithubUsuarioSemUsuarioDto, GithubUsuarioCompletaDto, UsuarioCompletaDto, UsuarioSemPersonagensDto, UsuarioParaObjetoAutenticacaoDto, UsuarioVisualizacaoSimplesDto, LayoutContextualizadoInicial, J_FichaPersistida, SalaDeJogo_FichaBase, J_DadosFichaEmJogo, SalaDeJogo_JogadorEmJogo, ParticipanteSessaoDto, NarradorSessaoDto, JogadorSessaoDto, JogadorSessao__Tipo, ParticipanteSessao_Tipo, TipoVinculoSessaoJogador, FichaEmClient, AtributoFicha, PericiaFicha, EstatisticaDanificavelFicha, DetalheFicha, RegistroPericiaLivre, DadosGeraisFicha, SalaDeJogo_Codigo, SalaDeJogoParams, SalaDeJogo_Tipo, SalaDeJogo_Estado, SalaDeJogo_TipoMestre, SalaDeJogo_Mestre, SalaDeJogo_Mestre_Mestrada, SalaDeJogo_Mestre_Inteligente, SalaDeJogo_TipoParticipante, SalaDeJogo_Participante, SalaDeJogo_Participante_Narrador, SalaDeJogo_Participante_Jogador, SalaDeJogo_VinculoParticipante, SalaDeJogo_FUNC_AtualizaParticipanteParams, SalaDeJogoDto, LogicaJogoUsuario_EstouEmJogoDto, LogicaJogoUsuario_ObjetoEmJogoDto, ObjetoEmJogoDto, ObjetoEmJogoDto__Narrador, ObjetoEmJogoDto__Jogador, ObjetoEmJogoDto__Base, DadosParticipanteJogo, LogicaJogoUsuario_ObjetoInicialSalaDto, LogicaJogoUsuario_ObjetoInicialSalaDto__Narrador, LogicaJogoUsuario_ObjetoInicialSalaDto__Jogador, LogicaJogoUsuario_ObjetoInicialSalaDto__Base, VIEW_JogadorDeSessao, AcaoDeSessao, AcaoDeSessaoTestePericiaExecutado, AcaoDeSessaoTipo, AcaoDeSessaoBase, OrigemAcaoDeSessao, OrigemAcaoDeSessaoJogador, OrigemAcaoDeSessaoParticipanteNarrador, OrigemAcaoDeSessaoSistema, ReferenciaEntidadeAcaoDeSessao, ReferenciaFichaAcaoDeSessao, ReferenciaParticipanteSessaoAcaoDeSessao, ReferenciaSistemaAcaoDeSessao, ContextoAcaoDeSessao, ContextoLocalizacaoAcaoDeSessao, ContextoObservacaoAcaoDeSessao, ModoExecucaoTestePericia, PayloadAcaoTestePericiaExecutado, DetalhesInternosTestePericia, RegistrarAcaoTestePericiaExecutadoInput, CodigoRecuperarFichaRuntime, ObjetoMensagemSalaJogo, MensagemSalaJogo, SalaDeJogo_SessaoDto, SalaDeJogo_JogadorDto, MenuItemNode, MenuGrupoNode, MenuNode, menuItem, menuGrupo, PaginaLike, ChildKeys, HasChildren, MenuInternoChildren, ObjectChildren, MenuAgrupadorSemPagina, MenuInternoTree, MenusInternos, PaginaComLayout, HasLayout, ChildKeysByHasLayout, TemFilhos, FilhosDePagina, MenuLayoutLeaf, menuVazio, menuDinamico, MenuLayoutChildren, MenuLayoutNode, RootMenuLayout, MenusInternosLayoutContexto, Brand, ParamSingle, ParamMany, ParamValue, ParamsRecord, ExtrairParamsDoTemplate, PaginaParamsDoTemplate, PaginaInfoBase, PaginaInfoComLayoutContextualizado, PaginaInfo, PaginaTemplate, PaginaDef, PaginaParams, montarHref, LimparUndefinedValue, LimparUndefinedRecord, limparUndefined, pagina, paginaComLayoutContextualizado, RequiredKeys, ParamsProps, toParamsRecord, EfiPixConfig, EfiCriarCobrancaImediataInput, EfiCriarCobrancaImediataOutput, DadosGeracaoPixProdutoDto, DadosGeracaoPixContribuicaoDto, PixGeradoDto, DadosWebhookPixDto, FormatoUploadArquivo, DimensoesImagem, RequireAtLeastOne, RegraTamanhoArquivo, RegraDimensoesImagem, RegraProporcaoImagem, RegrasUploadBase, RegrasUploadImagem, RegrasUploadArquivo, ResultadoSaveFile, MensagemChatRecebida, SalaChat, SalaChatFront, MensagemChatPayload, PAYLOAD__executaTestePericia, PAYLOAD__emitirMensagemSalaJogo, PAYLOAD__emitirMensagemSalaJogo__Escutando, PAYLOAD__emitirMensagemSalaJogo__Enviando, PAYLOAD__ExecutaTestePericia_PROTOTIPO, PAYLOAD__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__INDIVIDUAL__NARRADOR_executaAcaoParticipante_PROTOTIPO, PAYLOAD__EmitirFichaEmJogo, SOCKET_AcessoUsuario, SOCKET_UsuarioExistente, TelemetryConnectionInfo, WsEventAudienceUnico, WsEventAudienceMultiplo, WsEventAudience, TelemetryEventLog, TelemetrySnapshot, WsErrorResponse, WsUnauthorizedErrorResponse, WsResult, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsErro, wsUnauthorized, wsMap, wsChain, EventoTipo, EmitDelivery, EventoAuthDefault, EventoEnvia, EventoEmite, EventoEnviaERecebe, EventoSchema, GatewayDef, createGateway, EventosWebSocket, isRecord, getEmitDelivery, WsEmitTarget, WsEmitParams, EventosEmiteMap, EventoEmiteAny, PaletaCores, EstruturaPaginaDefinicao, ConteudoItem, DefinicaoElemento, ListaItem, AventuraEstado, EstadoPendenciaPersonagem, EstadoPendenciaAdministrativaPersonagem, EstadoOcupacaoPersonagem, EstadoSessao, DiaDaSemana, obtemDiaDaSemanaPorExtensoPorDDS, NumeroHora24, NumeroMomento, MomentoFormatado24, MomentoFormatado, CargoExibicaoUsuario, CargosUsuario, ObjetoAutenticacao, ObjetoCache, ObjetoPendeciaPersonagem, TipoVariavelAmbiente, ObjetoEvolucaoCompleto, ObjetoEvolucao, ObjetoGanhosEvolucao, GanhoEstatistica, FormatoMomento, DetalheUtilizacaoRascunho, PathAvatarPadrao, PathArteCapaPadrao, TituloSessaoInteligente, PermissaoItemMinimo, ListaCapacidadesNecessarias, AcessoPagina, momentoParaMinutos, concatenarDataEHoraEmNovaData, pluralize, minutosParaMs, formataDataCompacta, Gateways, EventoTipoLiteral, FiltraEventosPorTipo, criarEventosFiltrados, Eventos_Envia, Eventos_Emite, Eventos_EnviaERecebe, DecisaoAcessoPagina, ResolverMenuInterno, Opts, decidirAcessoPagina, decidirAcessoPagina_Rec, PAGINAS, Folhas, PaginaFolha, PaginaTemplateFolha, PaginaDestino, PaginaDestinoPagina, PaginaHrefTemplate, PaginaHref, PaginaDefAny, PaginaTemplateAny, filtrarMenuPorAcesso, MENU_PRINCIPAL, MENUS_INTERNOS, MENUS_INTERNOS_LAYOUTCONTEXTO, PaginasNodeValue, PaginasNodeRecord, MenusNodeRecord, isPaginaComLayout, isMenuLeaf, getPaginaKey, MENUS_LAYOUTCONTEXTO_POR_PAGINA, obterMenuInternoLayoutContexto, MENUS_INTERNOS_POR_PAGINA, obterMenuInterno, resolverMenuInterno, ResultadoValidacao, isNumeroInteiroPositivo, isNumeroPositivo, pushErro, validarFormatos, validarTamanho, validarDimensoesDim, validarDimensoesRegra, validarProporcao, validarMaxPixels, validarImagem, validarRegrasUploadArquivo, isRegrasUploadArquivoValidas, mimeFromFormato, acceptFromFormatos, isFormatoImagemBitmap };
1
+ export * from './index';