import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../../utils/index.js";
//#region src/components/productExtension/server.ts
const getProductExtensionFields = function() {
	var _ref = _asyncToGenerator(function* (params) {
		let { data } = yield request.getRequest().get("/shop/product/extension/field/code", params, { useCache: true });
		return data || {};
	});
	return function getProductExtensionFields(_x) {
		return _ref.apply(this, arguments);
	};
}();
//#endregion
export { getProductExtensionFields };
