Path: blob/main/extensions/copilot/src/util/common/debugValueEditorGlobals.ts
13397 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45export interface IDebugValueEditorGlobals {6$$debugValueEditor_run: (args: any) => void;7$$debugValueEditor_properties: readonly any[];89$$debugValueEditor_debugChannels: Record</* name of the debug channel */ string, DebugChannel>;1011$$debugValueEditor_refresh?: (body: string) => void;12}1314type DebugChannel = (host: IHost) => IRequestHandler;1516interface IHost {17sendNotification: (data: unknown) => void;18}1920interface IRequestHandler {21handleRequest: (data: unknown) => unknown;22}2324export interface IPlaygroundRunnerGlobals {25$$playgroundRunner_data: {26currentPath: string[];27};28}293031