mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-05-31 17:46:17 +00:00
Migrated first reducer to typescript, adding also type for the shared app state
This commit is contained in:
@@ -1 +1,25 @@
|
||||
import { MercureInfo } from '../mercure/reducers/mercureInfo';
|
||||
|
||||
export type ConnectDecorator = (props: string[], actions?: string[]) => any;
|
||||
|
||||
export interface ShlinkState {
|
||||
servers: any;
|
||||
selectedServer: any;
|
||||
shortUrlsList: any;
|
||||
shortUrlsListParams: any;
|
||||
shortUrlCreationResult: any;
|
||||
shortUrlDeletion: any;
|
||||
shortUrlTags: any;
|
||||
shortUrlMeta: any;
|
||||
shortUrlEdition: any;
|
||||
shortUrlVisits: any;
|
||||
tagVisits: any;
|
||||
shortUrlDetail: any;
|
||||
tagsList: any;
|
||||
tagDelete: any;
|
||||
tagEdit: any;
|
||||
mercureInfo: MercureInfo;
|
||||
settings: any;
|
||||
}
|
||||
|
||||
export type GetState = () => ShlinkState;
|
||||
|
||||
Reference in New Issue
Block a user