Skip to content

Home > @opengovsg/logging > OwnershipTransferredInput

OwnershipTransferredInput interface ​

Input for ResourceAudit.ownershipTransferred().

Signature:

typescript
export interface OwnershipTransferredInput extends AuditInputBase

Extends: AuditInputBase

Properties ​

PropertyModifiersTypeDescription
fromOwnerIdstringThe 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.
resourceIdstringThe resource's identifier.
resourceTypestringThe kind of resource, e.g. form, project, document.
toOwnerIdstringThe new owner — an opaque reference (user, team, org, …). Emitted as context.to_owner_id.