Move all firbase dependencies from actions layer to firebaseService layer (#13)
This commit is contained in:
@@ -1,26 +1,25 @@
|
||||
import { Circle } from 'domain/circles'
|
||||
|
||||
/**
|
||||
* Circle state
|
||||
*
|
||||
* Circle state
|
||||
*
|
||||
* @export
|
||||
* @class CircleState
|
||||
*/
|
||||
export class CircleState {
|
||||
|
||||
export class CircleState {
|
||||
/**
|
||||
* The list of Circles belong to users
|
||||
*
|
||||
*
|
||||
* @type {({[userId: string]: {[circleId: string]: Circle}} | null)}
|
||||
* @memberof CircleState
|
||||
*/
|
||||
userCircles: {[userId: string]: {[circleId: string]: Circle}} = {}
|
||||
userCircles: {[userId: string]: {[circleId: string]: Circle}} = {}
|
||||
|
||||
/**
|
||||
* If user circles are loaded {true} or not {false}
|
||||
*
|
||||
*
|
||||
* @type {Boolean}
|
||||
* @memberof CircleState
|
||||
*/
|
||||
loaded: Boolean = false
|
||||
}
|
||||
loaded: Boolean = false
|
||||
}
|
||||
Reference in New Issue
Block a user