Exclude Object Types Coming from DacFx and tests all working as expected (#20015)

* Include Objects Coming from DacFx and tests all working as expected

* Exclude Object types functionality is working as expected and Unit tests

* more refactor updates

* Updated comments and prop name

* Addressing the coments and code updates accordingly

* Updating according to the comments

* STS vbump

* These changes should be deleted with SC changes, not here

* format fixed
This commit is contained in:
Sai Avishkar Sreerama
2022-08-08 12:04:24 -05:00
committed by GitHub
parent 66115d8f80
commit 2b5d2f0a0b
12 changed files with 193 additions and 26 deletions

View File

@@ -163,10 +163,10 @@ declare module 'mssql' {
}
/**
* Interface containing deployment options of integer type, value property holds values from <DacFx>\Product\Source\DeploymentApi\ObjectTypes.cs enum
* Interface containing deployment options of string[] type, value property holds enum names (nothing but option name) from <DacFx>\Product\Source\DeploymentApi\ObjectTypes.cs enum
*/
export interface DacDeployOptionPropertyObject {
value: number[];
value: string[];
description: string;
displayName: string;
}
@@ -179,6 +179,8 @@ declare module 'mssql' {
excludeObjectTypes: DacDeployOptionPropertyObject;
// key will be the boolean option name
booleanOptionsDictionary: { [key: string]: DacDeployOptionPropertyBoolean };
// key will be the object type enum name(nothing but option name)
objectTypesDictionary: { [key: string]: string };
}
/*