Remove unsed files

This commit is contained in:
Piotr Jamróz
2022-02-02 15:01:43 +01:00
parent 44b3176b79
commit c068ff78fc
2 changed files with 0 additions and 23 deletions
@@ -1,18 +0,0 @@
import { RichHistoryQuery } from 'app/types';
import RichHistoryStorage from './RichHistoryStorage';
/**
* Object responsible for storing rich history to remote storage. To be implemented for Rich History migration to backend.
*/
export default class RichHistoryRemoteStorage implements RichHistoryStorage {
async getRichHistory() {
return [];
}
async addToRichHistory(richHistoryQuery: RichHistoryQuery) {
return undefined;
}
async deleteAll() {}
async deleteRichHistory(id: number) {}
async updateComment(id: number, comment: string | undefined) {}
async updateStarred(id: number, starred: boolean) {}
}
@@ -1,13 +1,8 @@
import RichHistoryLocalStorage from './RichHistoryLocalStorage';
import RichHistoryRemoteStorage from './RichHistoryRemoteStorage';
import RichHistoryStorage from './RichHistoryStorage';
const richHistoryLocalStorage = new RichHistoryLocalStorage();
// To be implemented and switched with a feature flag.
// @ts-ignore
const richHistoryRemoteStorage = new RichHistoryRemoteStorage();
export const getRichHistoryStorage = (): RichHistoryStorage => {
return richHistoryLocalStorage;
};