(obj: unknown)
| 3182 | } |
| 3183 | |
| 3184 | function isValidSessionFacets(obj: unknown): obj is SessionFacets { |
| 3185 | if (!obj || typeof obj !== 'object') return false |
| 3186 | const o = obj as Record<string, unknown> |
| 3187 | return ( |
| 3188 | typeof o.underlying_goal === 'string' && |
| 3189 | typeof o.outcome === 'string' && |
| 3190 | typeof o.brief_summary === 'string' && |
| 3191 | o.goal_categories !== null && |
| 3192 | typeof o.goal_categories === 'object' && |
| 3193 | o.user_satisfaction_counts !== null && |
| 3194 | typeof o.user_satisfaction_counts === 'object' && |
| 3195 | o.friction_counts !== null && |
| 3196 | typeof o.friction_counts === 'object' |
| 3197 | ) |
| 3198 | } |
| 3199 | |
| 3200 | export default usageReport |
| 3201 |
no outgoing calls
no test coverage detected