const require_asyncToGenerator = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
const require_index = require("../../../../utils/index.js");
//#region src/components/productExtension/fields/SelectResourcesTable/server.ts
const getFormTypes = function() {
	var _ref = require_asyncToGenerator._asyncToGenerator(function* (params, config) {
		let { data } = yield require_index.request.getRequest().get("/shop/form", params, config);
		return (data === null || data === void 0 ? void 0 : data.list) || [];
	});
	return function getFormTypes(_x, _x2) {
		return _ref.apply(this, arguments);
	};
}();
const getAllResource = function() {
	var _ref2 = require_asyncToGenerator._asyncToGenerator(function* (params, config) {
		let { data } = yield require_index.request.getRequest().get("/shop/schedule/relation/resource", params, config);
		return (data === null || data === void 0 ? void 0 : data.list) || [];
	});
	return function getAllResource(_x3, _x4) {
		return _ref2.apply(this, arguments);
	};
}();
//#endregion
exports.getAllResource = getAllResource;
exports.getFormTypes = getFormTypes;
