@schibsted/advertory 2.63.21 → 2.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +27 -1
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +27 -1
  5. package/core/aftenposten/index.js +1 -1
  6. package/core/aftenpostenv2/es/index.css +1 -1
  7. package/core/aftenpostenv2/es/index.d.ts +27 -1
  8. package/core/aftenpostenv2/es/index.js +1 -1
  9. package/core/aftonbladet/es/index.css +1 -1
  10. package/core/aftonbladet/es/index.d.ts +27 -1
  11. package/core/aftonbladet/index.d.ts +27 -1
  12. package/core/aftonbladetv2/es/index.css +1 -1
  13. package/core/aftonbladetv2/es/index.d.ts +27 -1
  14. package/core/bt/es/index.css +1 -1
  15. package/core/bt/es/index.d.ts +27 -1
  16. package/core/bt/es/index.js +1 -1
  17. package/core/bt/index.d.ts +27 -1
  18. package/core/bt/index.js +1 -1
  19. package/core/e24/es/index.css +1 -1
  20. package/core/e24/es/index.d.ts +27 -1
  21. package/core/e24/es/index.js +1 -1
  22. package/core/e24/index.d.ts +27 -1
  23. package/core/e24/index.js +1 -1
  24. package/core/fotbollskanalen/es/index.css +1 -1
  25. package/core/fotbollskanalen/es/index.d.ts +27 -1
  26. package/core/fotbollskanalen/index.d.ts +27 -1
  27. package/core/godare/index.d.ts +27 -1
  28. package/core/godare/index.js +1 -1
  29. package/core/godt/index.d.ts +27 -1
  30. package/core/godt/index.js +1 -1
  31. package/core/klart/index.d.ts +27 -1
  32. package/core/koket/es/index.css +1 -1
  33. package/core/koket/es/index.d.ts +27 -1
  34. package/core/koket/index.d.ts +27 -1
  35. package/core/kompakt/index.d.ts +27 -1
  36. package/core/minmote/index.d.ts +27 -1
  37. package/core/minmote/index.js +1 -1
  38. package/core/pent/index.d.ts +27 -1
  39. package/core/pent/index.js +1 -1
  40. package/core/sa/es/index.css +1 -1
  41. package/core/sa/es/index.d.ts +27 -1
  42. package/core/sa/es/index.js +1 -1
  43. package/core/sa/index.d.ts +27 -1
  44. package/core/sa/index.js +1 -1
  45. package/core/svd/es/index.css +1 -1
  46. package/core/svd/es/index.d.ts +27 -1
  47. package/core/svd/index.d.ts +27 -1
  48. package/core/svd/index.js +1 -1
  49. package/core/svdv2/es/index.css +1 -1
  50. package/core/svdv2/es/index.d.ts +27 -1
  51. package/core/tek/index.d.ts +27 -1
  52. package/core/tek/index.js +1 -1
  53. package/core/tv4/es/index.css +1 -1
  54. package/core/tv4/es/index.d.ts +27 -1
  55. package/core/tv4/index.d.ts +27 -1
  56. package/core/tvnu/index.d.ts +27 -1
  57. package/core/vg/es/index.css +1 -1
  58. package/core/vg/es/index.d.ts +27 -1
  59. package/core/vg/es/index.js +1 -1
  60. package/core/vg/index.d.ts +27 -1
  61. package/core/vg/index.js +1 -1
  62. package/core/vgv2/es/index.css +1 -1
  63. package/core/vgv2/es/index.d.ts +27 -1
  64. package/core/vgv2/es/index.js +1 -1
  65. package/features/ad-native/index.d.ts +27 -1
  66. package/features/ad-native/index.js +1 -1
  67. package/features/dr-edition/es/index.d.ts +27 -1
  68. package/features/dr-edition/index.d.ts +27 -1
  69. package/features/kilkaya/es/index.d.ts +27 -1
  70. package/features/kilkaya/index.d.ts +27 -1
  71. package/features/tracker/index.d.ts +27 -1
  72. package/package.json +1 -1
  73. package/sites/aftenposten/es/index.css +1 -1
  74. package/sites/aftenposten/index.js +1 -1
  75. package/sites/aftenpostenv2/es/index.css +1 -1
  76. package/sites/bt/es/index.css +1 -1
  77. package/sites/bt/index.js +1 -1
  78. package/sites/e24/es/index.css +1 -1
  79. package/sites/koket/es/index.css +1 -1
  80. package/sites/sa/es/index.css +1 -1
  81. package/sites/sa/index.js +1 -1
  82. package/sites/svd/es/index.css +1 -1
  83. package/sites/svd/index.js +1 -1
  84. package/sites/svdv2/es/index.css +1 -1
  85. package/sites/tvnu/index.js +1 -1
  86. package/sites/vg/es/index.css +1 -1
  87. package/sites/vg/index.js +1 -1
  88. package/sites/vgv2/es/index.css +1 -1
  89. package/types/core/interface/ast.d.ts +2 -1
  90. package/types/core/interface/config.d.ts +25 -0
  91. package/types/core/prepare-page-options/generic-prepare-page-options-no.d.ts +3 -0
  92. package/types/core/prepare-page-options/generic-prepare-page-options-se.d.ts +3 -0
  93. package/types/core/prepare-page-options/generic-prepare-page-options.d.ts +3 -0
  94. package/types/core/prepare-page-options/generic-prepare-page-options.test.d.ts +1 -0
  95. package/types/core/prepare-page-options/keyword-providers.d.ts +4 -0
  96. package/types/core/prepare-page-options/keywords-builder.d.ts +9 -0
  97. package/types/core/prepare-page-options/keywords-builder.test.d.ts +1 -0
  98. package/types/features/ad-native/sites/shared/templates/no/native-seamless/index.d.ts +4 -0
  99. package/types/features/ad-native/sites/shared/templates/no/seamless-image/index.d.ts +0 -4
