2021-08-12 15:04:37 +02:00
|
|
|
import {
|
|
|
|
IUserFeedback,
|
|
|
|
IUserFeedbackKey,
|
|
|
|
IUserFeedbackStore,
|
|
|
|
} from '../../lib/types/stores/user-feedback-store';
|
|
|
|
|
|
|
|
export default class FakeUserFeedbackStore implements IUserFeedbackStore {
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
delete(key: IUserFeedbackKey): Promise<void> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
deleteAll(): Promise<void> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
destroy(): void {}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
exists(key: IUserFeedbackKey): Promise<boolean> {
|
|
|
|
return Promise.resolve(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
get(key: IUserFeedbackKey): Promise<IUserFeedback> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
getAll(): Promise<IUserFeedback[]> {
|
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
getAllUserFeedback(userId: number): Promise<IUserFeedback[]> {
|
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
getFeedback(userId: number, feedbackId: string): Promise<IUserFeedback> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
updateFeedback(feedback: IUserFeedback): Promise<IUserFeedback> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
}
|