//#region src/components/pisellDataSourceContainer/utils/formatData.ts
const formatListResult = (result) => {
	return {
		list: (result === null || result === void 0 ? void 0 : result.data) || (result === null || result === void 0 ? void 0 : result.list) || [],
		count: (result === null || result === void 0 ? void 0 : result.count) || 0
	};
};
//#endregion
export { formatListResult };
