@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
|
@@ -126,6 +126,7 @@ export interface AstNativeItem {
|
|
|
126
126
|
required: boolean;
|
|
127
127
|
}
|
|
128
128
|
export type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
129
|
+
export type Keywords = Record<string, AstKeywordValue>;
|
|
129
130
|
export type AstKeywords = Record<string, AstKeywordValue> & {
|
|
130
131
|
'se-generic-adformat'?: Array<string>;
|
|
131
132
|
'se-generic-targetid'?: Array<string>;
|
|
@@ -223,7 +224,7 @@ export interface AstRenderingManagement {
|
|
|
223
224
|
sandboxAttributes: Array<string>;
|
|
224
225
|
}
|
|
225
226
|
export interface AstPageOptions {
|
|
226
|
-
keywords:
|
|
227
|
+
keywords: Keywords;
|
|
227
228
|
enableSafeFrame?: boolean;
|
|
228
229
|
disablePsa?: boolean;
|
|
229
230
|
user?: AstUser;
|
|
@@ -50,6 +50,7 @@ export interface SiteConfig {
|
|
|
50
50
|
useAppTabletInvCode?: boolean;
|
|
51
51
|
adScaleConfig?: AdScaleConfig;
|
|
52
52
|
widescreenSwitching?: WidescreenSwitchingConfig;
|
|
53
|
+
pageSetup?: PageSetup;
|
|
53
54
|
}
|
|
54
55
|
export interface NativeTrackingConfig {
|
|
55
56
|
nativeTrackingEnabled?: boolean;
|
|
@@ -306,4 +307,28 @@ export interface WidescreenSwitchingConfig {
|
|
|
306
307
|
rotationInterval?: number;
|
|
307
308
|
widescreenIdPrefix?: string;
|
|
308
309
|
}
|
|
310
|
+
export interface PageSetup {
|
|
311
|
+
pageOptions?: {
|
|
312
|
+
keywords?: {
|
|
313
|
+
appType?: boolean;
|
|
314
|
+
device?: boolean;
|
|
315
|
+
externalIdSrc?: boolean;
|
|
316
|
+
hasContext?: boolean;
|
|
317
|
+
screen?: boolean;
|
|
318
|
+
analyticsConsent?: boolean;
|
|
319
|
+
sectionPageType?: boolean;
|
|
320
|
+
sponsors?: boolean;
|
|
321
|
+
obituaries?: boolean;
|
|
322
|
+
sdkVersion?: boolean;
|
|
323
|
+
hasPlusMembership?: boolean;
|
|
324
|
+
};
|
|
325
|
+
options?: {
|
|
326
|
+
addPublisherToGeo?: boolean;
|
|
327
|
+
includeExternalUid?: boolean;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
tag?: {
|
|
331
|
+
reloadKeywords?: boolean;
|
|
332
|
+
};
|
|
333
|
+
}
|
|
309
334
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Keywords } from 'core/interface/ast';
|
|
2
|
+
export declare class KeywordsBuilder {
|
|
3
|
+
private readonly keywords;
|
|
4
|
+
add(source: object): this;
|
|
5
|
+
addAsync(source: Promise<object>): Promise<this>;
|
|
6
|
+
addIf(condition: boolean | undefined, source: object): this;
|
|
7
|
+
addIfAsync(condition: boolean | undefined, source: () => Promise<object>): Promise<this>;
|
|
8
|
+
build(): Keywords;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|