@schibsted/advertory 2.64.0 → 2.65.1
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/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/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/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/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.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/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.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/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/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/aftonbladet/es/index.css +1 -1
- package/sites/aftonbladetv2/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/fotbollskanalen/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/tv4/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/core/godt/index.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ interface AstNativeItem {
|
|
|
100
100
|
required: boolean;
|
|
101
101
|
}
|
|
102
102
|
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
103
|
+
type Keywords = Record<string, AstKeywordValue>;
|
|
103
104
|
type AstKeywords = Record<string, AstKeywordValue> & {
|
|
104
105
|
'se-generic-adformat'?: Array<string>;
|
|
105
106
|
'se-generic-targetid'?: Array<string>;
|
|
@@ -197,7 +198,7 @@ interface AstRenderingManagement {
|
|
|
197
198
|
sandboxAttributes: Array<string>;
|
|
198
199
|
}
|
|
199
200
|
interface AstPageOptions {
|
|
200
|
-
keywords:
|
|
201
|
+
keywords: Keywords;
|
|
201
202
|
enableSafeFrame?: boolean;
|
|
202
203
|
disablePsa?: boolean;
|
|
203
204
|
user?: AstUser;
|
|
@@ -388,6 +389,7 @@ interface SiteConfig {
|
|
|
388
389
|
useAppTabletInvCode?: boolean;
|
|
389
390
|
adScaleConfig?: AdScaleConfig;
|
|
390
391
|
widescreenSwitching?: WidescreenSwitchingConfig;
|
|
392
|
+
pageSetup?: PageSetup;
|
|
391
393
|
}
|
|
392
394
|
interface NativeTrackingConfig {
|
|
393
395
|
nativeTrackingEnabled?: boolean;
|
|
@@ -622,6 +624,30 @@ interface WidescreenSwitchingConfig {
|
|
|
622
624
|
rotationInterval?: number;
|
|
623
625
|
widescreenIdPrefix?: string;
|
|
624
626
|
}
|
|
627
|
+
interface PageSetup {
|
|
628
|
+
pageOptions?: {
|
|
629
|
+
keywords?: {
|
|
630
|
+
appType?: boolean;
|
|
631
|
+
device?: boolean;
|
|
632
|
+
externalIdSrc?: boolean;
|
|
633
|
+
hasContext?: boolean;
|
|
634
|
+
screen?: boolean;
|
|
635
|
+
analyticsConsent?: boolean;
|
|
636
|
+
sectionPageType?: boolean;
|
|
637
|
+
sponsors?: boolean;
|
|
638
|
+
obituaries?: boolean;
|
|
639
|
+
sdkVersion?: boolean;
|
|
640
|
+
hasPlusMembership?: boolean;
|
|
641
|
+
};
|
|
642
|
+
options?: {
|
|
643
|
+
addPublisherToGeo?: boolean;
|
|
644
|
+
includeExternalUid?: boolean;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
tag?: {
|
|
648
|
+
reloadKeywords?: boolean;
|
|
649
|
+
};
|
|
650
|
+
}
|
|
625
651
|
|
|
626
652
|
type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
|
|
627
653
|
type ConsentedToAllCallback = (value: boolean) => void;
|