/**
 * Settings resource. The API key is write-only: it goes up, never comes back.
 */

import { get, post } from './client';

export const fetchSettings = () => get( '/settings' );

export const saveSettings = ( values ) => post( '/settings', values );

export const resetSettings = () => post( '/settings/reset', {} );
