export const startApp = (name: string) => fetch(`/api/apps/${name}/start`, { method: 'POST' })

export const stopApp = (name: string) => fetch(`/api/apps/${name}/stop`, { method: 'POST' })

export const restartApp = (name: string) => fetch(`/api/apps/${name}/restart`, { method: 'POST' })
