UNPKG

@builder.io/sdk-vue

Version:
45 lines (44 loc) 1.12 kB
import type { BuilderBlock } from './builder-block'; import type { Input } from './input'; import type { Nullable } from './typescript'; export interface Breakpoints { small: number; medium: number; } export interface BuilderContentVariation { data?: { title?: string; blocks?: BuilderBlock[]; inputs?: Input[]; state?: { [key: string]: any; }; jsCode?: string; tsCode?: string; httpRequests?: { [key: string]: string; }; [key: string]: any; }; name?: string; testRatio?: number; id?: string; meta?: { breakpoints?: Nullable<Breakpoints>; [key: string]: any; }; } export interface BuilderContent extends BuilderContentVariation { '@version'?: number; published?: 'published' | 'draft' | 'archived'; modelId?: string; priority?: number; lastUpdated?: number; startDate?: number; endDate?: number; variations?: { [id: string]: BuilderContentVariation; }; testVariationId?: string; testVariationName?: string; }