import { SettingEntity } from '@pimp-my-pr/server/repository/core/domain' ; import { RepositoryCommonSettingType } from '@pimp-my-pr/shared/domain' ; export abstract class SettingsRepository { abstract getById ( id ) ; abstract getByUser ( userId ) ; abstract getByUserAndType ( userId , settingType ) ; abstract delete ( entity ) ; abstract save ( entity ) ; }