Compare commits
7 Commits
871d41962c
...
feature/ta
| Author | SHA1 | Date | |
|---|---|---|---|
| 6badb2bdff | |||
| 40aa20e96f | |||
| 19ec1fa701 | |||
| cc2c4bc8d3 | |||
| d1c1abaf65 | |||
| 41478c893e | |||
| 233190f578 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mtlsz/common",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.6",
|
||||
"description": "MTLSZ frontend packages",
|
||||
"main": "dist/index.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -9,4 +9,5 @@ export interface Club {
|
||||
address?: string;
|
||||
phone?: string;
|
||||
active: boolean;
|
||||
hasManager?: boolean;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
export interface GenericUser {
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
emai: string | null;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
email: string;
|
||||
phone: string | null;
|
||||
keycloakUserId: string | null;
|
||||
keycloakUserId?: string | null;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { GenericUser } from "./generic-user";
|
||||
export interface Official extends GenericUser {
|
||||
id?: number;
|
||||
/** @deprecated since 3.0.0. Use lastName and firstName instead */
|
||||
name: string;
|
||||
name?: string;
|
||||
/** @deprecated Use referee and umpire booleans instead */
|
||||
type?: number;
|
||||
referee: boolean;
|
||||
|
||||
4
src/interfaces/tag.ts
Normal file
4
src/interfaces/tag.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface Tag {
|
||||
id?: number;
|
||||
label: string;
|
||||
}
|
||||
@@ -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[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user