mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +03:00
Remove redundant type
This commit is contained in:
parent
43b2926063
commit
cf27de965e
2 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue