From d13248277fe74822d40602d8a70bd115974b28fb Mon Sep 17 00:00:00 2001 From: Daniel Szabo Date: Sun, 15 Jun 2025 18:23:56 +0100 Subject: [PATCH] Add Tag interface --- src/interfaces/tag.ts | 4 ++++ src/interfaces/tournament.ts | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 src/interfaces/tag.ts diff --git a/src/interfaces/tag.ts b/src/interfaces/tag.ts new file mode 100644 index 0000000..847b8c6 --- /dev/null +++ b/src/interfaces/tag.ts @@ -0,0 +1,4 @@ +export interface Tag { + id?: number; + label: string; +} diff --git a/src/interfaces/tournament.ts b/src/interfaces/tournament.ts index 5c6231d..33c985f 100644 --- a/src/interfaces/tournament.ts +++ b/src/interfaces/tournament.ts @@ -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[]; }