@schibsted/advertory 2.57.2 → 2.57.4-test-inv1362
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.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.css +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.css +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/ad-native/index.js +1 -1
- 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/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/styles/svdv2/styles.css +1 -1
- package/types/core/interface/config.d.ts +7 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic/index.d.ts +2 -2
- package/types/features/ad-native/sites/svd/templates/brandstudio-classic/panorama/index.d.ts +2 -2
- 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
|
@@ -265,6 +265,7 @@ interface SiteConfig {
|
|
|
265
265
|
pageTypeToFetch?: string;
|
|
266
266
|
};
|
|
267
267
|
useAppTabletInvCode?: boolean;
|
|
268
|
+
adScaleConfig?: AdScaleConfig;
|
|
268
269
|
}
|
|
269
270
|
interface NativeTrackingConfig {
|
|
270
271
|
nativeTrackingEnabled?: boolean;
|
|
@@ -438,6 +439,7 @@ interface SplashConfig {
|
|
|
438
439
|
}
|
|
439
440
|
interface TakeoverConfig {
|
|
440
441
|
enabled?: boolean;
|
|
442
|
+
secondVisitEnabled?: boolean;
|
|
441
443
|
splash?: SplashConfig;
|
|
442
444
|
welcomePage?: WelcomePageConfig;
|
|
443
445
|
topscroller?: WelcomePageConfig;
|
|
@@ -487,6 +489,11 @@ interface DrEditionConfig {
|
|
|
487
489
|
interface DrEditionPlacementConfig {
|
|
488
490
|
editionName: string;
|
|
489
491
|
}
|
|
492
|
+
interface AdScaleConfig {
|
|
493
|
+
enabled: boolean;
|
|
494
|
+
adsToBeScaled: Partial<Record<DeviceType, Array<string>>>;
|
|
495
|
+
offset?: Record<string, number>;
|
|
496
|
+
}
|
|
490
497
|
interface DevicePlacementBatches {
|
|
491
498
|
[key: string]: Array<string>;
|
|
492
499
|
}
|
|
@@ -265,6 +265,7 @@ interface SiteConfig {
|
|
|
265
265
|
pageTypeToFetch?: string;
|
|
266
266
|
};
|
|
267
267
|
useAppTabletInvCode?: boolean;
|
|
268
|
+
adScaleConfig?: AdScaleConfig;
|
|
268
269
|
}
|
|
269
270
|
interface NativeTrackingConfig {
|
|
270
271
|
nativeTrackingEnabled?: boolean;
|
|
@@ -438,6 +439,7 @@ interface SplashConfig {
|
|
|
438
439
|
}
|
|
439
440
|
interface TakeoverConfig {
|
|
440
441
|
enabled?: boolean;
|
|
442
|
+
secondVisitEnabled?: boolean;
|
|
441
443
|
splash?: SplashConfig;
|
|
442
444
|
welcomePage?: WelcomePageConfig;
|
|
443
445
|
topscroller?: WelcomePageConfig;
|
|
@@ -487,6 +489,11 @@ interface DrEditionConfig {
|
|
|
487
489
|
interface DrEditionPlacementConfig {
|
|
488
490
|
editionName: string;
|
|
489
491
|
}
|
|
492
|
+
interface AdScaleConfig {
|
|
493
|
+
enabled: boolean;
|
|
494
|
+
adsToBeScaled: Partial<Record<DeviceType, Array<string>>>;
|
|
495
|
+
offset?: Record<string, number>;
|
|
496
|
+
}
|
|
490
497
|
interface DevicePlacementBatches {
|
|
491
498
|
[key: string]: Array<string>;
|
|
492
499
|
}
|
|
@@ -210,6 +210,7 @@ interface SiteConfig {
|
|
|
210
210
|
pageTypeToFetch?: string;
|
|
211
211
|
};
|
|
212
212
|
useAppTabletInvCode?: boolean;
|
|
213
|
+
adScaleConfig?: AdScaleConfig;
|
|
213
214
|
}
|
|
214
215
|
interface NativeTrackingConfig {
|
|
215
216
|
nativeTrackingEnabled?: boolean;
|
|
@@ -383,6 +384,7 @@ interface SplashConfig {
|
|
|
383
384
|
}
|
|
384
385
|
interface TakeoverConfig {
|
|
385
386
|
enabled?: boolean;
|
|
387
|
+
secondVisitEnabled?: boolean;
|
|
386
388
|
splash?: SplashConfig;
|
|
387
389
|
welcomePage?: WelcomePageConfig;
|
|
388
390
|
topscroller?: WelcomePageConfig;
|
|
@@ -432,6 +434,11 @@ interface DrEditionConfig {
|
|
|
432
434
|
interface DrEditionPlacementConfig {
|
|
433
435
|
editionName: string;
|
|
434
436
|
}
|
|
437
|
+
interface AdScaleConfig {
|
|
438
|
+
enabled: boolean;
|
|
439
|
+
adsToBeScaled: Partial<Record<DeviceType, Array<string>>>;
|
|
440
|
+
offset?: Record<string, number>;
|
|
441
|
+
}
|
|
435
442
|
interface DevicePlacementBatches {
|
|
436
443
|
[key: string]: Array<string>;
|
|
437
444
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schibsted/advertory",
|
|
3
|
-
"version": "2.57.
|
|
3
|
+
"version": "2.57.4-test-inv1362",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "node node_modules/rollup/dist/bin/rollup -c rollup-config/default.mjs && npm run post:build",
|
|
6
6
|
"build:dev": "MODE=dev NODE_OPTIONS=--max-old-space-size=131072 npm run build",
|