You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
720 B
32 lines
720 B
import { AnyAction } from 'redux'
|
|
import { ThunkDispatch, ThunkAction } from 'redux-thunk'
|
|
import { AppState } from './store'
|
|
|
|
export type FetchMethods = 'get' | 'post' | 'put'
|
|
|
|
export interface FetchOptions {
|
|
path: string
|
|
method?: FetchMethods
|
|
body?: object
|
|
headers?: HeadersInit
|
|
}
|
|
|
|
export interface ClassDictionary {
|
|
[name: string]: boolean
|
|
}
|
|
|
|
export interface Tab {
|
|
id: string
|
|
label: string
|
|
}
|
|
|
|
export interface AvailabilityResponse {
|
|
id: string
|
|
available: boolean
|
|
}
|
|
|
|
export * from './entities'
|
|
export * from './store'
|
|
|
|
export type AppThunkDispatch = ThunkDispatch<AppState, void, AnyAction>
|
|
export type AppThunkAction<T = void> = ThunkAction<Promise<T>, AppState, void, AnyAction>
|