mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
* add projects to add database reference dialog * able to add project references * check for circular dependency * only allow adding reference to project in the same workspace * fix location dropdown when project reference is enabled * add tests * more tests * cleanup * fix flakey test * addressing comments
33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { SystemDatabase } from './project';
|
|
import { Uri } from 'vscode';
|
|
|
|
export interface IDatabaseReferenceSettings {
|
|
databaseName?: string;
|
|
suppressMissingDependenciesErrors: boolean;
|
|
}
|
|
|
|
export interface ISystemDatabaseReferenceSettings extends IDatabaseReferenceSettings {
|
|
systemDb: SystemDatabase;
|
|
}
|
|
|
|
export interface IDacpacReferenceSettings extends IDatabaseReferenceSettings {
|
|
dacpacFileLocation: Uri;
|
|
databaseVariable?: string;
|
|
serverName?: string;
|
|
serverVariable?: string;
|
|
}
|
|
|
|
export interface IProjectReferenceSettings extends IDatabaseReferenceSettings {
|
|
projectRelativePath: Uri | undefined;
|
|
projectName: string;
|
|
projectGuid: string;
|
|
databaseVariable?: string;
|
|
serverName?: string;
|
|
serverVariable?: string;
|
|
}
|