2021-11-09 11:52:02 +01:00
|
|
|
import {
|
|
|
|
IUserSplashKey,
|
|
|
|
IUserSplash,
|
|
|
|
IUserSplashStore,
|
2021-11-09 20:55:23 +01:00
|
|
|
} from '../../lib/types/stores/user-splash-store';
|
2021-11-09 11:52:02 +01:00
|
|
|
|
|
|
|
export default class FakeUserSplashStore implements IUserSplashStore {
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2022-06-22 14:55:43 +02:00
|
|
|
getAllUserSplashes(userId: number): Promise<IUserSplash[]> {
|
2021-11-09 11:52:02 +01:00
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2021-11-09 20:55:23 +01:00
|
|
|
getSplash(userId: number, splashId: string): Promise<IUserSplash> {
|
2021-11-09 20:39:13 +01:00
|
|
|
return Promise.resolve(undefined);
|
2021-11-09 11:52:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2021-11-09 20:55:23 +01:00
|
|
|
updateSplash(splash: IUserSplash): Promise<IUserSplash> {
|
2021-11-09 20:39:13 +01:00
|
|
|
return Promise.resolve(undefined);
|
2021-11-09 11:52:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
exists(key: IUserSplashKey): Promise<boolean> {
|
|
|
|
return Promise.resolve(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
get(key: IUserSplashKey): Promise<IUserSplash> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
getAll(): Promise<IUserSplash[]> {
|
|
|
|
return Promise.resolve([]);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
delete(key: IUserSplashKey): Promise<void> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
deleteAll(): Promise<void> {
|
|
|
|
return Promise.resolve(undefined);
|
|
|
|
}
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
destroy(): void {}
|
|
|
|
}
|