Migrated first short URL reducers to typescript

This commit is contained in:
Alejandro Celaya
2020-08-24 18:52:52 +02:00
parent fefa4e7848
commit d8f3952920
9 changed files with 134 additions and 35 deletions

View File

@@ -2,6 +2,8 @@ import { MercureInfo } from '../mercure/reducers/mercureInfo';
import { ServersMap } from '../servers/reducers/servers';
import { SelectedServer } from '../servers/data';
import { Settings } from '../settings/reducers/settings';
import { ShortUrlMetaEdition } from '../short-urls/reducers/shortUrlMeta';
import { ShortUrlCreation } from '../short-urls/reducers/shortUrlCreation';
export type ConnectDecorator = (props: string[], actions?: string[]) => any;
@@ -10,10 +12,10 @@ export interface ShlinkState {
selectedServer: SelectedServer;
shortUrlsList: any;
shortUrlsListParams: any;
shortUrlCreationResult: any;
shortUrlCreationResult: ShortUrlCreation;
shortUrlDeletion: any;
shortUrlTags: any;
shortUrlMeta: any;
shortUrlMeta: ShortUrlMetaEdition;
shortUrlEdition: any;
shortUrlVisits: any;
tagVisits: any;