@schibsted/sps-sdk 3.2.1 → 3.2.2
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.
|
@@ -18,8 +18,6 @@ export type PlacementTypeWithOptionalProps = Exclude<keyof PlacementContentMap,
|
|
|
18
18
|
*/
|
|
19
19
|
export type PlacementContentMap = {
|
|
20
20
|
kyststripe: Kyststripe;
|
|
21
|
-
kystbenefit: Record<string, string>;
|
|
22
|
-
benefit: Benefit;
|
|
23
21
|
coreheader: Record<string, string>;
|
|
24
22
|
bottombar: string;
|
|
25
23
|
foldup: string;
|
|
@@ -48,15 +46,3 @@ export type Kyststripe = {
|
|
|
48
46
|
buttonTxtColor: string;
|
|
49
47
|
buttonId: string;
|
|
50
48
|
};
|
|
51
|
-
export type Benefit = {
|
|
52
|
-
disclaimerText: string;
|
|
53
|
-
disclaimerTextColor: string;
|
|
54
|
-
backgroundColor: string;
|
|
55
|
-
buttonText: string;
|
|
56
|
-
buttonColor: string;
|
|
57
|
-
textButtonColor: string;
|
|
58
|
-
headline: string;
|
|
59
|
-
headlineColor: string;
|
|
60
|
-
kicker: string;
|
|
61
|
-
URL: string;
|
|
62
|
-
};
|
|
@@ -2,7 +2,7 @@ import { type PulseTracker } from "../utils/pulse.js";
|
|
|
2
2
|
import { type UtmTags } from "../utils/utm.js";
|
|
3
3
|
import { type PulseOrigin } from "./tracking-to-pulse-origin.js";
|
|
4
4
|
import { type PulseObject } from "./poster-data-to-pulse-object.js";
|
|
5
|
-
export type ContentType = "article" | "podcast" | "video" | "other";
|
|
5
|
+
export type ContentType = "article" | "podcast" | "video" | "page" | "other";
|
|
6
6
|
export type DeviceType = "mobile" | "tablet" | "desktop";
|
|
7
7
|
/**
|
|
8
8
|
* Input options for {@link createTrackingParams}.
|
|
@@ -18,8 +18,6 @@ export type PlacementTypeWithOptionalProps = Exclude<keyof PlacementContentMap,
|
|
|
18
18
|
*/
|
|
19
19
|
export type PlacementContentMap = {
|
|
20
20
|
kyststripe: Kyststripe;
|
|
21
|
-
kystbenefit: Record<string, string>;
|
|
22
|
-
benefit: Benefit;
|
|
23
21
|
coreheader: Record<string, string>;
|
|
24
22
|
bottombar: string;
|
|
25
23
|
foldup: string;
|
|
@@ -48,15 +46,3 @@ export type Kyststripe = {
|
|
|
48
46
|
buttonTxtColor: string;
|
|
49
47
|
buttonId: string;
|
|
50
48
|
};
|
|
51
|
-
export type Benefit = {
|
|
52
|
-
disclaimerText: string;
|
|
53
|
-
disclaimerTextColor: string;
|
|
54
|
-
backgroundColor: string;
|
|
55
|
-
buttonText: string;
|
|
56
|
-
buttonColor: string;
|
|
57
|
-
textButtonColor: string;
|
|
58
|
-
headline: string;
|
|
59
|
-
headlineColor: string;
|
|
60
|
-
kicker: string;
|
|
61
|
-
URL: string;
|
|
62
|
-
};
|
|
@@ -2,7 +2,7 @@ import { type PulseTracker } from "../utils/pulse.js";
|
|
|
2
2
|
import { type UtmTags } from "../utils/utm.js";
|
|
3
3
|
import { type PulseOrigin } from "./tracking-to-pulse-origin.js";
|
|
4
4
|
import { type PulseObject } from "./poster-data-to-pulse-object.js";
|
|
5
|
-
export type ContentType = "article" | "podcast" | "video" | "other";
|
|
5
|
+
export type ContentType = "article" | "podcast" | "video" | "page" | "other";
|
|
6
6
|
export type DeviceType = "mobile" | "tablet" | "desktop";
|
|
7
7
|
/**
|
|
8
8
|
* Input options for {@link createTrackingParams}.
|