Migrated tags reducers to typescripts

This commit is contained in:
Alejandro Celaya
2020-08-27 19:12:09 +02:00
parent 83531666de
commit eb3775859a
10 changed files with 246 additions and 160 deletions

View File

@@ -15,6 +15,17 @@ export interface ShlinkHealth {
version: string;
}
interface ShlinkTagsStats {
tag: string;
shortUrlsCount: number;
visitsCount: number;
}
export interface ShlinkTags {
tags: string[];
stats?: ShlinkTagsStats[];
}
export interface ProblemDetailsError {
type: string;
detail: string;