mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
ff7be7696c
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
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);
|
|
}
|
|
}
|