UNPKG

histoire

Version:

A fast story book powered by Vite

14 lines • 813 B
import type { HistoireEmbedPolicy } from '@histoire/protocol'; import type { HistoireConfig } from '@histoire/shared'; /** Normalized opt-in embedding configuration shared by Node/browser projections. */ export interface ResolvedEmbedConfig extends HistoireEmbedPolicy { /** Browser documents/data are emitted only when explicitly enabled. */ enabled: boolean; /** Mutable config pipeline owns its independently copied origin list. */ allowedOrigins: string[]; /** Configured names project into hostChannels capability, never origin authority. */ channels: string[]; } /** Validates entire configured policy before any embed document becomes available. */ export declare function resolveEmbedConfig(value?: HistoireConfig['embed']): ResolvedEmbedConfig; //# sourceMappingURL=embed.d.ts.map