SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/routes/endpoints/Project.js

Summary

Maintainability
A
0 mins
Test Coverage
import baseCRUD, { annotations } from './base'
import AjaxCall from '@/helpers/ajaxCall'

const permitParams = {
  project: Object
}

export const Project = {
  ...baseCRUD('projects', permitParams),

  ...annotations('projects'),

  preferences: () => AjaxCall('get', '/project_preferences.json')
}