mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
* Merge from vscode a348d103d1256a06a2c9b3f9b406298a9fef6898 * Fixes and cleanup * Distro * Fix hygiene yarn * delete no yarn lock changes file * Fix hygiene * Fix layer check * Fix CI * Skip lib checks * Remove tests deleted in vs code * Fix tests * Distro * Fix tests and add removed extension point * Skip failing notebook tests for now * Disable broken tests and cleanup build folder * Update yarn.lock and fix smoke tests * Bump sqlite * fix contributed actions and file spacing * Fix user data path * Update yarn.locks Co-authored-by: ADS Merger <karlb@microsoft.com>
100 lines
4.2 KiB
Plaintext
100 lines
4.2 KiB
Plaintext
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
declare let MonacoEnvironment: monaco.Environment | undefined;
|
|
|
|
declare namespace monaco {
|
|
|
|
export type Thenable<T> = PromiseLike<T>;
|
|
|
|
export interface Environment {
|
|
globalAPI?: boolean;
|
|
baseUrl?: string;
|
|
getWorker?(workerId: string, label: string): Worker;
|
|
getWorkerUrl?(workerId: string, label: string): string;
|
|
}
|
|
|
|
export interface IDisposable {
|
|
dispose(): void;
|
|
}
|
|
|
|
export interface IEvent<T> {
|
|
(listener: (e: T) => any, thisArg?: any): IDisposable;
|
|
}
|
|
|
|
/**
|
|
* A helper that allows to emit and listen to typed events
|
|
*/
|
|
export class Emitter<T> {
|
|
constructor();
|
|
readonly event: Event<T>;
|
|
fire(event: T): void;
|
|
dispose(): void;
|
|
}
|
|
|
|
#include(vs/platform/markers/common/markers): MarkerTag, MarkerSeverity
|
|
#include(vs/base/common/cancellation): CancellationTokenSource, CancellationToken
|
|
#include(vs/base/common/uri): URI, UriComponents
|
|
#include(vs/base/common/keyCodes): KeyCode
|
|
#include(vs/editor/common/standalone/standaloneBase): KeyMod
|
|
#include(vs/base/common/htmlContent): IMarkdownString
|
|
#include(vs/base/browser/keyboardEvent): IKeyboardEvent
|
|
#include(vs/base/browser/mouseEvent): IMouseEvent
|
|
#include(vs/editor/common/editorCommon): IScrollEvent
|
|
#include(vs/editor/common/core/position): IPosition, Position
|
|
#include(vs/editor/common/core/range): IRange, Range
|
|
#include(vs/editor/common/core/selection): ISelection, Selection, SelectionDirection
|
|
#include(vs/editor/common/core/token): Token
|
|
}
|
|
|
|
declare namespace monaco.editor {
|
|
#include(vs/editor/browser/widget/diffNavigator): IDiffNavigator
|
|
#includeAll(vs/editor/standalone/browser/standaloneEditor;modes.=>languages.;editorCommon.=>):
|
|
#include(vs/editor/standalone/common/standaloneThemeService): BuiltinTheme, IStandaloneThemeData, IColors
|
|
#include(vs/editor/common/modes/supports/tokenization): ITokenThemeRule
|
|
#include(vs/editor/common/services/webWorker): MonacoWebWorker, IWebWorkerOptions
|
|
#include(vs/editor/standalone/browser/standaloneCodeEditor): IActionDescriptor, IGlobalEditorOptions, IStandaloneEditorConstructionOptions, IDiffEditorConstructionOptions, IStandaloneCodeEditor, IStandaloneDiffEditor
|
|
export interface ICommandHandler {
|
|
(...args: any[]): void;
|
|
}
|
|
#include(vs/platform/contextkey/common/contextkey): IContextKey
|
|
#include(vs/editor/standalone/browser/standaloneServices): IEditorOverrideServices
|
|
#include(vs/platform/markers/common/markers): IMarker, IMarkerData, IRelatedInformation
|
|
#include(vs/editor/standalone/browser/colorizer): IColorizerOptions, IColorizerElementOptions
|
|
#include(vs/base/common/scrollable): ScrollbarVisibility
|
|
#include(vs/platform/theme/common/themeService): ThemeColor
|
|
#includeAll(vs/editor/common/model;LanguageIdentifier=>languages.LanguageIdentifier): IScrollEvent
|
|
#includeAll(vs/editor/common/editorCommon;editorOptions.=>): IScrollEvent
|
|
#includeAll(vs/editor/common/model/textModelEvents):
|
|
#includeAll(vs/editor/common/controller/cursorEvents):
|
|
#include(vs/platform/accessibility/common/accessibility): AccessibilitySupport
|
|
#includeAll(vs/editor/common/config/editorOptions):
|
|
#includeAll(vs/editor/browser/editorBrowser;editorCommon.=>;editorOptions.=>):
|
|
#include(vs/editor/common/config/fontInfo): FontInfo, BareFontInfo
|
|
|
|
//compatibility:
|
|
export type IReadOnlyModel = ITextModel;
|
|
export type IModel = ITextModel;
|
|
}
|
|
|
|
declare namespace monaco.languages {
|
|
|
|
#includeAll(vs/editor/standalone/browser/standaloneLanguages;modes.=>;editorCommon.=>editor.;model.=>editor.;IMarkerData=>editor.IMarkerData):
|
|
#includeAll(vs/editor/common/modes/languageConfiguration):
|
|
#includeAll(vs/editor/common/modes;editorCommon.IRange=>IRange;editorCommon.IPosition=>IPosition;editorCommon.=>editor.;IMarkerData=>editor.IMarkerData;model.=>editor.):
|
|
#include(vs/editor/common/services/modeService): ILanguageExtensionPoint
|
|
#includeAll(vs/editor/standalone/common/monarch/monarchTypes):
|
|
|
|
}
|
|
|
|
declare namespace monaco.worker {
|
|
|
|
#include(vs/editor/common/model/mirrorTextModel): IMirrorTextModel
|
|
#includeAll(vs/editor/common/services/editorSimpleWorker;):
|
|
|
|
}
|
|
|
|
//dtsv=3
|