(private readonly snack: SnackReporter)
| 7 | |
| 8 | export class UserStore extends BaseStore<IUser> { |
| 9 | constructor(private readonly snack: SnackReporter) { |
| 10 | super(); |
| 11 | } |
| 12 | |
| 13 | protected requestItems = (): Promise<IUser[]> => |
| 14 | axios.get<IUser[]>(`${config.get('url')}user`).then((response) => response.data); |
nothing calls this directly
no outgoing calls
no test coverage detected