mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 09:35:36 -05:00
Import project from database (#10326)
* Initial changes for Import database as new project * Functionally complete code * Initial changes for Import database as new project * Functionally complete code * Resolved conflicts with latest changes. Also did some code refactoring. * Addressed comments. Added unit tests. * Addressed comments * Moved ExtractTarget enum from azdata to mssql * Addressed comments * Fixed indentation in project templates
This commit is contained in:
18
extensions/sql-database-projects/src/models/api/import.ts
Normal file
18
extensions/sql-database-projects/src/models/api/import.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { ExtractTarget } from '../../../../mssql';
|
||||
|
||||
/**
|
||||
* Data model to communicate for Import API
|
||||
*/
|
||||
export interface ImportDataModel {
|
||||
serverId: string;
|
||||
database: string;
|
||||
projName: string;
|
||||
filePath: string;
|
||||
version: string;
|
||||
extractTarget: ExtractTarget;
|
||||
}
|
||||
Reference in New Issue
Block a user