export const stripIds = (fields) => fields.map((field) => {
    const { id: _id, ...rest } = field;
    if (rest.type === 'section') {
        return { ...rest, fields: stripIds(rest.fields) };
    }
    return rest;
});
//# sourceMappingURL=stripIds.js.map
