Open danconte72 opened 5 years ago
Why "remove download" and "open medium" ? both are not manipulating same item (local file). You maintain inconsistency on naming.
The service handle 2 types of media: remote and local. For each type you associate actions:
Maybe we should separate concerns and create 2 services to handle file-transfer and local-media-persistence, as done with AuthService and AuthPersistenceService
Function Names
Based on ng-meumobi-utils/Files public functions the names of functions are different
should update openFile to open
Behavior
Update to be an Observable Data Service
Interface
Add the medium interface to project
references