7 Commits

Author SHA1 Message Date
8774d93f9e 3.4.2 2025-12-16 10:58:56 +01:00
a08414717d 3.4.1 2025-12-16 09:39:10 +01:00
bc1911e26d 3.4.0 2025-12-11 14:26:07 +01:00
Richard Toth
a22c15da0d 3.3.8 2025-12-01 13:42:02 +01:00
f63ab127ab 3.3.7 2025-09-26 13:37:05 +02:00
1d4fb2f180 3.3.6 2025-09-20 11:50:46 +02:00
c5a3f47a4f 3.3.5 2025-08-21 22:08:50 +02:00
13 changed files with 22 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@mtlsz/common", "name": "@mtlsz/common",
"version": "3.2.0", "version": "3.3.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@mtlsz/common", "name": "@mtlsz/common",
"version": "3.2.0", "version": "3.3.8",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"typescript": "^5.8.2" "typescript": "^5.8.2"

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mtlsz/common", "name": "@mtlsz/common",
"version": "3.3.4", "version": "3.4.2",
"description": "MTLSZ frontend packages", "description": "MTLSZ frontend packages",
"main": "dist/index.ts", "main": "dist/index.ts",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@@ -16,6 +16,7 @@ export * from "./interfaces/team-entry";
export * from "./interfaces/team"; export * from "./interfaces/team";
export * from "./interfaces/tournament"; export * from "./interfaces/tournament";
export * from "./interfaces/guest-player-request"; export * from "./interfaces/guest-player-request";
export * from "./interfaces/guest-player-from-other-country-request";
export * from "./interfaces/single-tournament"; export * from "./interfaces/single-tournament";
export * from "./interfaces/team-championship"; export * from "./interfaces/team-championship";
export * from "./interfaces/tag"; export * from "./interfaces/tag";

View File

@@ -20,5 +20,6 @@ export interface ConfirmationRequest {
| TeamAdminConfirmationRequest | TeamAdminConfirmationRequest
| OfficialConfirmationRequest; | OfficialConfirmationRequest;
canBeRevoked: boolean | null; canBeRevoked: boolean | null;
hasMissingData: boolean | null;
createdAt: string | null; createdAt: string | null;
} }

View File

@@ -1,5 +1,6 @@
import { Player } from "../player"; import { Player } from "../player";
export interface AdultConfirmationRequest { export interface AdultConfirmationRequest {
id?: number;
kids: Player[]; kids: Player[];
} }

View File

@@ -1,4 +1,4 @@
export enum ConfirmationRequestStatus { export const enum ConfirmationRequestStatus {
PENDING = 1, PENDING = 1,
APPROVED = 2, APPROVED = 2,
DECLINED = 3, DECLINED = 3,

View File

@@ -1,4 +1,5 @@
export interface OfficialConfirmationRequest { export interface OfficialConfirmationRequest {
id?: number;
referee: boolean; referee: boolean;
umpire: boolean; umpire: boolean;
} }

View File

@@ -1,5 +1,6 @@
import { Club } from "../club"; import { Club } from "../club";
export interface PlayerConfirmationRequest { export interface PlayerConfirmationRequest {
id?: number;
club: Club; club: Club;
} }

View File

@@ -1,6 +1,7 @@
import { Club } from "../club"; import { Club } from "../club";
export interface TeamAdminConfirmationRequest { export interface TeamAdminConfirmationRequest {
id?: number;
active: boolean; active: boolean;
club: Club; club: Club;
} }

View File

@@ -1,5 +1,6 @@
import { Club } from "../club"; import { Club } from "../club";
export interface TeamManagerConfirmationRequest { export interface TeamManagerConfirmationRequest {
id?: number;
club: Club; club: Club;
} }

View File

@@ -0,0 +1,9 @@
export interface GuestPlayerFromOtherCountryRequest {
id?: number;
lastName: string;
firstName: string;
gender: string;
rankingSingles: number | null;
rankingDoubles: number | null;
rankingMixed: number | null;
}

View File

@@ -20,4 +20,5 @@ export interface Official extends GenericUser {
tshirtCount?: number; tshirtCount?: number;
hasCards?: boolean; hasCards?: boolean;
hasCoin?: boolean; hasCoin?: boolean;
isJVB?: boolean;
} }

View File

@@ -12,4 +12,5 @@ export interface TeamEntry {
missingMalePlayerCount?: number; missingMalePlayerCount?: number;
missingFemalePlayerCount?: number; missingFemalePlayerCount?: number;
canAddGuestPlayers: boolean; canAddGuestPlayers: boolean;
remainingGuestsCount?: number;
} }