Skip to content

Commit

Permalink
Merge pull request #354 from prezly/feature/dev-19123-newsroom-tracki…
Browse files Browse the repository at this point in the history
…ng-policy-v2

[DEV-19123] Newsroom tracking policy V2
  • Loading branch information
pestaa authored Jan 15, 2025
2 parents 7c949b0 + a0bde94 commit 4e8115d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/endpoints/Newsrooms/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,6 @@ export interface UpdateRequest {
category?: string;
script?: string;
};

tracking_policy?: Newsroom.TrackingPolicy | null;
}
1 change: 1 addition & 0 deletions src/types/NewsroomTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export namespace NewsroomTheme {
CTA_BUTTONS = 'cta_buttons',
VIDEO_LAYOUT = 'video_layout', // DEV-7588
EMBED_LAYOUT = 'embed_layout', // DEV-11475
STRICT_TRACKING_POLICY = 'strict_tracking_policy', // DEV-19123
}

export function isFeatureSupported(theme: NewsroomTheme, feature: NewsroomTheme.Feature) {
Expand Down

0 comments on commit 4e8115d

Please sign in to comment.