'use strict';
import { getResource, getResourcesByName, deleteResource } from '../../../meta/server/db/db.js';
import { resourceNames } from '../../../../fd-toolbox/resources/resource-names.js';
import { createResource } from '../../../meta/server/resources/crud-resources.js';

var __defProp=Object['defineProperty'],__name=(_0x15d3c8,_0xb5204f)=>__defProp(_0x15d3c8,'name',{'value':_0xb5204f,'configurable':!![]});function getOneJob(_0x1da2f6){return getResource({'resourceName':resourceNames['job'],'id':_0x1da2f6});}__name(getOneJob,'getOneJob');function createJob(_0x1be0c3){return createResource(_0x1be0c3,resourceNames['job']);}__name(createJob,'createJob');function getJobs(){return getResourcesByName(resourceNames['job']);}__name(getJobs,'getJobs');function deleteJob(_0xfe9b86){return deleteResource(_0xfe9b86,resourceNames['job']);}__name(deleteJob,'deleteJob');

export { createJob, deleteJob, getJobs, getOneJob };
