@schibsted/advertory 2.57.3 → 2.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/aftenposten/es/index.css +1 -1
- package/core/aftenposten/es/index.d.ts +7 -0
- package/core/aftenposten/es/index.js +1 -1
- package/core/aftenposten/index.d.ts +7 -0
- package/core/aftenposten/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.d.ts +7 -0
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.d.ts +7 -0
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.d.ts +7 -0
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.d.ts +7 -0
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.d.ts +7 -0
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.d.ts +7 -0
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.d.ts +7 -0
- package/core/e24/index.js +1 -1
- package/core/e24v2/es/index.css +1 -1
- package/core/e24v2/es/index.d.ts +7 -0
- package/core/e24v2/es/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -1
- package/core/fotbollskanalen/es/index.d.ts +7 -0
- package/core/fotbollskanalen/es/index.js +1 -1
- package/core/fotbollskanalen/index.d.ts +7 -0
- package/core/fotbollskanalen/index.js +1 -1
- package/core/godare/index.d.ts +7 -0
- package/core/godare/index.js +1 -1
- package/core/godt/index.d.ts +7 -0
- package/core/godt/index.js +1 -1
- package/core/klart/index.d.ts +7 -0
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.d.ts +7 -0
- package/core/koket/es/index.js +1 -1
- package/core/koket/index.d.ts +7 -0
- package/core/koket/index.js +1 -1
- package/core/kompakt/index.d.ts +7 -0
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.d.ts +7 -0
- package/core/minmote/index.js +1 -1
- package/core/pent/index.d.ts +7 -0
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.d.ts +7 -0
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.d.ts +7 -0
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.d.ts +7 -0
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.d.ts +7 -0
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.d.ts +7 -0
- package/core/svdv2/es/index.js +1 -1
- package/core/tek/index.d.ts +7 -0
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.d.ts +7 -0
- package/core/tv4/es/index.js +1 -1
- package/core/tv4/index.d.ts +7 -0
- package/core/tv4/index.js +1 -1
- package/core/tvnu/index.d.ts +7 -0
- package/core/tvnu/index.js +1 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.d.ts +7 -0
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.d.ts +7 -0
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.d.ts +7 -0
- package/core/vgv2/es/index.js +1 -1
- package/features/ad-native/index.d.ts +7 -0
- package/features/dr-edition/es/index.d.ts +7 -0
- package/features/dr-edition/index.d.ts +7 -0
- package/features/tracker/index.d.ts +7 -0
- package/package.json +1 -1
- package/sites/aftenposten/es/index.css +1 -1
- package/sites/aftonbladet/es/index.css +1 -1
- package/sites/aftonbladetv2/es/index.css +1 -1
- package/sites/bt/es/index.css +1 -1
- package/sites/e24/es/index.css +1 -1
- package/sites/e24v2/es/index.css +1 -1
- package/sites/fotbollskanalen/es/index.css +1 -1
- package/sites/sa/es/index.css +1 -1
- package/sites/svd/es/index.css +1 -1
- package/sites/svdv2/es/index.css +1 -1
- package/sites/tv4/es/index.css +1 -1
- package/sites/vg/es/index.css +1 -1
- package/sites/vgv2/es/index.css +1 -1
- package/types/core/interface/config.d.ts +7 -0
- package/types/features/ad-scale/index.d.ts +3 -0
- package/types/features/ad-takeover/utils.d.ts +2 -1
- package/types/sites/aftonbladetv2/formats/helpers.d.ts +1 -2
- package/types/sites/svdv2/formats/helpers.d.ts +1 -2
- package/types/sites/sa/formats/scale-ads.d.ts +0 -3
|
@@ -51,6 +51,7 @@ export interface SiteConfig {
|
|
|
51
51
|
pageTypeToFetch?: string;
|
|
52
52
|
};
|
|
53
53
|
useAppTabletInvCode?: boolean;
|
|
54
|
+
adScaleConfig?: AdScaleConfig;
|
|
54
55
|
}
|
|
55
56
|
export interface NativeTrackingConfig {
|
|
56
57
|
nativeTrackingEnabled?: boolean;
|
|
@@ -243,6 +244,7 @@ export interface SplashConfig {
|
|
|
243
244
|
}
|
|
244
245
|
export interface TakeoverConfig {
|
|
245
246
|
enabled?: boolean;
|
|
247
|
+
secondVisitEnabled?: boolean;
|
|
246
248
|
splash?: SplashConfig;
|
|
247
249
|
welcomePage?: WelcomePageConfig;
|
|
248
250
|
topscroller?: WelcomePageConfig;
|
|
@@ -292,6 +294,11 @@ export interface DrEditionConfig {
|
|
|
292
294
|
export interface DrEditionPlacementConfig {
|
|
293
295
|
editionName: string;
|
|
294
296
|
}
|
|
297
|
+
export interface AdScaleConfig {
|
|
298
|
+
enabled: boolean;
|
|
299
|
+
adsToBeScaled: Partial<Record<DeviceType, Array<string>>>;
|
|
300
|
+
offset?: Record<string, number>;
|
|
301
|
+
}
|
|
295
302
|
export interface DevicePlacementBatches {
|
|
296
303
|
[key: string]: Array<string>;
|
|
297
304
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TakeoverVariant } from 'features/interface/ad-takeover';
|
|
2
2
|
import { AstAdObj } from 'core/interface/ast';
|
|
3
3
|
import { SplashConfig, TakeoverConfig, WelcomePageConfig } from 'core/interface/config';
|
|
4
|
+
declare const incrementArticleVisitCount: () => void;
|
|
4
5
|
declare const canDisplayTakeover: () => boolean;
|
|
5
6
|
declare const isSplashVariant: (width: number, height: number) => boolean;
|
|
6
7
|
declare const isTopscroller: () => boolean;
|
|
@@ -11,4 +12,4 @@ type ConfigType = WelcomePageConfig | SplashConfig;
|
|
|
11
12
|
declare const getProperWelcomePageConfig: <T extends ConfigType>(config: TakeoverConfig, takeoverVariant: TakeoverVariant) => T;
|
|
12
13
|
declare const adjustTakeoverHeight: (adObj: AstAdObj, takeoverVariant: TakeoverVariant) => void;
|
|
13
14
|
declare const scaleAd: string;
|
|
14
|
-
export { adjustTakeoverHeight, getTakeoverVariant, canDisplayTakeover, addTakeoverCookie, getProperWelcomePageConfig, shouldAddTakeoverCookieForNotShownAd, isSplashVariant, isTopscroller, scaleAd };
|
|
15
|
+
export { adjustTakeoverHeight, getTakeoverVariant, canDisplayTakeover, addTakeoverCookie, getProperWelcomePageConfig, shouldAddTakeoverCookieForNotShownAd, isSplashVariant, isTopscroller, scaleAd, incrementArticleVisitCount };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AstAdObj } from 'core/interface/ast';
|
|
2
|
-
declare const scaleAftonbladetAds: (adObj: AstAdObj) => void;
|
|
3
2
|
declare const applyStylingForToppanoramaFormats: (adObj: AstAdObj) => void;
|
|
4
3
|
declare const adjustPanoramaMinHeight: (adObj: AstAdObj) => void;
|
|
5
|
-
export {
|
|
4
|
+
export { applyStylingForToppanoramaFormats, adjustPanoramaMinHeight };
|