UNPKG

@stackblitz/sdk

Version:

SDK for generating and embedding StackBlitz projects.

33 lines (32 loc) 976 B
/** * Number of milliseconds between attempts to get a response from an embedded frame */ export declare const CONNECT_INTERVAL = 500; /** * How many times should we try to get an init response from an embedded frame */ export declare const CONNECT_MAX_ATTEMPTS = 20; /** * Default height attribute for iframes */ export declare const DEFAULT_FRAME_HEIGHT = 300; /** * Origin of the StackBlitz instance */ export declare const DEFAULT_ORIGIN: string; /** * List of supported template names. */ export declare const PROJECT_TEMPLATES: readonly ["angular-cli", "create-react-app", "html", "javascript", "node", "polymer", "typescript", "vue"]; /** * Supported sidebar views */ export declare const UI_SIDEBAR_VIEWS: readonly ["project", "search", "ports", "settings"]; /** * Supported editor themes */ export declare const UI_THEMES: readonly ["light", "dark"]; /** * Supported editor view modes */ export declare const UI_VIEWS: readonly ["editor", "preview"];