File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -611,12 +611,20 @@ export type ProfileType = object
611611export interface Listeners {
612612 allIds : string [ ]
613613 byId : {
614- [ key : string ] : any
614+ [ path : string ] : {
615+ name : string
616+ }
615617 }
616618}
617619
618620export interface Ordered {
619- [ key : string ] : any [ ]
621+ [ collection : string ] : ( FirestoreTypes . DocumentData & { id : string } ) [ ]
622+ }
623+
624+ export interface Data {
625+ [ collection : string ] : {
626+ [ documentId : string ] : FirestoreTypes . DocumentData
627+ }
620628}
621629
622630export namespace firebaseReducer {
@@ -625,7 +633,7 @@ export namespace firebaseReducer {
625633 profile : ProfileType
626634 // profile: Profile
627635 authError : any
628- data : { }
636+ data : Data
629637 errors : any [ ]
630638 isInitializing : boolean
631639 listeners : Listeners
You can’t perform that action at this time.
0 commit comments