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

var __defProp=Object['defineProperty'],__name=(_0x1f6b8b,_0x5baaba)=>__defProp(_0x1f6b8b,'name',{'value':_0x5baaba,'configurable':!![]});function getOneFriend(_0x1c7818){return getResource({'resourceName':resourceNames['friend'],'id':_0x1c7818});}__name(getOneFriend,'getOneFriend');function createFriendDirectlyInDb(_0x2f1397){return createResourceDirectlyInDb(_0x2f1397,resourceNames['friend']);}__name(createFriendDirectlyInDb,'createFriendDirectlyInDb');function getFriends(){return getResourcesByName(resourceNames['friend']);}__name(getFriends,'getFriends');function deleteFriend(_0x340e36){return deleteResource(_0x340e36,resourceNames['friend']);}__name(deleteFriend,'deleteFriend');

export { createFriendDirectlyInDb, deleteFriend, getFriends, getOneFriend };
