(value: string | null | undefined)
| 430 | } { |
| 431 | if (owner.type === 'user') { |
| 432 | return { owned_by_user_id: owner.userId, owned_by_organization_id: null }; |
| 433 | } |
| 434 | return { owned_by_user_id: null, owned_by_organization_id: owner.organizationId }; |
| 435 | } |
| 436 | |
| 437 | function normalizeAuditTimestamp(value: string | Date | null | undefined): string | undefined { |
| 438 | if (value === null || value === undefined) return undefined; |
no test coverage detected