Fix typings pipeline + cleanup (#19163)

This commit is contained in:
Charles Gagnon
2022-04-21 10:30:18 -07:00
committed by GitHub
parent 6c4bf812cd
commit e9fefd2487
2 changed files with 23 additions and 16 deletions

View File

@@ -55,13 +55,13 @@ steps:
git reset --hard upstream/master git reset --hard upstream/master
git push --force git push --force
# Update the type # Update and format the typings file
cd .. cd ..
node build/azure-pipelines/publish-types/update-types.js node build/azure-pipelines/publish-types/update-types.js
cd DefinitelyTyped
TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
# Create and push the branch
cd DefinitelyTyped
git diff --color | cat git diff --color | cat
git add -A git add -A
git status git status

33
src/sql/azdata.d.ts vendored
View File

@@ -3556,7 +3556,7 @@ declare module 'azdata' {
* Generally, a link has no need to set the `role` of the accessibilityInformation; * Generally, a link has no need to set the `role` of the accessibilityInformation;
* but it is exposed for situations that may require it. * but it is exposed for situations that may require it.
*/ */
accessibilityInformation?: vscode.AccessibilityInformation accessibilityInformation?: vscode.AccessibilityInformation;
} }
export interface HyperlinkComponentProperties extends TitledComponentProperties { export interface HyperlinkComponentProperties extends TitledComponentProperties {
@@ -3685,7 +3685,7 @@ declare module 'azdata' {
/** /**
* context that will be passed to the commands. * context that will be passed to the commands.
*/ */
context: { [key: string]: string | boolean | number } | string | boolean | number | undefined context: { [key: string]: string | boolean | number } | string | boolean | number | undefined;
} }
export interface ListBoxProperties extends ComponentProperties { export interface ListBoxProperties extends ComponentProperties {
@@ -3991,7 +3991,6 @@ declare module 'azdata' {
minimumHeight?: number; minimumHeight?: number;
} }
export interface DiffEditorComponent extends DiffEditorProperties, Component { export interface DiffEditorComponent extends DiffEditorProperties, Component {
/** /**
* The left editor Uri which will be used as a reference for VSCode Language Service. * The left editor Uri which will be used as a reference for VSCode Language Service.
* Currently this is auto-generated by the framework but can be queried after * Currently this is auto-generated by the framework but can be queried after
@@ -4364,23 +4363,23 @@ declare module 'azdata' {
/** /**
* The value selected on the slider. Default initial value is the minimum value. * The value selected on the slider. Default initial value is the minimum value.
*/ */
value?: number, value?: number;
/** /**
* The minimum value of the slider. Default value is 1. * The minimum value of the slider. Default value is 1.
*/ */
min?: number, min?: number;
/** /**
* The maximum value of the slider. Default value is 100. * The maximum value of the slider. Default value is 100.
*/ */
max?: number, max?: number;
/** /**
* The value between each "tick" of the slider. Default is 1. * The value between each "tick" of the slider. Default is 1.
*/ */
step?: number, step?: number;
/** /**
* Whether to show the tick marks on the slider. Default is false. * Whether to show the tick marks on the slider. Default is false.
*/ */
showTicks?: boolean showTicks?: boolean;
/** /**
* The width of the slider, not including the value box. * The width of the slider, not including the value box.
*/ */
@@ -4483,7 +4482,15 @@ declare module 'azdata' {
* @param renderFooter Specify whether or not to render the Dialog footer, default is true. * @param renderFooter Specify whether or not to render the Dialog footer, default is true.
* @param dialogProperties Positional data prior to opening of dialog, default is undefined. * @param dialogProperties Positional data prior to opening of dialog, default is undefined.
*/ */
export function createModelViewDialog(title: string, dialogName?: string, width?: DialogWidth, dialogStyle?: DialogStyle, dialogPosition?: DialogPosition, renderHeader?: boolean, renderFooter?: boolean, dialogProperties?: IDialogProperties): Dialog; export function createModelViewDialog(
title: string,
dialogName?: string,
width?: DialogWidth,
dialogStyle?: DialogStyle,
dialogPosition?: DialogPosition,
renderHeader?: boolean,
renderFooter?: boolean,
dialogProperties?: IDialogProperties): Dialog;
export interface ModelViewDashboard { export interface ModelViewDashboard {
/** /**
@@ -4628,19 +4635,19 @@ declare module 'azdata' {
/** /**
* x position of the dialog relative to the parent element * x position of the dialog relative to the parent element
*/ */
xPos: number, xPos: number;
/** /**
* y position of the dialog relative to the parent element * y position of the dialog relative to the parent element
*/ */
yPos: number, yPos: number;
/** /**
* width of the dialog * width of the dialog
*/ */
width: number, width: number;
/** /**
* height of the dialog * height of the dialog
*/ */
height: number height: number;
} }
// Model view dialog classes // Model view dialog classes