(platformId: string | null | undefined)
| 64 | } |
| 65 | |
| 66 | export function isValidContactPlatformId(platformId: string | null | undefined): platformId is string { |
| 67 | return typeof platformId === 'string' && platformId.trim().length > 0 |
| 68 | } |
| 69 | |
| 70 | export function resolveOwnerMember(db: DatabaseAdapter): ContactMemberRef | null { |
| 71 | const meta = db.prepare('SELECT owner_id FROM meta LIMIT 1').get() as { owner_id: string | null } | undefined |
no outgoing calls
no test coverage detected