25 Commits

Author SHA1 Message Date
tothbt 78f6673179 3.2.4 2025-08-01 16:06:50 +02:00
tothbt 60cc76c3c8 3.2.3 2025-08-01 12:28:01 +02:00
tothbt 4f1f3e26e5 3.2.2 2025-07-24 13:53:55 +02:00
tothbt 99cfb97e3c merge 3.x 2025-07-23 20:42:10 +02:00
tothbt cff48d1e96 3.2.1 2025-07-23 20:37:50 +02:00
tothbt dfa40e5397 3.2.0 2025-07-23 20:37:50 +02:00
tothbt c08588d5e8 3.1.1 2025-07-23 20:37:48 +02:00
tothbt 0b212e701b 3.1.0 2025-07-23 20:37:00 +02:00
tothbt 8dd92f32b7 3.0.6 2025-07-23 20:37:00 +02:00
tothbt 8b8fe1402b 3.0.5 2025-07-23 20:37:00 +02:00
tothbt 2abc690bf9 3.0.4 2025-07-23 20:37:00 +02:00
tothbt 5937c0cc5b 3.0.3 2025-07-23 20:37:00 +02:00
tothbt df4ab60ee0 3.0.2 2025-07-23 20:37:00 +02:00
tothbt e1397d781c 3.0.1 2025-07-23 20:37:00 +02:00
tothbt 696c3577a7 3.0.0 2025-07-23 20:36:54 +02:00
tothbt c538aed244 3.2.1 2025-07-11 14:45:45 +02:00
tothbt a75edc31e1 3.2.0 2025-07-08 16:35:20 +02:00
tothbt b4a9bdb1d4 3.1.1 2025-07-06 18:59:19 +02:00
tothbt 1fea26987e 3.1.0 2025-07-06 18:55:27 +02:00
tothbt 209775f968 2.1.1 2025-06-15 22:29:49 +02:00
tothbt c2db3785e1 Merge pull request 'Export tag interface' (#3) from feature/tags2 into 2.x
Reviewed-on: #3
2025-06-15 20:28:46 +00:00
danielszabo 67a999796a Export tag interface 2025-06-15 20:28:46 +00:00
tothbt 6e533bd945 2.1.0 2025-06-15 19:57:16 +02:00
tothbt eb9f59cd31 Merge pull request 'Add Tag interface' (#2) from feature/tags2 into 2.x
Reviewed-on: #2
2025-06-15 17:52:52 +00:00
danielszabo d13248277f Add Tag interface 2025-06-15 18:47:37 +01:00
13 changed files with 76 additions and 3 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@mtlsz/common",
"version": "2.0.2",
"version": "3.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@mtlsz/common",
"version": "2.0.2",
"version": "3.2.0",
"license": "ISC",
"devDependencies": {
"typescript": "^5.8.2"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@mtlsz/common",
"version": "3.0.6",
"version": "3.2.4",
"description": "MTLSZ frontend packages",
"main": "dist/index.ts",
"types": "dist/index.d.ts",
+10
View File
@@ -18,3 +18,13 @@ export * from "./interfaces/tournament";
export * from "./interfaces/guest-player-request";
export * from "./interfaces/single-tournament";
export * from "./interfaces/team-championship";
export * from "./interfaces/tag";
export * from "./interfaces/role";
export * from "./interfaces/confirmation-request";
export * from "./interfaces/confirmation-request/adult-confirmation-request";
export * from "./interfaces/confirmation-request/official-confirmation-request";
export * from "./interfaces/confirmation-request/player-confirmation-request";
export * from "./interfaces/confirmation-request/team-admin-confirmation-request";
export * from "./interfaces/confirmation-request/team-manager-confirmation-request";
export * from "./interfaces/confirmation-requests";
export * from "./interfaces/generic-user";
+22
View File
@@ -0,0 +1,22 @@
import { AdultConfirmationRequest } from "./confirmation-request/adult-confirmation-request";
import { OfficialConfirmationRequest } from "./confirmation-request/official-confirmation-request";
import { PlayerConfirmationRequest } from "./confirmation-request/player-confirmation-request";
import { TeamAdminConfirmationRequest } from "./confirmation-request/team-admin-confirmation-request";
import { TeamManagerConfirmationRequest } from "./confirmation-request/team-manager-confirmation-request";
export interface ConfirmationRequest {
id: number;
status: number;
roleString: string;
lastName: string | null;
firstName: string | null;
email: string | null;
phone: string | null;
keycloakId: string | null;
entity:
| PlayerConfirmationRequest
| AdultConfirmationRequest
| TeamManagerConfirmationRequest
| TeamAdminConfirmationRequest
| OfficialConfirmationRequest;
}
@@ -0,0 +1,5 @@
import { Player } from "../player";
export interface AdultConfirmationRequest {
kids: Player[];
}
@@ -0,0 +1,4 @@
export interface OfficialConfirmationRequest {
referee: boolean;
umpire: boolean;
}
@@ -0,0 +1,5 @@
import { Club } from "../club";
export interface PlayerConfirmationRequest {
club: Club;
}
@@ -0,0 +1,6 @@
import { Club } from "../club";
export interface TeamAdminConfirmationRequest {
active: boolean;
club: Club;
}
@@ -0,0 +1,5 @@
import { Club } from "../club";
export interface TeamManagerConfirmationRequest {
club: Club;
}
+6
View File
@@ -0,0 +1,6 @@
import { ConfirmationRequest } from "./confirmation-request";
export interface ConfirmationRequests {
roles: ConfirmationRequest[];
canAddNewRole: boolean;
}
+4
View File
@@ -0,0 +1,4 @@
export interface Role {
role: string;
status: number;
}
+4
View File
@@ -0,0 +1,4 @@
export interface Tag {
id?: number;
label: string;
}
+2
View File
@@ -1,6 +1,7 @@
import { Category } from "./category";
import { Club } from "./club";
import { Official } from "./official";
import { Tag } from "./tag";
import { TeamCategory } from "./team-category";
export interface Tournament {
@@ -24,4 +25,5 @@ export interface Tournament {
drawUrl: string | null;
notificationsSentAt?: Date | null;
'@type'?: string;
tags?: Tag[];
}