mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-13 11:03:50 +00:00
Remove redundant type
This commit is contained in:
@@ -18,7 +18,7 @@ export interface ShlinkHealth {
|
|||||||
version: string;
|
version: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ShlinkTagsStats {
|
export interface ShlinkTagsStats {
|
||||||
tag: string;
|
tag: string;
|
||||||
shortUrlsCount: number;
|
shortUrlsCount: number;
|
||||||
visitsSummary?: ShlinkVisitsSummary; // Optional only before Shlink 3.5.0
|
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 {
|
export type TagStats = Omit<ShlinkTagsStats, 'tag'>;
|
||||||
shortUrlsCount: number;
|
|
||||||
visitsCount: number;
|
|
||||||
visitsSummary?: ShlinkVisitsSummary; // Optional only before Shlink 3.5.0
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface TagModalProps {
|
export interface TagModalProps {
|
||||||
tag: string;
|
tag: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user