Add ability to create publish profile from project context (#23110)

* Ability to add publish profile from project context

* Add/update test + fix Build vs None addition to sqlproj file
This commit is contained in:
Sakshi Sharma
2023-05-15 16:14:07 -07:00
committed by GitHub
parent b56f2ccb60
commit b260edcec3
10 changed files with 64 additions and 6 deletions

View File

@@ -104,7 +104,8 @@ declare module 'sqldbproj' {
externalStreamingJob = 'externalStreamingJob',
folder = 'folder',
preDeployScript = 'preDeployScript',
postDeployScript = 'postDeployScript'
postDeployScript = 'postDeployScript',
publishProfile = 'publishProfile'
}
/**
@@ -152,6 +153,12 @@ declare module 'sqldbproj' {
*/
addPostDeploymentScript(relativePath: string): Promise<void>;
/**
* Adds a none item that is not included in "Build"
* @param relativePath
*/
addNoneItem(relativePath: string): Promise<void>;
/**
* Add a SQL object script that will be included in the schema
* @param relativePath