Skip to content

Commit

Permalink
PROD-2002: Adds new var to track fides js overlay types (#4869)
Browse files Browse the repository at this point in the history
  • Loading branch information
eastandwestwind authored May 9, 2024
1 parent 032fc6d commit 477ebe8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ The types of changes are:

## [Unreleased](https://github.com/ethyca/fides/compare/2.36.0...main)

### Changed
- Adds new var to track fides js overlay types [#4869](https://github.com/ethyca/fides/pull/4869)

## [2.36.0](https://github.com/ethyca/fides/compare/2.35.1...2.36.0)

### Added
Expand Down
7 changes: 7 additions & 0 deletions src/fides/api/models/privacy_experience.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ class ComponentType(Enum):
ComponentType.modal,
]

# Fides JS Overlay Types - there should only be one of these defined per region + property
FidesJSOverlayTypes: List[ComponentType] = [
ComponentType.banner_and_modal,
ComponentType.modal,
ComponentType.tcf_overlay
]


class PrivacyExperienceConfigBase:
"""
Expand Down

0 comments on commit 477ebe8

Please sign in to comment.