Merge pull request 'Add Tag interface' (#2) from feature/tags2 into 2.x
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
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 { 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[];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user