/** * Duplicated types from DM * to allow use them in public packages */ export interface ViewModes { MOBILE: string; DESKTOP: string; } export interface ScopePointer extends Pointer { type: 'scope'; } export type PossibleViewModes = keyof ViewModes; export interface Pointer { id: string; type: string; innerPath?: string[] | string; pageId?: string; useLanguage?: string; multilingual?: string; noRefFallbacks?: boolean; doNotSync?: boolean; variants?: any[]; scope?: ScopePointer; } export interface CompRef extends Pointer { type: PossibleViewModes; } export interface ComponentRef extends CompRef { }