UNPKG

sussudio

Version:

An unofficial VS Code Internal API

41 lines (40 loc) 1.24 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IProcessEnvironment } from "../../../common/platform.mjs"; import { IProductConfiguration } from "../../../common/product.mjs"; /** * The common properties required for any sandboxed * renderer to function. */ export interface ISandboxConfiguration { /** * Identifier of the sandboxed renderer. */ windowId: number; /** * Root path of the JavaScript sources. * * Note: This is NOT the installation root * directory itself but contained in it at * a level that is platform dependent. */ appRoot: string; /** * Per window process environment. */ userEnv: IProcessEnvironment; /** * Product configuration. */ product: IProductConfiguration; /** * Configured zoom level. */ zoomLevel?: number; /** * Location of V8 code cache. */ codeCachePath?: string; }