'use strict';
import { getResource, getResourcesByName } 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=(_0x47003c,_0x35f812)=>__defProp(_0x47003c,'name',{'value':_0x35f812,'configurable':!![]});function getOnePersonToPerson(_0x453e71){return getResource({'resourceName':resourceNames['personToPerson'],'id':_0x453e71});}__name(getOnePersonToPerson,'getOnePersonToPerson');function createPersonToPerson(_0x5cebfc){return createResource(_0x5cebfc,resourceNames['personToPerson']);}__name(createPersonToPerson,'createPersonToPerson');function getPersonToPersons(){return getResourcesByName(resourceNames['personToPerson']);}__name(getPersonToPersons,'getPersonToPersons');

export { createPersonToPerson, getOnePersonToPerson, getPersonToPersons };
