types-nora-api 0.0.20 → 0.0.22
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 +354 -11
- package/dist/classes.js +586 -14
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -1,19 +1,358 @@
|
|
|
1
|
-
|
|
1
|
+
declare class ConviteGrupoAventuraPersonagem {
|
|
2
|
+
id: number;
|
|
3
|
+
grupoAventura: GrupoAventura;
|
|
4
|
+
usuario: Usuario;
|
|
5
|
+
dataCriacao: Date;
|
|
6
|
+
constructor(id: number, grupoAventura: GrupoAventura, usuario: Usuario, dataCriacao: Date);
|
|
7
|
+
}
|
|
8
|
+
declare class RespostaConvite {
|
|
9
|
+
constructor();
|
|
10
|
+
}
|
|
11
|
+
declare class TipoRespostaConvite {
|
|
12
|
+
id: number;
|
|
13
|
+
nome: string;
|
|
14
|
+
constructor(id: number, nome: string);
|
|
15
|
+
}
|
|
16
|
+
declare class Conquista {
|
|
17
|
+
id: number;
|
|
18
|
+
tipoConquista: TipoConquista;
|
|
19
|
+
nome: string;
|
|
20
|
+
descricao: string;
|
|
21
|
+
constructor(id: number, tipoConquista: TipoConquista, nome: string, descricao: string);
|
|
22
|
+
}
|
|
23
|
+
declare class TipoConquista {
|
|
24
|
+
id: number;
|
|
25
|
+
nome: string;
|
|
26
|
+
constructor(id: number, nome: string);
|
|
27
|
+
}
|
|
28
|
+
declare class Aventura {
|
|
29
|
+
id: number;
|
|
30
|
+
geracao: Geracao;
|
|
31
|
+
imagemCapa: Imagem;
|
|
32
|
+
gruposAventura: GrupoAventura[];
|
|
33
|
+
titulo: string;
|
|
34
|
+
dataCriacao: Date;
|
|
35
|
+
constructor(id: number, geracao: Geracao, imagemCapa: Imagem, gruposAventura: GrupoAventura[], titulo: string, dataCriacao: Date);
|
|
36
|
+
get obtemEstadoAtual(): AventuraEstado;
|
|
37
|
+
}
|
|
38
|
+
declare class Geracao {
|
|
39
|
+
id: number;
|
|
40
|
+
aventuras: Aventura[];
|
|
41
|
+
nome: string;
|
|
42
|
+
anoInicio: number;
|
|
43
|
+
constructor(id: number, aventuras: Aventura[], nome: string, anoInicio: number);
|
|
44
|
+
}
|
|
45
|
+
declare class GrupoAventura {
|
|
46
|
+
id: number;
|
|
47
|
+
nomeGrupo: string;
|
|
48
|
+
aventura: Aventura;
|
|
49
|
+
usuarioMestre: Usuario;
|
|
50
|
+
personagensDaAventura: GrupoAventuraPersonagem[];
|
|
51
|
+
dataInicio: Date | null;
|
|
52
|
+
dataFim: Date | null;
|
|
53
|
+
ddsPadrao: number;
|
|
54
|
+
recorrencia: string;
|
|
55
|
+
constructor(id: number, nomeGrupo: string, aventura: Aventura, usuarioMestre: Usuario, personagensDaAventura: GrupoAventuraPersonagem[], dataInicio: Date | null, dataFim: Date | null, ddsPadrao: number, recorrencia: string);
|
|
56
|
+
get obtemEstadoAtual(): AventuraEstado;
|
|
57
|
+
}
|
|
58
|
+
declare class GrupoAventuraPersonagem {
|
|
59
|
+
fkGruposAventurasId: number;
|
|
60
|
+
fkPersonagensId: number;
|
|
61
|
+
grupoAventura: GrupoAventura;
|
|
62
|
+
personagem: Personagem;
|
|
63
|
+
constructor(fkGruposAventurasId: number, fkPersonagensId: number, grupoAventura: GrupoAventura, personagem: Personagem);
|
|
64
|
+
}
|
|
65
|
+
declare class Imagem {
|
|
66
|
+
id: number;
|
|
67
|
+
urlArquivo: string;
|
|
68
|
+
constructor(id: number, urlArquivo: string);
|
|
69
|
+
}
|
|
70
|
+
declare class Alcance {
|
|
71
|
+
id: number;
|
|
72
|
+
nome: string;
|
|
73
|
+
numero_metros: number;
|
|
74
|
+
descricao: string | null;
|
|
75
|
+
constructor(id: number, nome: string, numero_metros: number, descricao: string | null);
|
|
76
|
+
}
|
|
77
|
+
declare class Atributo {
|
|
78
|
+
id: number;
|
|
79
|
+
linhaEfeito: LinhaEfeito;
|
|
80
|
+
pericias: Pericia[];
|
|
81
|
+
nome: string;
|
|
82
|
+
descricao: string;
|
|
83
|
+
constructor(id: number, linhaEfeito: LinhaEfeito, pericias: Pericia[], nome: string, descricao: string);
|
|
84
|
+
get nomeAbreviado(): string;
|
|
85
|
+
}
|
|
86
|
+
declare class CategoriaRitual {
|
|
87
|
+
id: number;
|
|
88
|
+
circuloRitual: CirculoRitual;
|
|
89
|
+
nivelRitual: NivelRitual;
|
|
90
|
+
valorPsSacrificado: number;
|
|
91
|
+
constructor(id: number, circuloRitual: CirculoRitual, nivelRitual: NivelRitual, valorPsSacrificado: number);
|
|
92
|
+
get nome(): string;
|
|
93
|
+
}
|
|
94
|
+
declare class CirculoRitual {
|
|
95
|
+
id: number;
|
|
96
|
+
nome: string;
|
|
97
|
+
constructor(id: number, nome: string);
|
|
98
|
+
get nomeCompleto(): string;
|
|
99
|
+
}
|
|
100
|
+
declare class Classe {
|
|
101
|
+
id: number;
|
|
102
|
+
nome: string;
|
|
103
|
+
descricao: string;
|
|
104
|
+
constructor(id: number, nome: string, descricao: string);
|
|
105
|
+
}
|
|
106
|
+
declare class Duracao {
|
|
107
|
+
id: number;
|
|
108
|
+
nome: string;
|
|
109
|
+
constructor(id: number, nome: string);
|
|
110
|
+
}
|
|
111
|
+
declare class Elemento {
|
|
112
|
+
id: number;
|
|
113
|
+
nome: string;
|
|
114
|
+
cores: PaletaCores;
|
|
115
|
+
constructor(id: number, nome: string, cores: PaletaCores);
|
|
116
|
+
}
|
|
117
|
+
declare class EstatisticaDanificavel {
|
|
118
|
+
id: number;
|
|
119
|
+
nome: string;
|
|
120
|
+
cor: string;
|
|
121
|
+
descricao: string;
|
|
122
|
+
constructor(id: number, nome: string, cor: string, descricao: string);
|
|
123
|
+
get nomeAbreviado(): string;
|
|
124
|
+
}
|
|
125
|
+
declare class Execucao {
|
|
126
|
+
id: number;
|
|
127
|
+
linhaEfeito: LinhaEfeito;
|
|
128
|
+
nome: string;
|
|
129
|
+
constructor(id: number, linhaEfeito: LinhaEfeito, nome: string);
|
|
130
|
+
}
|
|
131
|
+
declare class FormatoAlcance {
|
|
132
|
+
id: number;
|
|
133
|
+
nome: string;
|
|
134
|
+
constructor(id: number, nome: string);
|
|
135
|
+
}
|
|
136
|
+
declare class LinhaEfeito {
|
|
137
|
+
id: number;
|
|
138
|
+
nome: string;
|
|
139
|
+
constructor(id: number, nome: string);
|
|
140
|
+
}
|
|
141
|
+
declare class Nivel {
|
|
142
|
+
id: number;
|
|
143
|
+
valoNivel: number;
|
|
144
|
+
constructor(id: number, valoNivel: number);
|
|
145
|
+
get nomeDisplay(): string;
|
|
146
|
+
}
|
|
147
|
+
declare class NivelComponente {
|
|
148
|
+
id: number;
|
|
149
|
+
nome: string;
|
|
150
|
+
constructor(id: number, nome: string);
|
|
151
|
+
}
|
|
152
|
+
declare class NivelProficiencia {
|
|
153
|
+
id: number;
|
|
154
|
+
nivel: number;
|
|
155
|
+
constructor(id: number, nivel: number);
|
|
156
|
+
}
|
|
157
|
+
declare class NivelRitual {
|
|
158
|
+
id: number;
|
|
159
|
+
nome: string;
|
|
160
|
+
constructor(id: number, nome: string);
|
|
161
|
+
}
|
|
162
|
+
declare class PatentePericia {
|
|
163
|
+
id: number;
|
|
164
|
+
nome: string;
|
|
165
|
+
bonusPatente: number;
|
|
166
|
+
cor: string;
|
|
167
|
+
constructor(id: number, nome: string, bonusPatente: number, cor: string);
|
|
168
|
+
}
|
|
169
|
+
declare class Pericia {
|
|
170
|
+
id: number;
|
|
171
|
+
atributo: Atributo;
|
|
172
|
+
linhaEfeito: LinhaEfeito;
|
|
173
|
+
nome: string;
|
|
174
|
+
descricao: string;
|
|
175
|
+
constructor(id: number, atributo: Atributo, linhaEfeito: LinhaEfeito, nome: string, descricao: string);
|
|
176
|
+
get nomeAbreviado(): string;
|
|
177
|
+
}
|
|
178
|
+
declare class Proficiencia {
|
|
179
|
+
id: number;
|
|
180
|
+
tipoProficiencia: TipoProficiencia;
|
|
181
|
+
nivelProficiencia: NivelProficiencia;
|
|
182
|
+
nome: string;
|
|
183
|
+
constructor(id: number, tipoProficiencia: TipoProficiencia, nivelProficiencia: NivelProficiencia, nome: string);
|
|
184
|
+
}
|
|
185
|
+
declare class TipoAlvo {
|
|
186
|
+
id: number;
|
|
187
|
+
nome: string;
|
|
188
|
+
constructor(id: number, nome: string);
|
|
189
|
+
}
|
|
190
|
+
declare class TipoCategoria {
|
|
191
|
+
id: number;
|
|
192
|
+
valorCategoria: number;
|
|
193
|
+
constructor(id: number, valorCategoria: number);
|
|
194
|
+
get nomeCategoria(): string;
|
|
195
|
+
}
|
|
196
|
+
declare class TipoDano {
|
|
197
|
+
id: number;
|
|
198
|
+
linhaEfeito: LinhaEfeito;
|
|
199
|
+
tipoDanoPertencente: TipoDano;
|
|
200
|
+
nome: string;
|
|
201
|
+
constructor(id: number, linhaEfeito: LinhaEfeito, tipoDanoPertencente: TipoDano, nome: string);
|
|
202
|
+
}
|
|
203
|
+
declare class TipoEfeito {
|
|
204
|
+
id: number;
|
|
205
|
+
nome: string;
|
|
206
|
+
nomeVisualizacao: string;
|
|
207
|
+
constructor(id: number, nome: string, nomeVisualizacao: string);
|
|
208
|
+
}
|
|
209
|
+
declare class TipoItem {
|
|
210
|
+
id: number;
|
|
211
|
+
nome: string;
|
|
212
|
+
constructor(id: number, nome: string);
|
|
213
|
+
}
|
|
214
|
+
declare class TipoProficiencia {
|
|
215
|
+
id: number;
|
|
216
|
+
nome: string;
|
|
217
|
+
constructor(id: number, nome: string);
|
|
218
|
+
}
|
|
219
|
+
declare class PerfilAdmin {
|
|
220
|
+
id: number;
|
|
221
|
+
nome: string;
|
|
222
|
+
descricao: string;
|
|
223
|
+
constructor(id: number, nome: string, descricao: string);
|
|
224
|
+
}
|
|
225
|
+
declare class PerfilJogador {
|
|
226
|
+
id: number;
|
|
227
|
+
nome: string;
|
|
228
|
+
descricao: string;
|
|
229
|
+
constructor(id: number, nome: string, descricao: string);
|
|
230
|
+
}
|
|
231
|
+
declare class PerfilMestre {
|
|
232
|
+
id: number;
|
|
233
|
+
nome: string;
|
|
234
|
+
descricao: string;
|
|
235
|
+
constructor(id: number, nome: string, descricao: string);
|
|
236
|
+
}
|
|
237
|
+
declare class AtributoPersonagem {
|
|
238
|
+
fkPersonagemId: number;
|
|
239
|
+
fkAtributoId: number;
|
|
240
|
+
personagem: Personagem;
|
|
241
|
+
atributo: Atributo;
|
|
242
|
+
valor: number;
|
|
243
|
+
constructor(fkPersonagemId: number, fkAtributoId: number, personagem: Personagem, atributo: Atributo, valor: number);
|
|
244
|
+
}
|
|
245
|
+
declare class EstatisticaDanificavelPersonagem {
|
|
246
|
+
fkPersonagemId: number;
|
|
247
|
+
fkEstatisticaDanificavelId: number;
|
|
248
|
+
personagem: Personagem;
|
|
249
|
+
estatisticaDanificavel: EstatisticaDanificavel;
|
|
250
|
+
valorMaximo: number;
|
|
251
|
+
valorAtual: number;
|
|
252
|
+
constructor(fkPersonagemId: number, fkEstatisticaDanificavelId: number, personagem: Personagem, estatisticaDanificavel: EstatisticaDanificavel, valorMaximo: number, valorAtual: number);
|
|
253
|
+
}
|
|
254
|
+
declare class InformacaoPersonagem {
|
|
255
|
+
fkPersonagensId: number;
|
|
256
|
+
personagem: Personagem;
|
|
257
|
+
nome: string;
|
|
258
|
+
constructor(fkPersonagensId: number, personagem: Personagem, nome: string);
|
|
259
|
+
}
|
|
260
|
+
declare class PericiaPersonagem {
|
|
261
|
+
fkPersonagemId: number;
|
|
262
|
+
fkPericiaId: number;
|
|
263
|
+
personagem: Personagem;
|
|
264
|
+
pericia: Pericia;
|
|
265
|
+
patentePericia: PatentePericia;
|
|
266
|
+
constructor(fkPersonagemId: number, fkPericiaId: number, personagem: Personagem, pericia: Pericia, patentePericia: PatentePericia);
|
|
267
|
+
}
|
|
268
|
+
declare class Personagem {
|
|
269
|
+
id: number;
|
|
270
|
+
tipoPersonagem: TipoPersonagem;
|
|
271
|
+
usuarioCriador: Usuario;
|
|
272
|
+
informacao: InformacaoPersonagem;
|
|
273
|
+
estatisticasDanificaveisPersonagem: EstatisticaDanificavelPersonagem[];
|
|
274
|
+
atributosPersonagem: AtributoPersonagem[];
|
|
275
|
+
periciasPersonagem: PericiaPersonagem;
|
|
276
|
+
constructor(id: number, tipoPersonagem: TipoPersonagem, usuarioCriador: Usuario, informacao: InformacaoPersonagem, estatisticasDanificaveisPersonagem: EstatisticaDanificavelPersonagem[], atributosPersonagem: AtributoPersonagem[], periciasPersonagem: PericiaPersonagem);
|
|
277
|
+
}
|
|
278
|
+
declare class ResumoPersonagemAventura {
|
|
279
|
+
id: number;
|
|
280
|
+
personagem: Personagem;
|
|
281
|
+
aventura: Aventura;
|
|
282
|
+
constructor(id: number, personagem: Personagem, aventura: Aventura);
|
|
283
|
+
}
|
|
284
|
+
declare class TipoPersonagem {
|
|
285
|
+
id: number;
|
|
286
|
+
nome: string;
|
|
287
|
+
descricao: string;
|
|
288
|
+
constructor(id: number, nome: string, descricao: string);
|
|
289
|
+
}
|
|
290
|
+
declare class Estudo {
|
|
291
|
+
id: number;
|
|
292
|
+
nome: string;
|
|
293
|
+
constructor(id: number, nome: string);
|
|
294
|
+
}
|
|
295
|
+
declare class AuthSession {
|
|
296
|
+
expiredAt: number;
|
|
297
|
+
id: string;
|
|
298
|
+
destroyedAt?: Date | undefined;
|
|
299
|
+
json: string;
|
|
300
|
+
constructor(expiredAt: number, id: string, json: string, destroyedAt?: Date | undefined);
|
|
301
|
+
}
|
|
302
|
+
declare class CustomizacaoUsuario {
|
|
303
|
+
fk__usuarios__id: number;
|
|
304
|
+
usuario: Usuario;
|
|
305
|
+
personagemAvatarPrincipal: Personagem;
|
|
306
|
+
conquistaExibirPerfil1: Conquista;
|
|
307
|
+
conquistaExibirPerfil2: Conquista;
|
|
308
|
+
conquistaExibirPerfil3: Conquista;
|
|
309
|
+
constructor(fk__usuarios__id: number, usuario: Usuario, personagemAvatarPrincipal: Personagem, conquistaExibirPerfil1: Conquista, conquistaExibirPerfil2: Conquista, conquistaExibirPerfil3: Conquista);
|
|
310
|
+
}
|
|
311
|
+
declare class DisponibilidadeUsuario {
|
|
2
312
|
diaDaSemana: number;
|
|
3
313
|
horaInicio: string;
|
|
4
314
|
horaFim: string;
|
|
5
315
|
constructor(diaDaSemana: number, horaInicio: string, horaFim: string);
|
|
6
316
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
317
|
+
declare class Usuario {
|
|
318
|
+
id: number;
|
|
319
|
+
perfilJogador: PerfilJogador;
|
|
320
|
+
perfilMestre: PerfilMestre;
|
|
321
|
+
perfilAdmin: PerfilAdmin;
|
|
322
|
+
customizacao: CustomizacaoUsuario;
|
|
323
|
+
username: string | null;
|
|
324
|
+
email: string;
|
|
325
|
+
discordId: string;
|
|
326
|
+
constructor(id: number, perfilJogador: PerfilJogador, perfilMestre: PerfilMestre, perfilAdmin: PerfilAdmin, customizacao: CustomizacaoUsuario, username: string, email: string, discordId: string);
|
|
11
327
|
}
|
|
328
|
+
export type RespostaBackEnd<T> = {
|
|
329
|
+
sucesso: boolean;
|
|
330
|
+
dados?: T;
|
|
331
|
+
erro?: string;
|
|
332
|
+
};
|
|
12
333
|
export interface PaletaCores {
|
|
13
334
|
corPrimaria: string;
|
|
14
335
|
corSecundaria?: string;
|
|
15
336
|
corTerciaria?: string;
|
|
16
337
|
}
|
|
338
|
+
export type EstruturaPaginaDefinicao = {
|
|
339
|
+
titulo: string;
|
|
340
|
+
subtitulo?: string;
|
|
341
|
+
listaConteudo: {
|
|
342
|
+
itens: ConteudoItem[];
|
|
343
|
+
};
|
|
344
|
+
listaItensDefinicoesConectadas?: {
|
|
345
|
+
etiqueta: string;
|
|
346
|
+
subPaginaDefinicao: string;
|
|
347
|
+
}[];
|
|
348
|
+
};
|
|
349
|
+
export type ConteudoItem = {
|
|
350
|
+
tipo: 'Definicao';
|
|
351
|
+
elementos: DefinicaoElemento[];
|
|
352
|
+
} | {
|
|
353
|
+
tipo: 'Lista';
|
|
354
|
+
itensLista: ListaItem[];
|
|
355
|
+
};
|
|
17
356
|
export type DefinicaoElemento = {
|
|
18
357
|
tipo: 'Paragrafo';
|
|
19
358
|
conteudo: string;
|
|
@@ -30,10 +369,14 @@ export type ListaItem = {
|
|
|
30
369
|
export type DadosMinhaPagina = Pick<Usuario, 'username'> & {
|
|
31
370
|
caminhoAvatar: string;
|
|
32
371
|
};
|
|
33
|
-
export declare class
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
372
|
+
export declare class DadosMinhasDisponibilidades {
|
|
373
|
+
disponibilidades: DisponibilidadeUsuario[];
|
|
374
|
+
constructor(disponibilidades: DisponibilidadeUsuario[]);
|
|
375
|
+
get disponibilidadePorExtenso(): Record<number, string[]>[];
|
|
376
|
+
}
|
|
377
|
+
export declare enum AventuraEstado {
|
|
378
|
+
EM_PREPARO = "Em Preparo",
|
|
379
|
+
EM_ANDAMENTO = "Em Andamento",
|
|
380
|
+
FINALIZADA = "Finalizada"
|
|
39
381
|
}
|
|
382
|
+
export { ConviteGrupoAventuraPersonagem, RespostaConvite, TipoRespostaConvite, Conquista, TipoConquista, Aventura, Geracao, GrupoAventura, GrupoAventuraPersonagem, Imagem, Alcance, Atributo, CategoriaRitual, CirculoRitual, Classe, Duracao, Elemento, EstatisticaDanificavel, Execucao, FormatoAlcance, LinhaEfeito, Nivel, NivelComponente, NivelProficiencia, NivelRitual, PatentePericia, Pericia, Proficiencia, TipoAlvo, TipoCategoria, TipoDano, TipoEfeito, TipoItem, TipoProficiencia, PerfilAdmin, PerfilJogador, PerfilMestre, AtributoPersonagem, EstatisticaDanificavelPersonagem, InformacaoPersonagem, PericiaPersonagem, Personagem, ResumoPersonagemAventura, TipoPersonagem, Estudo, AuthSession, CustomizacaoUsuario, DisponibilidadeUsuario, Usuario };
|
package/dist/classes.js
CHANGED
|
@@ -1,4 +1,562 @@
|
|
|
1
|
-
|
|
1
|
+
class ConviteGrupoAventuraPersonagem {
|
|
2
|
+
id;
|
|
3
|
+
grupoAventura;
|
|
4
|
+
usuario;
|
|
5
|
+
dataCriacao;
|
|
6
|
+
constructor(id, grupoAventura, usuario, dataCriacao) {
|
|
7
|
+
this.id = id;
|
|
8
|
+
this.grupoAventura = grupoAventura;
|
|
9
|
+
this.usuario = usuario;
|
|
10
|
+
this.dataCriacao = dataCriacao;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
class RespostaConvite {
|
|
14
|
+
constructor() { }
|
|
15
|
+
}
|
|
16
|
+
class TipoRespostaConvite {
|
|
17
|
+
id;
|
|
18
|
+
nome;
|
|
19
|
+
constructor(id, nome) {
|
|
20
|
+
this.id = id;
|
|
21
|
+
this.nome = nome;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
class Conquista {
|
|
25
|
+
id;
|
|
26
|
+
tipoConquista;
|
|
27
|
+
nome;
|
|
28
|
+
descricao;
|
|
29
|
+
constructor(id, tipoConquista, nome, descricao) {
|
|
30
|
+
this.id = id;
|
|
31
|
+
this.tipoConquista = tipoConquista;
|
|
32
|
+
this.nome = nome;
|
|
33
|
+
this.descricao = descricao;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
class TipoConquista {
|
|
37
|
+
id;
|
|
38
|
+
nome;
|
|
39
|
+
constructor(id, nome) {
|
|
40
|
+
this.id = id;
|
|
41
|
+
this.nome = nome;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class Aventura {
|
|
45
|
+
id;
|
|
46
|
+
geracao;
|
|
47
|
+
imagemCapa;
|
|
48
|
+
gruposAventura;
|
|
49
|
+
titulo;
|
|
50
|
+
dataCriacao;
|
|
51
|
+
constructor(id, geracao, imagemCapa, gruposAventura, titulo, dataCriacao) {
|
|
52
|
+
this.id = id;
|
|
53
|
+
this.geracao = geracao;
|
|
54
|
+
this.imagemCapa = imagemCapa;
|
|
55
|
+
this.gruposAventura = gruposAventura;
|
|
56
|
+
this.titulo = titulo;
|
|
57
|
+
this.dataCriacao = dataCriacao;
|
|
58
|
+
}
|
|
59
|
+
get obtemEstadoAtual() {
|
|
60
|
+
// Se não houver grupos, considera como em preparo
|
|
61
|
+
if (this.gruposAventura.length === 0) {
|
|
62
|
+
return AventuraEstado.EM_PREPARO;
|
|
63
|
+
}
|
|
64
|
+
let temEmPreparo = false;
|
|
65
|
+
let temEmAndamento = false;
|
|
66
|
+
let temFinalizado = false;
|
|
67
|
+
// Verifica o estado de cada grupo
|
|
68
|
+
for (const grupo of this.gruposAventura) {
|
|
69
|
+
const estado = grupo.obtemEstadoAtual;
|
|
70
|
+
if (estado === AventuraEstado.EM_ANDAMENTO) {
|
|
71
|
+
temEmAndamento = true;
|
|
72
|
+
// Se encontrou um em andamento, pode retornar imediatamente
|
|
73
|
+
return AventuraEstado.EM_ANDAMENTO;
|
|
74
|
+
}
|
|
75
|
+
else if (estado === AventuraEstado.EM_PREPARO) {
|
|
76
|
+
temEmPreparo = true;
|
|
77
|
+
}
|
|
78
|
+
else if (estado === AventuraEstado.FINALIZADA) {
|
|
79
|
+
temFinalizado = true;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
// Se chegou aqui, não há grupos em andamento
|
|
83
|
+
if (temEmPreparo && temFinalizado) {
|
|
84
|
+
return AventuraEstado.EM_ANDAMENTO;
|
|
85
|
+
}
|
|
86
|
+
else if (temEmPreparo) {
|
|
87
|
+
return AventuraEstado.EM_PREPARO;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
return AventuraEstado.FINALIZADA;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
class Geracao {
|
|
95
|
+
id;
|
|
96
|
+
aventuras;
|
|
97
|
+
nome;
|
|
98
|
+
anoInicio;
|
|
99
|
+
constructor(id, aventuras, nome, anoInicio) {
|
|
100
|
+
this.id = id;
|
|
101
|
+
this.aventuras = aventuras;
|
|
102
|
+
this.nome = nome;
|
|
103
|
+
this.anoInicio = anoInicio;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
class GrupoAventura {
|
|
107
|
+
id;
|
|
108
|
+
nomeGrupo;
|
|
109
|
+
aventura;
|
|
110
|
+
usuarioMestre;
|
|
111
|
+
personagensDaAventura;
|
|
112
|
+
dataInicio;
|
|
113
|
+
dataFim;
|
|
114
|
+
ddsPadrao;
|
|
115
|
+
recorrencia;
|
|
116
|
+
constructor(id, nomeGrupo, aventura, usuarioMestre, personagensDaAventura, dataInicio, dataFim, ddsPadrao, recorrencia) {
|
|
117
|
+
this.id = id;
|
|
118
|
+
this.nomeGrupo = nomeGrupo;
|
|
119
|
+
this.aventura = aventura;
|
|
120
|
+
this.usuarioMestre = usuarioMestre;
|
|
121
|
+
this.personagensDaAventura = personagensDaAventura;
|
|
122
|
+
this.dataInicio = dataInicio;
|
|
123
|
+
this.dataFim = dataFim;
|
|
124
|
+
this.ddsPadrao = ddsPadrao;
|
|
125
|
+
this.recorrencia = recorrencia;
|
|
126
|
+
}
|
|
127
|
+
get obtemEstadoAtual() {
|
|
128
|
+
if (this.dataInicio === null)
|
|
129
|
+
return AventuraEstado.EM_PREPARO;
|
|
130
|
+
if (this.dataFim !== null)
|
|
131
|
+
return AventuraEstado.FINALIZADA;
|
|
132
|
+
return AventuraEstado.EM_ANDAMENTO;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
class GrupoAventuraPersonagem {
|
|
136
|
+
fkGruposAventurasId;
|
|
137
|
+
fkPersonagensId;
|
|
138
|
+
grupoAventura;
|
|
139
|
+
personagem;
|
|
140
|
+
constructor(fkGruposAventurasId, fkPersonagensId, grupoAventura, personagem) {
|
|
141
|
+
this.fkGruposAventurasId = fkGruposAventurasId;
|
|
142
|
+
this.fkPersonagensId = fkPersonagensId;
|
|
143
|
+
this.grupoAventura = grupoAventura;
|
|
144
|
+
this.personagem = personagem;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
class Imagem {
|
|
148
|
+
id;
|
|
149
|
+
urlArquivo;
|
|
150
|
+
constructor(id, urlArquivo) {
|
|
151
|
+
this.id = id;
|
|
152
|
+
this.urlArquivo = urlArquivo;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
class Alcance {
|
|
156
|
+
id;
|
|
157
|
+
nome;
|
|
158
|
+
numero_metros;
|
|
159
|
+
descricao;
|
|
160
|
+
constructor(id, nome, numero_metros, descricao) {
|
|
161
|
+
this.id = id;
|
|
162
|
+
this.nome = nome;
|
|
163
|
+
this.numero_metros = numero_metros;
|
|
164
|
+
this.descricao = descricao;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class Atributo {
|
|
168
|
+
id;
|
|
169
|
+
linhaEfeito;
|
|
170
|
+
pericias;
|
|
171
|
+
nome;
|
|
172
|
+
descricao;
|
|
173
|
+
constructor(id, linhaEfeito, pericias, nome, descricao) {
|
|
174
|
+
this.id = id;
|
|
175
|
+
this.linhaEfeito = linhaEfeito;
|
|
176
|
+
this.pericias = pericias;
|
|
177
|
+
this.nome = nome;
|
|
178
|
+
this.descricao = descricao;
|
|
179
|
+
}
|
|
180
|
+
get nomeAbreviado() {
|
|
181
|
+
return this.nome.toUpperCase().slice(0, 3);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
class CategoriaRitual {
|
|
185
|
+
id;
|
|
186
|
+
circuloRitual;
|
|
187
|
+
nivelRitual;
|
|
188
|
+
valorPsSacrificado;
|
|
189
|
+
constructor(id, circuloRitual, nivelRitual, valorPsSacrificado) {
|
|
190
|
+
this.id = id;
|
|
191
|
+
this.circuloRitual = circuloRitual;
|
|
192
|
+
this.nivelRitual = nivelRitual;
|
|
193
|
+
this.valorPsSacrificado = valorPsSacrificado;
|
|
194
|
+
}
|
|
195
|
+
;
|
|
196
|
+
get nome() { return `${this.circuloRitual.nomeCompleto} ${this.nivelRitual.nome}`; }
|
|
197
|
+
}
|
|
198
|
+
class CirculoRitual {
|
|
199
|
+
id;
|
|
200
|
+
nome;
|
|
201
|
+
constructor(id, nome) {
|
|
202
|
+
this.id = id;
|
|
203
|
+
this.nome = nome;
|
|
204
|
+
}
|
|
205
|
+
get nomeCompleto() { return `${this.nome}º Círculo`; }
|
|
206
|
+
}
|
|
207
|
+
class Classe {
|
|
208
|
+
id;
|
|
209
|
+
nome;
|
|
210
|
+
descricao;
|
|
211
|
+
constructor(id, nome, descricao) {
|
|
212
|
+
this.id = id;
|
|
213
|
+
this.nome = nome;
|
|
214
|
+
this.descricao = descricao;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
class Duracao {
|
|
218
|
+
id;
|
|
219
|
+
nome;
|
|
220
|
+
constructor(id, nome) {
|
|
221
|
+
this.id = id;
|
|
222
|
+
this.nome = nome;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
class Elemento {
|
|
226
|
+
id;
|
|
227
|
+
nome;
|
|
228
|
+
cores;
|
|
229
|
+
constructor(id, nome, cores) {
|
|
230
|
+
this.id = id;
|
|
231
|
+
this.nome = nome;
|
|
232
|
+
this.cores = cores;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
class EstatisticaDanificavel {
|
|
236
|
+
id;
|
|
237
|
+
nome;
|
|
238
|
+
cor;
|
|
239
|
+
descricao;
|
|
240
|
+
constructor(id, nome, cor, descricao) {
|
|
241
|
+
this.id = id;
|
|
242
|
+
this.nome = nome;
|
|
243
|
+
this.cor = cor;
|
|
244
|
+
this.descricao = descricao;
|
|
245
|
+
}
|
|
246
|
+
get nomeAbreviado() { return this.nome.split(" ").filter(word => word.toLowerCase() !== "de").map(word => word[0].toUpperCase()).join(".") + "."; }
|
|
247
|
+
}
|
|
248
|
+
class Execucao {
|
|
249
|
+
id;
|
|
250
|
+
linhaEfeito;
|
|
251
|
+
nome;
|
|
252
|
+
constructor(id, linhaEfeito, nome) {
|
|
253
|
+
this.id = id;
|
|
254
|
+
this.linhaEfeito = linhaEfeito;
|
|
255
|
+
this.nome = nome;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
class FormatoAlcance {
|
|
259
|
+
id;
|
|
260
|
+
nome;
|
|
261
|
+
constructor(id, nome) {
|
|
262
|
+
this.id = id;
|
|
263
|
+
this.nome = nome;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
class LinhaEfeito {
|
|
267
|
+
id;
|
|
268
|
+
nome;
|
|
269
|
+
constructor(id, nome) {
|
|
270
|
+
this.id = id;
|
|
271
|
+
this.nome = nome;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
class Nivel {
|
|
275
|
+
id;
|
|
276
|
+
valoNivel;
|
|
277
|
+
constructor(id, valoNivel) {
|
|
278
|
+
this.id = id;
|
|
279
|
+
this.valoNivel = valoNivel;
|
|
280
|
+
}
|
|
281
|
+
get nomeDisplay() { return `${this.valoNivel}% EX.P.`; }
|
|
282
|
+
}
|
|
283
|
+
class NivelComponente {
|
|
284
|
+
id;
|
|
285
|
+
nome;
|
|
286
|
+
constructor(id, nome) {
|
|
287
|
+
this.id = id;
|
|
288
|
+
this.nome = nome;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
class NivelProficiencia {
|
|
292
|
+
id;
|
|
293
|
+
nivel;
|
|
294
|
+
constructor(id, nivel) {
|
|
295
|
+
this.id = id;
|
|
296
|
+
this.nivel = nivel;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
class NivelRitual {
|
|
300
|
+
id;
|
|
301
|
+
nome;
|
|
302
|
+
constructor(id, nome) {
|
|
303
|
+
this.id = id;
|
|
304
|
+
this.nome = nome;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
class PatentePericia {
|
|
308
|
+
id;
|
|
309
|
+
nome;
|
|
310
|
+
bonusPatente;
|
|
311
|
+
cor;
|
|
312
|
+
constructor(id, nome, bonusPatente, cor) {
|
|
313
|
+
this.id = id;
|
|
314
|
+
this.nome = nome;
|
|
315
|
+
this.bonusPatente = bonusPatente;
|
|
316
|
+
this.cor = cor;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
class Pericia {
|
|
320
|
+
id;
|
|
321
|
+
atributo;
|
|
322
|
+
linhaEfeito;
|
|
323
|
+
nome;
|
|
324
|
+
descricao;
|
|
325
|
+
constructor(id, atributo, linhaEfeito, nome, descricao) {
|
|
326
|
+
this.id = id;
|
|
327
|
+
this.atributo = atributo;
|
|
328
|
+
this.linhaEfeito = linhaEfeito;
|
|
329
|
+
this.nome = nome;
|
|
330
|
+
this.descricao = descricao;
|
|
331
|
+
}
|
|
332
|
+
get nomeAbreviado() { return this.nome.toUpperCase().slice(0, 4); }
|
|
333
|
+
}
|
|
334
|
+
class Proficiencia {
|
|
335
|
+
id;
|
|
336
|
+
tipoProficiencia;
|
|
337
|
+
nivelProficiencia;
|
|
338
|
+
nome;
|
|
339
|
+
constructor(id, tipoProficiencia, nivelProficiencia, nome) {
|
|
340
|
+
this.id = id;
|
|
341
|
+
this.tipoProficiencia = tipoProficiencia;
|
|
342
|
+
this.nivelProficiencia = nivelProficiencia;
|
|
343
|
+
this.nome = nome;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
class TipoAlvo {
|
|
347
|
+
id;
|
|
348
|
+
nome;
|
|
349
|
+
constructor(id, nome) {
|
|
350
|
+
this.id = id;
|
|
351
|
+
this.nome = nome;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
class TipoCategoria {
|
|
355
|
+
id;
|
|
356
|
+
valorCategoria;
|
|
357
|
+
constructor(id, valorCategoria) {
|
|
358
|
+
this.id = id;
|
|
359
|
+
this.valorCategoria = valorCategoria;
|
|
360
|
+
}
|
|
361
|
+
get nomeCategoria() { return `Categoria ${this.valorCategoria}`; }
|
|
362
|
+
}
|
|
363
|
+
class TipoDano {
|
|
364
|
+
id;
|
|
365
|
+
linhaEfeito;
|
|
366
|
+
tipoDanoPertencente;
|
|
367
|
+
nome;
|
|
368
|
+
constructor(id, linhaEfeito, tipoDanoPertencente, nome) {
|
|
369
|
+
this.id = id;
|
|
370
|
+
this.linhaEfeito = linhaEfeito;
|
|
371
|
+
this.tipoDanoPertencente = tipoDanoPertencente;
|
|
372
|
+
this.nome = nome;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
class TipoEfeito {
|
|
376
|
+
id;
|
|
377
|
+
nome;
|
|
378
|
+
nomeVisualizacao;
|
|
379
|
+
constructor(id, nome, nomeVisualizacao) {
|
|
380
|
+
this.id = id;
|
|
381
|
+
this.nome = nome;
|
|
382
|
+
this.nomeVisualizacao = nomeVisualizacao;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
class TipoItem {
|
|
386
|
+
id;
|
|
387
|
+
nome;
|
|
388
|
+
constructor(id, nome) {
|
|
389
|
+
this.id = id;
|
|
390
|
+
this.nome = nome;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
class TipoProficiencia {
|
|
394
|
+
id;
|
|
395
|
+
nome;
|
|
396
|
+
constructor(id, nome) {
|
|
397
|
+
this.id = id;
|
|
398
|
+
this.nome = nome;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
class PerfilAdmin {
|
|
402
|
+
id;
|
|
403
|
+
nome;
|
|
404
|
+
descricao;
|
|
405
|
+
constructor(id, nome, descricao) {
|
|
406
|
+
this.id = id;
|
|
407
|
+
this.nome = nome;
|
|
408
|
+
this.descricao = descricao;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
class PerfilJogador {
|
|
412
|
+
id;
|
|
413
|
+
nome;
|
|
414
|
+
descricao;
|
|
415
|
+
constructor(id, nome, descricao) {
|
|
416
|
+
this.id = id;
|
|
417
|
+
this.nome = nome;
|
|
418
|
+
this.descricao = descricao;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
class PerfilMestre {
|
|
422
|
+
id;
|
|
423
|
+
nome;
|
|
424
|
+
descricao;
|
|
425
|
+
constructor(id, nome, descricao) {
|
|
426
|
+
this.id = id;
|
|
427
|
+
this.nome = nome;
|
|
428
|
+
this.descricao = descricao;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
class AtributoPersonagem {
|
|
432
|
+
fkPersonagemId;
|
|
433
|
+
fkAtributoId;
|
|
434
|
+
personagem;
|
|
435
|
+
atributo;
|
|
436
|
+
valor;
|
|
437
|
+
constructor(fkPersonagemId, fkAtributoId, personagem, atributo, valor) {
|
|
438
|
+
this.fkPersonagemId = fkPersonagemId;
|
|
439
|
+
this.fkAtributoId = fkAtributoId;
|
|
440
|
+
this.personagem = personagem;
|
|
441
|
+
this.atributo = atributo;
|
|
442
|
+
this.valor = valor;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
class EstatisticaDanificavelPersonagem {
|
|
446
|
+
fkPersonagemId;
|
|
447
|
+
fkEstatisticaDanificavelId;
|
|
448
|
+
personagem;
|
|
449
|
+
estatisticaDanificavel;
|
|
450
|
+
valorMaximo;
|
|
451
|
+
valorAtual;
|
|
452
|
+
constructor(fkPersonagemId, fkEstatisticaDanificavelId, personagem, estatisticaDanificavel, valorMaximo, valorAtual) {
|
|
453
|
+
this.fkPersonagemId = fkPersonagemId;
|
|
454
|
+
this.fkEstatisticaDanificavelId = fkEstatisticaDanificavelId;
|
|
455
|
+
this.personagem = personagem;
|
|
456
|
+
this.estatisticaDanificavel = estatisticaDanificavel;
|
|
457
|
+
this.valorMaximo = valorMaximo;
|
|
458
|
+
this.valorAtual = valorAtual;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
class InformacaoPersonagem {
|
|
462
|
+
fkPersonagensId;
|
|
463
|
+
personagem;
|
|
464
|
+
nome;
|
|
465
|
+
constructor(fkPersonagensId, personagem, nome) {
|
|
466
|
+
this.fkPersonagensId = fkPersonagensId;
|
|
467
|
+
this.personagem = personagem;
|
|
468
|
+
this.nome = nome;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
class PericiaPersonagem {
|
|
472
|
+
fkPersonagemId;
|
|
473
|
+
fkPericiaId;
|
|
474
|
+
personagem;
|
|
475
|
+
pericia;
|
|
476
|
+
patentePericia;
|
|
477
|
+
constructor(fkPersonagemId, fkPericiaId, personagem, pericia, patentePericia) {
|
|
478
|
+
this.fkPersonagemId = fkPersonagemId;
|
|
479
|
+
this.fkPericiaId = fkPericiaId;
|
|
480
|
+
this.personagem = personagem;
|
|
481
|
+
this.pericia = pericia;
|
|
482
|
+
this.patentePericia = patentePericia;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
class Personagem {
|
|
486
|
+
id;
|
|
487
|
+
tipoPersonagem;
|
|
488
|
+
usuarioCriador;
|
|
489
|
+
informacao;
|
|
490
|
+
estatisticasDanificaveisPersonagem;
|
|
491
|
+
atributosPersonagem;
|
|
492
|
+
periciasPersonagem;
|
|
493
|
+
constructor(id, tipoPersonagem, usuarioCriador, informacao, estatisticasDanificaveisPersonagem, atributosPersonagem, periciasPersonagem) {
|
|
494
|
+
this.id = id;
|
|
495
|
+
this.tipoPersonagem = tipoPersonagem;
|
|
496
|
+
this.usuarioCriador = usuarioCriador;
|
|
497
|
+
this.informacao = informacao;
|
|
498
|
+
this.estatisticasDanificaveisPersonagem = estatisticasDanificaveisPersonagem;
|
|
499
|
+
this.atributosPersonagem = atributosPersonagem;
|
|
500
|
+
this.periciasPersonagem = periciasPersonagem;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
class ResumoPersonagemAventura {
|
|
504
|
+
id;
|
|
505
|
+
personagem;
|
|
506
|
+
aventura;
|
|
507
|
+
constructor(id, personagem, aventura) {
|
|
508
|
+
this.id = id;
|
|
509
|
+
this.personagem = personagem;
|
|
510
|
+
this.aventura = aventura;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
class TipoPersonagem {
|
|
514
|
+
id;
|
|
515
|
+
nome;
|
|
516
|
+
descricao;
|
|
517
|
+
constructor(id, nome, descricao) {
|
|
518
|
+
this.id = id;
|
|
519
|
+
this.nome = nome;
|
|
520
|
+
this.descricao = descricao;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
class Estudo {
|
|
524
|
+
id;
|
|
525
|
+
nome;
|
|
526
|
+
constructor(id, nome) {
|
|
527
|
+
this.id = id;
|
|
528
|
+
this.nome = nome;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
class AuthSession {
|
|
532
|
+
expiredAt;
|
|
533
|
+
id;
|
|
534
|
+
destroyedAt;
|
|
535
|
+
json;
|
|
536
|
+
constructor(expiredAt, id, json, destroyedAt) {
|
|
537
|
+
this.expiredAt = expiredAt;
|
|
538
|
+
this.id = id;
|
|
539
|
+
this.destroyedAt = destroyedAt;
|
|
540
|
+
this.json = json;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
class CustomizacaoUsuario {
|
|
544
|
+
fk__usuarios__id;
|
|
545
|
+
usuario;
|
|
546
|
+
personagemAvatarPrincipal;
|
|
547
|
+
conquistaExibirPerfil1;
|
|
548
|
+
conquistaExibirPerfil2;
|
|
549
|
+
conquistaExibirPerfil3;
|
|
550
|
+
constructor(fk__usuarios__id, usuario, personagemAvatarPrincipal, conquistaExibirPerfil1, conquistaExibirPerfil2, conquistaExibirPerfil3) {
|
|
551
|
+
this.fk__usuarios__id = fk__usuarios__id;
|
|
552
|
+
this.usuario = usuario;
|
|
553
|
+
this.personagemAvatarPrincipal = personagemAvatarPrincipal;
|
|
554
|
+
this.conquistaExibirPerfil1 = conquistaExibirPerfil1;
|
|
555
|
+
this.conquistaExibirPerfil2 = conquistaExibirPerfil2;
|
|
556
|
+
this.conquistaExibirPerfil3 = conquistaExibirPerfil3;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
class DisponibilidadeUsuario {
|
|
2
560
|
diaDaSemana;
|
|
3
561
|
horaInicio;
|
|
4
562
|
horaFim;
|
|
@@ -8,6 +566,26 @@ export class DisponibilidadeUsuario {
|
|
|
8
566
|
this.horaFim = horaFim;
|
|
9
567
|
}
|
|
10
568
|
}
|
|
569
|
+
class Usuario {
|
|
570
|
+
id;
|
|
571
|
+
perfilJogador;
|
|
572
|
+
perfilMestre;
|
|
573
|
+
perfilAdmin;
|
|
574
|
+
customizacao;
|
|
575
|
+
username;
|
|
576
|
+
email;
|
|
577
|
+
discordId;
|
|
578
|
+
constructor(id, perfilJogador, perfilMestre, perfilAdmin, customizacao, username, email, discordId) {
|
|
579
|
+
this.id = id;
|
|
580
|
+
this.perfilJogador = perfilJogador;
|
|
581
|
+
this.perfilMestre = perfilMestre;
|
|
582
|
+
this.perfilAdmin = perfilAdmin;
|
|
583
|
+
this.customizacao = customizacao;
|
|
584
|
+
this.username = username;
|
|
585
|
+
this.email = email;
|
|
586
|
+
this.discordId = discordId;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
11
589
|
;
|
|
12
590
|
export class DadosMinhasDisponibilidades {
|
|
13
591
|
disponibilidades;
|
|
@@ -32,17 +610,11 @@ export class DadosMinhasDisponibilidades {
|
|
|
32
610
|
});
|
|
33
611
|
}
|
|
34
612
|
}
|
|
613
|
+
export var AventuraEstado;
|
|
614
|
+
(function (AventuraEstado) {
|
|
615
|
+
AventuraEstado["EM_PREPARO"] = "Em Preparo";
|
|
616
|
+
AventuraEstado["EM_ANDAMENTO"] = "Em Andamento";
|
|
617
|
+
AventuraEstado["FINALIZADA"] = "Finalizada";
|
|
618
|
+
})(AventuraEstado || (AventuraEstado = {}));
|
|
35
619
|
;
|
|
36
|
-
export
|
|
37
|
-
id;
|
|
38
|
-
username;
|
|
39
|
-
email;
|
|
40
|
-
discordId;
|
|
41
|
-
constructor(id, username, email, discordId) {
|
|
42
|
-
this.id = id;
|
|
43
|
-
this.username = username;
|
|
44
|
-
this.email = email;
|
|
45
|
-
this.discordId = discordId;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
;
|
|
620
|
+
export { ConviteGrupoAventuraPersonagem, RespostaConvite, TipoRespostaConvite, Conquista, TipoConquista, Aventura, Geracao, GrupoAventura, GrupoAventuraPersonagem, Imagem, Alcance, Atributo, CategoriaRitual, CirculoRitual, Classe, Duracao, Elemento, EstatisticaDanificavel, Execucao, FormatoAlcance, LinhaEfeito, Nivel, NivelComponente, NivelProficiencia, NivelRitual, PatentePericia, Pericia, Proficiencia, TipoAlvo, TipoCategoria, TipoDano, TipoEfeito, TipoItem, TipoProficiencia, PerfilAdmin, PerfilJogador, PerfilMestre, AtributoPersonagem, EstatisticaDanificavelPersonagem, InformacaoPersonagem, PericiaPersonagem, Personagem, ResumoPersonagemAventura, TipoPersonagem, Estudo, AuthSession, CustomizacaoUsuario, DisponibilidadeUsuario, Usuario };
|