function update_content_with_new_ids(entries, content_db_ids, field_db_ids = {}) {
	return entries.map((entry) => ({
		...entry,
		id: content_db_ids[entry.id] || entry.id,
		parent: content_db_ids[entry.parent] || entry.parent,
		field: field_db_ids[entry.field] || entry.field
	}))
}
Updates entries with new IDs.

This function takes an array of entries entries and updates their IDs, parent IDs, and field IDs
based on the provided mapping objects. It's useful for synchronizing entries data with database IDs
after operations that may have changed these IDs.

@param {Array<Object>} entries - The array of entries entries to update.
@param {Object<string, string> | {}} content_db_ids - An object mapping original entries IDs to database IDs.
@param {Object<string, string> | {}} field_db_ids - An object mapping original field IDs to database IDs.
@returns {Array<Object>} The updated array of entries entries with new IDs.