mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-19 08:16:37 +00:00
Remove redundant type
This commit is contained in:
@@ -18,7 +18,7 @@ export interface ShlinkHealth {
|
||||
version: string;
|
||||
}
|
||||
|
||||
interface ShlinkTagsStats {
|
||||
export interface ShlinkTagsStats {
|
||||
tag: string;
|
||||
shortUrlsCount: number;
|
||||
visitsSummary?: ShlinkVisitsSummary; // Optional only before Shlink 3.5.0
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
import type { ShlinkVisitsSummary } from '../../api/types';
|
||||
import type { ShlinkTagsStats } from '../../api/types';
|
||||
|
||||
export interface TagStats {
|
||||
shortUrlsCount: number;
|
||||
visitsCount: number;
|
||||
visitsSummary?: ShlinkVisitsSummary; // Optional only before Shlink 3.5.0
|
||||
}
|
||||
export type TagStats = Omit<ShlinkTagsStats, 'tag'>;
|
||||
|
||||
export interface TagModalProps {
|
||||
tag: string;
|
||||
|
||||
Reference in New Issue
Block a user