Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcordry committed Jun 11, 2021
1 parent b6bd5b3 commit 896091c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/experiments/story-ad-progress-segment.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

/** @const {!Object<string, string>} */
/** @const */
export const StoryAdSegmentExp = {
ID: 'story-ad-progress-segment',
CONTROL: '31061402',
Expand All @@ -23,23 +23,23 @@ export const StoryAdSegmentExp = {
TEN_SECONDS: '31061405',
};

/** @const {!Object<string, string>} */
/** @const */
export const StoryAdSegmentTimes = {
SENTINEL: '999999ms',
SIX_SECONDS: '6000ms',
EIGHT_SECONDS: '8000ms',
TEN_SECONDS: '10000ms',
};

/** @const {!Object<string, string>} */
/** @const */
export const ViewerSetTimeToBranch = {
[StoryAdSegmentTimes.SIX_SECONDS]: StoryAdSegmentExp.SIX_SECONDS,
[StoryAdSegmentTimes.EIGHT_SECONDS]: StoryAdSegmentExp.EIGHT_SECONDS,
[StoryAdSegmentTimes.TEN_SECONDS]: StoryAdSegmentExp.TEN_SECONDS,
[StoryAdSegmentTimes.SENTINEL]: StoryAdSegmentExp.CONTROL,
};

/** @const {!Object<string, string>} */
/** @const */
export const BranchToTimeValues = {
[StoryAdSegmentExp.SIX_SECONDS]: StoryAdSegmentTimes.SIX_SECONDS,
[StoryAdSegmentExp.EIGHT_SECONDS]: StoryAdSegmentTimes.EIGHT_SECONDS,
Expand Down

0 comments on commit 896091c

Please sign in to comment.