Compare commits
7 Commits
63998a9859
...
3.x
| Author | SHA1 | Date | |
|---|---|---|---|
| 8774d93f9e | |||
| a08414717d | |||
| bc1911e26d | |||
|
|
a22c15da0d | ||
| f63ab127ab | |||
| 1d4fb2f180 | |||
| c5a3f47a4f |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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"
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { Player } from "../player";
|
import { Player } from "../player";
|
||||||
|
|
||||||
export interface AdultConfirmationRequest {
|
export interface AdultConfirmationRequest {
|
||||||
|
id?: number;
|
||||||
kids: Player[];
|
kids: Player[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export enum ConfirmationRequestStatus {
|
export const enum ConfirmationRequestStatus {
|
||||||
PENDING = 1,
|
PENDING = 1,
|
||||||
APPROVED = 2,
|
APPROVED = 2,
|
||||||
DECLINED = 3,
|
DECLINED = 3,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
export interface OfficialConfirmationRequest {
|
export interface OfficialConfirmationRequest {
|
||||||
|
id?: number;
|
||||||
referee: boolean;
|
referee: boolean;
|
||||||
umpire: boolean;
|
umpire: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { Club } from "../club";
|
import { Club } from "../club";
|
||||||
|
|
||||||
export interface PlayerConfirmationRequest {
|
export interface PlayerConfirmationRequest {
|
||||||
|
id?: number;
|
||||||
club: Club;
|
club: Club;
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
import { Club } from "../club";
|
import { Club } from "../club";
|
||||||
|
|
||||||
export interface TeamManagerConfirmationRequest {
|
export interface TeamManagerConfirmationRequest {
|
||||||
|
id?: number;
|
||||||
club: Club;
|
club: Club;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
export interface GuestPlayerFromOtherCountryRequest {
|
||||||
|
id?: number;
|
||||||
|
lastName: string;
|
||||||
|
firstName: string;
|
||||||
|
gender: string;
|
||||||
|
rankingSingles: number | null;
|
||||||
|
rankingDoubles: number | null;
|
||||||
|
rankingMixed: number | null;
|
||||||
|
}
|
||||||
@@ -20,4 +20,5 @@ export interface Official extends GenericUser {
|
|||||||
tshirtCount?: number;
|
tshirtCount?: number;
|
||||||
hasCards?: boolean;
|
hasCards?: boolean;
|
||||||
hasCoin?: boolean;
|
hasCoin?: boolean;
|
||||||
|
isJVB?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,4 +12,5 @@ export interface TeamEntry {
|
|||||||
missingMalePlayerCount?: number;
|
missingMalePlayerCount?: number;
|
||||||
missingFemalePlayerCount?: number;
|
missingFemalePlayerCount?: number;
|
||||||
canAddGuestPlayers: boolean;
|
canAddGuestPlayers: boolean;
|
||||||
|
remainingGuestsCount?: number;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user