@@ -72,6 +72,7 @@ interface AstAdObj {
72
72
  bidderId?: number | undefined;
73
73
  }
74
74
  type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
75
+ type Keywords = Record<string, AstKeywordValue>;
75
76
  type AstKeywords = Record<string, AstKeywordValue> & {
76
77
  'se-generic-adformat'?: Array<string>;
77
78
  'se-generic-targetid'?: Array<string>;
@@ -110,7 +111,7 @@ interface AstRenderingManagement {
110
111
  sandboxAttributes: Array<string>;
111
112
  }
112
113
  interface AstPageOptions {
113
- keywords: Record<string, AstKeywordValue>;
114
+ keywords: Keywords;
114
115
  enableSafeFrame?: boolean;
115
116
  disablePsa?: boolean;
116
117
  user?: AstUser;
@@ -251,6 +252,7 @@ interface SiteConfig {
251
252
  useAppTabletInvCode?: boolean;
252
253
  adScaleConfig?: AdScaleConfig;
253
254
  widescreenSwitching?: WidescreenSwitchingConfig;
255
+ pageSetup?: PageSetup;
254
256
  }
255
257
  interface NativeTrackingConfig {
256
258
  nativeTrackingEnabled?: boolean;
@@ -485,6 +487,30 @@ interface WidescreenSwitchingConfig {
485
487
  rotationInterval?: number;
486
488
  widescreenIdPrefix?: string;
487
489
  }
490
+ interface PageSetup {
491
+ pageOptions?: {
492
+ keywords?: {
493
+ appType?: boolean;
494
+ device?: boolean;
495
+ externalIdSrc?: boolean;
496
+ hasContext?: boolean;
497
+ screen?: boolean;
498
+ analyticsConsent?: boolean;
499
+ sectionPageType?: boolean;
500
+ sponsors?: boolean;
501
+ obituaries?: boolean;
502
+ sdkVersion?: boolean;
503
+ hasPlusMembership?: boolean;
504
+ };
505
+ options?: {
506
+ addPublisherToGeo?: boolean;
507
+ includeExternalUid?: boolean;
508
+ };
509
+ };
510
+ tag?: {
511
+ reloadKeywords?: boolean;
512
+ };
513
+ }
488
514
 
489
515
  interface AdComponentProps {
490
516
  placementId: string;