2 Commits

Author SHA1 Message Date
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
d13248277f Add Tag interface 2025-06-15 18:47:37 +01:00
2 changed files with 6 additions and 0 deletions

4
src/interfaces/tag.ts Normal file
View File

@@ -0,0 +1,4 @@
export interface Tag {
id?: number;
label: string;
}

View File

@@ -1,6 +1,7 @@
import { Category } from "./category"; import { Category } from "./category";
import { Club } from "./club"; import { Club } from "./club";
import { Official } from "./official"; import { Official } from "./official";
import { Tag } from "./tag";
import { TeamCategory } from "./team-category"; import { TeamCategory } from "./team-category";
export interface Tournament { export interface Tournament {
@@ -24,4 +25,5 @@ export interface Tournament {
drawUrl: string | null; drawUrl: string | null;
notificationsSentAt?: Date | null; notificationsSentAt?: Date | null;
'@type'?: string; '@type'?: string;
tags?: Tag[];
} }