'use strict';
import { getResource, createResourceDirectlyInDb, 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=(_0x3ef9f6,_0x11b836)=>__defProp(_0x3ef9f6,'name',{'value':_0x11b836,'configurable':!![]});function getOnePersonToJob(_0x4a87a3){return getResource({'resourceName':resourceNames['personToJob'],'id':_0x4a87a3});}__name(getOnePersonToJob,'getOnePersonToJob');function createPersonToJob(_0x2d4616){return createResource(_0x2d4616,resourceNames['personToJob']);}__name(createPersonToJob,'createPersonToJob');function createPersonToJobDirectlyInDb(_0x4bb65b){return createResourceDirectlyInDb(_0x4bb65b,resourceNames['personToJob']);}__name(createPersonToJobDirectlyInDb,'createPersonToJobDirectlyInDb');function getPersonToJobs(){return getResourcesByName(resourceNames['personToJob']);}__name(getPersonToJobs,'getPersonToJobs');function deletePersonToJobs(_0x507077){return deleteResource(_0x507077,resourceNames['personToJob']);}__name(deletePersonToJobs,'deletePersonToJobs');

export { createPersonToJob, createPersonToJobDirectlyInDb, deletePersonToJobs, getOnePersonToJob, getPersonToJobs };
