@schibsted/advertory 2.44.0-test-art-4
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/aftonbladet/es/index.css +1 -0
- package/core/aftonbladet/es/index.d.ts +701 -0
- package/core/aftonbladet/es/index.js +1 -0
- package/core/aftonbladet/es/package.json +9 -0
- package/core/aftonbladet/index.d.ts +701 -0
- package/core/aftonbladet/index.js +1 -0
- package/core/aftonbladet/package.json +9 -0
- package/core/e24/es/index.css +1 -0
- package/core/e24/es/index.d.ts +699 -0
- package/core/e24/es/index.js +1 -0
- package/core/e24/es/package.json +9 -0
- package/core/e24/index.d.ts +699 -0
- package/core/e24/index.js +1 -0
- package/core/e24/package.json +9 -0
- package/features/ad-native/index.d.ts +492 -0
- package/features/ad-native/index.js +1 -0
- package/features/ad-native/package.json +9 -0
- package/features/brandmetrics/index.js +1 -0
- package/features/brandmetrics/package.json +9 -0
- package/features/common/es/index.js +1 -0
- package/features/common/es/package.json +9 -0
- package/features/common/index.js +1 -0
- package/features/common/package.json +9 -0
- package/features/dr-edition/es/index.d.ts +583 -0
- package/features/dr-edition/es/index.js +1 -0
- package/features/dr-edition/es/package.json +9 -0
- package/features/dr-edition/index.d.ts +583 -0
- package/features/dr-edition/index.js +1 -0
- package/features/dr-edition/package.json +9 -0
- package/features/glimr/glimr-BIcFSFRk.js +1 -0
- package/features/glimr/glimr-sdk-mS8sOhxy.js +1 -0
- package/features/glimr/index.js +1 -0
- package/features/glimr/package.json +9 -0
- package/features/tracker/index.d.ts +74 -0
- package/features/tracker/index.js +1 -0
- package/features/tracker/package.json +9 -0
- package/features/video/index.js +1 -0
- package/features/video/package.json +9 -0
- package/package.json +77 -0
- package/sites/aftonbladet/es/index.css +1 -0
- package/sites/aftonbladet/es/index.d.ts +29 -0
- package/sites/aftonbladet/es/index.js +1 -0
- package/sites/aftonbladet/es/package.json +9 -0
- package/sites/aftonbladet/index.d.ts +29 -0
- package/sites/aftonbladet/index.js +1 -0
- package/sites/aftonbladet/package.json +9 -0
- package/sites/e24/es/index.css +1 -0
- package/sites/e24/es/index.d.ts +29 -0
- package/sites/e24/es/index.js +1 -0
- package/sites/e24/es/package.json +9 -0
- package/sites/e24/index.d.ts +29 -0
- package/sites/e24/index.js +1 -0
- package/sites/e24/package.json +9 -0
- package/styles/aftonbladet/index.js +3 -0
- package/styles/aftonbladet/styles.css +1 -0
- package/styles/e24/index.js +3 -0
- package/styles/e24/styles.css +1 -0
- package/types/config/aftenposten.d.ts +3 -0
- package/types/config/aftonbladet.d.ts +4 -0
- package/types/config/aftonbladetv2.d.ts +4 -0
- package/types/config/bt.d.ts +3 -0
- package/types/config/e24.d.ts +3 -0
- package/types/config/e24v2.d.ts +3 -0
- package/types/config/godare.d.ts +3 -0
- package/types/config/godt.d.ts +4 -0
- package/types/config/klart.d.ts +4 -0
- package/types/config/kompakt.d.ts +3 -0
- package/types/config/minmote.d.ts +4 -0
- package/types/config/pent.d.ts +3 -0
- package/types/config/sa.d.ts +3 -0
- package/types/config/svd.d.ts +4 -0
- package/types/config/tek.d.ts +4 -0
- package/types/config/vg.d.ts +3 -0
- package/types/config/vgv2.d.ts +3 -0
- package/types/core/config.d.ts +15 -0
- package/types/core/config.test.d.ts +1 -0
- package/types/core/creative-observer/refresh.d.ts +6 -0
- package/types/core/creative-observer/refresh.test.d.ts +1 -0
- package/types/core/creative-observer/show-tag.d.ts +4 -0
- package/types/core/creative-observer/utils.d.ts +4 -0
- package/types/core/events/events.d.ts +3 -0
- package/types/core/events/fallback.d.ts +3 -0
- package/types/core/events/post-message.d.ts +2 -0
- package/types/core/events/refresh.d.ts +6 -0
- package/types/core/events/resize-ad.d.ts +2 -0
- package/types/core/events/set-ad-sizes.d.ts +4 -0
- package/types/core/events/visibility.d.ts +3 -0
- package/types/core/handlers/ad-format-keyword/index.d.ts +3 -0
- package/types/core/handlers/ad-format-keyword/index.test.d.ts +1 -0
- package/types/core/handlers/ad-format-type/index.d.ts +33 -0
- package/types/core/handlers/ad-format-type/index.test.d.ts +1 -0
- package/types/core/handlers/ad-invcode/index.d.ts +2 -0
- package/types/core/handlers/ad-invcode/index.test.d.ts +4 -0
- package/types/core/handlers/ad-position-placement/index.d.ts +3 -0
- package/types/core/handlers/ad-position-placement/index.test.d.ts +1 -0
- package/types/core/handlers/ad-rendering-management/index.d.ts +3 -0
- package/types/core/handlers/ad-server/default-data.d.ts +4 -0
- package/types/core/handlers/ad-server/index.d.ts +18 -0
- package/types/core/handlers/ad-server/index.test.d.ts +1 -0
- package/types/core/handlers/ad-server/placement-ordering.d.ts +4 -0
- package/types/core/handlers/ad-server/placement-ordering.test.d.ts +1 -0
- package/types/core/handlers/ad-server/placement.d.ts +10 -0
- package/types/core/handlers/ad-server/placement.test.d.ts +4 -0
- package/types/core/handlers/ad-supply-type/index.d.ts +2 -0
- package/types/core/handlers/ad-supply-type/index.test.d.ts +1 -0
- package/types/core/handlers/ad-targetid/index.d.ts +3 -0
- package/types/core/handlers/ad-targetid/index.test.d.ts +1 -0
- package/types/core/handlers/classname/index.d.ts +4 -0
- package/types/core/handlers/classname/index.test.d.ts +1 -0
- package/types/core/handlers/count-keyword/index.d.ts +3 -0
- package/types/core/handlers/count-keyword/index.test.d.ts +1 -0
- package/types/core/handlers/country-prefix/index.d.ts +4 -0
- package/types/core/handlers/country-prefix/index.test.d.ts +4 -0
- package/types/core/handlers/custom-keywords/index.d.ts +2 -0
- package/types/core/handlers/custom-keywords/index.test.d.ts +1 -0
- package/types/core/handlers/dynamic-outstream/index.d.ts +6 -0
- package/types/core/handlers/dynamic-outstream/index.test.d.ts +4 -0
- package/types/core/handlers/firefox-styles/index.d.ts +3 -0
- package/types/core/handlers/firefox-styles/index.test.d.ts +1 -0
- package/types/core/handlers/hash/index.d.ts +2 -0
- package/types/core/handlers/hash/index.test.d.ts +1 -0
- package/types/core/handlers/margins/index.d.ts +4 -0
- package/types/core/handlers/margins/index.test.d.ts +1 -0
- package/types/core/handlers/mediation/index.d.ts +3 -0
- package/types/core/handlers/mediation/index.test.d.ts +1 -0
- package/types/core/handlers/member/index.d.ts +3 -0
- package/types/core/handlers/member/index.test.d.ts +1 -0
- package/types/core/handlers/obituaries/index.d.ts +7 -0
- package/types/core/handlers/obituaries/index.test.d.ts +1 -0
- package/types/core/handlers/param/index.d.ts +7 -0
- package/types/core/handlers/param/index.test.d.ts +1 -0
- package/types/core/handlers/scale/index.d.ts +6 -0
- package/types/core/handlers/scale/index.test.d.ts +1 -0
- package/types/core/handlers/tcf/index.d.ts +4 -0
- package/types/core/handlers/tcf/index.test.d.ts +1 -0
- package/types/core/handlers/underline-keyword/index.d.ts +2 -0
- package/types/core/handlers/underline-keyword/index.test.d.ts +1 -0
- package/types/core/handlers/update-advertory/index.d.ts +6 -0
- package/types/core/handlers/update-advertory/index.test.d.ts +1 -0
- package/types/core/handlers/user/index.d.ts +4 -0
- package/types/core/handlers/user/index.test.d.ts +1 -0
- package/types/core/interface/ad-component.d.ts +15 -0
- package/types/core/interface/ad-types.d.ts +5 -0
- package/types/core/interface/alertory.d.ts +8 -0
- package/types/core/interface/ast.d.ts +277 -0
- package/types/core/interface/cmp.d.ts +2 -0
- package/types/core/interface/common.d.ts +8 -0
- package/types/core/interface/config.d.ts +292 -0
- package/types/core/interface/countries.d.ts +6 -0
- package/types/core/interface/device.d.ts +13 -0
- package/types/core/interface/dictionary.d.ts +10 -0
- package/types/core/interface/fallback.d.ts +5 -0
- package/types/core/interface/formats.d.ts +59 -0
- package/types/core/interface/http-client.d.ts +4 -0
- package/types/core/interface/keywords.d.ts +87 -0
- package/types/core/interface/library.d.ts +5 -0
- package/types/core/interface/local-storage-client.d.ts +6 -0
- package/types/core/interface/margins.d.ts +11 -0
- package/types/core/interface/module.d.ts +13 -0
- package/types/core/interface/newsrooms.d.ts +17 -0
- package/types/core/interface/observer.d.ts +7 -0
- package/types/core/interface/os.d.ts +1 -0
- package/types/core/interface/page-types.d.ts +8 -0
- package/types/core/interface/placement-groups.d.ts +5 -0
- package/types/core/interface/post-message.d.ts +9 -0
- package/types/core/interface/publishers.d.ts +15 -0
- package/types/core/interface/refresh.d.ts +4 -0
- package/types/core/interface/session-storage-client.d.ts +5 -0
- package/types/core/interface/storage.d.ts +18 -0
- package/types/core/interface/styles.d.ts +1 -0
- package/types/core/interface/tcf.d.ts +11 -0
- package/types/core/interface/update-advertory.d.ts +6 -0
- package/types/core/languages/dictionary.d.ts +3 -0
- package/types/core/logger/index.d.ts +2 -0
- package/types/core/prepare-page-options/prepare-page-options-no.d.ts +9 -0
- package/types/core/prepare-page-options/prepare-page-options-se.d.ts +9 -0
- package/types/core/prepare-page-options/prepare-page-options.d.ts +27 -0
- package/types/core/prepare-page-options/prepare-page-options.test.d.ts +1 -0
- package/types/core/prepare-tag/formatter.d.ts +2 -0
- package/types/core/prepare-tag/formatter.test.d.ts +1 -0
- package/types/core/prepare-tag/prepare-tag.d.ts +3 -0
- package/types/core/prepare-tag/prepare-tag.test.d.ts +1 -0
- package/types/core/prepare-tag/ssa.d.ts +3 -0
- package/types/core/prepare-tag/tag-config.d.ts +5 -0
- package/types/core/prepare-tag/tag-config.test.d.ts +1 -0
- package/types/core/storage.d.ts +10 -0
- package/types/core/utils/init.d.ts +4 -0
- package/types/features/ad-full-width/index.d.ts +4 -0
- package/types/features/ad-fullscreen-scroll/constants.d.ts +7 -0
- package/types/features/ad-fullscreen-scroll/format-types.d.ts +8 -0
- package/types/features/ad-fullscreen-scroll/formats-handler.d.ts +13 -0
- package/types/features/ad-fullscreen-scroll/formats-handler.test.d.ts +4 -0
- package/types/features/ad-fullscreen-scroll/index.d.ts +6 -0
- package/types/features/ad-fullscreen-scroll/observer.d.ts +9 -0
- package/types/features/ad-fullscreen-scroll/observer.test.d.ts +1 -0
- package/types/features/ad-fullscreen-scroll/scale-ad.d.ts +1 -0
- package/types/features/ad-native/ad-native-builder.d.ts +4 -0
- package/types/features/ad-native/ad-native-renderer.d.ts +3 -0
- package/types/features/ad-native/ad-native-styling.d.ts +5 -0
- package/types/features/ad-native/ad-native.d.ts +4 -0
- package/types/features/ad-native/index.d.ts +5 -0
- package/types/features/ad-native/sites/aftenposten/aftenposten-init.d.ts +4 -0
- package/types/features/ad-native/sites/aftenposten/index.d.ts +6 -0
- package/types/features/ad-native/sites/aftenposten/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftenposten/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftenposten/templates/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/aftonbladet-init.d.ts +5 -0
- package/types/features/ad-native/sites/aftonbladet/index.d.ts +6 -0
- package/types/features/ad-native/sites/aftonbladet/templates/chat-integration/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic/alcohol-warning-label.d.ts +2 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic-video/classic-video.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/classic-video/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladet/templates/content-display/content-display-basic.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/content-display/content-display-gambling-articles.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladet/templates/content-display/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladet/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladetv2/aftonbladet-init.d.ts +5 -0
- package/types/features/ad-native/sites/aftonbladetv2/index.d.ts +6 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/chat-integration/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic/alcohol-warning-label.d.ts +2 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic-video/classic-video.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/classic-video/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/content-display-basic.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/content-display-gambling-articles.d.ts +4 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/index.d.ts +3 -0
- package/types/features/ad-native/sites/aftonbladetv2/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/bt/bt-init.d.ts +5 -0
- package/types/features/ad-native/sites/bt/index.d.ts +6 -0
- package/types/features/ad-native/sites/bt/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/bt/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/default/default-init.d.ts +4 -0
- package/types/features/ad-native/sites/default/index.d.ts +6 -0
- package/types/features/ad-native/sites/default/templates/display/index.d.ts +4 -0
- package/types/features/ad-native/sites/default/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/default/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/default/templates/video/template.d.ts +4 -0
- package/types/features/ad-native/sites/e24/e24-init.d.ts +5 -0
- package/types/features/ad-native/sites/e24/index.d.ts +10 -0
- package/types/features/ad-native/sites/e24/templates/articles/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/articles/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/articles/index.d.ts +3 -0
- package/types/features/ad-native/sites/e24/templates/articles/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/front/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/front/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24/templates/front/index.d.ts +3 -0
- package/types/features/ad-native/sites/e24v2/e24-init.d.ts +5 -0
- package/types/features/ad-native/sites/e24v2/index.d.ts +10 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/index.d.ts +3 -0
- package/types/features/ad-native/sites/e24v2/templates/articles/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/aksjelive/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/content-display-basic/index.d.ts +4 -0
- package/types/features/ad-native/sites/e24v2/templates/front/index.d.ts +3 -0
- package/types/features/ad-native/sites/godare/godare-init.d.ts +5 -0
- package/types/features/ad-native/sites/godare/index.d.ts +6 -0
- package/types/features/ad-native/sites/godare/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/godare/templates/single-integration/index.d.ts +4 -0
- package/types/features/ad-native/sites/godare/templates/utils.d.ts +1 -0
- package/types/features/ad-native/sites/godt/godt-init.d.ts +4 -0
- package/types/features/ad-native/sites/godt/index.d.ts +6 -0
- package/types/features/ad-native/sites/godt/templates/content/content-video.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/content/content.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/content/helpers.d.ts +10 -0
- package/types/features/ad-native/sites/godt/templates/content/index.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/godt/templates/native/helpers.d.ts +8 -0
- package/types/features/ad-native/sites/godt/templates/native/index.d.ts +1 -0
- package/types/features/ad-native/sites/godt/templates/native/native-video.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/index.d.ts +3 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/stripe.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/weekly-menu-video.d.ts +2 -0
- package/types/features/ad-native/sites/godt/templates/weekly-menu/weekly-menu.d.ts +2 -0
- package/types/features/ad-native/sites/klart/index.d.ts +6 -0
- package/types/features/ad-native/sites/klart/klart-init.d.ts +5 -0
- package/types/features/ad-native/sites/klart/templates/classic/alcohol-warning-label.d.ts +2 -0
- package/types/features/ad-native/sites/klart/templates/classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/klart/templates/content-display/index.d.ts +4 -0
- package/types/features/ad-native/sites/klart/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/minmote/index.d.ts +6 -0
- package/types/features/ad-native/sites/minmote/minmote-init.d.ts +4 -0
- package/types/features/ad-native/sites/minmote/templates/content/content.d.ts +2 -0
- package/types/features/ad-native/sites/minmote/templates/content/contentVideo.d.ts +2 -0
- package/types/features/ad-native/sites/minmote/templates/content/helpers.d.ts +9 -0
- package/types/features/ad-native/sites/minmote/templates/content/index.d.ts +2 -0
- package/types/features/ad-native/sites/minmote/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/minmote/templates/native/helpers.d.ts +8 -0
- package/types/features/ad-native/sites/minmote/templates/native/index.d.ts +1 -0
- package/types/features/ad-native/sites/minmote/templates/native/nativeVideo.d.ts +2 -0
- package/types/features/ad-native/sites/pent/index.d.ts +6 -0
- package/types/features/ad-native/sites/pent/pent-init.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/index.d.ts +6 -0
- package/types/features/ad-native/sites/polaris/polaris-init.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/polaris/templates/profilertstilling/index.d.ts +4 -0
- package/types/features/ad-native/sites/polaris/templates/stilling/index.d.ts +4 -0
- package/types/features/ad-native/sites/sa/index.d.ts +6 -0
- package/types/features/ad-native/sites/sa/sa-init.d.ts +4 -0
- package/types/features/ad-native/sites/sa/templates/content/index.d.ts +4 -0
- package/types/features/ad-native/sites/sa/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/higher-order-functions/video.d.ts +3 -0
- package/types/features/ad-native/sites/shared/index.d.ts +5 -0
- package/types/features/ad-native/sites/shared/player-events.d.ts +5 -0
- package/types/features/ad-native/sites/shared/templates/abo/content-video/content-video.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/content-video/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/abo/default/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/abo/podme-section/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/abo/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/abo/video/template.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/content-display-basic/content-display-basic-article.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/content-display-basic/content-display-basic.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/content-display-basic/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/no/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/no/native-recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/no/native-template/index.d.ts +4 -0
- package/types/features/ad-native/sites/shared/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/shared/templates/video/video.d.ts +4 -0
- package/types/features/ad-native/sites/svd/index.d.ts +6 -0
- package/types/features/ad-native/sites/svd/svd-init.d.ts +5 -0
- package/types/features/ad-native/sites/svd/templates/brandstudio-classic/index.d.ts +4 -0
- package/types/features/ad-native/sites/svd/templates/brandstudio-classic/panorama/index.d.ts +3 -0
- package/types/features/ad-native/sites/svd/templates/content-display/index.d.ts +4 -0
- package/types/features/ad-native/sites/svd/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/svd/templates/podme/index.d.ts +4 -0
- package/types/features/ad-native/sites/svd/templates/podme-section/index.d.ts +4 -0
- package/types/features/ad-native/sites/tek/index.d.ts +6 -0
- package/types/features/ad-native/sites/tek/tek-init.d.ts +4 -0
- package/types/features/ad-native/sites/tek/templates/content/content-video.d.ts +2 -0
- package/types/features/ad-native/sites/tek/templates/content/content.d.ts +2 -0
- package/types/features/ad-native/sites/tek/templates/content/helpers.d.ts +10 -0
- package/types/features/ad-native/sites/tek/templates/content/index.d.ts +2 -0
- package/types/features/ad-native/sites/tek/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/tek/templates/native/helpers.d.ts +9 -0
- package/types/features/ad-native/sites/tek/templates/native/index.d.ts +1 -0
- package/types/features/ad-native/sites/tek/templates/native/native-video.d.ts +2 -0
- package/types/features/ad-native/sites/vg/index.d.ts +6 -0
- package/types/features/ad-native/sites/vg/templates/content/content-video.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/content/content.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/content/index.d.ts +3 -0
- package/types/features/ad-native/sites/vg/templates/default-template/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/fishfinger/index.d.ts +7 -0
- package/types/features/ad-native/sites/vg/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/vg/templates/inhouse/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/podme/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/podme_section/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/seamless-image/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/shopping_affiliate/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny-sponsor-stripe/index.d.ts +5 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny-video/index.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/ukesmeny-video/videoTemplate.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-optimizer.d.ts +7 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-optimizer.test.d.ts +1 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-width.d.ts +4 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/index.d.ts +6 -0
- package/types/features/ad-native/sites/vg/templates/utils/title-scalling/types.d.ts +9 -0
- package/types/features/ad-native/sites/vg/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/vg/templates/video/video.d.ts +4 -0
- package/types/features/ad-native/sites/vg/vg-init.d.ts +5 -0
- package/types/features/ad-native/sites/vgv2/index.d.ts +6 -0
- package/types/features/ad-native/sites/vgv2/templates/content/content-video.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/content/content.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/content/index.d.ts +3 -0
- package/types/features/ad-native/sites/vgv2/templates/default-template/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/fishfinger/index.d.ts +7 -0
- package/types/features/ad-native/sites/vgv2/templates/index.d.ts +3 -0
- package/types/features/ad-native/sites/vgv2/templates/inhouse/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/podme/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/podme_section/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/recirc/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/seamless-image/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/shopping_affiliate/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny-sponsor-stripe/index.d.ts +5 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny-video/index.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/ukesmeny-video/videoTemplate.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-optimizer.d.ts +7 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-optimizer.test.d.ts +1 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-width.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/index.d.ts +6 -0
- package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/types.d.ts +9 -0
- package/types/features/ad-native/sites/vgv2/templates/video/index.d.ts +3 -0
- package/types/features/ad-native/sites/vgv2/templates/video/video.d.ts +4 -0
- package/types/features/ad-native/sites/vgv2/vg-init.d.ts +5 -0
- package/types/features/ad-native/trackers/trackers.d.ts +5 -0
- package/types/features/ad-native/trackers/trackers.test.d.ts +1 -0
- package/types/features/ad-skyscrapers-split/components/SkyscrapersTrack.d.ts +3 -0
- package/types/features/ad-skyscrapers-split/components/types.d.ts +3 -0
- package/types/features/ad-skyscrapers-split/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/placement/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/scripts/index.d.ts +5 -0
- package/types/features/ad-sponsorstripe/scripts/observer.d.ts +2 -0
- package/types/features/ad-sponsorstripe/scripts/video-player-observer.d.ts +1 -0
- package/types/features/ad-sponsorstripe/scripts/visibility-observer.d.ts +2 -0
- package/types/features/ad-sponsorstripe/scripts/width-resizer.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/abo/index.d.ts +4 -0
- package/types/features/ad-sponsorstripe/sites/aftonbladet/index.d.ts +4 -0
- package/types/features/ad-sponsorstripe/sites/godt/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/minmote/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/svd/index.d.ts +4 -0
- package/types/features/ad-sponsorstripe/sites/tek/index.d.ts +2 -0
- package/types/features/ad-sponsorstripe/sites/vg/index.d.ts +4 -0
- package/types/features/ad-takeover/config.d.ts +5 -0
- package/types/features/ad-takeover/handlers/cls-handler.d.ts +3 -0
- package/types/features/ad-takeover/handlers/events-handler.d.ts +13 -0
- package/types/features/ad-takeover/handlers/events-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/handlers/formats-handler.d.ts +2 -0
- package/types/features/ad-takeover/handlers/insert-assets-handler.d.ts +4 -0
- package/types/features/ad-takeover/handlers/insert-assets-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/handlers/lock-page.d.ts +3 -0
- package/types/features/ad-takeover/handlers/show-variant-handler.d.ts +3 -0
- package/types/features/ad-takeover/handlers/show-variant-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/handlers/visibility-observer-handler.d.ts +2 -0
- package/types/features/ad-takeover/handlers/visibility-observer-handler.test.d.ts +1 -0
- package/types/features/ad-takeover/index.d.ts +5 -0
- package/types/features/ad-takeover/placement/formats/splash/index.d.ts +3 -0
- package/types/features/ad-takeover/placement/formats/topscroller/index.d.ts +3 -0
- package/types/features/ad-takeover/placement/formats/welcome-page/index.d.ts +3 -0
- package/types/features/ad-takeover/placement/index.d.ts +3 -0
- package/types/features/ad-takeover/utils.d.ts +14 -0
- package/types/features/ad-wallpaper/constants.d.ts +5 -0
- package/types/features/ad-wallpaper/index.d.ts +8 -0
- package/types/features/ad-wallpaper/wallpaper-listener.d.ts +2 -0
- package/types/features/ad-wallpaper/wallpaper-styling-setters.d.ts +5 -0
- package/types/features/adblock/index.d.ts +3 -0
- package/types/features/alertory/index.d.ts +5 -0
- package/types/features/alertory/locator.d.ts +3 -0
- package/types/features/alertory/site-config.d.ts +8 -0
- package/types/features/alertory/test-id.d.ts +5 -0
- package/types/features/alertory/test-id.test.d.ts +1 -0
- package/types/features/brandmetrics/Brandmetrics.d.ts +3 -0
- package/types/features/brandmetrics/index.d.ts +3 -0
- package/types/features/cogwheel/index.d.ts +2 -0
- package/types/features/cogwheel/index.test.d.ts +1 -0
- package/types/features/common/formats/Netboard/index.d.ts +3 -0
- package/types/features/common/formats/Skyscraper/index.d.ts +3 -0
- package/types/features/common/formats/Sponsorstripe/index.d.ts +3 -0
- package/types/features/common/formats/Wallpaper/index.d.ts +3 -0
- package/types/features/common/formats/helpers.d.ts +5 -0
- package/types/features/common/formats/index.d.ts +4 -0
- package/types/features/common/index.d.ts +1 -0
- package/types/features/dr-edition/DrEdition.d.ts +4 -0
- package/types/features/dr-edition/composition.d.ts +6 -0
- package/types/features/dr-edition/constants.d.ts +11 -0
- package/types/features/dr-edition/dr-edition-manager.d.ts +16 -0
- package/types/features/dr-edition/dr-edition-service.d.ts +10 -0
- package/types/features/dr-edition/handlers.d.ts +7 -0
- package/types/features/dr-edition/handlers.test.d.ts +1 -0
- package/types/features/dr-edition/index.d.ts +4 -0
- package/types/features/dr-edition/observer.d.ts +5 -0
- package/types/features/dr-edition/pulse-manager/default-pulse-manager.d.ts +17 -0
- package/types/features/dr-edition/pulse-manager/index.d.ts +4 -0
- package/types/features/dr-edition/pulse-manager/no-pulse-manager.d.ts +15 -0
- package/types/features/dr-edition/pulse-manager/se-pulse-manager.d.ts +13 -0
- package/types/features/dr-edition/renderer.d.ts +8 -0
- package/types/features/dr-edition/strategies/aftonbladet/index.d.ts +8 -0
- package/types/features/dr-edition/strategies/default.d.ts +8 -0
- package/types/features/dr-edition/strategies/e24/index.d.ts +10 -0
- package/types/features/dr-edition/strategies/vg/index.d.ts +11 -0
- package/types/features/dr-edition/types.d.ts +124 -0
- package/types/features/dr-edition/utils/html.d.ts +2 -0
- package/types/features/dr-edition/utils/url.d.ts +2 -0
- package/types/features/dr-edition/video-manager.d.ts +10 -0
- package/types/features/editable-configuration/constants.d.ts +3 -0
- package/types/features/editable-configuration/fetch-s3-config.d.ts +5 -0
- package/types/features/editable-configuration/fetch-s3-config.test.d.ts +1 -0
- package/types/features/editable-configuration/index.d.ts +3 -0
- package/types/features/editable-configuration/index.test.d.ts +1 -0
- package/types/features/editable-configuration/merge-configs.d.ts +4 -0
- package/types/features/editable-configuration/merge-configs.test.d.ts +1 -0
- package/types/features/finn-blink/config.d.ts +3 -0
- package/types/features/finn-blink/events.d.ts +5 -0
- package/types/features/finn-blink/finn-blink.d.ts +4 -0
- package/types/features/finn-blink/index.d.ts +3 -0
- package/types/features/finn-blink/renderer.d.ts +4 -0
- package/types/features/finn-blink/replacement-blink.d.ts +4 -0
- package/types/features/finn-blink/tcf.d.ts +2 -0
- package/types/features/finn-blink/tcf.test.d.ts +1 -0
- package/types/features/glimr/constants.d.ts +9 -0
- package/types/features/glimr/glimr-core-handler.d.ts +3 -0
- package/types/features/glimr/glimr-core-handler.test.d.ts +1 -0
- package/types/features/glimr/glimr-tag-filters.d.ts +4 -0
- package/types/features/glimr/glimr-tag-filters.test.d.ts +4 -0
- package/types/features/glimr/glimr-tags-handler.d.ts +4 -0
- package/types/features/glimr/glimr-tags-handler.test.d.ts +4 -0
- package/types/features/glimr/index.d.ts +2 -0
- package/types/features/interface/ad-native.d.ts +134 -0
- package/types/features/interface/ad-takeover.d.ts +6 -0
- package/types/features/interface/alertory.d.ts +18 -0
- package/types/features/interface/editable-configuration.d.ts +16 -0
- package/types/features/interface/finn-blink.d.ts +42 -0
- package/types/features/interface/fullscreen-scroll.d.ts +4 -0
- package/types/features/interface/glimr.d.ts +6 -0
- package/types/features/interface/player.d.ts +9 -0
- package/types/features/interface/prebid.d.ts +49 -0
- package/types/features/interface/privacy-broker.d.ts +16 -0
- package/types/features/interface/tracker.d.ts +91 -0
- package/types/features/norstat/index.d.ts +4 -0
- package/types/features/norstat/index.test.d.ts +1 -0
- package/types/features/player/events.d.ts +5 -0
- package/types/features/player/index.d.ts +1 -0
- package/types/features/player/player.d.ts +4 -0
- package/types/features/player/plugins/index.d.ts +2 -0
- package/types/features/player/plugins/mute/index.d.ts +2 -0
- package/types/features/player/plugins/ukesmeny-video/index.d.ts +2 -0
- package/types/features/player/types.d.ts +12 -0
- package/types/features/player/wait.d.ts +2 -0
- package/types/features/prebid/index.d.ts +1 -0
- package/types/features/prebid/prebid.d.ts +3 -0
- package/types/features/prebid/prebid.test.d.ts +1 -0
- package/types/features/prebid/relevant-yield-data.d.ts +4 -0
- package/types/features/prebid/relevant-yield-data.test.d.ts +1 -0
- package/types/features/prebid/window-properties-getters.d.ts +6 -0
- package/types/features/privacy-broker/constants.d.ts +2 -0
- package/types/features/privacy-broker/fetch-permissions.d.ts +3 -0
- package/types/features/privacy-broker/fetch-permissions.test.d.ts +1 -0
- package/types/features/privacy-broker/get-identity-object.d.ts +3 -0
- package/types/features/privacy-broker/identity-facade.d.ts +9 -0
- package/types/features/privacy-broker/identity-facade.test.d.ts +1 -0
- package/types/features/privacy-broker/index.d.ts +2 -0
- package/types/features/privacy-broker/permissions.d.ts +3 -0
- package/types/features/privacy-broker/permissions.test.d.ts +1 -0
- package/types/features/privacy-broker/session-storage.d.ts +7 -0
- package/types/features/privacy-broker/session-storage.test.d.ts +1 -0
- package/types/features/tracker/constants.d.ts +34 -0
- package/types/features/tracker/eid-mapping-builder.d.ts +12 -0
- package/types/features/tracker/eid-mapping-builder.test.d.ts +1 -0
- package/types/features/tracker/get-page-view-id.d.ts +3 -0
- package/types/features/tracker/index.d.ts +10 -0
- package/types/features/tracker/keys.d.ts +5 -0
- package/types/features/tracker/ppidsv2-manager.d.ts +9 -0
- package/types/features/tracker/ppidsv3-manager.d.ts +17 -0
- package/types/features/tracker/ppidsv3-manager.test.d.ts +1 -0
- package/types/features/video/index.d.ts +1 -0
- package/types/features/video/tcf.d.ts +4 -0
- package/types/interface/glimr.d.ts +5 -0
- package/types/interface/global.d.ts +41 -0
- package/types/interface/png-module.d.ts +4 -0
- package/types/interface/png-rollup-module.d.ts +4 -0
- package/types/interface/scss-modules.d.ts +1 -0
- package/types/sites/aftenposten/config.d.ts +3 -0
- package/types/sites/aftenposten/events.d.ts +14 -0
- package/types/sites/aftenposten/formats/Netboard/index.d.ts +3 -0
- package/types/sites/aftenposten/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/aftenposten/formats/Topboard/index.d.ts +3 -0
- package/types/sites/aftenposten/formats/Wallpaper/index.d.ts +2 -0
- package/types/sites/aftenposten/formats/helpers.d.ts +4 -0
- package/types/sites/aftenposten/formats/index.d.ts +4 -0
- package/types/sites/aftenposten/index.d.ts +4 -0
- package/types/sites/aftenposten/prepare-page-options.d.ts +3 -0
- package/types/sites/aftenposten/prepare-page-options.test.d.ts +1 -0
- package/types/sites/aftenposten/prepare-tag.d.ts +3 -0
- package/types/sites/aftenposten/prepare-tag.test.d.ts +1 -0
- package/types/sites/aftonbladet/config.d.ts +3 -0
- package/types/sites/aftonbladet/events.d.ts +14 -0
- package/types/sites/aftonbladet/formats/Insider/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Integration/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Panorama/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Sponsorstripe/helpers.d.ts +4 -0
- package/types/sites/aftonbladet/formats/Sponsorstripe/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/Widescreen/helpers.d.ts +2 -0
- package/types/sites/aftonbladet/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/aftonbladet/formats/helpers.d.ts +4 -0
- package/types/sites/aftonbladet/formats/index.d.ts +6 -0
- package/types/sites/aftonbladet/index.d.ts +2 -0
- package/types/sites/aftonbladet/prepare-page-options.d.ts +3 -0
- package/types/sites/aftonbladet/prepare-page-options.test.d.ts +1 -0
- package/types/sites/aftonbladet/prepare-tag.d.ts +3 -0
- package/types/sites/aftonbladet/prepare-tag.test.d.ts +1 -0
- package/types/sites/aftonbladetv2/config.d.ts +3 -0
- package/types/sites/aftonbladetv2/events.d.ts +14 -0
- package/types/sites/aftonbladetv2/formats/Insider/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Integration/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Panorama/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Sponsorstripe/helpers.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Sponsorstripe/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/Widescreen/helpers.d.ts +2 -0
- package/types/sites/aftonbladetv2/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/aftonbladetv2/formats/helpers.d.ts +4 -0
- package/types/sites/aftonbladetv2/formats/index.d.ts +6 -0
- package/types/sites/aftonbladetv2/index.d.ts +2 -0
- package/types/sites/aftonbladetv2/prepare-page-options.d.ts +3 -0
- package/types/sites/aftonbladetv2/prepare-page-options.test.d.ts +1 -0
- package/types/sites/aftonbladetv2/prepare-tag.d.ts +3 -0
- package/types/sites/aftonbladetv2/prepare-tag.test.d.ts +1 -0
- package/types/sites/bt/config.d.ts +3 -0
- package/types/sites/bt/events.d.ts +14 -0
- package/types/sites/bt/formats/Netboard/index.d.ts +3 -0
- package/types/sites/bt/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/bt/formats/Topboard/index.d.ts +3 -0
- package/types/sites/bt/formats/Wallpaper/index.d.ts +2 -0
- package/types/sites/bt/formats/index.d.ts +4 -0
- package/types/sites/bt/index.d.ts +4 -0
- package/types/sites/bt/prepare-page-options.d.ts +3 -0
- package/types/sites/bt/prepare-page-options.test.d.ts +1 -0
- package/types/sites/e24/config.d.ts +3 -0
- package/types/sites/e24/events.d.ts +14 -0
- package/types/sites/e24/formats/Brandboard/index.d.ts +3 -0
- package/types/sites/e24/formats/Netboard/index.d.ts +3 -0
- package/types/sites/e24/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/e24/formats/Topboard/index.d.ts +3 -0
- package/types/sites/e24/formats/Wallpaper/index.d.ts +3 -0
- package/types/sites/e24/formats/helpers.d.ts +4 -0
- package/types/sites/e24/formats/index.d.ts +6 -0
- package/types/sites/e24/index.d.ts +2 -0
- package/types/sites/e24/prepare-page-options.d.ts +3 -0
- package/types/sites/e24/prepare-page-options.test.d.ts +1 -0
- package/types/sites/e24v2/config.d.ts +3 -0
- package/types/sites/e24v2/events.d.ts +14 -0
- package/types/sites/e24v2/formats/Aksjelive/index.d.ts +2 -0
- package/types/sites/e24v2/formats/Brandboard/index.d.ts +3 -0
- package/types/sites/e24v2/formats/Netboard/index.d.ts +3 -0
- package/types/sites/e24v2/formats/Skyscraper/index.d.ts +5 -0
- package/types/sites/e24v2/formats/Topboard/helpers.d.ts +2 -0
- package/types/sites/e24v2/formats/Topboard/index.d.ts +3 -0
- package/types/sites/e24v2/formats/Wallpaper/helpers.d.ts +2 -0
- package/types/sites/e24v2/formats/Wallpaper/index.d.ts +4 -0
- package/types/sites/e24v2/formats/index.d.ts +7 -0
- package/types/sites/e24v2/index.d.ts +2 -0
- package/types/sites/e24v2/prepare-page-options.d.ts +3 -0
- package/types/sites/e24v2/prepare-page-options.test.d.ts +1 -0
- package/types/sites/godare/config.d.ts +3 -0
- package/types/sites/godare/events.d.ts +14 -0
- package/types/sites/godare/formats/Buyrecipe/index.d.ts +3 -0
- package/types/sites/godare/formats/Integration/index.d.ts +3 -0
- package/types/sites/godare/formats/Panorama/index.d.ts +3 -0
- package/types/sites/godare/formats/helpers.d.ts +3 -0
- package/types/sites/godare/formats/index.d.ts +4 -0
- package/types/sites/godare/index.d.ts +2 -0
- package/types/sites/godare/prepare-page-options.d.ts +3 -0
- package/types/sites/godare/prepare-page-options.test.d.ts +1 -0
- package/types/sites/godt/config.d.ts +3 -0
- package/types/sites/godt/events.d.ts +14 -0
- package/types/sites/godt/index.d.ts +1 -0
- package/types/sites/godt/prepare-page-options.d.ts +3 -0
- package/types/sites/godt/prepare-page-options.test.d.ts +1 -0
- package/types/sites/klart/config.d.ts +3 -0
- package/types/sites/klart/events.d.ts +14 -0
- package/types/sites/klart/formats/Integration/index.d.ts +3 -0
- package/types/sites/klart/formats/Panorama/index.d.ts +3 -0
- package/types/sites/klart/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/klart/formats/helpers.d.ts +3 -0
- package/types/sites/klart/formats/index.d.ts +4 -0
- package/types/sites/klart/index.d.ts +2 -0
- package/types/sites/klart/prepare-page-options.d.ts +3 -0
- package/types/sites/klart/prepare-tag.d.ts +3 -0
- package/types/sites/kompakt/config.d.ts +3 -0
- package/types/sites/kompakt/index.d.ts +1 -0
- package/types/sites/minmote/config.d.ts +3 -0
- package/types/sites/minmote/events.d.ts +14 -0
- package/types/sites/minmote/index.d.ts +2 -0
- package/types/sites/minmote/prepare-page-options.d.ts +3 -0
- package/types/sites/minmote/prepare-page-options.test.d.ts +1 -0
- package/types/sites/pent/config.d.ts +3 -0
- package/types/sites/pent/events.d.ts +14 -0
- package/types/sites/pent/index.d.ts +1 -0
- package/types/sites/pent/prepare-page-options.d.ts +3 -0
- package/types/sites/pent/prepare-page-options.test.d.ts +1 -0
- package/types/sites/sa/config.d.ts +3 -0
- package/types/sites/sa/events.d.ts +14 -0
- package/types/sites/sa/formats/Netboard/index.d.ts +3 -0
- package/types/sites/sa/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/sa/formats/Topboard/index.d.ts +3 -0
- package/types/sites/sa/formats/Wallpaper/index.d.ts +2 -0
- package/types/sites/sa/formats/index.d.ts +4 -0
- package/types/sites/sa/formats/scale-ads.d.ts +3 -0
- package/types/sites/sa/index.d.ts +4 -0
- package/types/sites/sa/prepare-page-options.d.ts +3 -0
- package/types/sites/sa/prepare-page-options.test.d.ts +1 -0
- package/types/sites/svd/config.d.ts +3 -0
- package/types/sites/svd/events.d.ts +14 -0
- package/types/sites/svd/formats/Insider/index.d.ts +3 -0
- package/types/sites/svd/formats/Panorama/index.d.ts +3 -0
- package/types/sites/svd/formats/Toppanorama/index.d.ts +3 -0
- package/types/sites/svd/formats/Widescreen/index.d.ts +3 -0
- package/types/sites/svd/formats/helpers.d.ts +5 -0
- package/types/sites/svd/formats/index.d.ts +5 -0
- package/types/sites/svd/index.d.ts +3 -0
- package/types/sites/svd/prepare-page-options.d.ts +3 -0
- package/types/sites/svd/prepare-page-options.test.d.ts +1 -0
- package/types/sites/svd/prepare-tag.d.ts +3 -0
- package/types/sites/tek/config.d.ts +3 -0
- package/types/sites/tek/events.d.ts +14 -0
- package/types/sites/tek/fallback-placement-to-backfill.d.ts +2 -0
- package/types/sites/tek/prepare-page-options.d.ts +3 -0
- package/types/sites/tek/prepare-page-options.test.d.ts +1 -0
- package/types/sites/vg/config.d.ts +3 -0
- package/types/sites/vg/custom-events-handler.d.ts +4 -0
- package/types/sites/vg/events.d.ts +14 -0
- package/types/sites/vg/formats/Brandboard/helpers.d.ts +3 -0
- package/types/sites/vg/formats/Netboard/index.d.ts +3 -0
- package/types/sites/vg/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/vg/formats/Topboard/index.d.ts +3 -0
- package/types/sites/vg/formats/Wallpaper/index.d.ts +3 -0
- package/types/sites/vg/formats/index.d.ts +4 -0
- package/types/sites/vg/formats/types.d.ts +4 -0
- package/types/sites/vg/index.d.ts +3 -0
- package/types/sites/vg/prepare-page-options.d.ts +3 -0
- package/types/sites/vg/prepare-page-options.test.d.ts +1 -0
- package/types/sites/vgv2/config.d.ts +3 -0
- package/types/sites/vgv2/custom-events-handler.d.ts +4 -0
- package/types/sites/vgv2/events.d.ts +14 -0
- package/types/sites/vgv2/formats/Brandboard/helpers.d.ts +3 -0
- package/types/sites/vgv2/formats/Netboard/index.d.ts +3 -0
- package/types/sites/vgv2/formats/Skyscraper/index.d.ts +3 -0
- package/types/sites/vgv2/formats/Topboard/index.d.ts +3 -0
- package/types/sites/vgv2/formats/Wallpaper/index.d.ts +3 -0
- package/types/sites/vgv2/formats/index.d.ts +4 -0
- package/types/sites/vgv2/formats/types.d.ts +4 -0
- package/types/sites/vgv2/index.d.ts +3 -0
- package/types/sites/vgv2/prepare-page-options.d.ts +3 -0
- package/types/sites/vgv2/prepare-page-options.test.d.ts +1 -0
- package/types/tests/default-test-data.d.ts +6 -0
- package/types/tests/mock-common.d.ts +2 -0
- package/types/tests/mock-glimr.d.ts +2 -0
- package/types/tests/mock-location.d.ts +2 -0
- package/types/tests/mock-screen-size.d.ts +2 -0
- package/types/tests/mock-tcf.d.ts +2 -0
- package/types/tests/setup-base-config.d.ts +3 -0
- package/types/tests/setupBaseHandlers.d.ts +3 -0
- package/types/tests/types.d.ts +35 -0
- package/types/utils/app-type/index.d.ts +3 -0
- package/types/utils/app-type/index.test.d.ts +1 -0
- package/types/utils/array-into-chunks/index.d.ts +2 -0
- package/types/utils/array-into-chunks/index.test.d.ts +1 -0
- package/types/utils/common/index.d.ts +10 -0
- package/types/utils/common/index.test.d.ts +1 -0
- package/types/utils/data-types/index.d.ts +1 -0
- package/types/utils/data-types/index.test.d.ts +1 -0
- package/types/utils/device/index.d.ts +10 -0
- package/types/utils/device/index.test.d.ts +1 -0
- package/types/utils/element-visibility/index.d.ts +2 -0
- package/types/utils/element-visibility/index.test.d.ts +1 -0
- package/types/utils/http-client/index.d.ts +3 -0
- package/types/utils/http-client/index.test.d.ts +1 -0
- package/types/utils/image/index.d.ts +2 -0
- package/types/utils/image/index.test.d.ts +1 -0
- package/types/utils/library/index.d.ts +3 -0
- package/types/utils/library/index.test.d.ts +1 -0
- package/types/utils/local-storage-client/index.d.ts +3 -0
- package/types/utils/local-storage-client/index.test.d.ts +1 -0
- package/types/utils/module/index.d.ts +3 -0
- package/types/utils/module/index.test.d.ts +1 -0
- package/types/utils/safe-execute-async/index.d.ts +3 -0
- package/types/utils/safe-execute-async/index.test.d.ts +1 -0
- package/types/utils/screen/index.d.ts +4 -0
- package/types/utils/screen/index.test.d.ts +1 -0
- package/types/utils/script/index.d.ts +2 -0
- package/types/utils/script/index.test.d.ts +1 -0
- package/types/utils/session-storage-client/index.d.ts +3 -0
- package/types/utils/session-storage-client/index.test.d.ts +1 -0
- package/types/utils/string/index.d.ts +3 -0
- package/types/utils/string/index.test.d.ts +1 -0
- package/types/utils/styles/index.d.ts +5 -0
- package/types/utils/styles/index.test.d.ts +1 -0
- package/types/utils/url/index.d.ts +3 -0
- package/types/utils/url/index.test.d.ts +1 -0
- package/types/utils/user-agent/index.d.ts +3 -0
- package/types/utils/user-agent/index.test.d.ts +1 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { AstAdType, AstDefineTagParams, AstPageOptions, Events, SafeFrameConfig, AstAdObj, AstKeywords } from './ast';
|
|
2
|
+
import { DeviceType } from './device';
|
|
3
|
+
import { Country } from './countries';
|
|
4
|
+
import { PageType } from './page-types';
|
|
5
|
+
import { Pulse, Tracker } from 'features/interface/tracker';
|
|
6
|
+
import { MarginPriority, PrioPreloadMarginMap } from './margins';
|
|
7
|
+
import { DistributionTypes, FinnBlinkFallback } from 'features/interface/finn-blink';
|
|
8
|
+
import { InitNativeAd } from 'features/interface/ad-native';
|
|
9
|
+
import { Newsroom } from './newsrooms';
|
|
10
|
+
export interface SiteConfig {
|
|
11
|
+
publisher: string;
|
|
12
|
+
country: Country;
|
|
13
|
+
astUrl?: string;
|
|
14
|
+
gptUrl?: string;
|
|
15
|
+
testMember?: number;
|
|
16
|
+
pageType: PageType;
|
|
17
|
+
pageOptions: AstPageOptions;
|
|
18
|
+
placements: Placements;
|
|
19
|
+
keywordsConfig?: KeywordsConfig;
|
|
20
|
+
deviceType: DeviceType;
|
|
21
|
+
isMobileApp?: boolean;
|
|
22
|
+
glimr?: GlimrConfig;
|
|
23
|
+
tcf?: TCFConfig;
|
|
24
|
+
prebid?: PrebidConfig;
|
|
25
|
+
tracker?: Tracker;
|
|
26
|
+
pulse?: Pulse;
|
|
27
|
+
finnBlink?: FinnBlinkConfig;
|
|
28
|
+
wallpaper?: WallpaperConfig;
|
|
29
|
+
fullscreenScroll?: FullscreenScrollConfig;
|
|
30
|
+
appearanceConfig: AppearanceConfig;
|
|
31
|
+
queryConfig?: QueryConfig;
|
|
32
|
+
refreshConfig?: RefreshConfig;
|
|
33
|
+
preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
|
|
34
|
+
takeover?: TakeoverConfig;
|
|
35
|
+
brandmetrics?: BrandmetricsConfig;
|
|
36
|
+
gdpr?: GdprConfig;
|
|
37
|
+
brandboard?: BrandboardConfig;
|
|
38
|
+
norstat?: NorstatConfig;
|
|
39
|
+
siteSpecificConfig?: SiteSpecificConfig;
|
|
40
|
+
sponsorstripe?: SponsorstripeConfig;
|
|
41
|
+
privacyBroker?: PrivacyBrokerConfig;
|
|
42
|
+
drEdition?: DrEditionConfig;
|
|
43
|
+
forwardExternalImpId?: boolean;
|
|
44
|
+
requestSize?: number;
|
|
45
|
+
nativeTrackingConfig?: NativeTrackingConfig;
|
|
46
|
+
sandboxAdIframeEnabled?: boolean;
|
|
47
|
+
pageSectionsSelectors?: PageSectionsSelectors;
|
|
48
|
+
editableConfiguration?: {
|
|
49
|
+
useS3Config?: boolean;
|
|
50
|
+
pageTypeToFetch?: string;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export interface NativeTrackingConfig {
|
|
54
|
+
nativeTrackingEnabled?: boolean;
|
|
55
|
+
fireImpressionsBasedOnAppearanceThreshold?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface SiteSpecificConfig {
|
|
58
|
+
publisherClassName?: Newsroom;
|
|
59
|
+
fullWidthFormatClassName?: 'netboard' | 'panorama';
|
|
60
|
+
classesToRemoveOnRefresh?: Array<string>;
|
|
61
|
+
}
|
|
62
|
+
export interface SiteHandlers {
|
|
63
|
+
prepareTag: (tag: AstDefineTagParams) => AstDefineTagParams;
|
|
64
|
+
siteEvents: Events;
|
|
65
|
+
preparePageOptions: (pageOptions: AstPageOptions) => Promise<AstPageOptions>;
|
|
66
|
+
initNativeAd: InitNativeAd;
|
|
67
|
+
wallpaperHandlers: {
|
|
68
|
+
initWallpaperAd: (showWallpaperTag: () => void, wallpaperOptions?: WallpaperConfig) => void;
|
|
69
|
+
adjustAdToHorseshoe: (targetId: string) => void;
|
|
70
|
+
};
|
|
71
|
+
loadFinnBlinkAd: (targetId: string, props: LoadFinnBlinkAdProps, fallbackToXandr: FinnBlinkFallback | null, callbackAfterFinnBlinkRender?: () => void) => Promise<void>;
|
|
72
|
+
replaceAdsWithFinnBlink: (finnBlink?: FinnBlinkConfig) => Promise<void>;
|
|
73
|
+
initSponsorstripeAd?: (adObj: AstAdObj) => void;
|
|
74
|
+
}
|
|
75
|
+
export interface Placement {
|
|
76
|
+
id: string;
|
|
77
|
+
sizes: Array<Array<number>>;
|
|
78
|
+
allowedFormats: Array<AstAdType>;
|
|
79
|
+
invCode: string;
|
|
80
|
+
keywords: any;
|
|
81
|
+
refresh?: boolean;
|
|
82
|
+
bfCacheRefresh?: boolean;
|
|
83
|
+
priority?: MarginPriority;
|
|
84
|
+
ssa?: boolean;
|
|
85
|
+
threshold?: number;
|
|
86
|
+
finnBlink?: FinnBlinkPlacementConfig;
|
|
87
|
+
nativeCustomProperties?: Array<string>;
|
|
88
|
+
minViewWidth?: number;
|
|
89
|
+
dynamicSizeWidthCheck?: boolean;
|
|
90
|
+
safeframeConfig?: SafeFrameConfig;
|
|
91
|
+
resizeAdParentDiv?: boolean;
|
|
92
|
+
positionConfig?: Array<PositionConfig>;
|
|
93
|
+
drEdition?: DrEditionPlacementConfig;
|
|
94
|
+
isBackfill?: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface Placements {
|
|
97
|
+
desktop: Array<Placement>;
|
|
98
|
+
tablet: Array<Placement>;
|
|
99
|
+
mobile: Array<Placement>;
|
|
100
|
+
}
|
|
101
|
+
export interface AppearanceConfig {
|
|
102
|
+
defaultThreshold: {
|
|
103
|
+
mobile: number;
|
|
104
|
+
tablet: number;
|
|
105
|
+
desktop: number;
|
|
106
|
+
};
|
|
107
|
+
clearProbableDimensionsEnabled?: boolean;
|
|
108
|
+
isDarkModeEnabled?: boolean;
|
|
109
|
+
mainColumnWidth?: number;
|
|
110
|
+
subsectionTheme?: string;
|
|
111
|
+
}
|
|
112
|
+
interface PageSectionsSelectors {
|
|
113
|
+
top?: string;
|
|
114
|
+
left?: string;
|
|
115
|
+
right?: string;
|
|
116
|
+
main?: string;
|
|
117
|
+
mainFirstColumn?: string;
|
|
118
|
+
mainSecondColumn?: string;
|
|
119
|
+
}
|
|
120
|
+
interface KeywordsConfig {
|
|
121
|
+
includeCountingKeywordInTags?: boolean;
|
|
122
|
+
sponsors?: string;
|
|
123
|
+
}
|
|
124
|
+
interface QueryConfig {
|
|
125
|
+
queryByDataDevice?: boolean;
|
|
126
|
+
lazyLoadingV3?: {
|
|
127
|
+
enabled: boolean;
|
|
128
|
+
rootMargin: string;
|
|
129
|
+
};
|
|
130
|
+
placementBatches?: PlacementBatchesConfig;
|
|
131
|
+
}
|
|
132
|
+
interface PositionConfig {
|
|
133
|
+
adPositionIndex: number;
|
|
134
|
+
sizes?: Array<Array<number>>;
|
|
135
|
+
keywords?: AstKeywords;
|
|
136
|
+
}
|
|
137
|
+
type FinnBlinkTheme = 'light' | 'dark';
|
|
138
|
+
export interface FinnBlinkConfig {
|
|
139
|
+
enabled?: boolean;
|
|
140
|
+
channel?: string;
|
|
141
|
+
userId?: string;
|
|
142
|
+
uuid?: string;
|
|
143
|
+
identifierUrl?: string;
|
|
144
|
+
theme?: FinnBlinkTheme;
|
|
145
|
+
replacementConfig?: {
|
|
146
|
+
adsToReplace?: Array<Array<string>>;
|
|
147
|
+
sizes?: {
|
|
148
|
+
width: number;
|
|
149
|
+
height: number;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
export interface LoadFinnBlinkAdProps {
|
|
154
|
+
publisher: string;
|
|
155
|
+
country: string;
|
|
156
|
+
finnBlink?: FinnBlinkConfig;
|
|
157
|
+
}
|
|
158
|
+
export interface FinnBlinkPlacementConfig {
|
|
159
|
+
enabled: boolean;
|
|
160
|
+
renderOnlyWithAdBlock?: boolean;
|
|
161
|
+
position: string;
|
|
162
|
+
distributionTypes?: Array<DistributionTypes>;
|
|
163
|
+
height?: number;
|
|
164
|
+
limit?: number;
|
|
165
|
+
offset?: number;
|
|
166
|
+
requireImage?: boolean;
|
|
167
|
+
rec?: boolean;
|
|
168
|
+
theme?: FinnBlinkTheme;
|
|
169
|
+
advertoryTheme?: string;
|
|
170
|
+
}
|
|
171
|
+
export interface PrebidConfig {
|
|
172
|
+
enabled: boolean;
|
|
173
|
+
url: string;
|
|
174
|
+
id: string;
|
|
175
|
+
externalUidInAuctionEnabled: boolean;
|
|
176
|
+
relevantCbTimeout?: number;
|
|
177
|
+
forwardGlimrTags?: boolean;
|
|
178
|
+
}
|
|
179
|
+
export interface TCFConfig {
|
|
180
|
+
enabled: boolean;
|
|
181
|
+
timeout?: number;
|
|
182
|
+
}
|
|
183
|
+
export interface GlimrConfig {
|
|
184
|
+
enabled: boolean;
|
|
185
|
+
clientId: string;
|
|
186
|
+
}
|
|
187
|
+
export interface WallpaperConfig {
|
|
188
|
+
enabled: boolean;
|
|
189
|
+
options?: WallpaperConfigOptions;
|
|
190
|
+
}
|
|
191
|
+
interface WallpaperConfigOptions {
|
|
192
|
+
appMainContainerSelector?: string;
|
|
193
|
+
wallpaperAnchorSelector?: string;
|
|
194
|
+
}
|
|
195
|
+
interface BrandmetricsConfig {
|
|
196
|
+
enabled: boolean;
|
|
197
|
+
url: string;
|
|
198
|
+
}
|
|
199
|
+
interface GdprConfig {
|
|
200
|
+
url?: string;
|
|
201
|
+
allowHidingAds?: boolean;
|
|
202
|
+
}
|
|
203
|
+
export interface FullscreenScrollConfig {
|
|
204
|
+
fadingHeaderEnabled: boolean;
|
|
205
|
+
headerSelectors: Array<string>;
|
|
206
|
+
skyscraperSelectors?: Array<string>;
|
|
207
|
+
headerZIndex: number;
|
|
208
|
+
overlayStyles?: OverlayStyles;
|
|
209
|
+
moveCogwheelToTheLeft?: boolean;
|
|
210
|
+
}
|
|
211
|
+
export interface OverlayStyles {
|
|
212
|
+
backgroundColor?: string;
|
|
213
|
+
foregroundColor?: string;
|
|
214
|
+
articlesContainerWidth?: number;
|
|
215
|
+
margin?: string;
|
|
216
|
+
beforeContentValue?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface RefreshConfig {
|
|
219
|
+
delayTime?: number;
|
|
220
|
+
scrollRefreshEnabled?: boolean;
|
|
221
|
+
visibilityStateRefreshEnabled?: boolean;
|
|
222
|
+
backForwardNavigationRefreshEnabled?: boolean;
|
|
223
|
+
}
|
|
224
|
+
export interface WelcomePageConfig {
|
|
225
|
+
showArrowIcon?: boolean;
|
|
226
|
+
headerElementSelector?: string;
|
|
227
|
+
buttonLabel?: string;
|
|
228
|
+
showCloseButton?: boolean;
|
|
229
|
+
}
|
|
230
|
+
export interface BrandboardConfig {
|
|
231
|
+
enabled: boolean;
|
|
232
|
+
sidebarContainerSelector: string;
|
|
233
|
+
sidebarItemsContainerSelector: string;
|
|
234
|
+
}
|
|
235
|
+
export interface SplashConfig {
|
|
236
|
+
themeColors?: ThemeColors;
|
|
237
|
+
buttonLabel: string;
|
|
238
|
+
logotype: Logotype;
|
|
239
|
+
showArrowIcon?: boolean;
|
|
240
|
+
showAnnonsLabel?: boolean;
|
|
241
|
+
}
|
|
242
|
+
export interface TakeoverConfig {
|
|
243
|
+
enabled?: boolean;
|
|
244
|
+
splash?: SplashConfig;
|
|
245
|
+
welcomePage?: WelcomePageConfig;
|
|
246
|
+
topscroller?: WelcomePageConfig;
|
|
247
|
+
cookieCapName?: string | null;
|
|
248
|
+
cookieCapTime?: number;
|
|
249
|
+
setCookieCapForNotShownAd?: boolean;
|
|
250
|
+
}
|
|
251
|
+
export interface Logotype {
|
|
252
|
+
url: string;
|
|
253
|
+
alt: string;
|
|
254
|
+
}
|
|
255
|
+
export interface ThemeColors {
|
|
256
|
+
backgroundColor: string;
|
|
257
|
+
color: string;
|
|
258
|
+
}
|
|
259
|
+
export interface NorstatConfig {
|
|
260
|
+
enabled: true;
|
|
261
|
+
}
|
|
262
|
+
export interface SponsorstripeConfig {
|
|
263
|
+
toogleEnabled: boolean;
|
|
264
|
+
headerSelector?: string;
|
|
265
|
+
containersSelectors?: Array<string>;
|
|
266
|
+
}
|
|
267
|
+
export interface PrivacyBrokerConfig {
|
|
268
|
+
enabled: boolean;
|
|
269
|
+
clientId: string;
|
|
270
|
+
storageKeyPrefix: string;
|
|
271
|
+
}
|
|
272
|
+
export interface DrEditionConfig {
|
|
273
|
+
enabled: boolean;
|
|
274
|
+
containerSelector: string;
|
|
275
|
+
wrapperSelector: string;
|
|
276
|
+
fallbackGlobalEditionName?: string;
|
|
277
|
+
videoScriptUrl?: string;
|
|
278
|
+
addPreviewVideo?: (videoElement: HTMLElement) => void;
|
|
279
|
+
}
|
|
280
|
+
export interface DrEditionPlacementConfig {
|
|
281
|
+
editionName: string;
|
|
282
|
+
}
|
|
283
|
+
export interface DevicePlacementBatches {
|
|
284
|
+
[key: string]: Array<string>;
|
|
285
|
+
}
|
|
286
|
+
export type PlacementBatchesConfig = {
|
|
287
|
+
[device in DeviceType]: DevicePlacementBatches;
|
|
288
|
+
};
|
|
289
|
+
export type PlacementsGroup = Record<string, Array<Placement>>;
|
|
290
|
+
export declare const UpdatableConfigProperties: readonly ["deviceType", "pageType", "placements", "takeover", "refreshConfig", "editableConfiguration"];
|
|
291
|
+
export type UpdatableConfigProperty = (typeof UpdatableConfigProperties)[number];
|
|
292
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const DeviceTypes: {
|
|
2
|
+
readonly MOBILE: "mobile";
|
|
3
|
+
readonly TABLET: "tablet";
|
|
4
|
+
readonly DESKTOP: "desktop";
|
|
5
|
+
};
|
|
6
|
+
export type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
|
|
7
|
+
export type PrepareOptionsDeviceType = 'phone' | 'tablet' | 'desktop';
|
|
8
|
+
export interface DeviceParams {
|
|
9
|
+
OS: string;
|
|
10
|
+
mobileOS: string;
|
|
11
|
+
isHybridApp: boolean;
|
|
12
|
+
appMode: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const SpecialFormats: {
|
|
2
|
+
readonly ABSOLUTE_FULLSCREEN: "ABSOLUTE_FULLSCREEN";
|
|
3
|
+
readonly FIXED_FULLSCREEN: "FIXED_FULLSCREEN";
|
|
4
|
+
readonly ANY_FULLSCREEN: "ANY_FULLSCREEN";
|
|
5
|
+
readonly VERTICAL_FULLWIDTH: "VERTICAL_FULLWIDTH";
|
|
6
|
+
readonly FULLWIDTH: "FULLWIDTH";
|
|
7
|
+
readonly NATIVE_AD: "NATIVE_AD";
|
|
8
|
+
readonly TAKEOVER: "TAKEOVER";
|
|
9
|
+
readonly WALLPAPER: "WALLPAPER";
|
|
10
|
+
readonly COLLAPSE: "COLLAPSE";
|
|
11
|
+
};
|
|
12
|
+
export type SpecialFormat = (typeof SpecialFormats)[keyof typeof SpecialFormats];
|
|
13
|
+
export declare const SpecialFormatSizes: {
|
|
14
|
+
ANY_FULLSCREEN: {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
}[];
|
|
18
|
+
ABSOLUTE_FULLSCREEN: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
}[];
|
|
22
|
+
VERTICAL_FULLWIDTH: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
}[];
|
|
26
|
+
FIXED_FULLSCREEN: {
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
}[];
|
|
30
|
+
FULLWIDTH: ({
|
|
31
|
+
width: number;
|
|
32
|
+
height?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
})[];
|
|
37
|
+
NATIVE_AD: {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
}[];
|
|
41
|
+
TAKEOVER: {
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
}[];
|
|
45
|
+
WALLPAPER: {
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
}[];
|
|
49
|
+
COLLAPSE: {
|
|
50
|
+
width: number;
|
|
51
|
+
height: number;
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
declare const DYNAMIC_SIZE_WIDTH_MAPPER: {
|
|
55
|
+
wallpaper: number;
|
|
56
|
+
'l-format': number;
|
|
57
|
+
};
|
|
58
|
+
export type DynamicSizeFormat = keyof typeof DYNAMIC_SIZE_WIDTH_MAPPER;
|
|
59
|
+
export { DYNAMIC_SIZE_WIDTH_MAPPER };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EmptyObject } from './common';
|
|
2
|
+
import { CMPChoice } from './cmp';
|
|
3
|
+
import { PageType } from './page-types';
|
|
4
|
+
import { Country } from './countries';
|
|
5
|
+
import { GlimrPublisher } from './publishers';
|
|
6
|
+
export interface ExternalIdSrcKeywords {
|
|
7
|
+
'aa-sch-externalid_src': number;
|
|
8
|
+
}
|
|
9
|
+
export interface SeExternalIdSrcKeywords {
|
|
10
|
+
'se-generic-externalid_src': number;
|
|
11
|
+
}
|
|
12
|
+
export interface ScreenKeywords {
|
|
13
|
+
'se-generic-viewportheight': number;
|
|
14
|
+
'se-generic-viewportwidth': number;
|
|
15
|
+
'se-generic-screenheight': number;
|
|
16
|
+
'se-generic-screenwidth': number;
|
|
17
|
+
}
|
|
18
|
+
interface SeDeviceKeywords {
|
|
19
|
+
'se-generic-sitemode': string;
|
|
20
|
+
}
|
|
21
|
+
interface NoDeviceKeywords {
|
|
22
|
+
'no-sno-device': string;
|
|
23
|
+
}
|
|
24
|
+
export type DeviceKeywords = SeDeviceKeywords | NoDeviceKeywords | EmptyObject;
|
|
25
|
+
interface SeApptypeKeywords {
|
|
26
|
+
'se-generic-appmode': string;
|
|
27
|
+
'se-generic-mobileos': string;
|
|
28
|
+
}
|
|
29
|
+
interface NoApptypeKeywords {
|
|
30
|
+
'no-sno-apptype': string;
|
|
31
|
+
}
|
|
32
|
+
export type AppTypeKeywords = SeApptypeKeywords | NoApptypeKeywords | EmptyObject;
|
|
33
|
+
export interface SupplyTypeKeywords {
|
|
34
|
+
'aa-sch-supply_type': string;
|
|
35
|
+
}
|
|
36
|
+
export interface SDKVersionKeywords {
|
|
37
|
+
'se-generic-sdk-version': string;
|
|
38
|
+
}
|
|
39
|
+
export interface PublisherKeywords {
|
|
40
|
+
'aa-sch-publisher': string;
|
|
41
|
+
}
|
|
42
|
+
export interface SeGlimrKeywords {
|
|
43
|
+
'se-generic-geo': Array<string>;
|
|
44
|
+
'se-generic--weather': Array<string>;
|
|
45
|
+
'se-generic-geofence': Array<string>;
|
|
46
|
+
}
|
|
47
|
+
export interface NoGlimrKeywords {
|
|
48
|
+
'no-sno-geo': Array<string | GlimrPublisher>;
|
|
49
|
+
'no-sno-weather': Array<string>;
|
|
50
|
+
'no-sno-geofence': Array<string>;
|
|
51
|
+
}
|
|
52
|
+
export interface AdvertisingConsentKeywords {
|
|
53
|
+
'aa-sch-cmp_advertising': CMPChoice;
|
|
54
|
+
}
|
|
55
|
+
export interface AnalyticsConsentKeywords {
|
|
56
|
+
'aa-sch-cmp_analytics': CMPChoice;
|
|
57
|
+
}
|
|
58
|
+
export interface PageTypeKeywords {
|
|
59
|
+
'aa-sch-page_type': PageType;
|
|
60
|
+
}
|
|
61
|
+
export interface PublisherGroupKeywords {
|
|
62
|
+
'se-generic-publishergroup': 'schibsted';
|
|
63
|
+
}
|
|
64
|
+
export interface CountryCodeKeywords {
|
|
65
|
+
'aa-sch-country_code': Country;
|
|
66
|
+
}
|
|
67
|
+
export interface InventoryTypeKeywords {
|
|
68
|
+
'aa-sch-inventory_type': 'editorial';
|
|
69
|
+
}
|
|
70
|
+
export interface ObituariesKeywords {
|
|
71
|
+
'no-sno-news-section': string;
|
|
72
|
+
}
|
|
73
|
+
export interface SponsorsKeywords {
|
|
74
|
+
'no-sno-news-sponsors': Array<string>;
|
|
75
|
+
}
|
|
76
|
+
export interface ContextExistKeywords {
|
|
77
|
+
'aa-sch-has_context_keyword': number;
|
|
78
|
+
}
|
|
79
|
+
export interface TcfConsentKeywords {
|
|
80
|
+
gdpr: number;
|
|
81
|
+
gdpr_consent: string;
|
|
82
|
+
}
|
|
83
|
+
export interface PlusExistKeyword {
|
|
84
|
+
'se-generic-has_plus': 'yes' | 'no';
|
|
85
|
+
}
|
|
86
|
+
export type AbMembershipLevels = 'regular' | 'loggedin' | 'plus';
|
|
87
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface LocalStorageClient {
|
|
2
|
+
get: <T>(key: string) => T | null;
|
|
3
|
+
set: <T>(key: string, value: T | null) => void;
|
|
4
|
+
setWithTimestamp: <T>(key: string, value: T | null, timestamp?: number) => void;
|
|
5
|
+
getByTimestamp: <T>(key: string, expirationTime?: number) => T | null;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type MarginPriority = 'high' | 'normal' | 'low';
|
|
2
|
+
export type MarginsConfig = Record<MarginPriority, PrioEntry>;
|
|
3
|
+
export interface PrioEntry {
|
|
4
|
+
renderMargin: number;
|
|
5
|
+
refreshMargin: number;
|
|
6
|
+
}
|
|
7
|
+
export interface PrioPreloadMarginMap {
|
|
8
|
+
high?: Partial<PrioEntry>;
|
|
9
|
+
normal?: Partial<PrioEntry>;
|
|
10
|
+
low?: Partial<PrioEntry>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BlinkConstructor } from 'features/interface/finn-blink';
|
|
2
|
+
export declare const ES_MODULE_KEYS: {
|
|
3
|
+
readonly Blink: "Blink";
|
|
4
|
+
};
|
|
5
|
+
type ESModuleKey = (typeof ES_MODULE_KEYS)[keyof typeof ES_MODULE_KEYS];
|
|
6
|
+
export type ESMModules = {
|
|
7
|
+
[K in ESModuleKey]?: BlinkConstructor;
|
|
8
|
+
};
|
|
9
|
+
interface LoadModuleOptions {
|
|
10
|
+
timeout?: number;
|
|
11
|
+
}
|
|
12
|
+
export type LoadModule = (source: string, options?: LoadModuleOptions) => Promise<void>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const Newsrooms: {
|
|
2
|
+
readonly SVD: "svd";
|
|
3
|
+
readonly VG: "vg";
|
|
4
|
+
readonly GODARE: "godare";
|
|
5
|
+
readonly AFTENPOSTEN: "aftenposten";
|
|
6
|
+
readonly SA: "sa";
|
|
7
|
+
readonly BT: "bt";
|
|
8
|
+
readonly AFTONBLADET: "aftonbladet";
|
|
9
|
+
readonly E24: "e24";
|
|
10
|
+
readonly MINMOTE: "minmote";
|
|
11
|
+
readonly PENT: "pent";
|
|
12
|
+
readonly GODT: "godt";
|
|
13
|
+
readonly TEK: "tekno";
|
|
14
|
+
readonly KLART: "klart";
|
|
15
|
+
readonly POLARIS: "polaris";
|
|
16
|
+
};
|
|
17
|
+
export type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AstApnTag } from './ast';
|
|
2
|
+
export interface ObserverOptions {
|
|
3
|
+
rootMargin: string;
|
|
4
|
+
}
|
|
5
|
+
export type RefreshAdType = (apntag: AstApnTag, targetId: string, target: HTMLElement) => void;
|
|
6
|
+
export type onRefreshType = (apntag: AstApnTag, targetId: string, yPosition: number, renderTime: number, delayTime: number, target: HTMLElement) => void;
|
|
7
|
+
export type onChangeType = (apntag: AstApnTag, targetId: string) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type OSTypes = 'windows' | 'macos' | 'linux' | 'android' | 'ios' | 'unknown';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const GlimrPublishers: {
|
|
2
|
+
readonly svd: "svd";
|
|
3
|
+
readonly vg: "vg";
|
|
4
|
+
readonly godare: "godare";
|
|
5
|
+
readonly aftenposten: "no-aftenposten";
|
|
6
|
+
readonly sa: "no-stavangeraftenblad";
|
|
7
|
+
readonly bt: "no-bergenstidende";
|
|
8
|
+
readonly aftonbladet: "aftonbladet";
|
|
9
|
+
readonly e24: "e24";
|
|
10
|
+
readonly minmote: "minmote";
|
|
11
|
+
readonly pent: "pent";
|
|
12
|
+
readonly godt: "godt";
|
|
13
|
+
readonly tek: "no-tek";
|
|
14
|
+
};
|
|
15
|
+
export type GlimrPublisher = (typeof GlimrPublishers)[keyof typeof GlimrPublishers];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AstKeywords } from './ast';
|
|
2
|
+
export interface DefaultStorageData {
|
|
3
|
+
wallpaper: {
|
|
4
|
+
isAvailable: boolean;
|
|
5
|
+
};
|
|
6
|
+
horseshoe: {
|
|
7
|
+
isAvailable: boolean;
|
|
8
|
+
};
|
|
9
|
+
initialClassNames: {
|
|
10
|
+
[key: string]: {
|
|
11
|
+
wrapper?: Array<string>;
|
|
12
|
+
container?: Array<string>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
alertoryConfigKeywords: AstKeywords;
|
|
16
|
+
}
|
|
17
|
+
export interface StorageData extends DefaultStorageData {
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PixelValue = `${number}px`;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
|
|
2
|
+
export type ConsentedToAllCallback = (value: boolean) => void;
|
|
3
|
+
export type GetConsentToAllSync = () => boolean | null;
|
|
4
|
+
export interface ConsentManager {
|
|
5
|
+
getConsentedToAllSync: GetConsentToAllSync;
|
|
6
|
+
isConsentedToAll: IsConsentedToAll;
|
|
7
|
+
}
|
|
8
|
+
export interface TCFConsentUtilities {
|
|
9
|
+
initConsentManager: () => Promise<ConsentManager>;
|
|
10
|
+
getConsentSync: () => boolean | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PageOptions } from './prepare-page-options';
|
|
2
|
+
import { AppTypeKeywords, DeviceKeywords, ObituariesKeywords } from 'core/interface/keywords';
|
|
3
|
+
import { Newsroom } from 'core/interface/newsrooms';
|
|
4
|
+
import { EmptyObject } from 'core/interface/common';
|
|
5
|
+
export declare class PageOptionsNO extends PageOptions {
|
|
6
|
+
protected getAppTypeKeywords(): AppTypeKeywords;
|
|
7
|
+
protected getDeviceKeywords: () => DeviceKeywords;
|
|
8
|
+
protected getObituariesKeywords(site: Newsroom): ObituariesKeywords | EmptyObject;
|
|
9
|
+
}
|