mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-28 12:46:41 +00:00
Finished migrating remaining reducers to TS
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Visit } from '../../visits/types'; // FIXME Should be defined here
|
||||
|
||||
export interface ShlinkMercureInfo {
|
||||
token: string;
|
||||
mercureHubUrl: string;
|
||||
@@ -16,7 +18,17 @@ interface ShlinkTagsStats {
|
||||
|
||||
export interface ShlinkTags {
|
||||
tags: string[];
|
||||
stats?: ShlinkTagsStats[];
|
||||
stats?: ShlinkTagsStats[]; // TODO Is only optional in old versions
|
||||
}
|
||||
|
||||
export interface ShlinkPaginator {
|
||||
currentPage: number;
|
||||
pagesCount: number;
|
||||
}
|
||||
|
||||
export interface ShlinkVisits {
|
||||
data: Visit[];
|
||||
pagination?: ShlinkPaginator; // TODO Is only optional in old versions
|
||||
}
|
||||
|
||||
export interface ProblemDetailsError {
|
||||
|
||||
Reference in New Issue
Block a user