Skip to content

Commit

Permalink
add gpp enum to experience field
Browse files Browse the repository at this point in the history
  • Loading branch information
Cami committed Nov 2, 2023
1 parent 56bf738 commit ce50d5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/enums/experience.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ export const RegionsOperator = makeEnum({
export type RegionsOperator =
typeof RegionsOperator[keyof typeof RegionsOperator];

/**
* Set of IAB signals that we can communicate
*/
export enum IABSignal {
GppUsp = 'GPP_USP',
}

export interface ExperienceInput {
/** The regime determining the default experience */
name: PrivacyRegime;
Expand All @@ -138,6 +145,8 @@ export interface ExperienceInput {
viewState: InitialViewState;
/** experience purposes to be added */
experiencePurposeInputs: ExperiencePurposeInput[];
/** set of IAB signals to be communicated in this experience */
iabSignals: IABSignal[];
}

/**
Expand Down

0 comments on commit ce50d5d

Please sign in to comment.