@schibsted/advertory 2.63.21 → 2.65.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 +27 -1
- package/core/aftenposten/es/index.js +1 -1
- package/core/aftenposten/index.d.ts +27 -1
- package/core/aftenposten/index.js +1 -1
- package/core/aftenpostenv2/es/index.css +1 -1
- package/core/aftenpostenv2/es/index.d.ts +27 -1
- package/core/aftenpostenv2/es/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.d.ts +27 -1
- package/core/aftonbladet/index.d.ts +27 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.d.ts +27 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.d.ts +27 -1
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.d.ts +27 -1
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.d.ts +27 -1
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.d.ts +27 -1
- package/core/e24/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -1
- package/core/fotbollskanalen/es/index.d.ts +27 -1
- package/core/fotbollskanalen/index.d.ts +27 -1
- package/core/godare/index.d.ts +27 -1
- package/core/godare/index.js +1 -1
- package/core/godt/index.d.ts +27 -1
- package/core/godt/index.js +1 -1
- package/core/klart/index.d.ts +27 -1
- package/core/koket/es/index.css +1 -1
- package/core/koket/es/index.d.ts +27 -1
- package/core/koket/index.d.ts +27 -1
- package/core/kompakt/index.d.ts +27 -1
- package/core/minmote/index.d.ts +27 -1
- package/core/minmote/index.js +1 -1
- package/core/pent/index.d.ts +27 -1
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.d.ts +27 -1
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.d.ts +27 -1
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.d.ts +27 -1
- package/core/svd/index.d.ts +27 -1
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.d.ts +27 -1
- package/core/tek/index.d.ts +27 -1
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.css +1 -1
- package/core/tv4/es/index.d.ts +27 -1
- package/core/tv4/index.d.ts +27 -1
- package/core/tvnu/index.d.ts +27 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.d.ts +27 -1
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.d.ts +27 -1
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.d.ts +27 -1
- package/core/vgv2/es/index.js +1 -1
- package/features/ad-native/index.d.ts +27 -1
- package/features/ad-native/index.js +1 -1
- package/features/dr-edition/es/index.d.ts +27 -1
- package/features/dr-edition/index.d.ts +27 -1
- package/features/kilkaya/es/index.d.ts +27 -1
- package/features/kilkaya/index.d.ts +27 -1
- package/features/tracker/index.d.ts +27 -1
- package/package.json +1 -1
- package/sites/aftenposten/es/index.css +1 -1
- package/sites/aftenposten/index.js +1 -1
- package/sites/aftenpostenv2/es/index.css +1 -1
- package/sites/bt/es/index.css +1 -1
- package/sites/bt/index.js +1 -1
- package/sites/e24/es/index.css +1 -1
- package/sites/koket/es/index.css +1 -1
- package/sites/sa/es/index.css +1 -1
- package/sites/sa/index.js +1 -1
- package/sites/svd/es/index.css +1 -1
- package/sites/svd/index.js +1 -1
- package/sites/svdv2/es/index.css +1 -1
- package/sites/tvnu/index.js +1 -1
- package/sites/vg/es/index.css +1 -1
- package/sites/vg/index.js +1 -1
- package/sites/vgv2/es/index.css +1 -1
- package/types/core/interface/ast.d.ts +2 -1
- package/types/core/interface/config.d.ts +25 -0
- package/types/core/prepare-page-options/generic-prepare-page-options-no.d.ts +3 -0
- package/types/core/prepare-page-options/generic-prepare-page-options-se.d.ts +3 -0
- package/types/core/prepare-page-options/generic-prepare-page-options.d.ts +3 -0
- package/types/core/prepare-page-options/generic-prepare-page-options.test.d.ts +1 -0
- package/types/core/prepare-page-options/keyword-providers.d.ts +4 -0
- package/types/core/prepare-page-options/keywords-builder.d.ts +9 -0
- package/types/core/prepare-page-options/keywords-builder.test.d.ts +1 -0
- package/types/features/ad-native/sites/shared/templates/no/native-seamless/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/no/seamless-image/index.d.ts +0 -4
|
@@ -72,6 +72,7 @@ interface AstAdObj {
|
|
|
72
72
|
bidderId?: number | undefined;
|
|
73
73
|
}
|
|
74
74
|
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
75
|
+
type Keywords = Record<string, AstKeywordValue>;
|
|
75
76
|
type AstKeywords = Record<string, AstKeywordValue> & {
|
|
76
77
|
'se-generic-adformat'?: Array<string>;
|
|
77
78
|
'se-generic-targetid'?: Array<string>;
|
|
@@ -110,7 +111,7 @@ interface AstRenderingManagement {
|
|
|
110
111
|
sandboxAttributes: Array<string>;
|
|
111
112
|
}
|
|
112
113
|
interface AstPageOptions {
|
|
113
|
-
keywords:
|
|
114
|
+
keywords: Keywords;
|
|
114
115
|
enableSafeFrame?: boolean;
|
|
115
116
|
disablePsa?: boolean;
|
|
116
117
|
user?: AstUser;
|
|
@@ -251,6 +252,7 @@ interface SiteConfig {
|
|
|
251
252
|
useAppTabletInvCode?: boolean;
|
|
252
253
|
adScaleConfig?: AdScaleConfig;
|
|
253
254
|
widescreenSwitching?: WidescreenSwitchingConfig;
|
|
255
|
+
pageSetup?: PageSetup;
|
|
254
256
|
}
|
|
255
257
|
interface NativeTrackingConfig {
|
|
256
258
|
nativeTrackingEnabled?: boolean;
|
|
@@ -485,6 +487,30 @@ interface WidescreenSwitchingConfig {
|
|
|
485
487
|
rotationInterval?: number;
|
|
486
488
|
widescreenIdPrefix?: string;
|
|
487
489
|
}
|
|
490
|
+
interface PageSetup {
|
|
491
|
+
pageOptions?: {
|
|
492
|
+
keywords?: {
|
|
493
|
+
appType?: boolean;
|
|
494
|
+
device?: boolean;
|
|
495
|
+
externalIdSrc?: boolean;
|
|
496
|
+
hasContext?: boolean;
|
|
497
|
+
screen?: boolean;
|
|
498
|
+
analyticsConsent?: boolean;
|
|
499
|
+
sectionPageType?: boolean;
|
|
500
|
+
sponsors?: boolean;
|
|
501
|
+
obituaries?: boolean;
|
|
502
|
+
sdkVersion?: boolean;
|
|
503
|
+
hasPlusMembership?: boolean;
|
|
504
|
+
};
|
|
505
|
+
options?: {
|
|
506
|
+
addPublisherToGeo?: boolean;
|
|
507
|
+
includeExternalUid?: boolean;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
tag?: {
|
|
511
|
+
reloadKeywords?: boolean;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
488
514
|
|
|
489
515
|
interface AdComponentProps {
|
|
490
516
|
placementId: string;
|