( source?: Pick<Source, 'features' | 'type'> | null, )
| 23 | * query lands, so the ads that request an ad wait for it. |
| 24 | */ |
| 25 | export const shouldSkipSourceAds = ( |
| 26 | source?: Pick<Source, 'features' | 'type'> | null, |
| 27 | ): boolean => |
| 28 | isSourceAdFree(source) || |
| 29 | (source?.type === SourceType.Squad && !source.features); |
| 30 | |
| 31 | export enum AdActions { |
| 32 | Click = 'click', |
no test coverage detected