@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface CSPOptions

    Options for CSP generation.

    interface CSPOptions {
        allowAnyHttpsImages?: boolean;
        allowInlineStyles?: boolean;
        connectSrc?: string[];
        fontSrc?: string[];
        imgSrc?: string[];
        mediaSrc?: string[];
        nonce?: string;
        scriptSrc?: string[];
        styleSrc?: string[];
        workerSrc?: string[];
    }
    Index
    allowAnyHttpsImages?: boolean

    Whether to allow images from any HTTPS origin (https:) in img-src.

    When false (the default), images are restricted to the webview's cspSource, data: URIs, and the explicit imgSrc list.

    false
    
    allowInlineStyles?: boolean

    Whether to allow 'unsafe-inline' in style-src.

    Browsers treat 'unsafe-inline' as overriding any nonce in the same directive, so when this is true the nonce in style-src is effectively ignored. When false (the default) and a nonce is provided, the nonce is used for nonced inline styles instead.

    false
    
    connectSrc?: string[]

    Additional connect sources (for fetch/XHR/WebSocket).

    fontSrc?: string[]

    Additional font sources.

    imgSrc?: string[]

    Additional image sources.

    mediaSrc?: string[]

    Additional media sources (for <video>/<audio>).

    nonce?: string

    Nonce for inline scripts/styles.

    scriptSrc?: string[]

    Additional trusted script-source expressions, inserted verbatim.

    When a nonce is supplied these are the only other sources allowed to run scripts: the webview's own cspSource is deliberately left out, since including it would let any script under localResourceRoots run without the nonce. See generateCSP.

    styleSrc?: string[]

    Additional trusted style-source expressions, inserted verbatim.

    workerSrc?: string[]

    Additional worker sources (for Web Workers / WASM offloading).