futbol-in-core 1.0.0 → 1.0.2

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.
@@ -0,0 +1,6 @@
1
+ import { TipoCompeticion } from "../../enum/Competicion";
2
+ export interface DescripcionCompeticion {
3
+ titulo: string;
4
+ descripcion: string[];
5
+ }
6
+ export declare const TIPOS_COMPETICION: Record<TipoCompeticion, DescripcionCompeticion>;
@@ -0,0 +1,6 @@
1
+ import { ModalidadJuego } from "../../enum/Competicion";
2
+ export interface DescripcionModalidadJuego {
3
+ titulo: string;
4
+ descripcion: string[];
5
+ }
6
+ export declare const MODALIDADES_JUEGO: Record<ModalidadJuego, DescripcionModalidadJuego>;
@@ -0,0 +1,2 @@
1
+ export * from './DescripcionCompeticion';
2
+ export * from './DescripcionModalidadJuego';
@@ -0,0 +1,5 @@
1
+ export declare const textColorClass: Record<number, string>;
2
+ export declare const darkBgClass: Record<number, string>;
3
+ export declare const bgClass: Record<number, string>;
4
+ export declare const borderClass: Record<number, string>;
5
+ export declare const levelClass: Record<number, string>;
@@ -0,0 +1,7 @@
1
+ import { TipoLogroEnum } from "../../enum";
2
+ import { ILogro } from "../../interfaces";
3
+ type Logro = ILogro & {
4
+ id: number;
5
+ };
6
+ export declare const LOGROS_DISPONIBLES: Record<TipoLogroEnum, Logro>;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum IconosLogros {
2
+ faPlus = 0,
3
+ faThumbsUp = 1,
4
+ faCheck = 2
5
+ }
@@ -0,0 +1,3 @@
1
+ export * from './LogrosDisponibles';
2
+ export * from './ColoresMedallas';
3
+ export * from './iconosLogros';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,17 @@
1
+ export interface Region {
2
+ parent_code: string;
3
+ label: string;
4
+ code: string;
5
+ provinces: Province[];
6
+ }
7
+ export interface Province {
8
+ parent_code: string;
9
+ code: string;
10
+ label: string;
11
+ towns: Town[];
12
+ }
13
+ export interface Town {
14
+ parent_code: string;
15
+ code: string;
16
+ label: string;
17
+ }
@@ -0,0 +1,3 @@
1
+ export * from './Municipios';
2
+ export * from './Competicion';
3
+ export * from './Logros';
@@ -0,0 +1,5 @@
1
+ export declare enum EstadoCompeticion {
2
+ ACTIVO = "Activo",
3
+ EN_CURSO = "En curso",
4
+ CERRADO = "Cerrado"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum EstadoEquipoCompeticion {
2
+ ACEPTADO = "Aceptado",
3
+ PENDIENTE = "Pendiente"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ModalidadJuego {
2
+ MOVIMIENTO = "Movimiento",
3
+ PARADO = "Parado",
4
+ COMBINADO = "Combinado"
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum TipoCompeticion {
2
+ LIGA = "Liga",
3
+ TORNEO = "Torneo",
4
+ TORNEO_CON_CLASIFICATORIA = "Torneo clasificatoria"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum TipoEnfrentamiento {
2
+ AL_MEJOR_DE = "Al mejor de",
3
+ JUGAR_UN_TOTAL_DE = "Jugar un total de"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum TipoInscripcion {
2
+ ABIERTO = "Abierto",
3
+ SEMIABIERTO = "Semiabierto",
4
+ CERRADO = "Cerrado"
5
+ }
@@ -0,0 +1,6 @@
1
+ export * from './ModalidadJuego';
2
+ export * from './EstadoCompeticion';
3
+ export * from './EstadoEquipoCompeticion';
4
+ export * from './TipoCompeticion';
5
+ export * from './TipoInscripcion';
6
+ export * from './TipoEnfrentamiento';
@@ -0,0 +1,5 @@
1
+ export declare enum TipoLogroEnum {
2
+ AGREGAR_SPOTS = 0,
3
+ VOTAR_SPOTS = 1,
4
+ ADDED_SPOTS_VERIFICADOS = 2
5
+ }
@@ -0,0 +1 @@
1
+ export * from './TipoLogroEnum';
@@ -1 +1,2 @@
1
1
  export * from './User';
2
+ export * from './Logros';
@@ -0,0 +1,8 @@
1
+ import { IconosLogros } from "../../constants/Logros/iconosLogros";
2
+ export interface ILogro {
3
+ nombre: string;
4
+ descripcion: string;
5
+ icon: IconosLogros;
6
+ steps: number[];
7
+ stepDescription: (n: number) => string;
8
+ }
@@ -0,0 +1 @@
1
+ export * from './Logro';
@@ -1 +1,2 @@
1
1
  export * from './User';
2
+ export * from './Logros';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "futbol-in-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -21,6 +21,9 @@
21
21
  },
22
22
  "./enum": {
23
23
  "types": "./dist/enum/index.d.ts"
24
+ },
25
+ "./constants": {
26
+ "types": "./dist/constants/index.d.ts"
24
27
  }
25
28
  },
26
29
  "typesVersions": {
@@ -30,6 +33,9 @@
30
33
  ],
31
34
  "enum": [
32
35
  "dist/enum/*"
36
+ ],
37
+ "constants": [
38
+ "dist/constants/*"
33
39
  ]
34
40
  }
35
41
  },