import { API_URL } from '../../config' import { PoetryResponse, Poetry } from './types' const initialPoetry: Poetry = { title: '', text: '', author: '', id: 0, } const composePoetryURL = () => ( API_URL + '/user/poem?' ) const processPoetry = (data: PoetryResponse): Poetry => { return data } export { initialPoetry, composePoetryURL, processPoetry }