Migrate Master component to typescript
This commit is contained in:
24
app/components/Master/IMasterState.ts
Normal file
24
app/components/Master/IMasterState.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
export interface IMasterState {
|
||||
/**
|
||||
* Loding will be appeared if it's true
|
||||
*
|
||||
* @type {Boolean}
|
||||
* @memberof IMasterState
|
||||
*/
|
||||
loading: Boolean,
|
||||
/**
|
||||
* It's true if user is authorized
|
||||
*
|
||||
* @type {Boolean}
|
||||
* @memberof IMasterState
|
||||
*/
|
||||
authed:Boolean;
|
||||
/**
|
||||
* It's true if all default data loaded from database
|
||||
*
|
||||
* @type {Boolean}
|
||||
* @memberof IMasterState
|
||||
*/
|
||||
dataLoaded:Boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user