mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 15:24:40 +01:00
* Allow individual comments to be marked as draft This is a proposal for #171166. * Remove `hasDraftComments` from `CommentThread` * Rename `CommentVisibility` to `CommentState` * Rename `CommentVisibility` to `CommentState` * Add api proposal check --------- Co-authored-by: Alex Ross <alros@microsoft.com>
19 lines
553 B
TypeScript
19 lines
553 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
declare module 'vscode' {
|
|
|
|
// https://github.com/microsoft/vscode/issues/171166
|
|
|
|
export enum CommentState {
|
|
Published = 0,
|
|
Draft = 1
|
|
}
|
|
|
|
export interface Comment {
|
|
state?: CommentState;
|
|
}
|
|
}
|