"use strict";

exports.__esModule = true;
exports.getImageFieldId = void 0;
const getImageFieldId = fields => {
  var _Object$entries$find;
  return (_Object$entries$find = Object.entries(fields ?? {}).find(([, f]) => (f == null ? void 0 : f.type) === 'IMAGE')) == null ? void 0 : _Object$entries$find[0];
};
exports.getImageFieldId = getImageFieldId;
//# sourceMappingURL=getImageFieldId.js.map