@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,7 @@
|
|
|
1
|
+
import { AstAdObj } from 'core/interface/ast';
|
|
2
|
+
import { Placement, SiteConfig } from 'core/interface/config';
|
|
3
|
+
declare const PLACEMENTS_ALREADY_REQUESTED: Array<string>;
|
|
4
|
+
declare const getDrEditionFallbackPlacement: (config: SiteConfig, adObj: AstAdObj) => Placement | null;
|
|
5
|
+
declare const handleDrEditionBackfill: (config: SiteConfig, adObj: AstAdObj) => Promise<void>;
|
|
6
|
+
declare const handleDrEdition: (siteConfig: SiteConfig) => Promise<void>;
|
|
7
|
+
export { handleDrEditionBackfill, handleDrEdition, getDrEditionFallbackPlacement, PLACEMENTS_ALREADY_REQUESTED };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DrEditionObserverConfig } from './types';
|
|
2
|
+
import { IdentityFacade } from '../privacy-broker/identity-facade';
|
|
3
|
+
import { PulseInstance } from '../interface/tracker';
|
|
4
|
+
declare const observeDrEditionAds: (observerConfig: DrEditionObserverConfig, identityFacade: IdentityFacade, pulse?: PulseInstance) => void;
|
|
5
|
+
export { observeDrEditionAds };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DrEdition, PulseManager, ElementSourceEventInputTarget, DrEditionParams, EventType, Strategy, PulsePageType, DrEditionElementType } from '../types';
|
|
2
|
+
import { PulseInstance } from 'features/interface/tracker';
|
|
3
|
+
import { PageType } from 'core/interface/page-types';
|
|
4
|
+
declare class DefaultPulseManager implements PulseManager {
|
|
5
|
+
protected readonly pulse?: PulseInstance | undefined;
|
|
6
|
+
protected readonly newsroomStrategy?: Strategy | undefined;
|
|
7
|
+
constructor(pulse?: PulseInstance | undefined, newsroomStrategy?: Strategy | undefined);
|
|
8
|
+
protected getEventInput(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams, type: EventType): object;
|
|
9
|
+
protected mapPageType(pageType?: PageType): PulsePageType;
|
|
10
|
+
protected getArticleId(): string;
|
|
11
|
+
protected getTeaserElementText(root: HTMLElement, elementType: DrEditionElementType): string;
|
|
12
|
+
protected getEventTarget(root: HTMLElement, drEdition: DrEdition): ElementSourceEventInputTarget;
|
|
13
|
+
protected normalizePlacementTitle(title: string): string;
|
|
14
|
+
trackContentView(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): Promise<void>;
|
|
15
|
+
trackContentClick(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
export { DefaultPulseManager };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DrEdition, PulseManager, EventInputObject, DrEditionParams, EventType, Strategy } from '../types';
|
|
2
|
+
import { PulseInstance } from 'features/interface/tracker';
|
|
3
|
+
import { DefaultPulseManager } from './default-pulse-manager';
|
|
4
|
+
import { PageType } from 'core/interface/page-types';
|
|
5
|
+
declare class NoPulseManager extends DefaultPulseManager implements PulseManager {
|
|
6
|
+
protected readonly pulse?: PulseInstance | undefined;
|
|
7
|
+
protected readonly newsroomStrategy?: Strategy | undefined;
|
|
8
|
+
protected readonly pageType?: PageType | undefined;
|
|
9
|
+
constructor(pulse?: PulseInstance | undefined, newsroomStrategy?: Strategy | undefined, pageType?: PageType | undefined);
|
|
10
|
+
protected getEventBaseData(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): EventInputObject;
|
|
11
|
+
protected getEventInput(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams, type: EventType): object;
|
|
12
|
+
protected getEventPartnerstudioData(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams, type: EventType): object;
|
|
13
|
+
protected getProviderData(): object;
|
|
14
|
+
}
|
|
15
|
+
export { NoPulseManager };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DrEdition, PulseManager, EventInputObject, DrEditionParams, Strategy } from '../types';
|
|
2
|
+
import { PulseInstance } from 'features/interface/tracker';
|
|
3
|
+
import { DefaultPulseManager } from './default-pulse-manager';
|
|
4
|
+
import { PageType } from 'core/interface/page-types';
|
|
5
|
+
declare class SePulseManager extends DefaultPulseManager implements PulseManager {
|
|
6
|
+
protected readonly pulse?: PulseInstance | undefined;
|
|
7
|
+
protected readonly newsroomStrategy?: Strategy | undefined;
|
|
8
|
+
protected readonly pageType?: PageType | undefined;
|
|
9
|
+
constructor(pulse?: PulseInstance | undefined, newsroomStrategy?: Strategy | undefined, pageType?: PageType | undefined);
|
|
10
|
+
protected getEventBaseData(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): EventInputObject;
|
|
11
|
+
protected getEventInput(root: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): object;
|
|
12
|
+
}
|
|
13
|
+
export { SePulseManager };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Renderer, DrEditionParams, DrEdition, Strategy, PulseManager } from './types';
|
|
2
|
+
export declare class DefaultRenderer implements Renderer {
|
|
3
|
+
private readonly newsroomStrategy;
|
|
4
|
+
private readonly pulseManager;
|
|
5
|
+
constructor(newsroomStrategy: Strategy, pulseManager: PulseManager);
|
|
6
|
+
render(container: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): void;
|
|
7
|
+
}
|
|
8
|
+
export { Renderer };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DrEdition, Strategy } from 'features/dr-edition/types';
|
|
2
|
+
declare class AftonbladetStrategy implements Strategy {
|
|
3
|
+
handleVideo(videoElement: HTMLElement, { videoConfiguration: { id, node, autoplay, mute, vendor } }: DrEdition): Promise<void>;
|
|
4
|
+
private addEditionVideoClass;
|
|
5
|
+
getPulseObjectId(): string;
|
|
6
|
+
getPulsePageId(): string;
|
|
7
|
+
}
|
|
8
|
+
export { AftonbladetStrategy };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DrEdition, Strategy } from '../types';
|
|
2
|
+
import { PageType } from 'core/interface/page-types';
|
|
3
|
+
declare class DefaultStrategy implements Strategy {
|
|
4
|
+
handleVideo(videoElement: HTMLElement, drEditionAd: DrEdition): void;
|
|
5
|
+
getPulseObjectId(): string;
|
|
6
|
+
getPulsePageId(pageType: PageType, articleId: string | undefined): string;
|
|
7
|
+
}
|
|
8
|
+
export { DefaultStrategy };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DrEdition, Strategy } from 'features/dr-edition/types';
|
|
2
|
+
import { PageType } from 'core/interface/page-types';
|
|
3
|
+
declare class E24Strategy implements Strategy {
|
|
4
|
+
handleVideo(videoElement: HTMLElement, { videoConfiguration: { id, node, autoplay, mute, vendor } }: DrEdition): Promise<void>;
|
|
5
|
+
getPulseObjectId(): string;
|
|
6
|
+
getPulsePageId(pageType: PageType, articleId?: string): string;
|
|
7
|
+
getTags(root: HTMLElement | HTMLAnchorElement): Array<string>;
|
|
8
|
+
private createPlayerOverlay;
|
|
9
|
+
}
|
|
10
|
+
export { E24Strategy };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DrEdition, DrEditionParams, Strategy } from 'features/dr-edition/types';
|
|
2
|
+
declare class VGStrategy implements Strategy {
|
|
3
|
+
getDrEditionUTMParams(drEditionAd: DrEdition, drEditionParams: DrEditionParams): object;
|
|
4
|
+
getUrlSearchParams(anchorElement: HTMLAnchorElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams): string;
|
|
5
|
+
getUrlWithParams(drEditionAd: DrEdition, drEditionParams: DrEditionParams): string;
|
|
6
|
+
handleVideo(videoElement: HTMLElement, drEditionAd: DrEdition): Promise<void>;
|
|
7
|
+
getPulseObjectId(): string;
|
|
8
|
+
getPulsePageId(): string;
|
|
9
|
+
getTags(root: HTMLElement | HTMLAnchorElement): Array<string>;
|
|
10
|
+
}
|
|
11
|
+
export { VGStrategy };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { DrEditionConfig, TCFConfig } from 'core/interface/config';
|
|
2
|
+
import { DeviceType } from 'core/interface/device';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { PageType } from 'core/interface/page-types';
|
|
5
|
+
import { Country } from 'core/interface/countries';
|
|
6
|
+
export interface DrEditionParams {
|
|
7
|
+
editionName: string;
|
|
8
|
+
columnName?: string;
|
|
9
|
+
primaryPosition?: string;
|
|
10
|
+
drEditionConfig: DrEditionConfig;
|
|
11
|
+
device: DeviceType;
|
|
12
|
+
tcf?: TCFConfig;
|
|
13
|
+
renderAsBackfill?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface DrEditionObserverConfig {
|
|
16
|
+
publisher: string;
|
|
17
|
+
drEditionConfig: DrEditionConfig;
|
|
18
|
+
device: DeviceType;
|
|
19
|
+
pageType: PageType;
|
|
20
|
+
country: Country;
|
|
21
|
+
}
|
|
22
|
+
export interface VideoConfiguration {
|
|
23
|
+
id: number;
|
|
24
|
+
vendor: string;
|
|
25
|
+
node: string;
|
|
26
|
+
autoplay: boolean;
|
|
27
|
+
mute: boolean;
|
|
28
|
+
videoLoop: boolean;
|
|
29
|
+
preview: {
|
|
30
|
+
url: string;
|
|
31
|
+
thumbnail: {
|
|
32
|
+
url: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface PulseData {
|
|
37
|
+
id: string;
|
|
38
|
+
url: string;
|
|
39
|
+
clientName: string;
|
|
40
|
+
title: string;
|
|
41
|
+
creativeId: string;
|
|
42
|
+
itemId: string;
|
|
43
|
+
editionId: string;
|
|
44
|
+
algorithm?: 'sov' | 'mab';
|
|
45
|
+
probability?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface DrEdition {
|
|
48
|
+
itemId: string;
|
|
49
|
+
mobileHTML: string;
|
|
50
|
+
desktopHTML: string;
|
|
51
|
+
desktopIrisVersion: string;
|
|
52
|
+
mobileIrisVersion: string;
|
|
53
|
+
videoConfiguration: VideoConfiguration;
|
|
54
|
+
pulseData: PulseData;
|
|
55
|
+
css: string;
|
|
56
|
+
}
|
|
57
|
+
export type DrEditionElementType = 'title' | 'subtitle' | 'image';
|
|
58
|
+
export interface Renderer {
|
|
59
|
+
render: (container: HTMLElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams) => void;
|
|
60
|
+
}
|
|
61
|
+
export interface Strategy {
|
|
62
|
+
getDrEditionUTMParams?: (drEditionAd: DrEdition, drEditionParams: DrEditionParams) => object;
|
|
63
|
+
getUrlWithParams?: (drEditionAd: DrEdition, drEditionParams: DrEditionParams) => string;
|
|
64
|
+
getUrlSearchParams?: (anchor: HTMLAnchorElement, drEditionAd: DrEdition, drEditionParams: DrEditionParams) => string;
|
|
65
|
+
appendTrackingDataScript?: (pulseData: PulseData, editionName: string, container: HTMLElement | null) => void;
|
|
66
|
+
appendDataAttributesForContainer?: (element: HTMLElement, pulseData: PulseData, placementId: string) => void;
|
|
67
|
+
handleVideo: (videoElement: HTMLElement, drEditionAd: DrEdition) => void;
|
|
68
|
+
getPulseObjectId: () => string;
|
|
69
|
+
getPulsePageId: (pageType: PageType, articleId?: string) => string;
|
|
70
|
+
getTags?: (anchor: HTMLElement | HTMLAnchorElement) => Array<string>;
|
|
71
|
+
}
|
|
72
|
+
export interface VideoManager {
|
|
73
|
+
handle: (drEditionAd: DrEdition, drEditionParams: DrEditionParams) => Promise<void>;
|
|
74
|
+
}
|
|
75
|
+
export interface PulseManager {
|
|
76
|
+
trackContentView: (root: HTMLElement, content: DrEdition, drEditionParams: DrEditionParams) => Promise<void>;
|
|
77
|
+
trackContentClick: (root: HTMLElement, content: DrEdition, drEditionParams: DrEditionParams) => Promise<void>;
|
|
78
|
+
}
|
|
79
|
+
export interface Ids {
|
|
80
|
+
spid: string;
|
|
81
|
+
envId: string;
|
|
82
|
+
}
|
|
83
|
+
export type PulsePageType = 'Article' | 'Content' | 'Frontpage' | 'LandingPage' | 'Listing' | 'Page' | 'SalesPoster' | 'Studio';
|
|
84
|
+
interface ElementSourceEventInputPage {
|
|
85
|
+
'@id': string;
|
|
86
|
+
'@type': PulsePageType;
|
|
87
|
+
url?: string;
|
|
88
|
+
name?: string;
|
|
89
|
+
}
|
|
90
|
+
export type EventType = 'view' | 'click';
|
|
91
|
+
export interface EventInputObject {
|
|
92
|
+
'@id'?: string;
|
|
93
|
+
'@type': string;
|
|
94
|
+
name?: string;
|
|
95
|
+
category?: string;
|
|
96
|
+
page?: ElementSourceEventInputPage;
|
|
97
|
+
position?: string;
|
|
98
|
+
size?: string;
|
|
99
|
+
scrollPosition?: number;
|
|
100
|
+
duration?: number;
|
|
101
|
+
url?: string;
|
|
102
|
+
custom?: {
|
|
103
|
+
[key: string]: unknown;
|
|
104
|
+
};
|
|
105
|
+
[key: string]: unknown;
|
|
106
|
+
}
|
|
107
|
+
export interface ElementSourceEventInputTarget {
|
|
108
|
+
id: string;
|
|
109
|
+
type: PulsePageType;
|
|
110
|
+
name?: string;
|
|
111
|
+
category?: string;
|
|
112
|
+
url?: string;
|
|
113
|
+
[key: string]: unknown;
|
|
114
|
+
}
|
|
115
|
+
export interface DrEditionComponentProps {
|
|
116
|
+
editionName: string;
|
|
117
|
+
fallbackTargetId: string;
|
|
118
|
+
children: ReactNode;
|
|
119
|
+
pulseData: {
|
|
120
|
+
[key: string]: string;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export type DrEditionObserverProperties = Pick<DrEditionObserverConfig, 'publisher' | 'pageType' | 'country'>;
|
|
124
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DrEdition, DrEditionParams, Strategy, VideoManager } from './types';
|
|
2
|
+
declare class DefaultVideoManager implements VideoManager {
|
|
3
|
+
private readonly strategy;
|
|
4
|
+
constructor(strategy: Strategy);
|
|
5
|
+
handle(drEditionAd: DrEdition, drEditionParams: DrEditionParams): Promise<void>;
|
|
6
|
+
private importScript;
|
|
7
|
+
private createVideoElement;
|
|
8
|
+
private handlePreviewVideo;
|
|
9
|
+
}
|
|
10
|
+
export { DefaultVideoManager };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SiteConfig } from 'core/interface/config';
|
|
2
|
+
import { S3ConfigResponse } from 'features/interface/editable-configuration';
|
|
3
|
+
declare const buildS3ConfigUrl: (siteConfig: SiteConfig) => string | null;
|
|
4
|
+
declare const fetchS3Config: (siteConfig: SiteConfig) => Promise<S3ConfigResponse | null>;
|
|
5
|
+
export { fetchS3Config, buildS3ConfigUrl };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const FINN_BLINK_SCRIPT_URL = "https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js";
|
|
2
|
+
declare const FINN_BLINK_CAROUSEL_SCRIPT_URL = "https://www.finn.no/distribution-front/external/carousel";
|
|
3
|
+
export { FINN_BLINK_SCRIPT_URL, FINN_BLINK_CAROUSEL_SCRIPT_URL };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AstAdObj } from 'core/interface/ast';
|
|
2
|
+
declare const finnBlinkLoaded: (targetId: string, advertoryTheme?: string) => void;
|
|
3
|
+
declare const displaySpecialFormatsForFinnFallback: (adObj: AstAdObj) => void;
|
|
4
|
+
declare const xandrAdLoaded: (targetId: string) => void;
|
|
5
|
+
export { finnBlinkLoaded, xandrAdLoaded, displaySpecialFormatsForFinnFallback };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LoadFinnBlinkAdProps } from 'core/interface/config';
|
|
2
|
+
import { FinnBlinkFallback } from 'features/interface/finn-blink';
|
|
3
|
+
declare const loadFinnBlinkAd: (targetId: string, props: LoadFinnBlinkAdProps, fallbackToXandr: FinnBlinkFallback | null, callbackAfterFinnBlinkRender?: () => void) => Promise<void>;
|
|
4
|
+
export { loadFinnBlinkAd };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LoadFinnBlinkAdProps } from 'core/interface/config';
|
|
2
|
+
import { FinnBlinkFallback } from 'features/interface/finn-blink';
|
|
3
|
+
declare const renderFinnBlink: (targetId: string, props: LoadFinnBlinkAdProps, fallbackToXandr: FinnBlinkFallback | null) => Promise<void>;
|
|
4
|
+
export { renderFinnBlink };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FinnBlinkConfig } from 'core/interface/config';
|
|
2
|
+
declare const replaceAdsWithFinnBlink: (finnBlink?: FinnBlinkConfig) => Promise<void>;
|
|
3
|
+
declare const replaceNoBidWithFinnBlink: (targetIdToReplace: string, finnBlink?: FinnBlinkConfig) => Promise<void>;
|
|
4
|
+
export { replaceAdsWithFinnBlink, replaceNoBidWithFinnBlink };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const GLIMR_TAG_STORAGE_KEY = "glimrTags";
|
|
2
|
+
declare const WEATHER_TAGS_PREFIXES: string[];
|
|
3
|
+
declare const GEOFENCE_PREFIX = "glgc_";
|
|
4
|
+
declare const EMPTY_TAGS: {
|
|
5
|
+
geofenceTags: never[];
|
|
6
|
+
geoTags: never[];
|
|
7
|
+
weatherTags: never[];
|
|
8
|
+
};
|
|
9
|
+
export { GLIMR_TAG_STORAGE_KEY, WEATHER_TAGS_PREFIXES, GEOFENCE_PREFIX, EMPTY_TAGS };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const getWeatherGlimrTags: (glimrTags?: Array<string>) => Array<string>;
|
|
2
|
+
declare const getGeofenceGlimrTags: (glimrTags?: Array<string>) => Array<string>;
|
|
3
|
+
declare const getGeoGlimrTags: (glimrTags?: Array<string>, addPublisherToGeo?: boolean) => Array<string>;
|
|
4
|
+
export { getWeatherGlimrTags, getGeoGlimrTags, getGeofenceGlimrTags };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { NoGlimrKeywords, SeGlimrKeywords } from 'core/interface/keywords';
|
|
2
|
+
import { GlimrKeywordsOptions } from 'features/interface/glimr';
|
|
3
|
+
declare const getGlimrKeywords: (options?: GlimrKeywordsOptions) => Promise<NoGlimrKeywords | SeGlimrKeywords | object>;
|
|
4
|
+
export { getGlimrKeywords };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { AstAdObj } from 'core/interface/ast';
|
|
2
|
+
import { Newsroom } from 'core/interface/newsrooms';
|
|
3
|
+
import { Country } from 'core/interface/countries';
|
|
4
|
+
import { PageType } from 'core/interface/page-types';
|
|
5
|
+
import { AppearanceConfig, NativeTrackingConfig, SiteConfig } from 'core/interface/config';
|
|
6
|
+
import { DeviceType } from 'core/interface/device';
|
|
7
|
+
export interface AdNativeData {
|
|
8
|
+
containerId: string;
|
|
9
|
+
img: string;
|
|
10
|
+
imgAltText: string;
|
|
11
|
+
imgWidth?: number;
|
|
12
|
+
imgHeight?: number;
|
|
13
|
+
logo: string;
|
|
14
|
+
sponsoredBy: string;
|
|
15
|
+
title: string;
|
|
16
|
+
url: string;
|
|
17
|
+
cta: string;
|
|
18
|
+
description: string;
|
|
19
|
+
adText: string;
|
|
20
|
+
adFrom: string;
|
|
21
|
+
adContent: string;
|
|
22
|
+
adContentFrom: string;
|
|
23
|
+
desc2: string;
|
|
24
|
+
video?: {
|
|
25
|
+
content: string;
|
|
26
|
+
};
|
|
27
|
+
customTitle1?: string;
|
|
28
|
+
customTitle2?: string;
|
|
29
|
+
customTitle3?: string;
|
|
30
|
+
customTitle4?: string;
|
|
31
|
+
logo2?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface Options {
|
|
34
|
+
publisher?: Newsroom;
|
|
35
|
+
video?: {};
|
|
36
|
+
language?: Country;
|
|
37
|
+
pageType?: PageType;
|
|
38
|
+
deviceType?: DeviceType;
|
|
39
|
+
appearanceConfig?: AppearanceConfig;
|
|
40
|
+
nativeTrackingConfig?: NativeTrackingConfig;
|
|
41
|
+
adPlacementFormat?: string;
|
|
42
|
+
productTag?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface BrandStudioClassicFormatProps {
|
|
45
|
+
descriptionClassName: string;
|
|
46
|
+
isAlcoholAd: boolean;
|
|
47
|
+
adPlacementFormat: string;
|
|
48
|
+
containerId: string;
|
|
49
|
+
url: string;
|
|
50
|
+
adText: string;
|
|
51
|
+
title: string;
|
|
52
|
+
img: string;
|
|
53
|
+
sponsoredBy: string;
|
|
54
|
+
description: string;
|
|
55
|
+
}
|
|
56
|
+
export interface AdNativeTemplates {
|
|
57
|
+
[templatesName: string]: (nativeData: AdNativeData, options: Options) => string | null;
|
|
58
|
+
}
|
|
59
|
+
export interface AdNativeTemplatesGrouped {
|
|
60
|
+
videoTemplates: AdNativeTemplates;
|
|
61
|
+
displayTemplates: AdNativeTemplates;
|
|
62
|
+
}
|
|
63
|
+
export type InitNativeAdMap = Record<string | 'default', InitNativeAd>;
|
|
64
|
+
export type InitNativeAd = (adObj: AstAdObj, options?: Partial<SiteConfig>) => void;
|
|
65
|
+
export interface VideoPulseEventData {
|
|
66
|
+
intent?: string;
|
|
67
|
+
'@type'?: string;
|
|
68
|
+
position?: number;
|
|
69
|
+
duration?: number;
|
|
70
|
+
start?: boolean;
|
|
71
|
+
provider: string | {
|
|
72
|
+
productTag: string;
|
|
73
|
+
};
|
|
74
|
+
object?: {
|
|
75
|
+
'@id': string;
|
|
76
|
+
'@type': string;
|
|
77
|
+
name: string;
|
|
78
|
+
muted: boolean;
|
|
79
|
+
fullscreen: boolean;
|
|
80
|
+
autoplay: boolean;
|
|
81
|
+
adSequenceCount: number;
|
|
82
|
+
adblock: boolean;
|
|
83
|
+
apiUrl: string;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
export interface VideoPulseAssets {
|
|
87
|
+
attributes: {
|
|
88
|
+
id: number;
|
|
89
|
+
images: {
|
|
90
|
+
main: string;
|
|
91
|
+
};
|
|
92
|
+
status: string;
|
|
93
|
+
streamType: string;
|
|
94
|
+
vendor: string;
|
|
95
|
+
};
|
|
96
|
+
rawAsset: {
|
|
97
|
+
id: number;
|
|
98
|
+
images: {
|
|
99
|
+
main: string;
|
|
100
|
+
};
|
|
101
|
+
status: string;
|
|
102
|
+
streamType: string;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export interface VideoConfig {
|
|
106
|
+
id: number;
|
|
107
|
+
poster?: string;
|
|
108
|
+
vendor: string;
|
|
109
|
+
node: string;
|
|
110
|
+
autoplay?: boolean;
|
|
111
|
+
autopause?: string;
|
|
112
|
+
mute?: boolean;
|
|
113
|
+
skin?: {
|
|
114
|
+
name?: string;
|
|
115
|
+
url?: string;
|
|
116
|
+
};
|
|
117
|
+
settings?: {
|
|
118
|
+
jw: {
|
|
119
|
+
stretching: string;
|
|
120
|
+
advertising: {
|
|
121
|
+
client: string;
|
|
122
|
+
tag: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
pulse?: {
|
|
127
|
+
provider?: string;
|
|
128
|
+
productTag?: string;
|
|
129
|
+
decorator?: (eventData: VideoPulseEventData, asset: VideoPulseAssets) => VideoPulseEventData;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
export interface CssVariables {
|
|
133
|
+
[cssVariable: string]: string;
|
|
134
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AstAdType, AstKeywords } from 'core/interface/ast';
|
|
2
|
+
import { SiteConfig } from 'core/interface/config';
|
|
3
|
+
export interface AlertoryTag {
|
|
4
|
+
invCode: string;
|
|
5
|
+
sizes: Array<Array<number>>;
|
|
6
|
+
adTypes?: Array<AstAdType>;
|
|
7
|
+
keywords?: AstKeywords;
|
|
8
|
+
}
|
|
9
|
+
interface XandrConfig {
|
|
10
|
+
member?: number;
|
|
11
|
+
keywords: AstKeywords;
|
|
12
|
+
tags: Array<Array<AlertoryTag>>;
|
|
13
|
+
}
|
|
14
|
+
export interface AlertoryConfig {
|
|
15
|
+
xandr: XandrConfig;
|
|
16
|
+
advertory: Partial<SiteConfig>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Placements, SiteConfig } from 'core/interface/config';
|
|
2
|
+
export interface S3ConfigResponse {
|
|
3
|
+
keywords: Record<string, string>;
|
|
4
|
+
batchSize: number;
|
|
5
|
+
refresh: boolean;
|
|
6
|
+
placements: Placements;
|
|
7
|
+
threshold: {
|
|
8
|
+
desktop: number;
|
|
9
|
+
tablet: number;
|
|
10
|
+
mobile: number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface ExtendedConfigFromS3 {
|
|
14
|
+
siteConfig: SiteConfig;
|
|
15
|
+
configOverrides: S3ConfigResponse;
|
|
16
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FinnBlinkPlacementConfig } from 'core/interface/config';
|
|
2
|
+
export type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
|
|
3
|
+
export type FinnBlinkFallback = (targetId: string) => void;
|
|
4
|
+
export interface FinnBlinkAdSizes {
|
|
5
|
+
height: number;
|
|
6
|
+
width: number;
|
|
7
|
+
}
|
|
8
|
+
export interface FinnBlinkData extends FinnBlinkPlacementConfig {
|
|
9
|
+
selector: string;
|
|
10
|
+
}
|
|
11
|
+
export interface BlinkConstructorOptions {
|
|
12
|
+
remote?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
hashed_email?: string;
|
|
15
|
+
theme?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface BlinkInstance {
|
|
18
|
+
inject: (options: unknown) => Promise<unknown>;
|
|
19
|
+
}
|
|
20
|
+
export type BlinkConstructor = new (options: BlinkConstructorOptions) => BlinkInstance;
|
|
21
|
+
interface FinnBlinkSelectorConfig {
|
|
22
|
+
selector: string;
|
|
23
|
+
position: string;
|
|
24
|
+
channel: string;
|
|
25
|
+
uuid: string;
|
|
26
|
+
id: string;
|
|
27
|
+
hashed_email: string;
|
|
28
|
+
theme?: string;
|
|
29
|
+
distributionTypes?: Array<DistributionTypes>;
|
|
30
|
+
limit?: number;
|
|
31
|
+
offset?: number;
|
|
32
|
+
requireImage?: boolean;
|
|
33
|
+
rec?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export type FinnBlinkSuccessOptions = (Omit<FinnBlinkPlacementConfig, 'enabled'> & {
|
|
36
|
+
selector: string;
|
|
37
|
+
channel: string;
|
|
38
|
+
uuid?: string;
|
|
39
|
+
id?: string;
|
|
40
|
+
hashed_email?: string;
|
|
41
|
+
}) | FinnBlinkSelectorConfig;
|
|
42
|
+
export {};
|