Home > @opengovsg/logging > OwnershipTransferredInput
OwnershipTransferredInput interface
Input for ResourceAudit.ownershipTransferred().
Signature:
typescript
export interface OwnershipTransferredInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| fromOwnerId | string | The previous owner — an opaque reference (user, team, org, …), not necessarily a user. Emitted as context.from_owner_id. | |
| ownerType? | string | (Optional) What kind of owner, if useful, e.g. user, team, org. Emitted as context.owner_type. | |
| resourceId | string | The resource's identifier. | |
| resourceType | string | The kind of resource, e.g. form, project, document. | |
| toOwnerId | string | The new owner — an opaque reference (user, team, org, …). Emitted as context.to_owner_id. |