futbol-in-core 1.0.53 → 1.0.55
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/enum/Futbolin/TipoFutbolin.d.ts +1 -0
- package/dist/enum/Futbolin/TipoFutbolin.js +2 -0
- package/dist/enum/User/Role.d.ts +0 -3
- package/dist/enum/User/Role.js +0 -3
- package/dist/helpers/encodeCiudad.js +3 -2
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.js +0 -1
- package/dist/types/Spot/SpotDTO.d.ts +0 -10
- package/package.json +73 -73
- package/dist/constants/Competicion/DescripcionCompeticion.d.ts +0 -6
- package/dist/constants/Competicion/DescripcionCompeticion.js +0 -29
- package/dist/constants/Competicion/DescripcionModalidadJuego.d.ts +0 -6
- package/dist/constants/Competicion/DescripcionModalidadJuego.js +0 -22
- package/dist/constants/Competicion/index.d.ts +0 -2
- package/dist/constants/Competicion/index.js +0 -2
- package/dist/constants/Logros/ColoresMedallas.d.ts +0 -5
- package/dist/constants/Logros/ColoresMedallas.js +0 -35
- package/dist/constants/Logros/LogrosDisponibles.d.ts +0 -6
- package/dist/constants/Logros/LogrosDisponibles.js +0 -28
- package/dist/constants/Logros/iconosLogros.d.ts +0 -5
- package/dist/constants/Logros/iconosLogros.js +0 -6
- package/dist/constants/Logros/index.d.ts +0 -3
- package/dist/constants/Logros/index.js +0 -3
- package/dist/enum/Competicion/EstadoCompeticion.d.ts +0 -5
- package/dist/enum/Competicion/EstadoCompeticion.js +0 -6
- package/dist/enum/Competicion/EstadoEquipoCompeticion.d.ts +0 -4
- package/dist/enum/Competicion/EstadoEquipoCompeticion.js +0 -5
- package/dist/enum/Competicion/ModalidadJuego.d.ts +0 -5
- package/dist/enum/Competicion/ModalidadJuego.js +0 -6
- package/dist/enum/Competicion/TipoCompeticion.d.ts +0 -5
- package/dist/enum/Competicion/TipoCompeticion.js +0 -6
- package/dist/enum/Competicion/TipoEnfrentamiento.d.ts +0 -4
- package/dist/enum/Competicion/TipoEnfrentamiento.js +0 -5
- package/dist/enum/Competicion/TipoInscripcion.d.ts +0 -5
- package/dist/enum/Competicion/TipoInscripcion.js +0 -6
- package/dist/enum/Competicion/index.d.ts +0 -6
- package/dist/enum/Competicion/index.js +0 -6
- package/dist/enum/Equipos/EstadoJugador.d.ts +0 -5
- package/dist/enum/Equipos/EstadoJugador.js +0 -6
- package/dist/enum/Equipos/index.d.ts +0 -1
- package/dist/enum/Equipos/index.js +0 -1
- package/dist/enum/Logros/TipoLogroEnum.d.ts +0 -5
- package/dist/enum/Logros/TipoLogroEnum.js +0 -6
- package/dist/enum/Logros/index.d.ts +0 -1
- package/dist/enum/Logros/index.js +0 -1
- package/dist/helpers/esOperador.d.ts +0 -3
- package/dist/helpers/esOperador.js +0 -7
- package/dist/helpers/puedeCrearTorneos.d.ts +0 -2
- package/dist/helpers/puedeCrearTorneos.js +0 -4
- package/dist/interfaces/Logros/Logro.d.ts +0 -8
- package/dist/interfaces/Logros/Logro.js +0 -1
- package/dist/interfaces/Logros/index.d.ts +0 -1
- package/dist/interfaces/Logros/index.js +0 -1
- package/dist/interfaces/User/UserDTO.d.ts +0 -26
- package/dist/interfaces/User/UserDTO.js +0 -1
- package/dist/interfaces/User/index.d.ts +0 -1
- package/dist/interfaces/User/index.js +0 -1
- package/dist/interfaces/index.d.ts +0 -2
- package/dist/interfaces/index.js +0 -2
- package/dist/types/Competicion/CompeticionBaseDTO.d.ts +0 -20
- package/dist/types/Competicion/CompeticionBaseDTO.js +0 -1
- package/dist/types/Competicion/ConfigEnfrentamiento.d.ts +0 -12
- package/dist/types/Competicion/ConfigEnfrentamiento.js +0 -1
- package/dist/types/Competicion/EnfrentamientoDTO.d.ts +0 -10
- package/dist/types/Competicion/EnfrentamientoDTO.js +0 -1
- package/dist/types/Competicion/LigaDTO.d.ts +0 -7
- package/dist/types/Competicion/LigaDTO.js +0 -1
- package/dist/types/Competicion/PartidoDTO.d.ts +0 -10
- package/dist/types/Competicion/PartidoDTO.js +0 -1
- package/dist/types/Competicion/TorneoDTO.d.ts +0 -6
- package/dist/types/Competicion/TorneoDTO.js +0 -1
- package/dist/types/Competicion/index.d.ts +0 -6
- package/dist/types/Competicion/index.js +0 -6
- package/dist/types/Equipo/EquipoCompeticionDTO.d.ts +0 -5
- package/dist/types/Equipo/EquipoCompeticionDTO.js +0 -1
- package/dist/types/Equipo/EquipoDTO.d.ts +0 -15
- package/dist/types/Equipo/EquipoDTO.js +0 -1
- package/dist/types/Equipo/IEquipoCompeticion.d.ts +0 -6
- package/dist/types/Equipo/IEquipoCompeticion.js +0 -1
- package/dist/types/Equipo/index.d.ts +0 -3
- package/dist/types/Equipo/index.js +0 -3
- package/dist/types/Logros/Logro.d.ts +0 -8
- package/dist/types/Logros/Logro.js +0 -1
- package/dist/types/Notificaciones/INotificaciones.d.ts +0 -4
- package/dist/types/Notificaciones/INotificaciones.js +0 -1
- package/dist/types/Notificaciones/index.d.ts +0 -1
- package/dist/types/Notificaciones/index.js +0 -1
- package/dist/types/Notificaciones/intex.d.ts +0 -1
- package/dist/types/Notificaciones/intex.js +0 -1
- package/dist/types/User/OperadorDTO.d.ts +0 -16
- package/dist/types/User/OperadorDTO.js +0 -1
|
@@ -8,6 +8,7 @@ export var TipoFutbolin;
|
|
|
8
8
|
TipoFutbolin["MADERA"] = "De madera";
|
|
9
9
|
TipoFutbolin["REM"] = "Rem";
|
|
10
10
|
TipoFutbolin["TECNO"] = "Tecno";
|
|
11
|
+
TipoFutbolin["CORDOBA"] = "Cordoba";
|
|
11
12
|
TipoFutbolin["CUALQUIERA"] = "Cualquiera";
|
|
12
13
|
})(TipoFutbolin || (TipoFutbolin = {}));
|
|
13
14
|
export const TipoFutbolinNombre = {
|
|
@@ -19,5 +20,6 @@ export const TipoFutbolinNombre = {
|
|
|
19
20
|
[TipoFutbolin.MADERA]: "De madera",
|
|
20
21
|
[TipoFutbolin.REM]: "Rem",
|
|
21
22
|
[TipoFutbolin.TECNO]: "Tecno",
|
|
23
|
+
[TipoFutbolin.CORDOBA]: "Cordoba",
|
|
22
24
|
[TipoFutbolin.CUALQUIERA]: "Cualquiera",
|
|
23
25
|
};
|
package/dist/enum/User/Role.d.ts
CHANGED
package/dist/enum/User/Role.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export var UserRole;
|
|
2
2
|
(function (UserRole) {
|
|
3
3
|
UserRole["USER"] = "user";
|
|
4
|
-
UserRole["VERIFICADO"] = "verificado";
|
|
5
4
|
UserRole["ADMIN"] = "admin";
|
|
6
|
-
UserRole["CREA_TORNEOS"] = "crea_torneos";
|
|
7
|
-
UserRole["OPERADOR"] = "operador";
|
|
8
5
|
UserRole["GOD"] = "god";
|
|
9
6
|
})(UserRole || (UserRole = {}));
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// recibe Salamanca, Salamanca devuelve Salamanca_Salamanca
|
|
2
2
|
export const encodeCiudad = (ciudad) => {
|
|
3
|
-
const
|
|
4
|
-
const provincia =
|
|
3
|
+
const parts = ciudad.split(",");
|
|
4
|
+
const provincia = parts.at(-1).trim();
|
|
5
|
+
const municipio = parts.slice(0, -1).join(",").trim();
|
|
5
6
|
return encodeURIComponent(`${municipio}_${provincia}`);
|
|
6
7
|
};
|
|
7
8
|
// recibe Salamanca_Salamanca devuelve Salamanca, Salamanca
|
package/dist/helpers/index.d.ts
CHANGED
package/dist/helpers/index.js
CHANGED
|
@@ -12,16 +12,6 @@ export interface SpotDTO {
|
|
|
12
12
|
distribucion: DistribucionFutbolin;
|
|
13
13
|
comentarios: string;
|
|
14
14
|
addedByUserId: string;
|
|
15
|
-
idOperador: string | null;
|
|
16
|
-
verificado: null | {
|
|
17
|
-
correcto: boolean;
|
|
18
|
-
idUser: string;
|
|
19
|
-
fechaVerificacion: Date;
|
|
20
|
-
};
|
|
21
|
-
votes: {
|
|
22
|
-
up: string[];
|
|
23
|
-
down: string[];
|
|
24
|
-
};
|
|
25
15
|
incidencias: Incidencia[];
|
|
26
16
|
createdAt?: Date;
|
|
27
17
|
updatedAt?: Date;
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "futbol-in-core",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"private": false,
|
|
8
|
-
"publishConfig": {
|
|
9
|
-
"access": "public"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist"
|
|
13
|
-
],
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"exports": {
|
|
16
|
-
".": {
|
|
17
|
-
"import": "./dist/index.js",
|
|
18
|
-
"types": "./dist/index.d.ts"
|
|
19
|
-
},
|
|
20
|
-
"./types": {
|
|
21
|
-
"import": "./dist/types/index.js",
|
|
22
|
-
"types": "./dist/types/index.d.ts"
|
|
23
|
-
},
|
|
24
|
-
"./enum": {
|
|
25
|
-
"import": "./dist/enum/index.js",
|
|
26
|
-
"types": "./dist/enum/index.d.ts"
|
|
27
|
-
},
|
|
28
|
-
"./constants": {
|
|
29
|
-
"import": "./dist/constants/index.js",
|
|
30
|
-
"types": "./dist/constants/index.d.ts"
|
|
31
|
-
},
|
|
32
|
-
"./helpers": {
|
|
33
|
-
"import": "./dist/helpers/index.js",
|
|
34
|
-
"types": "./dist/helpers/index.d.ts"
|
|
35
|
-
},
|
|
36
|
-
"./schemas": {
|
|
37
|
-
"import": "./dist/schemas/index.js",
|
|
38
|
-
"types": "./dist/schemas/index.d.ts"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"typesVersions": {
|
|
42
|
-
"*": {
|
|
43
|
-
"types": [
|
|
44
|
-
"dist/types/*"
|
|
45
|
-
],
|
|
46
|
-
"enum": [
|
|
47
|
-
"dist/enum/*"
|
|
48
|
-
],
|
|
49
|
-
"constants": [
|
|
50
|
-
"dist/constants/*"
|
|
51
|
-
],
|
|
52
|
-
"helpers": [
|
|
53
|
-
"dist/helpers/*"
|
|
54
|
-
],
|
|
55
|
-
"schemas": [
|
|
56
|
-
"dist/schemas/*"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"scripts": {
|
|
61
|
-
"build": "tsc -p .",
|
|
62
|
-
"prepublishOnly": "pnpm run build",
|
|
63
|
-
"publish": "npm publish --access public"
|
|
64
|
-
},
|
|
65
|
-
"keywords": [],
|
|
66
|
-
"author": "",
|
|
67
|
-
"license": "ISC",
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"mongoose": "^8.16.3",
|
|
70
|
-
"typescript": "^5.8.3",
|
|
71
|
-
"zod": "^4.0.5"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "futbol-in-core",
|
|
3
|
+
"version": "1.0.55",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"private": false,
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./types": {
|
|
21
|
+
"import": "./dist/types/index.js",
|
|
22
|
+
"types": "./dist/types/index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./enum": {
|
|
25
|
+
"import": "./dist/enum/index.js",
|
|
26
|
+
"types": "./dist/enum/index.d.ts"
|
|
27
|
+
},
|
|
28
|
+
"./constants": {
|
|
29
|
+
"import": "./dist/constants/index.js",
|
|
30
|
+
"types": "./dist/constants/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./helpers": {
|
|
33
|
+
"import": "./dist/helpers/index.js",
|
|
34
|
+
"types": "./dist/helpers/index.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./schemas": {
|
|
37
|
+
"import": "./dist/schemas/index.js",
|
|
38
|
+
"types": "./dist/schemas/index.d.ts"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"typesVersions": {
|
|
42
|
+
"*": {
|
|
43
|
+
"types": [
|
|
44
|
+
"dist/types/*"
|
|
45
|
+
],
|
|
46
|
+
"enum": [
|
|
47
|
+
"dist/enum/*"
|
|
48
|
+
],
|
|
49
|
+
"constants": [
|
|
50
|
+
"dist/constants/*"
|
|
51
|
+
],
|
|
52
|
+
"helpers": [
|
|
53
|
+
"dist/helpers/*"
|
|
54
|
+
],
|
|
55
|
+
"schemas": [
|
|
56
|
+
"dist/schemas/*"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "tsc -p .",
|
|
62
|
+
"prepublishOnly": "pnpm run build",
|
|
63
|
+
"publish": "npm publish --access public"
|
|
64
|
+
},
|
|
65
|
+
"keywords": [],
|
|
66
|
+
"author": "",
|
|
67
|
+
"license": "ISC",
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"mongoose": "^8.16.3",
|
|
70
|
+
"typescript": "^5.8.3",
|
|
71
|
+
"zod": "^4.0.5"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { TipoCompeticion } from "../../enum/Competicion";
|
|
2
|
-
export const TIPOS_COMPETICION = {
|
|
3
|
-
[TipoCompeticion.LIGA]: {
|
|
4
|
-
titulo: "Liga",
|
|
5
|
-
descripcion: [
|
|
6
|
-
"Funcionamiento igual al de La Liga de fútbol.",
|
|
7
|
-
"Se realizarán enfrentamientos entre todas las parejas apuntadas.",
|
|
8
|
-
"Se ganarán puntos al ganar enfrentamientos.",
|
|
9
|
-
"Tras jugarse todas las combinaciones de parejas, con ida y vuelta, ganará la pareja con más puntos.",
|
|
10
|
-
],
|
|
11
|
-
},
|
|
12
|
-
[TipoCompeticion.TORNEO]: {
|
|
13
|
-
titulo: "Torneo",
|
|
14
|
-
descripcion: [
|
|
15
|
-
"Funcionamiento igual al del mundial de futbol sin la fase de grupos",
|
|
16
|
-
"Se generará un cuadro de rondas en función de la cantidad de parejas apuntadas.",
|
|
17
|
-
"Si ganas un enfrentamiento pasas a la siguiente ronda",
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
[TipoCompeticion.TORNEO_CON_CLASIFICATORIA]: {
|
|
21
|
-
titulo: "Torneo con clasificatoria",
|
|
22
|
-
descripcion: [
|
|
23
|
-
"Funcionamiento igual al del mundial de futbol con fase de grupos",
|
|
24
|
-
"Se generarán grupos de parejas para jugar una liguilla y determinar quien pasa al torneo.",
|
|
25
|
-
"Se generará un cuadro de rondas.",
|
|
26
|
-
"Si ganas un enfrentamiento pasas a la siguiente ronda",
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ModalidadJuego } from "../../enum/Competicion";
|
|
2
|
-
export const MODALIDADES_JUEGO = {
|
|
3
|
-
[ModalidadJuego.PARADO]: {
|
|
4
|
-
titulo: "Parado",
|
|
5
|
-
descripcion: [
|
|
6
|
-
"Se permite parar la bola con los delanteros, pisarla, realizar cambios o movimientos en forma de 'L'.",
|
|
7
|
-
],
|
|
8
|
-
},
|
|
9
|
-
[ModalidadJuego.MOVIMIENTO]: {
|
|
10
|
-
titulo: "Movimiento",
|
|
11
|
-
descripcion: [
|
|
12
|
-
"No se permite parar la bola con los delanteros.",
|
|
13
|
-
"El disparo a puerta con los delanteros tiene que ser al primer toque y sin arrastrar la bola."
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
[ModalidadJuego.COMBINADO]: {
|
|
17
|
-
titulo: "Combinado",
|
|
18
|
-
descripcion: [
|
|
19
|
-
"Se permite realizar una jugada con los delanteros sin parar la bola, es decir, se debe realizar el cambio o movimiento en forma de 'L' según recibe la bola la delantera.",
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
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>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export const textColorClass = {
|
|
2
|
-
1: "text-orange-600",
|
|
3
|
-
2: "text-neutral-400",
|
|
4
|
-
3: "text-amber-400",
|
|
5
|
-
4: "text-sky-400",
|
|
6
|
-
5: "text-purple-500",
|
|
7
|
-
};
|
|
8
|
-
export const darkBgClass = {
|
|
9
|
-
1: "bg-orange-950",
|
|
10
|
-
2: "bg-neutral-950",
|
|
11
|
-
3: "bg-amber-950",
|
|
12
|
-
4: "bg-sky-950",
|
|
13
|
-
5: "bg-purple-950",
|
|
14
|
-
};
|
|
15
|
-
export const bgClass = {
|
|
16
|
-
1: "bg-orange-600",
|
|
17
|
-
2: "bg-neutral-400",
|
|
18
|
-
3: "bg-amber-400",
|
|
19
|
-
4: "bg-sky-400",
|
|
20
|
-
5: "bg-purple-500",
|
|
21
|
-
};
|
|
22
|
-
export const borderClass = {
|
|
23
|
-
1: "border-orange-600",
|
|
24
|
-
2: "border-neutral-400",
|
|
25
|
-
3: "border-amber-400",
|
|
26
|
-
4: "border-sky-400",
|
|
27
|
-
5: "border-purple-500",
|
|
28
|
-
};
|
|
29
|
-
export const levelClass = {
|
|
30
|
-
1: "text-orange-600 bg-orange-600/20",
|
|
31
|
-
2: "text-neutral-400 bg-neutral-400/20",
|
|
32
|
-
3: "text-amber-400 bg-amber-400/20",
|
|
33
|
-
4: "shadow-blue-600 text-sky-400 bg-sky-400/20 shadow-lg",
|
|
34
|
-
5: "shadow-purple-600 text-purple-500 bg-purple-500/20 shadow-lg",
|
|
35
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TipoLogroEnum } from "../../enum";
|
|
2
|
-
import { IconosLogros } from "./iconosLogros";
|
|
3
|
-
export const LOGROS_DISPONIBLES = {
|
|
4
|
-
[TipoLogroEnum.AGREGAR_SPOTS]: {
|
|
5
|
-
id: 1,
|
|
6
|
-
nombre: "Explorador",
|
|
7
|
-
descripcion: "Añade nuevos futbolines.",
|
|
8
|
-
icon: IconosLogros.faPlus,
|
|
9
|
-
steps: [3, 5, 10, 25, 50],
|
|
10
|
-
stepDescription: (n) => `Añade ${n} futbolines.`,
|
|
11
|
-
},
|
|
12
|
-
[TipoLogroEnum.VOTAR_SPOTS]: {
|
|
13
|
-
id: 2,
|
|
14
|
-
nombre: "Comentarista",
|
|
15
|
-
descripcion: "Vota positiva o negativamente los futbolines de otros usuarios.",
|
|
16
|
-
icon: IconosLogros.faThumbsUp,
|
|
17
|
-
steps: [3, 5, 10, 25, 50],
|
|
18
|
-
stepDescription: (n) => `Valora ${n} futbolines.`,
|
|
19
|
-
},
|
|
20
|
-
[TipoLogroEnum.ADDED_SPOTS_VERIFICADOS]: {
|
|
21
|
-
id: 3,
|
|
22
|
-
nombre: "De fiar",
|
|
23
|
-
descripcion: "Tus futbolines son aprobados por usuarios verificados.",
|
|
24
|
-
icon: IconosLogros.faCheck,
|
|
25
|
-
steps: [3, 5, 10, 25, 50],
|
|
26
|
-
stepDescription: (n) => `Consigue ${n} aprobados.`,
|
|
27
|
-
},
|
|
28
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var IconosLogros;
|
|
2
|
-
(function (IconosLogros) {
|
|
3
|
-
IconosLogros[IconosLogros["faPlus"] = 0] = "faPlus";
|
|
4
|
-
IconosLogros[IconosLogros["faThumbsUp"] = 1] = "faThumbsUp";
|
|
5
|
-
IconosLogros[IconosLogros["faCheck"] = 2] = "faCheck";
|
|
6
|
-
})(IconosLogros || (IconosLogros = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './EstadoJugador.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './EstadoJugador.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var TipoLogroEnum;
|
|
2
|
-
(function (TipoLogroEnum) {
|
|
3
|
-
TipoLogroEnum[TipoLogroEnum["AGREGAR_SPOTS"] = 0] = "AGREGAR_SPOTS";
|
|
4
|
-
TipoLogroEnum[TipoLogroEnum["VOTAR_SPOTS"] = 1] = "VOTAR_SPOTS";
|
|
5
|
-
TipoLogroEnum[TipoLogroEnum["ADDED_SPOTS_VERIFICADOS"] = 2] = "ADDED_SPOTS_VERIFICADOS";
|
|
6
|
-
})(TipoLogroEnum || (TipoLogroEnum = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TipoLogroEnum.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TipoLogroEnum.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Logro';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Logro';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Posicion } from "../../enum/User/Posicion";
|
|
2
|
-
import { AuthProvider } from "../../enum/User/AuthProvider";
|
|
3
|
-
import { UserRole } from "../../enum/User/Role";
|
|
4
|
-
import { UserStatus } from "../../enum/User/Status";
|
|
5
|
-
export interface UserDTO {
|
|
6
|
-
id: string;
|
|
7
|
-
idOperador: string | null;
|
|
8
|
-
name: string;
|
|
9
|
-
email: string;
|
|
10
|
-
imagen: string;
|
|
11
|
-
status: UserStatus;
|
|
12
|
-
role: UserRole[];
|
|
13
|
-
provider: AuthProvider;
|
|
14
|
-
createdAt?: Date;
|
|
15
|
-
stats: {
|
|
16
|
-
lugaresAgregados: number;
|
|
17
|
-
lugaresRevisados: number;
|
|
18
|
-
lugaresVerificados: number;
|
|
19
|
-
};
|
|
20
|
-
equipos: string[];
|
|
21
|
-
nombre: string | undefined | null;
|
|
22
|
-
telefono: string | undefined | null;
|
|
23
|
-
posicion: Posicion | undefined | null;
|
|
24
|
-
ciudad: string | undefined | null;
|
|
25
|
-
ciudadActual: string | undefined | null;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './UserDTO';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './UserDTO';
|
package/dist/interfaces/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EstadoCompeticion, TipoCompeticion } from "futbol-in-core/enum";
|
|
2
|
-
import { ModalidadJuego } from "futbol-in-core/enum";
|
|
3
|
-
import { TipoInscripcion } from "futbol-in-core/enum";
|
|
4
|
-
import { TipoFutbolin } from "futbol-in-core/enum";
|
|
5
|
-
import { EquipoCompeticionDTO } from "../Equipo/EquipoCompeticionDTO";
|
|
6
|
-
export interface CompeticionBaseDTO {
|
|
7
|
-
id: string;
|
|
8
|
-
nombre: string;
|
|
9
|
-
descripcion: string;
|
|
10
|
-
ciudad: string;
|
|
11
|
-
googlePlaceId: string;
|
|
12
|
-
tipoCompeticion: TipoCompeticion;
|
|
13
|
-
tipoDeFutbolin: TipoFutbolin;
|
|
14
|
-
modalidadDeJuego: ModalidadJuego;
|
|
15
|
-
tipoInscripcion: TipoInscripcion;
|
|
16
|
-
estadoCompeticion: EstadoCompeticion;
|
|
17
|
-
equipos: Array<EquipoCompeticionDTO>;
|
|
18
|
-
cantidadParejas: number;
|
|
19
|
-
createdByUserId?: string;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ConfigEnfrentamientoDTO {
|
|
2
|
-
cantidadPartidos: number;
|
|
3
|
-
golesParaGanar: number;
|
|
4
|
-
}
|
|
5
|
-
export interface IConfigEnfrentamiento {
|
|
6
|
-
cantidadPartidos: number;
|
|
7
|
-
golesParaGanar: number;
|
|
8
|
-
}
|
|
9
|
-
export interface IConfigEnfrentamientos extends IConfigEnfrentamiento {
|
|
10
|
-
excepcionSemiFinales: null | IConfigEnfrentamiento;
|
|
11
|
-
excepcionFinal: null | IConfigEnfrentamiento;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CompeticionBaseDTO } from "./CompeticionBaseDTO";
|
|
2
|
-
import { IConfigEnfrentamiento } from "./ConfigEnfrentamiento";
|
|
3
|
-
export interface LigaDTO extends CompeticionBaseDTO {
|
|
4
|
-
configEnfrentamiento: IConfigEnfrentamiento;
|
|
5
|
-
enfrentamientos: string[];
|
|
6
|
-
idaYVuelta: boolean;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EstadoEquipoCompeticion, EstadoJugador } from "../../enum";
|
|
2
|
-
export interface EquipoDTO {
|
|
3
|
-
id: string;
|
|
4
|
-
nombreEquipo: string;
|
|
5
|
-
imagenEquipo: string;
|
|
6
|
-
jugadores: Array<{
|
|
7
|
-
usuario: string | null;
|
|
8
|
-
nombre: string;
|
|
9
|
-
estado: EstadoJugador;
|
|
10
|
-
}>;
|
|
11
|
-
createdByUserId: string;
|
|
12
|
-
}
|
|
13
|
-
export type EquipoConEstadoDTO = EquipoDTO & {
|
|
14
|
-
estado: EstadoEquipoCompeticion;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './INotificaciones.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './INotificaciones.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './INotificaciones';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './INotificaciones';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TipoFutbolin } from "../../enum";
|
|
2
|
-
export interface OperadorDTO {
|
|
3
|
-
id: string;
|
|
4
|
-
usuarios: string[];
|
|
5
|
-
bio: string;
|
|
6
|
-
enlaces: string[];
|
|
7
|
-
nombreComercial: string;
|
|
8
|
-
telefonos: Array<{
|
|
9
|
-
persona: string;
|
|
10
|
-
numero: string;
|
|
11
|
-
}>;
|
|
12
|
-
ciudad: string;
|
|
13
|
-
futbolines: TipoFutbolin[];
|
|
14
|
-
logo: string;
|
|
15
|
-
fondo: string;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|