2018-11-15 19:48:37 +01:00
|
|
|
// export * from './LoginState';
|
|
|
|
|
|
2018-11-26 00:53:05 +01:00
|
|
|
// export * from './GlobalState.d'
|
2018-11-15 19:48:37 +01:00
|
|
|
|
2019-03-21 20:43:15 +01:00
|
|
|
export * from './ProgressBar.d'
|
2018-11-11 19:27:04 +01:00
|
|
|
|
|
|
|
|
export interface IResponse<T> {
|
|
|
|
|
success?: boolean,
|
|
|
|
|
message?: string,
|
|
|
|
|
type: 'error'|'warning'
|
|
|
|
|
data: T,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ITab {
|
|
|
|
|
title: string,
|
|
|
|
|
icon?: any,
|
|
|
|
|
condition?: boolean,
|
|
|
|
|
childs?: boolean,
|
|
|
|
|
badge?: number,
|
|
|
|
|
to: {
|
|
|
|
|
name: string,
|
|
|
|
|
params?: {
|
|
|
|
|
[x: string]: any
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|