DaffCustomerDriverInterface
The customer driver is responsible for loading customers.
import { DaffCustomerDriverInterface } from '@daffodil/customer/driver'
interface DaffCustomerDriverInterface<T extends DaffCustomer = DaffCustomer> {
get: Observable<T>
update: Observable<T>
changeEmail: Observable<T>
changePassword: Observable<void>
}
Properties
Name | Type | Description |
---|---|---|
get | Observable<T> | Get the currently logged-in customer. |
update | Observable<T> | Update the currently logged-in customer. |
changeEmail | Observable<T> | Change the currently logged-in customer's email. |
changePassword | Observable<void> | Change the currently logged-in customer's password. |