import { http, HttpResponse } from 'msw'; import { PublicSettingsResponse } from '@/react/portainer/settings/types'; export const settingsHandlers = [ http.get('/api/ssl', () => HttpResponse.json({})), http.get('/api/settings', () => HttpResponse.json({})), http.get('/api/settings/additional_functionality', () => HttpResponse.json({}) ), http.get>( '/api/settings/public', () => HttpResponse.json({ Edge: { AsyncMode: false, CheckinInterval: 60, CommandInterval: 60, PingInterval: 60, SnapshotInterval: 60, }, GlobalDeploymentOptions: { perEnvOverride: false, hideAddWithForm: false, hideFileUpload: false, hideStacksFunctionality: false, hideWebEditor: false, requireNoteOnApplications: false, minApplicationNoteLength: 0, }, } satisfies Partial) ), ];