// DO NOT EDIT THIS SCHEMA UNLESS YOU KNOW WHAT YOU ARE DOING // This file is shared between several repositories and platforms, // and any edits will break compatibility between these apps // If changes to the schema need to be made, the schema version needs to // be incremented, an adapter added to the Video Management API // to convert from the previous schema version to the new one, and the // changes synced across all repos that use it // If you need to add calculated fields to the schema for internal app use, // use a factory to copy this data to a local view model // V1 Schema for Video Interactions export interface InteractionData { attributes: { value: string; asset_id: string; }; center_x: number; center_y: number; end: number; interaction_id: string; interaction_type: InteractionType; start: number; } export type InteractionType = 'buy-now' | 'phone' | 'email' | 'link' | 'schedule' | 'social';