Add Tag interface #1

Closed
danielszabo wants to merge 1 commits from feature/tags into main
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 { 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[];
Review

szolj, ha ide nem kene a ?

szolj, ha ide nem kene a `?`
}