{"version":3,"file":"useOnConnectionUpdate.cjs","sources":["../../../../../packages/react-binding/src/entityEvents/useOnConnectionUpdate.ts"],"sourcesContent":["import type { EntityAccessor } from '@contember/binding'\nimport type { FieldName } from '@contember/binding'\nimport { useEntityEvent } from './useEntityEvent'\n\nexport const useOnConnectionUpdate = (\n\tfieldName: FieldName,\n\tlistener: EntityAccessor.EntityEventListenerMap['connectionUpdate'],\n) => {\n\tuseEntityEvent('connectionUpdate', fieldName, listener)\n}\n"],"names":["useEntityEvent"],"mappings":";;;AAIa,MAAA,wBAAwB,CACpC,WACA,aACI;AACWA,gCAAA,oBAAoB,WAAW,QAAQ;AACvD;;"}