mirror of https://github.com/portainer/portainer
13 lines
408 B
TypeScript
13 lines
408 B
TypeScript
import { http, HttpResponse } from 'msw';
|
|
|
|
export const endpointsHandlers = [
|
|
http.get('/api/endpoints/agent_versions', () => HttpResponse.json([])),
|
|
http.get('/api/endpoints/:endpointId', () => HttpResponse.json({})),
|
|
http.get('/api/endpoints/:endpointId/registries', () =>
|
|
HttpResponse.json([])
|
|
),
|
|
http.get('/api/endpoints/:endpointId/registries/:id', () =>
|
|
HttpResponse.json({})
|
|
),
|
|
];
|