( ad: Ad, )
| 150 | |
| 151 | // Skadi marks a boost by what it carries: the post or the squad, no creative. |
| 152 | export const isBoostedPostCreative = ( |
| 153 | ad: Ad, |
| 154 | ): ad is Ad & { data: { post: Post } } => !!ad.data?.post; |
| 155 | |
| 156 | export const isBoostedSquadCreative = (ad: Ad): ad is AdSquadItem['ad'] => |
| 157 | !!ad.data?.source; |
no outgoing calls
no test coverage detected