basalt / ai/src / injectAuditService
Function: injectAuditService()
> injectAuditService(content, resourceName, events): object
Defined in: ai/src/make/wire.ts:74
Inject audit recording into the generated service: the constructor receives an Audit, and create/update/remove record their event after the repository call.
Parameters
content
string
resourceName
string
events
string[]
Returns
object
content
> content: string
injected
> injected: boolean