Interface IFirestoreRepository
Methods
create
- create(object: DocumentData): Promise<DocumentReference>
-
Parameters
Returns Promise<DocumentReference>
delete
- delete(id: string): Promise<DocumentReference>
-
Parameters
Returns Promise<DocumentReference>
readAll
- readAll(): Promise<DocumentReference[]>
-
Returns Promise<DocumentReference[]>
readOne
- readOne(id: string): Promise<DocumentReference>
-
Parameters
Returns Promise<DocumentReference>
update
- update(id: string, object: DocumentData): Promise<DocumentReference>
-
Parameters
-
id: string
-
object: DocumentData
Returns Promise<DocumentReference>