@schibsted/advertory 2.63.16 → 2.63.18
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.js +1 -1
- package/core/aftenposten/index.js +1 -1
- package/core/aftenpostenv2/es/index.css +1 -1
- package/core/aftenpostenv2/es/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -1
- package/core/fotbollskanalen/es/index.js +1 -1
- package/core/fotbollskanalen/index.js +1 -1
- package/core/godare/index.js +1 -1
- package/core/godt/index.js +1 -1
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.css +1 -1
- package/core/koket/es/index.js +1 -1
- package/core/koket/index.js +1 -1
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.js +1 -1
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.js +1 -1
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.js +1 -1
- package/core/tv4/index.js +1 -1
- package/core/tvnu/index.js +1 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.js +1 -1
- package/features/kilkaya/es/index.d.ts +428 -0
- package/features/kilkaya/index.d.ts +428 -0
- package/package.json +1 -1
- package/sites/aftenposten/es/index.css +1 -1
- package/sites/aftenpostenv2/es/index.css +1 -1
- package/sites/aftonbladet/es/index.css +1 -1
- package/sites/bt/es/index.css +1 -1
- package/sites/e24/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/vg/es/index.css +1 -1
- package/sites/vgv2/es/index.css +1 -1
- package/styles/aftenpostenv2/styles.css +1 -1
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
|
|
4
|
+
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
5
|
+
type AstKeywords = Record<string, AstKeywordValue> & {
|
|
6
|
+
'se-generic-adformat'?: Array<string>;
|
|
7
|
+
'se-generic-targetid'?: Array<string>;
|
|
8
|
+
'se-sch-supply_type'?: Array<string>;
|
|
9
|
+
'no-sno-adformat'?: Array<string>;
|
|
10
|
+
'no-sno-targetid'?: Array<string>;
|
|
11
|
+
'aa-sch-dynamic-outstream'?: Array<string>;
|
|
12
|
+
};
|
|
13
|
+
interface SafeFrameConfig {
|
|
14
|
+
allowExpansionByPush?: boolean;
|
|
15
|
+
allowExpansionByOverlay?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface EidsUserSource {
|
|
18
|
+
id: string;
|
|
19
|
+
source: string;
|
|
20
|
+
}
|
|
21
|
+
interface AstUserIds {
|
|
22
|
+
type: string;
|
|
23
|
+
eids: Array<EidsUserSource>;
|
|
24
|
+
}
|
|
25
|
+
interface AstUser {
|
|
26
|
+
externalUid?: string;
|
|
27
|
+
dnt?: boolean;
|
|
28
|
+
userIds?: Array<AstUserIds>;
|
|
29
|
+
}
|
|
30
|
+
interface AstTrackingManagement {
|
|
31
|
+
native?: {
|
|
32
|
+
loadViewabilityScriptAt?: 'adresponse' | 'impression';
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface AstUserSync {
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface AstRenderingManagement {
|
|
39
|
+
sandboxAdIframe: boolean;
|
|
40
|
+
sandboxAttributes: Array<string>;
|
|
41
|
+
}
|
|
42
|
+
interface AstPageOptions {
|
|
43
|
+
keywords: Record<string, AstKeywordValue>;
|
|
44
|
+
enableSafeFrame?: boolean;
|
|
45
|
+
disablePsa?: boolean;
|
|
46
|
+
user?: AstUser;
|
|
47
|
+
member?: number;
|
|
48
|
+
publisherId: number;
|
|
49
|
+
trackingManagement?: AstTrackingManagement;
|
|
50
|
+
renderingManagement?: AstRenderingManagement;
|
|
51
|
+
userSync?: AstUserSync;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare const DeviceTypes: {
|
|
55
|
+
readonly MOBILE: "mobile";
|
|
56
|
+
readonly TABLET: "tablet";
|
|
57
|
+
readonly DESKTOP: "desktop";
|
|
58
|
+
};
|
|
59
|
+
type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
|
|
60
|
+
|
|
61
|
+
declare const Countries: {
|
|
62
|
+
readonly NO: "no";
|
|
63
|
+
readonly SE: "se";
|
|
64
|
+
};
|
|
65
|
+
type Country = (typeof Countries)[keyof typeof Countries];
|
|
66
|
+
|
|
67
|
+
declare const PageTypes: {
|
|
68
|
+
readonly FRONT: "front";
|
|
69
|
+
readonly ARTICLE: "article";
|
|
70
|
+
readonly SECTION: "section";
|
|
71
|
+
readonly COLLECTION: "collection";
|
|
72
|
+
readonly OTHER: "other";
|
|
73
|
+
};
|
|
74
|
+
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
75
|
+
|
|
76
|
+
interface AdvertisingIdentifiers {
|
|
77
|
+
xandr?: {
|
|
78
|
+
ppId1?: string;
|
|
79
|
+
ppId2?: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
interface TrackerInstance {
|
|
83
|
+
getAdvertisingIdentifiers: () => Promise<AdvertisingIdentifiers>;
|
|
84
|
+
getUserId: () => Promise<undefined | string | number>;
|
|
85
|
+
getEnvironmentId: () => Promise<undefined | string>;
|
|
86
|
+
getActor: () => Promise<undefined | unknown>;
|
|
87
|
+
state?: {
|
|
88
|
+
pageViewId?: string;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
interface PulseInstance extends TrackerInstance {
|
|
92
|
+
pulseTracker?: TrackerInstance;
|
|
93
|
+
trackElementView?: (eventInput: unknown) => Promise<void>;
|
|
94
|
+
trackElementClick?: (eventInput: unknown) => Promise<void>;
|
|
95
|
+
trackClickUIElement?: (eventInput: unknown) => Promise<void>;
|
|
96
|
+
trackViewUIElement?: (eventInput: unknown) => Promise<void>;
|
|
97
|
+
trackLegacyClickUIElement?: (eventInput: unknown) => Promise<void>;
|
|
98
|
+
trackLegacyViewUIElement?: (eventInput: unknown) => Promise<void>;
|
|
99
|
+
}
|
|
100
|
+
interface Tracker {
|
|
101
|
+
clientId: string;
|
|
102
|
+
instance: TrackerInstance;
|
|
103
|
+
hasherUrl?: string;
|
|
104
|
+
}
|
|
105
|
+
interface Pulse {
|
|
106
|
+
clientId: string;
|
|
107
|
+
instance: PulseInstance;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
|
|
111
|
+
|
|
112
|
+
declare const Newsrooms: {
|
|
113
|
+
readonly SVD: "svd";
|
|
114
|
+
readonly VG: "vg";
|
|
115
|
+
readonly GODARE: "godare";
|
|
116
|
+
readonly AFTENPOSTEN: "aftenposten";
|
|
117
|
+
readonly SA: "sa";
|
|
118
|
+
readonly BT: "bt";
|
|
119
|
+
readonly AFTONBLADET: "aftonbladet";
|
|
120
|
+
readonly E24: "e24";
|
|
121
|
+
readonly MINMOTE: "minmote";
|
|
122
|
+
readonly PENT: "pent";
|
|
123
|
+
readonly GODT: "godt";
|
|
124
|
+
readonly TEK: "tekno";
|
|
125
|
+
readonly KLART: "klart";
|
|
126
|
+
readonly TVNU: "tvnu";
|
|
127
|
+
readonly POLARIS: "polaris";
|
|
128
|
+
readonly KOKET: "koket";
|
|
129
|
+
readonly TV4: "tv4";
|
|
130
|
+
readonly FOTBOLLSKANALEN: "fotbollskanalen";
|
|
131
|
+
};
|
|
132
|
+
type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
|
|
133
|
+
|
|
134
|
+
interface SiteConfig {
|
|
135
|
+
publisher: string;
|
|
136
|
+
country: Country;
|
|
137
|
+
astUrl?: string;
|
|
138
|
+
gptUrl?: string;
|
|
139
|
+
testMember?: number;
|
|
140
|
+
pageType: PageType;
|
|
141
|
+
pageOptions: AstPageOptions;
|
|
142
|
+
placements: Placements;
|
|
143
|
+
keywordsConfig?: KeywordsConfig;
|
|
144
|
+
deviceType: DeviceType;
|
|
145
|
+
isMobileApp?: boolean;
|
|
146
|
+
glimr?: GlimrConfig;
|
|
147
|
+
tcf?: TCFConfig;
|
|
148
|
+
prebid?: PrebidConfig;
|
|
149
|
+
tracker?: Tracker;
|
|
150
|
+
pulse?: Pulse;
|
|
151
|
+
finnBlink?: FinnBlinkConfig;
|
|
152
|
+
wallpaper?: WallpaperConfig;
|
|
153
|
+
fullscreenScroll?: FullscreenScrollConfig;
|
|
154
|
+
appearanceConfig: AppearanceConfig;
|
|
155
|
+
queryConfig?: QueryConfig;
|
|
156
|
+
refreshConfig?: RefreshConfig;
|
|
157
|
+
takeover?: TakeoverConfig;
|
|
158
|
+
brandmetrics?: BrandmetricsConfig;
|
|
159
|
+
gdpr?: GdprConfig;
|
|
160
|
+
norstat?: NorstatConfig;
|
|
161
|
+
siteSpecificConfig?: SiteSpecificConfig;
|
|
162
|
+
sponsorstripe?: SponsorstripeConfig;
|
|
163
|
+
drEdition?: DrEditionConfig;
|
|
164
|
+
kilkaya?: KilkayaConfig;
|
|
165
|
+
forwardExternalImpId?: boolean;
|
|
166
|
+
requestSize?: number;
|
|
167
|
+
nativeTrackingConfig?: NativeTrackingConfig;
|
|
168
|
+
sandboxAdIframeEnabled?: boolean;
|
|
169
|
+
pageSectionsSelectors?: PageSectionsSelectors;
|
|
170
|
+
rightColumnSplit?: RightColumnSplitConfig;
|
|
171
|
+
editableConfiguration?: {
|
|
172
|
+
useS3Config?: boolean;
|
|
173
|
+
pageTypeToFetch?: string;
|
|
174
|
+
};
|
|
175
|
+
useAppTabletInvCode?: boolean;
|
|
176
|
+
adScaleConfig?: AdScaleConfig;
|
|
177
|
+
widescreenSwitching?: WidescreenSwitchingConfig;
|
|
178
|
+
}
|
|
179
|
+
interface NativeTrackingConfig {
|
|
180
|
+
nativeTrackingEnabled?: boolean;
|
|
181
|
+
fireImpressionsBasedOnAppearanceThreshold?: boolean;
|
|
182
|
+
}
|
|
183
|
+
interface SiteSpecificConfig {
|
|
184
|
+
publisherClassName?: Newsroom;
|
|
185
|
+
fullWidthFormatClassName?: 'netboard' | 'panorama';
|
|
186
|
+
classesToRemoveOnRefresh?: Array<string>;
|
|
187
|
+
mainColumnWidth?: number;
|
|
188
|
+
}
|
|
189
|
+
interface Placement {
|
|
190
|
+
id: string;
|
|
191
|
+
sizes: Array<Array<number>>;
|
|
192
|
+
allowedFormats: Array<AstAdType>;
|
|
193
|
+
invCode: string;
|
|
194
|
+
keywords: any;
|
|
195
|
+
refresh?: boolean;
|
|
196
|
+
bfCacheRefresh?: boolean;
|
|
197
|
+
ssa?: boolean;
|
|
198
|
+
threshold?: number;
|
|
199
|
+
finnBlink?: FinnBlinkPlacementConfig;
|
|
200
|
+
nativeCustomProperties?: Array<string>;
|
|
201
|
+
minViewWidth?: number;
|
|
202
|
+
dynamicSizeWidthCheck?: boolean;
|
|
203
|
+
safeframeConfig?: SafeFrameConfig;
|
|
204
|
+
positionConfig?: Array<PositionConfig>;
|
|
205
|
+
drEdition?: DrEditionPlacementConfig;
|
|
206
|
+
isBackfill?: boolean;
|
|
207
|
+
takeoverCookieCapForSharedPlacement?: boolean;
|
|
208
|
+
}
|
|
209
|
+
interface Placements {
|
|
210
|
+
desktop: Array<Placement>;
|
|
211
|
+
tablet: Array<Placement>;
|
|
212
|
+
mobile: Array<Placement>;
|
|
213
|
+
}
|
|
214
|
+
interface AppearanceConfig {
|
|
215
|
+
defaultThreshold: {
|
|
216
|
+
mobile: number;
|
|
217
|
+
tablet: number;
|
|
218
|
+
desktop: number;
|
|
219
|
+
};
|
|
220
|
+
clearProbableDimensionsEnabled?: boolean;
|
|
221
|
+
isDarkModeEnabled?: boolean;
|
|
222
|
+
mainColumnWidth?: number;
|
|
223
|
+
}
|
|
224
|
+
interface PageSectionsSelectors {
|
|
225
|
+
top?: string;
|
|
226
|
+
left?: string;
|
|
227
|
+
right?: string;
|
|
228
|
+
main?: string;
|
|
229
|
+
mainFirstColumn?: string;
|
|
230
|
+
mainSecondColumn?: string;
|
|
231
|
+
}
|
|
232
|
+
interface KeywordsConfig {
|
|
233
|
+
includeCountingKeywordInTags?: boolean;
|
|
234
|
+
sponsors?: string;
|
|
235
|
+
}
|
|
236
|
+
interface QueryConfig {
|
|
237
|
+
queryByDataDevice?: boolean;
|
|
238
|
+
lazyLoadingV3?: {
|
|
239
|
+
enabled: boolean;
|
|
240
|
+
rootMargin: string;
|
|
241
|
+
};
|
|
242
|
+
placementBatches?: PlacementBatchesConfig;
|
|
243
|
+
}
|
|
244
|
+
interface PositionConfig {
|
|
245
|
+
adPositionIndex: number;
|
|
246
|
+
sizes?: Array<Array<number>>;
|
|
247
|
+
keywords?: AstKeywords;
|
|
248
|
+
}
|
|
249
|
+
type FinnBlinkTheme = 'light' | 'dark';
|
|
250
|
+
interface FinnBlinkConfig {
|
|
251
|
+
enabled?: boolean;
|
|
252
|
+
channel?: string;
|
|
253
|
+
userId?: string;
|
|
254
|
+
uuid?: string;
|
|
255
|
+
identifierUrl?: string;
|
|
256
|
+
theme?: FinnBlinkTheme;
|
|
257
|
+
replacementConfig?: {
|
|
258
|
+
adsToReplace?: Array<Array<string>>;
|
|
259
|
+
sizes?: {
|
|
260
|
+
width: number;
|
|
261
|
+
height: number;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
interface FinnBlinkPlacementConfig {
|
|
266
|
+
enabled: boolean;
|
|
267
|
+
renderOnlyWithAdBlock?: boolean;
|
|
268
|
+
position: string;
|
|
269
|
+
distributionTypes?: Array<DistributionTypes>;
|
|
270
|
+
height?: number;
|
|
271
|
+
limit?: number;
|
|
272
|
+
offset?: number;
|
|
273
|
+
requireImage?: boolean;
|
|
274
|
+
rec?: boolean;
|
|
275
|
+
theme?: FinnBlinkTheme;
|
|
276
|
+
advertoryTheme?: string;
|
|
277
|
+
loadOnlyFinnBlink?: boolean;
|
|
278
|
+
}
|
|
279
|
+
interface PrebidConfig {
|
|
280
|
+
enabled: boolean;
|
|
281
|
+
url: string;
|
|
282
|
+
id: string;
|
|
283
|
+
externalUidInAuctionEnabled: boolean;
|
|
284
|
+
relevantCbTimeout?: number;
|
|
285
|
+
forwardGlimrTags?: boolean;
|
|
286
|
+
}
|
|
287
|
+
interface TCFConfig {
|
|
288
|
+
enabled: boolean;
|
|
289
|
+
schibstedAdChoicesEnabled?: boolean;
|
|
290
|
+
schibstedConsentToPayEnabled?: boolean;
|
|
291
|
+
schibstedAdChoicesOverrideValue?: string;
|
|
292
|
+
timeout?: number;
|
|
293
|
+
}
|
|
294
|
+
interface GlimrConfig {
|
|
295
|
+
enabled: boolean;
|
|
296
|
+
clientId: string;
|
|
297
|
+
}
|
|
298
|
+
interface WallpaperConfig {
|
|
299
|
+
enabled: boolean;
|
|
300
|
+
options?: WallpaperConfigOptions;
|
|
301
|
+
}
|
|
302
|
+
interface WallpaperConfigOptions {
|
|
303
|
+
appMainContainerSelector?: string;
|
|
304
|
+
wallpaperAnchorSelector?: string;
|
|
305
|
+
}
|
|
306
|
+
interface BrandmetricsConfig {
|
|
307
|
+
enabled: boolean;
|
|
308
|
+
url: string;
|
|
309
|
+
}
|
|
310
|
+
interface GdprConfig {
|
|
311
|
+
url?: string;
|
|
312
|
+
allowHidingAds?: boolean;
|
|
313
|
+
}
|
|
314
|
+
interface FullscreenScrollConfig {
|
|
315
|
+
fadingHeaderEnabled: boolean;
|
|
316
|
+
headerSelectors: Array<string>;
|
|
317
|
+
skyscraperSelectors?: Array<string>;
|
|
318
|
+
headerZIndex: number;
|
|
319
|
+
overlayStyles?: OverlayStyles;
|
|
320
|
+
moveCogwheelToTheLeft?: boolean;
|
|
321
|
+
iosSafeAreaTopFix?: string;
|
|
322
|
+
}
|
|
323
|
+
interface OverlayStyles {
|
|
324
|
+
backgroundColor?: string;
|
|
325
|
+
foregroundColor?: string;
|
|
326
|
+
articlesContainerWidth?: number;
|
|
327
|
+
margin?: string;
|
|
328
|
+
beforeContentValue?: string;
|
|
329
|
+
}
|
|
330
|
+
interface RefreshConfig {
|
|
331
|
+
delayTime?: number;
|
|
332
|
+
scrollRefreshEnabled?: boolean;
|
|
333
|
+
visibilityStateRefreshEnabled?: boolean;
|
|
334
|
+
backForwardNavigationRefreshEnabled?: boolean;
|
|
335
|
+
}
|
|
336
|
+
interface WelcomePageConfig {
|
|
337
|
+
showArrowIcon?: boolean;
|
|
338
|
+
headerElementSelector?: string;
|
|
339
|
+
buttonLabel?: string;
|
|
340
|
+
showCloseButton?: boolean;
|
|
341
|
+
}
|
|
342
|
+
interface SplashConfig {
|
|
343
|
+
themeColors?: ThemeColors;
|
|
344
|
+
buttonLabel: string;
|
|
345
|
+
logotype: Logotype;
|
|
346
|
+
showArrowIcon?: boolean;
|
|
347
|
+
showAnnonsLabel?: boolean;
|
|
348
|
+
}
|
|
349
|
+
interface TakeoverConfig {
|
|
350
|
+
enabled?: boolean;
|
|
351
|
+
secondVisitEnabled?: boolean;
|
|
352
|
+
splash?: SplashConfig;
|
|
353
|
+
welcomePage?: WelcomePageConfig;
|
|
354
|
+
topscroller?: WelcomePageConfig;
|
|
355
|
+
cookieCapName?: string | null;
|
|
356
|
+
cookieCapTime?: number;
|
|
357
|
+
setCookieCapForNotShownAd?: boolean;
|
|
358
|
+
}
|
|
359
|
+
interface Logotype {
|
|
360
|
+
url: string;
|
|
361
|
+
alt: string;
|
|
362
|
+
}
|
|
363
|
+
interface ThemeColors {
|
|
364
|
+
backgroundColor: string;
|
|
365
|
+
color: string;
|
|
366
|
+
}
|
|
367
|
+
interface NorstatConfig {
|
|
368
|
+
enabled: true;
|
|
369
|
+
}
|
|
370
|
+
interface SponsorstripeConfig {
|
|
371
|
+
toggleEnabled: boolean;
|
|
372
|
+
headerSelector?: string;
|
|
373
|
+
containersSelectors?: Array<string>;
|
|
374
|
+
}
|
|
375
|
+
interface RightColumnSplitConfig {
|
|
376
|
+
enabled: boolean;
|
|
377
|
+
splitPointIDs: Array<string>;
|
|
378
|
+
adSelector: string;
|
|
379
|
+
trackSelector?: string;
|
|
380
|
+
}
|
|
381
|
+
interface KilkayaConfig {
|
|
382
|
+
enabled: boolean;
|
|
383
|
+
url: string;
|
|
384
|
+
}
|
|
385
|
+
interface DrEditionConfig {
|
|
386
|
+
enabled: boolean;
|
|
387
|
+
containerSelector: string;
|
|
388
|
+
wrapperSelector: string;
|
|
389
|
+
fallbackGlobalEditionName?: string;
|
|
390
|
+
videoScriptUrl?: string;
|
|
391
|
+
addPreviewVideo?: (videoElement: HTMLElement) => void;
|
|
392
|
+
}
|
|
393
|
+
interface DrEditionPlacementConfig {
|
|
394
|
+
editionName: string;
|
|
395
|
+
}
|
|
396
|
+
interface AdScaleConfig {
|
|
397
|
+
enabled: boolean;
|
|
398
|
+
adsToBeScaled: Partial<Record<DeviceType, Array<string>>>;
|
|
399
|
+
offset?: Record<string, number>;
|
|
400
|
+
}
|
|
401
|
+
interface DevicePlacementBatches {
|
|
402
|
+
[key: string]: Array<string>;
|
|
403
|
+
}
|
|
404
|
+
type PlacementBatchesConfig = {
|
|
405
|
+
[device in DeviceType]: DevicePlacementBatches;
|
|
406
|
+
};
|
|
407
|
+
interface WidescreenSwitchingConfig {
|
|
408
|
+
enabled: boolean;
|
|
409
|
+
rotationInterval?: number;
|
|
410
|
+
widescreenIdPrefix?: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
interface KilkayaComponentProps {
|
|
414
|
+
placementName: string;
|
|
415
|
+
fallbackTargetId: string;
|
|
416
|
+
children: ReactNode;
|
|
417
|
+
pulseData?: DrEditionHtmlAttributes;
|
|
418
|
+
htmlAttributes?: DrEditionHtmlAttributes;
|
|
419
|
+
}
|
|
420
|
+
interface DrEditionHtmlAttributes {
|
|
421
|
+
[key: string]: string | boolean | number;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
declare const Kilkaya: ({ placementName, fallbackTargetId, children, pulseData, htmlAttributes }: KilkayaComponentProps) => ReactNode;
|
|
425
|
+
|
|
426
|
+
declare const runKilkaya: (siteConfig: SiteConfig) => Promise<void>;
|
|
427
|
+
|
|
428
|
+
export { Kilkaya, runKilkaya };
|