Compare commits

3 Commits

Author SHA1 Message Date
4092b128bc finalize v1.0.4 2025-03-21 17:05:15 +01:00
7ee9b2dc24 set version number 2025-03-21 16:40:09 +01:00
927e9d4e36 fix: add missing fields for mtlsz-public 2025-03-21 16:39:35 +01:00
3 changed files with 11 additions and 2 deletions

View File

@@ -1,12 +1,13 @@
{ {
"name": "@mtlsz/common", "name": "@mtlsz/common",
"version": "1.0.2", "version": "1.0.4",
"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",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"publish": "npm publish --registry http://registry.trweb.hu"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -8,5 +8,6 @@ export interface Category {
gender: string; gender: string;
class: number; class: number;
age?: string; age?: string;
allowedFrom: number | null;
priority: number; priority: number;
} }

View File

@@ -1,4 +1,5 @@
import { Club } from "./club"; import { Club } from "./club";
import { RankingEntry } from "./ranking-entry";
export interface Player { export interface Player {
id?: number; id?: number;
@@ -6,9 +7,15 @@ export interface Player {
lastName: string; lastName: string;
gender: string; gender: string;
birthDate: string; birthDate: string;
birthPlace: string | null;
officialId?: number; officialId?: number;
club: Club; club: Club;
email?: string; email?: string;
keycloakUserId?: string; keycloakUserId?: string;
active?: boolean; active?: boolean;
licenceFrom?: string;
licenceTo?: string;
disabledBecauseRanking?: boolean;
disabledBecauseSimilarEntry?: boolean;
rankingEntries?: RankingEntry[];
} }