Home > @opengovsg/logging > ResourceDeletedInput
ResourceDeletedInput interface
Input for ResourceAudit.deleted().
Signature:
typescript
export interface ResourceDeletedInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| reason? | string | (Optional) Why it was deleted (and/or soft vs hard), if useful. | |
| resourceId | string | The resource's identifier. | |
| resourceType | string | The kind of resource, e.g. form, project, document. |