mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-20 22:01:45 +00:00
13 lines
356 B
TypeScript
13 lines
356 B
TypeScript
import { http, HttpResponse } from 'msw';
|
|
|
|
export const addonHandlers = [
|
|
http.get('/api/addons', () => {
|
|
return HttpResponse.json({
|
|
addons: [
|
|
{ id: 'vacay', name: 'Vacay', type: 'feature', icon: 'calendar', enabled: true },
|
|
{ id: 'atlas', name: 'Atlas', type: 'feature', icon: 'map', enabled: true },
|
|
],
|
|
});
|
|
}),
|
|
];
|