types-nora-api 0.0.23 → 0.0.25

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,301 +1,260 @@
1
- declare class ConviteGrupoAventuraPersonagem {
2
- id: number;
3
- grupoAventura: GrupoAventura;
4
- usuario: Usuario;
1
+ interface IAventura {
2
+ geracao: GeracaoDto;
3
+ gruposAventura: GrupoAventuraDto[];
4
+ titulo: string;
5
5
  dataCriacao: Date;
6
- constructor(id: number, grupoAventura: GrupoAventura, usuario: Usuario, dataCriacao: Date);
6
+ obtemEstadoAtual: AventuraEstado;
7
7
  }
8
- declare class RespostaConvite {
9
- constructor();
8
+ type AventuraDto = IAventura;
9
+ interface IConviteGrupoAventuraPersonagem {
10
+ grupoAventura: GrupoAventuraDto;
11
+ usuario: UsuarioDto;
12
+ dataCriacao: Date;
10
13
  }
11
- declare class TipoRespostaConvite {
12
- id: number;
14
+ type ConviteGrupoAventuraPersonagemDto = IConviteGrupoAventuraPersonagem;
15
+ interface IGrupoAventura {
13
16
  nome: string;
14
- constructor(id: number, nome: string);
17
+ aventura: AventuraDto;
18
+ usuarioMestre: UsuarioDto;
19
+ personagensDaAventura: GrupoAventuraPersonagemDto[];
20
+ dataPrevisaoInicio: Date;
21
+ dataInicio: Date;
22
+ dataFim: Date;
23
+ ddsPadrao: number;
24
+ recorrencia: string;
25
+ horaInicio: string;
26
+ horaFim: string;
27
+ obtemEstadoAtual: AventuraEstado;
28
+ obtemTextoInformacionalOcorrencia: string | null;
29
+ }
30
+ type GrupoAventuraDto = IGrupoAventura;
31
+ interface IGrupoAventuraPersonagem {
32
+ grupoAventura: GrupoAventuraDto;
33
+ personagem: PersonagemDto;
34
+ }
35
+ type GrupoAventuraPersonagemDto = IGrupoAventuraPersonagem;
36
+ interface IRespostaConvite {
37
+ convite: ConviteGrupoAventuraPersonagemDto;
38
+ tipoResposta: TipoRespostaConviteDto;
39
+ personagemVinculado: PersonagemDto;
40
+ dataCriacao: Date;
15
41
  }
16
- declare class Conquista {
17
- id: number;
18
- tipoConquista: TipoConquista;
42
+ type RespostaConviteDto = IRespostaConvite;
43
+ interface ITipoRespostaConvite {
19
44
  nome: string;
20
- descricao: string;
21
- constructor(id: number, tipoConquista: TipoConquista, nome: string, descricao: string);
22
45
  }
23
- declare class TipoConquista {
24
- id: number;
46
+ type TipoRespostaConviteDto = ITipoRespostaConvite;
47
+ interface IConquista {
48
+ tipoConquista: TipoConquistaDto;
25
49
  nome: string;
26
- constructor(id: number, nome: string);
50
+ descricao: string;
27
51
  }
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;
52
+ type ConquistaDto = IConquista;
53
+ interface ITipoConquista {
54
+ nome: string;
37
55
  }
38
- declare class Geracao {
56
+ type TipoConquistaDto = ITipoConquista;
57
+ interface IGeracao {
39
58
  id: number;
40
- aventuras: Aventura[];
59
+ aventuras: AventuraDto[];
41
60
  nome: string;
42
61
  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
- dataPrevisaoInicio: Date;
52
- dataInicio: Date | null;
53
- dataFim: Date | null;
54
- ddsPadrao: number;
55
- recorrencia: string;
56
- horaInicio: string;
57
- horaFim: string;
58
- constructor(id: number, nomeGrupo: string, aventura: Aventura, usuarioMestre: Usuario, personagensDaAventura: GrupoAventuraPersonagem[], dataPrevisaoInicio: Date, dataInicio: Date | null, dataFim: Date | null, ddsPadrao: number, recorrencia: string, horaInicio: string, horaFim: string);
59
- get obtemEstadoAtual(): AventuraEstado;
60
- get obtemTextoInformacionalOcorrencia(): string | null;
61
- }
62
- declare class GrupoAventuraPersonagem {
63
- fkGruposAventurasId: number;
64
- fkPersonagensId: number;
65
- grupoAventura: GrupoAventura;
66
- personagem: Personagem;
67
- constructor(fkGruposAventurasId: number, fkPersonagensId: number, grupoAventura: GrupoAventura, personagem: Personagem);
68
62
  }
63
+ type GeracaoDto = IGeracao;
69
64
  declare class Imagem {
70
65
  id: number;
71
66
  urlArquivo: string;
72
67
  constructor(id: number, urlArquivo: string);
73
68
  }
74
- declare class Alcance {
75
- id: number;
69
+ interface IAlcance {
76
70
  nome: string;
77
- numero_metros: number;
78
- descricao: string | null;
79
- constructor(id: number, nome: string, numero_metros: number, descricao: string | null);
71
+ numeroMetros: number;
72
+ descricao: string;
80
73
  }
81
- declare class Atributo {
82
- id: number;
83
- linhaEfeito: LinhaEfeito;
84
- pericias: Pericia[];
74
+ type AlcanceDto = IAlcance;
75
+ interface IAtributo {
76
+ linhaEfeito: LinhaEfeitoDto;
77
+ pericias: PericiaDto[];
85
78
  nome: string;
86
79
  descricao: string;
87
- constructor(id: number, linhaEfeito: LinhaEfeito, pericias: Pericia[], nome: string, descricao: string);
88
- get nomeAbreviado(): string;
80
+ nomeAbreviado: string;
89
81
  }
90
- declare class CategoriaRitual {
91
- id: number;
92
- circuloRitual: CirculoRitual;
93
- nivelRitual: NivelRitual;
82
+ type AtributoDto = IAtributo;
83
+ interface ICategoriaRitual {
84
+ circuloRitual: CirculoRitualDto;
85
+ nivelRitual: NivelRitualDto;
94
86
  valorPsSacrificado: number;
95
- constructor(id: number, circuloRitual: CirculoRitual, nivelRitual: NivelRitual, valorPsSacrificado: number);
96
- get nome(): string;
87
+ nome: string;
97
88
  }
98
- declare class CirculoRitual {
99
- id: number;
89
+ type CategoriaRitualDto = ICategoriaRitual;
90
+ interface ICirculoRitual {
100
91
  nome: string;
101
- constructor(id: number, nome: string);
102
- get nomeCompleto(): string;
92
+ nomeCompleto: string;
103
93
  }
104
- declare class Classe {
105
- id: number;
94
+ type CirculoRitualDto = ICirculoRitual;
95
+ interface IClasse {
106
96
  nome: string;
107
97
  descricao: string;
108
- constructor(id: number, nome: string, descricao: string);
109
98
  }
110
- declare class Duracao {
111
- id: number;
99
+ type ClasseDto = IClasse;
100
+ interface IDuracao {
112
101
  nome: string;
113
- constructor(id: number, nome: string);
114
102
  }
115
- declare class Elemento {
116
- id: number;
103
+ type DuracaoDto = IDuracao;
104
+ interface IElemento {
117
105
  nome: string;
118
106
  cores: PaletaCores;
119
- constructor(id: number, nome: string, cores: PaletaCores);
120
107
  }
121
- declare class EstatisticaDanificavel {
122
- id: number;
108
+ type ElementoDto = IElemento;
109
+ interface IEstatisticaDanificavel {
123
110
  nome: string;
124
111
  cor: string;
125
112
  descricao: string;
126
- constructor(id: number, nome: string, cor: string, descricao: string);
127
- get nomeAbreviado(): string;
113
+ nomeAbreviado: string;
128
114
  }
129
- declare class Execucao {
130
- id: number;
131
- linhaEfeito: LinhaEfeito;
115
+ type EstatisticaDanificavelDto = IEstatisticaDanificavel;
116
+ interface IExecucao {
117
+ linhaEfeito: LinhaEfeitoDto;
132
118
  nome: string;
133
- constructor(id: number, linhaEfeito: LinhaEfeito, nome: string);
134
119
  }
135
- declare class FormatoAlcance {
136
- id: number;
120
+ type ExecucaoDto = IExecucao;
121
+ interface IFormatoAlcance {
137
122
  nome: string;
138
- constructor(id: number, nome: string);
139
123
  }
140
- declare class LinhaEfeito {
141
- id: number;
124
+ type FormatoAlcanceDto = IFormatoAlcance;
125
+ interface ILinhaEfeito {
142
126
  nome: string;
143
- constructor(id: number, nome: string);
144
127
  }
145
- declare class Nivel {
146
- id: number;
128
+ type LinhaEfeitoDto = ILinhaEfeito;
129
+ interface INivel {
147
130
  valoNivel: number;
148
- constructor(id: number, valoNivel: number);
149
- get nomeDisplay(): string;
131
+ nomeDisplay: string;
150
132
  }
151
- declare class NivelComponente {
152
- id: number;
133
+ type NivelDto = INivel;
134
+ interface INivelComponente {
153
135
  nome: string;
154
- constructor(id: number, nome: string);
155
136
  }
156
- declare class NivelProficiencia {
157
- id: number;
137
+ type NivelComponenteDto = INivelComponente;
138
+ interface INivelProficiencia {
158
139
  nivel: number;
159
- constructor(id: number, nivel: number);
160
140
  }
161
- declare class NivelRitual {
162
- id: number;
141
+ type NivelProficienciaDto = INivelProficiencia;
142
+ interface INivelRitual {
163
143
  nome: string;
164
- constructor(id: number, nome: string);
165
144
  }
166
- declare class PatentePericia {
167
- id: number;
145
+ type NivelRitualDto = INivelRitual;
146
+ interface IPatentePericia {
168
147
  nome: string;
169
148
  bonusPatente: number;
170
149
  cor: string;
171
- constructor(id: number, nome: string, bonusPatente: number, cor: string);
172
150
  }
173
- declare class Pericia {
174
- id: number;
175
- atributo: Atributo;
176
- linhaEfeito: LinhaEfeito;
151
+ type PatentePericiaDto = IPatentePericia;
152
+ interface IPericia {
153
+ atributo: AtributoDto;
154
+ linhaEfeito: LinhaEfeitoDto;
177
155
  nome: string;
178
156
  descricao: string;
179
- constructor(id: number, atributo: Atributo, linhaEfeito: LinhaEfeito, nome: string, descricao: string);
180
- get nomeAbreviado(): string;
157
+ nomeAbreviado: string;
181
158
  }
182
- declare class Proficiencia {
183
- id: number;
184
- tipoProficiencia: TipoProficiencia;
185
- nivelProficiencia: NivelProficiencia;
159
+ type PericiaDto = IPericia;
160
+ interface IProficiencia {
161
+ tipoProficiencia: TipoProficienciaDto;
162
+ nivelProficiencia: NivelProficienciaDto;
186
163
  nome: string;
187
- constructor(id: number, tipoProficiencia: TipoProficiencia, nivelProficiencia: NivelProficiencia, nome: string);
188
164
  }
189
- declare class TipoAlvo {
190
- id: number;
165
+ type ProficienciaDto = IProficiencia;
166
+ interface ITipoAlvo {
191
167
  nome: string;
192
- constructor(id: number, nome: string);
193
168
  }
194
- declare class TipoCategoria {
195
- id: number;
169
+ type TipoAlvoDto = ITipoAlvo;
170
+ interface ITipoCategoria {
196
171
  valorCategoria: number;
197
- constructor(id: number, valorCategoria: number);
198
- get nomeCategoria(): string;
172
+ nomeCategoria: string;
199
173
  }
200
- declare class TipoDano {
201
- id: number;
202
- linhaEfeito: LinhaEfeito;
203
- tipoDanoPertencente: TipoDano;
174
+ type TipoCategoriaDto = ITipoCategoria;
175
+ interface ITipoDano {
176
+ linhaEfeito: LinhaEfeitoDto;
177
+ tipoDanoPertencente: TipoDanoDto;
204
178
  nome: string;
205
- constructor(id: number, linhaEfeito: LinhaEfeito, tipoDanoPertencente: TipoDano, nome: string);
206
179
  }
207
- declare class TipoEfeito {
208
- id: number;
180
+ type TipoDanoDto = ITipoDano;
181
+ interface ITipoEfeito {
209
182
  nome: string;
210
183
  nomeVisualizacao: string;
211
- constructor(id: number, nome: string, nomeVisualizacao: string);
212
184
  }
213
- declare class TipoItem {
214
- id: number;
185
+ type TipoEfeitoDto = ITipoEfeito;
186
+ interface ITipoItem {
215
187
  nome: string;
216
- constructor(id: number, nome: string);
217
188
  }
218
- declare class TipoProficiencia {
219
- id: number;
189
+ type TipoItemDto = ITipoItem;
190
+ interface ITipoProficiencia {
220
191
  nome: string;
221
- constructor(id: number, nome: string);
222
192
  }
223
- declare class PerfilAdmin {
224
- id: number;
193
+ type TipoProficienciaDto = ITipoProficiencia;
194
+ interface IPerfilAdmin {
225
195
  nome: string;
226
196
  descricao: string;
227
- constructor(id: number, nome: string, descricao: string);
228
197
  }
229
- declare class PerfilJogador {
230
- id: number;
198
+ type PerfilAdminDto = IPerfilAdmin;
199
+ interface IPerfilJogador {
231
200
  nome: string;
232
201
  descricao: string;
233
- constructor(id: number, nome: string, descricao: string);
234
202
  }
235
- declare class PerfilMestre {
236
- id: number;
203
+ type PerfilJogadorDto = IPerfilJogador;
204
+ interface IPerfilMestre {
237
205
  nome: string;
238
206
  descricao: string;
239
- constructor(id: number, nome: string, descricao: string);
240
207
  }
241
- declare class AtributoPersonagem {
242
- fkPersonagemId: number;
243
- fkAtributoId: number;
244
- personagem: Personagem;
245
- atributo: Atributo;
208
+ type PerfilMestreDto = IPerfilMestre;
209
+ interface IAtributoPersonagem {
210
+ personagem: PersonagemDto;
211
+ atributo: AtributoDto;
246
212
  valor: number;
247
- constructor(fkPersonagemId: number, fkAtributoId: number, personagem: Personagem, atributo: Atributo, valor: number);
248
213
  }
249
- declare class EstatisticaDanificavelPersonagem {
250
- fkPersonagemId: number;
251
- fkEstatisticaDanificavelId: number;
252
- personagem: Personagem;
253
- estatisticaDanificavel: EstatisticaDanificavel;
214
+ type AtributoPersonagemDto = IAtributoPersonagem;
215
+ interface IEstatisticaDanificavelPersonagem {
216
+ personagem: PersonagemDto;
217
+ estatisticaDanificavel: EstatisticaDanificavelDto;
254
218
  valorMaximo: number;
255
219
  valorAtual: number;
256
- constructor(fkPersonagemId: number, fkEstatisticaDanificavelId: number, personagem: Personagem, estatisticaDanificavel: EstatisticaDanificavel, valorMaximo: number, valorAtual: number);
257
220
  }
258
- declare class InformacaoPersonagem {
259
- fkPersonagensId: number;
260
- personagem: Personagem;
221
+ type EstatisticaDanificavelPersonagemDto = IEstatisticaDanificavelPersonagem;
222
+ interface IInformacaoPersonagem {
223
+ personagem: PersonagemDto;
261
224
  nome: string;
262
- constructor(fkPersonagensId: number, personagem: Personagem, nome: string);
263
- }
264
- declare class PericiaPersonagem {
265
- fkPersonagemId: number;
266
- fkPericiaId: number;
267
- personagem: Personagem;
268
- pericia: Pericia;
269
- patentePericia: PatentePericia;
270
- constructor(fkPersonagemId: number, fkPericiaId: number, personagem: Personagem, pericia: Pericia, patentePericia: PatentePericia);
271
- }
272
- declare class Personagem {
273
- id: number;
274
- tipoPersonagem: TipoPersonagem;
275
- usuarioCriador: Usuario;
276
- informacao: InformacaoPersonagem;
277
- estatisticasDanificaveisPersonagem: EstatisticaDanificavelPersonagem[];
278
- atributosPersonagem: AtributoPersonagem[];
279
- periciasPersonagem: PericiaPersonagem;
280
- constructor(id: number, tipoPersonagem: TipoPersonagem, usuarioCriador: Usuario, informacao: InformacaoPersonagem, estatisticasDanificaveisPersonagem: EstatisticaDanificavelPersonagem[], atributosPersonagem: AtributoPersonagem[], periciasPersonagem: PericiaPersonagem);
281
- }
282
- declare class ResumoPersonagemAventura {
283
- id: number;
284
- personagem: Personagem;
285
- aventura: Aventura;
286
- constructor(id: number, personagem: Personagem, aventura: Aventura);
287
225
  }
288
- declare class TipoPersonagem {
289
- id: number;
226
+ type InformacaoPersonagemDto = IInformacaoPersonagem;
227
+ interface IPericiaPersonagem {
228
+ personagem: PersonagemDto;
229
+ pericia: PericiaDto;
230
+ patentePericia: PatentePericiaDto;
231
+ }
232
+ type PericiaPersonagemDto = IPericiaPersonagem;
233
+ interface IPersonagem {
234
+ tipoPersonagem: TipoPersonagemDto;
235
+ usuario: UsuarioDto;
236
+ informacao: InformacaoPersonagemDto;
237
+ estatisticasDanificaveisPersonagem: EstatisticaDanificavelPersonagemDto[];
238
+ atributosPersonagem: AtributoPersonagemDto[];
239
+ periciasPersonagem: PericiaPersonagemDto;
240
+ estadoPendencia: EstadoPendenciaPersonagem;
241
+ }
242
+ type PersonagemDto = IPersonagem;
243
+ interface IResumoPersonagemAventura {
244
+ personagem: PersonagemDto;
245
+ aventura: AventuraDto;
246
+ texto: string;
247
+ }
248
+ type ResumoPersonagemAventuraDto = IResumoPersonagemAventura;
249
+ interface ITipoPersonagem {
290
250
  nome: string;
291
251
  descricao: string;
292
- constructor(id: number, nome: string, descricao: string);
293
252
  }
294
- declare class Estudo {
295
- id: number;
253
+ type TipoPersonagemDto = ITipoPersonagem;
254
+ interface IEstudo {
296
255
  nome: string;
297
- constructor(id: number, nome: string);
298
256
  }
257
+ type EstudoDto = IEstudo;
299
258
  declare class AuthSession {
300
259
  expiredAt: number;
301
260
  id: string;
@@ -303,43 +262,45 @@ declare class AuthSession {
303
262
  json: string;
304
263
  constructor(expiredAt: number, id: string, json: string, destroyedAt?: Date | undefined);
305
264
  }
306
- declare class CustomizacaoUsuario {
307
- fk__usuarios__id: number;
308
- usuario: Usuario;
309
- personagemAvatarPrincipal: Personagem;
310
- conquistaExibirPerfil1: Conquista;
311
- conquistaExibirPerfil2: Conquista;
312
- conquistaExibirPerfil3: Conquista;
313
- constructor(fk__usuarios__id: number, usuario: Usuario, personagemAvatarPrincipal: Personagem, conquistaExibirPerfil1: Conquista, conquistaExibirPerfil2: Conquista, conquistaExibirPerfil3: Conquista);
265
+ interface ICustomizacaoUsuario {
266
+ usuario: UsuarioDto;
267
+ personagemAvatarPrincipal: PersonagemDto;
268
+ conquistaExibirPerfil1: ConquistaDto;
269
+ conquistaExibirPerfil2: ConquistaDto;
270
+ conquistaExibirPerfil3: ConquistaDto;
271
+ caminhoAvatar: string;
314
272
  }
315
- declare class DisponibilidadeUsuario {
273
+ type CustomizacaoUsuarioDto = ICustomizacaoUsuario;
274
+ interface IDisponibilidadeUsuario {
275
+ usuario: UsuarioDto;
316
276
  diaDaSemana: number;
317
277
  horaInicio: string;
318
278
  horaFim: string;
319
- constructor(diaDaSemana: number, horaInicio: string, horaFim: string);
320
279
  }
321
- declare class Usuario {
280
+ type DisponibilidadeUsuarioDto = IDisponibilidadeUsuario;
281
+ interface IUsuario {
322
282
  id: number;
323
- perfilJogador: PerfilJogador;
324
- perfilMestre: PerfilMestre;
325
- perfilAdmin: PerfilAdmin;
326
- customizacao: CustomizacaoUsuario;
327
- username: string | null;
283
+ perfilJogador: PerfilJogadorDto;
284
+ perfilMestre: PerfilMestreDto;
285
+ perfilAdmin: PerfilAdminDto;
286
+ customizacao: CustomizacaoUsuarioDto;
287
+ username: string;
328
288
  email: string;
329
289
  discordId: string;
330
- constructor(id: number, perfilJogador: PerfilJogador, perfilMestre: PerfilMestre, perfilAdmin: PerfilAdmin, customizacao: CustomizacaoUsuario, username: string, email: string, discordId: string);
331
290
  }
332
- export type RespostaBackEnd<T> = {
291
+ type UsuarioDto = IUsuario;
292
+ type Done = (err: Error | null, usuario: UsuarioDto | null) => void;
293
+ type RespostaBackEnd<T> = {
333
294
  sucesso: boolean;
334
295
  dados?: T;
335
296
  erro?: string;
336
297
  };
337
- export interface PaletaCores {
298
+ interface PaletaCores {
338
299
  corPrimaria: string;
339
300
  corSecundaria?: string;
340
301
  corTerciaria?: string;
341
302
  }
342
- export type EstruturaPaginaDefinicao = {
303
+ type EstruturaPaginaDefinicao = {
343
304
  titulo: string;
344
305
  subtitulo?: string;
345
306
  listaConteudo: {
@@ -350,39 +311,40 @@ export type EstruturaPaginaDefinicao = {
350
311
  subPaginaDefinicao: string;
351
312
  }[];
352
313
  };
353
- export type ConteudoItem = {
314
+ type ConteudoItem = {
354
315
  tipo: 'Definicao';
355
316
  elementos: DefinicaoElemento[];
356
317
  } | {
357
318
  tipo: 'Lista';
358
319
  itensLista: ListaItem[];
359
320
  };
360
- export type DefinicaoElemento = {
321
+ type DefinicaoElemento = {
361
322
  tipo: 'Paragrafo';
362
323
  conteudo: string;
363
324
  } | {
364
325
  tipo: 'ParagrafoSecreto';
365
326
  };
366
- export type ListaItem = {
327
+ type ListaItem = {
367
328
  tipo: 'ItemLista';
368
329
  etiqueta: string;
369
330
  subPaginaDefinicao: string;
370
331
  } | {
371
332
  tipo: 'ItemListaSecreto';
372
333
  };
373
- export type DadosMinhaPagina = Pick<Usuario, 'username'> & {
374
- caminhoAvatar: string;
375
- };
376
- export declare class DadosMinhasDisponibilidades {
377
- disponibilidades: DisponibilidadeUsuario[];
378
- constructor(disponibilidades: DisponibilidadeUsuario[]);
334
+ declare class DadosMinhasDisponibilidades {
335
+ disponibilidades: DisponibilidadeUsuarioDto[];
336
+ constructor(disponibilidades: DisponibilidadeUsuarioDto[]);
379
337
  get disponibilidadePorExtenso(): Record<number, string[]>[];
380
338
  }
381
- export declare enum AventuraEstado {
339
+ declare enum AventuraEstado {
382
340
  EM_PREPARO = "Em Preparo",
383
341
  EM_ANDAMENTO = "Em Andamento",
384
342
  FINALIZADA = "Finalizada"
385
343
  }
386
- export type dds = 1 | 2 | 3 | 4 | 5 | 6 | 7;
387
- export declare function obtemDiaDaSemanaPorExtensoPorDDS(dds: dds, plural?: boolean): string;
388
- 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 };
344
+ declare enum EstadoPendenciaPersonagem {
345
+ INFORMACOES_PENDENTES = "Informa\u00E7\u00F5es B\u00E1sicas Pendentes",
346
+ FICHA_PENDENTE = "Atualiza\u00E7\u00E3o de Ficha Pendente",
347
+ SEM_PENDENCIAS = ""
348
+ }
349
+ type dds = 1 | 2 | 3 | 4 | 5 | 6 | 7;
350
+ export { IAventura, AventuraDto, IConviteGrupoAventuraPersonagem, ConviteGrupoAventuraPersonagemDto, IGrupoAventura, GrupoAventuraDto, IGrupoAventuraPersonagem, GrupoAventuraPersonagemDto, IRespostaConvite, RespostaConviteDto, ITipoRespostaConvite, TipoRespostaConviteDto, IConquista, ConquistaDto, ITipoConquista, TipoConquistaDto, IGeracao, GeracaoDto, Imagem, IAlcance, AlcanceDto, IAtributo, AtributoDto, ICategoriaRitual, CategoriaRitualDto, ICirculoRitual, CirculoRitualDto, IClasse, ClasseDto, IDuracao, DuracaoDto, IElemento, ElementoDto, IEstatisticaDanificavel, EstatisticaDanificavelDto, IExecucao, ExecucaoDto, IFormatoAlcance, FormatoAlcanceDto, ILinhaEfeito, LinhaEfeitoDto, INivel, NivelDto, INivelComponente, NivelComponenteDto, INivelProficiencia, NivelProficienciaDto, INivelRitual, NivelRitualDto, IPatentePericia, PatentePericiaDto, IPericia, PericiaDto, IProficiencia, ProficienciaDto, ITipoAlvo, TipoAlvoDto, ITipoCategoria, TipoCategoriaDto, ITipoDano, TipoDanoDto, ITipoEfeito, TipoEfeitoDto, ITipoItem, TipoItemDto, ITipoProficiencia, TipoProficienciaDto, IPerfilAdmin, PerfilAdminDto, IPerfilJogador, PerfilJogadorDto, IPerfilMestre, PerfilMestreDto, IAtributoPersonagem, AtributoPersonagemDto, IEstatisticaDanificavelPersonagem, EstatisticaDanificavelPersonagemDto, IInformacaoPersonagem, InformacaoPersonagemDto, IPericiaPersonagem, PericiaPersonagemDto, IPersonagem, PersonagemDto, IResumoPersonagemAventura, ResumoPersonagemAventuraDto, ITipoPersonagem, TipoPersonagemDto, IEstudo, EstudoDto, AuthSession, ICustomizacaoUsuario, CustomizacaoUsuarioDto, IDisponibilidadeUsuario, DisponibilidadeUsuarioDto, IUsuario, UsuarioDto, Done, RespostaBackEnd, PaletaCores, EstruturaPaginaDefinicao, ConteudoItem, DefinicaoElemento, ListaItem, DadosMinhasDisponibilidades, AventuraEstado, EstadoPendenciaPersonagem, dds };
package/dist/classes.js CHANGED
@@ -1,163 +1,4 @@
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
- dataPrevisaoInicio;
113
- dataInicio;
114
- dataFim;
115
- ddsPadrao;
116
- recorrencia;
117
- horaInicio;
118
- horaFim;
119
- constructor(id, nomeGrupo, aventura, usuarioMestre, personagensDaAventura, dataPrevisaoInicio, dataInicio, dataFim, ddsPadrao, recorrencia, horaInicio, horaFim) {
120
- this.id = id;
121
- this.nomeGrupo = nomeGrupo;
122
- this.aventura = aventura;
123
- this.usuarioMestre = usuarioMestre;
124
- this.personagensDaAventura = personagensDaAventura;
125
- this.dataPrevisaoInicio = dataPrevisaoInicio;
126
- this.dataInicio = dataInicio;
127
- this.dataFim = dataFim;
128
- this.ddsPadrao = ddsPadrao;
129
- this.recorrencia = recorrencia;
130
- this.horaInicio = horaInicio;
131
- this.horaFim = horaFim;
132
- }
133
- get obtemEstadoAtual() {
134
- if (this.dataInicio === null)
135
- return AventuraEstado.EM_PREPARO;
136
- if (this.dataFim !== null)
137
- return AventuraEstado.FINALIZADA;
138
- return AventuraEstado.EM_ANDAMENTO;
139
- }
140
- get obtemTextoInformacionalOcorrencia() {
141
- if (this.obtemEstadoAtual === AventuraEstado.FINALIZADA)
142
- return null;
143
- const recorrenciaEHora = `Todas as ${obtemDiaDaSemanaPorExtensoPorDDS(this.ddsPadrao, true)}, das ${this.horaInicio} as ${this.horaFim}`;
144
- if (this.obtemEstadoAtual === AventuraEstado.EM_ANDAMENTO)
145
- return recorrenciaEHora;
146
- return `Iniciando em ${this.dataPrevisaoInicio}, ${recorrenciaEHora}`;
147
- }
148
- }
149
- class GrupoAventuraPersonagem {
150
- fkGruposAventurasId;
151
- fkPersonagensId;
152
- grupoAventura;
153
- personagem;
154
- constructor(fkGruposAventurasId, fkPersonagensId, grupoAventura, personagem) {
155
- this.fkGruposAventurasId = fkGruposAventurasId;
156
- this.fkPersonagensId = fkPersonagensId;
157
- this.grupoAventura = grupoAventura;
158
- this.personagem = personagem;
159
- }
160
- }
1
+ // AUTO-GENERATED FILE - DO NOT EDIT
161
2
  class Imagem {
162
3
  id;
163
4
  urlArquivo;
@@ -166,382 +7,6 @@ class Imagem {
166
7
  this.urlArquivo = urlArquivo;
167
8
  }
168
9
  }
169
- class Alcance {
170
- id;
171
- nome;
172
- numero_metros;
173
- descricao;
174
- constructor(id, nome, numero_metros, descricao) {
175
- this.id = id;
176
- this.nome = nome;
177
- this.numero_metros = numero_metros;
178
- this.descricao = descricao;
179
- }
180
- }
181
- class Atributo {
182
- id;
183
- linhaEfeito;
184
- pericias;
185
- nome;
186
- descricao;
187
- constructor(id, linhaEfeito, pericias, nome, descricao) {
188
- this.id = id;
189
- this.linhaEfeito = linhaEfeito;
190
- this.pericias = pericias;
191
- this.nome = nome;
192
- this.descricao = descricao;
193
- }
194
- get nomeAbreviado() {
195
- return this.nome.toUpperCase().slice(0, 3);
196
- }
197
- }
198
- class CategoriaRitual {
199
- id;
200
- circuloRitual;
201
- nivelRitual;
202
- valorPsSacrificado;
203
- constructor(id, circuloRitual, nivelRitual, valorPsSacrificado) {
204
- this.id = id;
205
- this.circuloRitual = circuloRitual;
206
- this.nivelRitual = nivelRitual;
207
- this.valorPsSacrificado = valorPsSacrificado;
208
- }
209
- ;
210
- get nome() { return `${this.circuloRitual.nomeCompleto} ${this.nivelRitual.nome}`; }
211
- }
212
- class CirculoRitual {
213
- id;
214
- nome;
215
- constructor(id, nome) {
216
- this.id = id;
217
- this.nome = nome;
218
- }
219
- get nomeCompleto() { return `${this.nome}º Círculo`; }
220
- }
221
- class Classe {
222
- id;
223
- nome;
224
- descricao;
225
- constructor(id, nome, descricao) {
226
- this.id = id;
227
- this.nome = nome;
228
- this.descricao = descricao;
229
- }
230
- }
231
- class Duracao {
232
- id;
233
- nome;
234
- constructor(id, nome) {
235
- this.id = id;
236
- this.nome = nome;
237
- }
238
- }
239
- class Elemento {
240
- id;
241
- nome;
242
- cores;
243
- constructor(id, nome, cores) {
244
- this.id = id;
245
- this.nome = nome;
246
- this.cores = cores;
247
- }
248
- }
249
- class EstatisticaDanificavel {
250
- id;
251
- nome;
252
- cor;
253
- descricao;
254
- constructor(id, nome, cor, descricao) {
255
- this.id = id;
256
- this.nome = nome;
257
- this.cor = cor;
258
- this.descricao = descricao;
259
- }
260
- get nomeAbreviado() { return this.nome.split(" ").filter(word => word.toLowerCase() !== "de").map(word => word[0].toUpperCase()).join(".") + "."; }
261
- }
262
- class Execucao {
263
- id;
264
- linhaEfeito;
265
- nome;
266
- constructor(id, linhaEfeito, nome) {
267
- this.id = id;
268
- this.linhaEfeito = linhaEfeito;
269
- this.nome = nome;
270
- }
271
- }
272
- class FormatoAlcance {
273
- id;
274
- nome;
275
- constructor(id, nome) {
276
- this.id = id;
277
- this.nome = nome;
278
- }
279
- }
280
- class LinhaEfeito {
281
- id;
282
- nome;
283
- constructor(id, nome) {
284
- this.id = id;
285
- this.nome = nome;
286
- }
287
- }
288
- class Nivel {
289
- id;
290
- valoNivel;
291
- constructor(id, valoNivel) {
292
- this.id = id;
293
- this.valoNivel = valoNivel;
294
- }
295
- get nomeDisplay() { return `${this.valoNivel}% EX.P.`; }
296
- }
297
- class NivelComponente {
298
- id;
299
- nome;
300
- constructor(id, nome) {
301
- this.id = id;
302
- this.nome = nome;
303
- }
304
- }
305
- class NivelProficiencia {
306
- id;
307
- nivel;
308
- constructor(id, nivel) {
309
- this.id = id;
310
- this.nivel = nivel;
311
- }
312
- }
313
- class NivelRitual {
314
- id;
315
- nome;
316
- constructor(id, nome) {
317
- this.id = id;
318
- this.nome = nome;
319
- }
320
- }
321
- class PatentePericia {
322
- id;
323
- nome;
324
- bonusPatente;
325
- cor;
326
- constructor(id, nome, bonusPatente, cor) {
327
- this.id = id;
328
- this.nome = nome;
329
- this.bonusPatente = bonusPatente;
330
- this.cor = cor;
331
- }
332
- }
333
- class Pericia {
334
- id;
335
- atributo;
336
- linhaEfeito;
337
- nome;
338
- descricao;
339
- constructor(id, atributo, linhaEfeito, nome, descricao) {
340
- this.id = id;
341
- this.atributo = atributo;
342
- this.linhaEfeito = linhaEfeito;
343
- this.nome = nome;
344
- this.descricao = descricao;
345
- }
346
- get nomeAbreviado() { return this.nome.toUpperCase().slice(0, 4); }
347
- }
348
- class Proficiencia {
349
- id;
350
- tipoProficiencia;
351
- nivelProficiencia;
352
- nome;
353
- constructor(id, tipoProficiencia, nivelProficiencia, nome) {
354
- this.id = id;
355
- this.tipoProficiencia = tipoProficiencia;
356
- this.nivelProficiencia = nivelProficiencia;
357
- this.nome = nome;
358
- }
359
- }
360
- class TipoAlvo {
361
- id;
362
- nome;
363
- constructor(id, nome) {
364
- this.id = id;
365
- this.nome = nome;
366
- }
367
- }
368
- class TipoCategoria {
369
- id;
370
- valorCategoria;
371
- constructor(id, valorCategoria) {
372
- this.id = id;
373
- this.valorCategoria = valorCategoria;
374
- }
375
- get nomeCategoria() { return `Categoria ${this.valorCategoria}`; }
376
- }
377
- class TipoDano {
378
- id;
379
- linhaEfeito;
380
- tipoDanoPertencente;
381
- nome;
382
- constructor(id, linhaEfeito, tipoDanoPertencente, nome) {
383
- this.id = id;
384
- this.linhaEfeito = linhaEfeito;
385
- this.tipoDanoPertencente = tipoDanoPertencente;
386
- this.nome = nome;
387
- }
388
- }
389
- class TipoEfeito {
390
- id;
391
- nome;
392
- nomeVisualizacao;
393
- constructor(id, nome, nomeVisualizacao) {
394
- this.id = id;
395
- this.nome = nome;
396
- this.nomeVisualizacao = nomeVisualizacao;
397
- }
398
- }
399
- class TipoItem {
400
- id;
401
- nome;
402
- constructor(id, nome) {
403
- this.id = id;
404
- this.nome = nome;
405
- }
406
- }
407
- class TipoProficiencia {
408
- id;
409
- nome;
410
- constructor(id, nome) {
411
- this.id = id;
412
- this.nome = nome;
413
- }
414
- }
415
- class PerfilAdmin {
416
- id;
417
- nome;
418
- descricao;
419
- constructor(id, nome, descricao) {
420
- this.id = id;
421
- this.nome = nome;
422
- this.descricao = descricao;
423
- }
424
- }
425
- class PerfilJogador {
426
- id;
427
- nome;
428
- descricao;
429
- constructor(id, nome, descricao) {
430
- this.id = id;
431
- this.nome = nome;
432
- this.descricao = descricao;
433
- }
434
- }
435
- class PerfilMestre {
436
- id;
437
- nome;
438
- descricao;
439
- constructor(id, nome, descricao) {
440
- this.id = id;
441
- this.nome = nome;
442
- this.descricao = descricao;
443
- }
444
- }
445
- class AtributoPersonagem {
446
- fkPersonagemId;
447
- fkAtributoId;
448
- personagem;
449
- atributo;
450
- valor;
451
- constructor(fkPersonagemId, fkAtributoId, personagem, atributo, valor) {
452
- this.fkPersonagemId = fkPersonagemId;
453
- this.fkAtributoId = fkAtributoId;
454
- this.personagem = personagem;
455
- this.atributo = atributo;
456
- this.valor = valor;
457
- }
458
- }
459
- class EstatisticaDanificavelPersonagem {
460
- fkPersonagemId;
461
- fkEstatisticaDanificavelId;
462
- personagem;
463
- estatisticaDanificavel;
464
- valorMaximo;
465
- valorAtual;
466
- constructor(fkPersonagemId, fkEstatisticaDanificavelId, personagem, estatisticaDanificavel, valorMaximo, valorAtual) {
467
- this.fkPersonagemId = fkPersonagemId;
468
- this.fkEstatisticaDanificavelId = fkEstatisticaDanificavelId;
469
- this.personagem = personagem;
470
- this.estatisticaDanificavel = estatisticaDanificavel;
471
- this.valorMaximo = valorMaximo;
472
- this.valorAtual = valorAtual;
473
- }
474
- }
475
- class InformacaoPersonagem {
476
- fkPersonagensId;
477
- personagem;
478
- nome;
479
- constructor(fkPersonagensId, personagem, nome) {
480
- this.fkPersonagensId = fkPersonagensId;
481
- this.personagem = personagem;
482
- this.nome = nome;
483
- }
484
- }
485
- class PericiaPersonagem {
486
- fkPersonagemId;
487
- fkPericiaId;
488
- personagem;
489
- pericia;
490
- patentePericia;
491
- constructor(fkPersonagemId, fkPericiaId, personagem, pericia, patentePericia) {
492
- this.fkPersonagemId = fkPersonagemId;
493
- this.fkPericiaId = fkPericiaId;
494
- this.personagem = personagem;
495
- this.pericia = pericia;
496
- this.patentePericia = patentePericia;
497
- }
498
- }
499
- class Personagem {
500
- id;
501
- tipoPersonagem;
502
- usuarioCriador;
503
- informacao;
504
- estatisticasDanificaveisPersonagem;
505
- atributosPersonagem;
506
- periciasPersonagem;
507
- constructor(id, tipoPersonagem, usuarioCriador, informacao, estatisticasDanificaveisPersonagem, atributosPersonagem, periciasPersonagem) {
508
- this.id = id;
509
- this.tipoPersonagem = tipoPersonagem;
510
- this.usuarioCriador = usuarioCriador;
511
- this.informacao = informacao;
512
- this.estatisticasDanificaveisPersonagem = estatisticasDanificaveisPersonagem;
513
- this.atributosPersonagem = atributosPersonagem;
514
- this.periciasPersonagem = periciasPersonagem;
515
- }
516
- }
517
- class ResumoPersonagemAventura {
518
- id;
519
- personagem;
520
- aventura;
521
- constructor(id, personagem, aventura) {
522
- this.id = id;
523
- this.personagem = personagem;
524
- this.aventura = aventura;
525
- }
526
- }
527
- class TipoPersonagem {
528
- id;
529
- nome;
530
- descricao;
531
- constructor(id, nome, descricao) {
532
- this.id = id;
533
- this.nome = nome;
534
- this.descricao = descricao;
535
- }
536
- }
537
- class Estudo {
538
- id;
539
- nome;
540
- constructor(id, nome) {
541
- this.id = id;
542
- this.nome = nome;
543
- }
544
- }
545
10
  class AuthSession {
546
11
  expiredAt;
547
12
  id;
@@ -554,54 +19,8 @@ class AuthSession {
554
19
  this.json = json;
555
20
  }
556
21
  }
557
- class CustomizacaoUsuario {
558
- fk__usuarios__id;
559
- usuario;
560
- personagemAvatarPrincipal;
561
- conquistaExibirPerfil1;
562
- conquistaExibirPerfil2;
563
- conquistaExibirPerfil3;
564
- constructor(fk__usuarios__id, usuario, personagemAvatarPrincipal, conquistaExibirPerfil1, conquistaExibirPerfil2, conquistaExibirPerfil3) {
565
- this.fk__usuarios__id = fk__usuarios__id;
566
- this.usuario = usuario;
567
- this.personagemAvatarPrincipal = personagemAvatarPrincipal;
568
- this.conquistaExibirPerfil1 = conquistaExibirPerfil1;
569
- this.conquistaExibirPerfil2 = conquistaExibirPerfil2;
570
- this.conquistaExibirPerfil3 = conquistaExibirPerfil3;
571
- }
572
- }
573
- class DisponibilidadeUsuario {
574
- diaDaSemana;
575
- horaInicio;
576
- horaFim;
577
- constructor(diaDaSemana, horaInicio, horaFim) {
578
- this.diaDaSemana = diaDaSemana;
579
- this.horaInicio = horaInicio;
580
- this.horaFim = horaFim;
581
- }
582
- }
583
- class Usuario {
584
- id;
585
- perfilJogador;
586
- perfilMestre;
587
- perfilAdmin;
588
- customizacao;
589
- username;
590
- email;
591
- discordId;
592
- constructor(id, perfilJogador, perfilMestre, perfilAdmin, customizacao, username, email, discordId) {
593
- this.id = id;
594
- this.perfilJogador = perfilJogador;
595
- this.perfilMestre = perfilMestre;
596
- this.perfilAdmin = perfilAdmin;
597
- this.customizacao = customizacao;
598
- this.username = username;
599
- this.email = email;
600
- this.discordId = discordId;
601
- }
602
- }
603
- ;
604
- export class DadosMinhasDisponibilidades {
22
+ // @tipoCompartilhadoFront
23
+ class DadosMinhasDisponibilidades {
605
24
  disponibilidades;
606
25
  constructor(disponibilidades) {
607
26
  this.disponibilidades = disponibilidades;
@@ -624,32 +43,18 @@ export class DadosMinhasDisponibilidades {
624
43
  });
625
44
  }
626
45
  }
627
- export var AventuraEstado;
46
+ // @tipoCompartilhadoFront
47
+ var AventuraEstado;
628
48
  (function (AventuraEstado) {
629
49
  AventuraEstado["EM_PREPARO"] = "Em Preparo";
630
50
  AventuraEstado["EM_ANDAMENTO"] = "Em Andamento";
631
51
  AventuraEstado["FINALIZADA"] = "Finalizada";
632
52
  })(AventuraEstado || (AventuraEstado = {}));
633
- ;
634
- export function obtemDiaDaSemanaPorExtensoPorDDS(dds, plural = false) {
635
- const diasDaSemanaSingular = [
636
- 'Domingo',
637
- 'Segunda-feira',
638
- 'Terça-feira',
639
- 'Quarta-feira',
640
- 'Quinta-feira',
641
- 'Sexta-feira',
642
- 'Sábado',
643
- ];
644
- const diasDaSemanaPlural = [
645
- 'Domingos',
646
- 'Segundas-feiras',
647
- 'Terças-feiras',
648
- 'Quartas-feiras',
649
- 'Quintas-feiras',
650
- 'Sextas-feiras',
651
- 'Sábados',
652
- ];
653
- return plural ? diasDaSemanaPlural[dds] : diasDaSemanaSingular[dds];
654
- }
655
- 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 };
53
+ // @tipoCompartilhadoFront
54
+ var EstadoPendenciaPersonagem;
55
+ (function (EstadoPendenciaPersonagem) {
56
+ EstadoPendenciaPersonagem["INFORMACOES_PENDENTES"] = "Informa\u00E7\u00F5es B\u00E1sicas Pendentes";
57
+ EstadoPendenciaPersonagem["FICHA_PENDENTE"] = "Atualiza\u00E7\u00E3o de Ficha Pendente";
58
+ EstadoPendenciaPersonagem["SEM_PENDENCIAS"] = "";
59
+ })(EstadoPendenciaPersonagem || (EstadoPendenciaPersonagem = {}));
60
+ export { Imagem, AuthSession, DadosMinhasDisponibilidades, AventuraEstado, EstadoPendenciaPersonagem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "types-nora-api",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "Tipagem da Nora-Api compartilhada com o universodomedo.com",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",