export const inspectionRelations = relations(({many}) => ({
groups: many(blocks, {
where(fields, ops) {
return ops.eq(fields.type, 'group')
}
})
}))
export const inspectionRelations = relations(({many}) => ({
groups: many(blocks, {
where(fields, ops) {
return ops.eq(fields.type, 'group')
}
})
}))