ProfileDataStore
public protocol ProfileDataStoreInterface for saving, loading and deleting profiles
sourcery: StreamWrapped
- 
                  
                  Fetches a profile by it’s identifier DeclarationSwift func fetchProfile(by identifier: Profile.ID) -> AnyPublisher<Profile?, LocalStoreError>ParametersidentifierIdentifier of the Profile to fetch 
- 
                  
                  List all profiles contained in the store DeclarationSwift func listAllProfiles() -> AnyPublisher<[Profile], LocalStoreError>
- 
                  
                  Creates or updates a sequence of profiles into the store sourcery: SkipStreamWrapped DeclarationSwift func save(profiles: [Profile]) -> AnyPublisher<Bool, LocalStoreError>ParametersprofilesArray of profiles to be saved 
- 
                  
                  Deletes a sequence of profiles from the store sourcery: SkipStreamWrapped DeclarationSwift func delete(profiles: [Profile]) -> AnyPublisher<Bool, LocalStoreError>ParametersprofilesArray of profiles to be deleted 
- 
                  
                  Updates a Profile entity sourcery: SkipStreamWrapped DeclarationSwift func update( profileId: UUID, mutating: @escaping (inout Profile) -> Void ) -> AnyPublisher<Bool, LocalStoreError>ParametersprofileIdIdentifier of the Profile to update mutatingClosure with the actual profile to be updated 
- 
                  save(profile:Extension method) Creates or updates a Profileinto the store. Updates if the identifier does already exist in storesourcery: SkipStreamWrapped DeclarationSwift public func save(profile: Profile) -> AnyPublisher<Bool, LocalStoreError>ParametersprofileInstance of Profileto be saved
- 
                  delete(profile:Extension method) Deletes a Profilefrom the store with the related identifiersourcery: SkipStreamWrapped DeclarationSwift public func delete(profile: Profile) -> AnyPublisher<Bool, LocalStoreError>ParametersprofileInstance of Profileto be deleted
 View on GitHub
            View on GitHub
           ProfileDataStore Protocol Reference
      ProfileDataStore Protocol Reference