'use strict';
import { 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=(_0x5ba28c,_0x112a79)=>__defProp(_0x5ba28c,'name',{'value':_0x112a79,'configurable':!![]});function createProduct(_0x577533){return createResource(_0x577533,resourceNames['product']);}__name(createProduct,'createProduct');function createProductCategory(_0x32ad17){return createResource(_0x32ad17,resourceNames['productCategory']);}__name(createProductCategory,'createProductCategory');function getAllProducts(){return getResourcesByName(resourceNames['product']);}__name(getAllProducts,'getAllProducts');

export { createProduct, createProductCategory, getAllProducts };
