mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
Query History feature (#6579)
* Initial commit * Fix up QueryEventType * Making query history visible in view and open query command (#6479) * Add QueryInfo to query event events * Pull actual query text/connection info for displaying * cons and expand (#6489) * Making query history visible in view and open query command * expand and icons * Failure icon enabled (#6491) * Making query history visible in view and open query command * expand and icons * failure icon enabled * Minor cleanup * Open query with connection and add run query (#6496) * Add initial query-history extension * Fix issues caused by master merge, cleanup and add query-history extension (#6567) * Open query with connection and add run query * Fix issues caused by latest master merges, cleanup and add query-history extension * Remove child nodes (#6568) * Open query with connection and add run query * Fix issues caused by latest master merges, cleanup and add query-history extension * Remove child node expansion * Layering movement and add delete action (#6574) * Open query with connection and add run query * Fix issues caused by latest master merges, cleanup and add query-history extension * Remove child node expansion * Some layering movement and add delete action * Move query tracking into service (#6578) * Open query with connection and add run query * Fix issues caused by latest master merges, cleanup and add query-history extension * Remove child node expansion * Some layering movement and add delete action * Move query history tracking into service * Add comment * Fix actions * Remove unnecessary type * cleanup * Remove unused section of README * Fix merge issues and address PR comments * Fix compile and tslint errors * Change startup function name
This commit is contained in:
@@ -328,8 +328,8 @@ export enum DataProviderType {
|
||||
AgentServicesProvider = 'AgentServicesProvider',
|
||||
CapabilitiesProvider = 'CapabilitiesProvider',
|
||||
ObjectExplorerNodeProvider = 'ObjectExplorerNodeProvider',
|
||||
IconProvider = 'IconProvider',
|
||||
SerializationProvider = 'SerializationProvider'
|
||||
SerializationProvider = 'SerializationProvider',
|
||||
IconProvider = 'IconProvider'
|
||||
}
|
||||
|
||||
export enum DeclarativeDataType {
|
||||
@@ -581,10 +581,96 @@ export class ConnectionProfile {
|
||||
options: { [name: string]: any };
|
||||
|
||||
static createFrom(options: any[]): ConnectionProfile {
|
||||
throw new Error('Method not implemented');
|
||||
// create from options
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
export enum SchemaUpdateAction {
|
||||
Delete = 0,
|
||||
Change = 1,
|
||||
Add = 2
|
||||
}
|
||||
|
||||
export enum SchemaDifferenceType {
|
||||
Object = 0,
|
||||
Property = 1
|
||||
}
|
||||
|
||||
export enum SchemaCompareEndpointType {
|
||||
Database = 0,
|
||||
Dacpac = 1
|
||||
}
|
||||
|
||||
export enum SchemaObjectType {
|
||||
Aggregates = 0,
|
||||
ApplicationRoles = 1,
|
||||
Assemblies = 2,
|
||||
AssemblyFiles = 3,
|
||||
AsymmetricKeys = 4,
|
||||
BrokerPriorities = 5,
|
||||
Certificates = 6,
|
||||
ColumnEncryptionKeys = 7,
|
||||
ColumnMasterKeys = 8,
|
||||
Contracts = 9,
|
||||
DatabaseOptions = 10,
|
||||
DatabaseRoles = 11,
|
||||
DatabaseTriggers = 12,
|
||||
Defaults = 13,
|
||||
ExtendedProperties = 14,
|
||||
ExternalDataSources = 15,
|
||||
ExternalFileFormats = 16,
|
||||
ExternalTables = 17,
|
||||
Filegroups = 18,
|
||||
FileTables = 19,
|
||||
FullTextCatalogs = 20,
|
||||
FullTextStoplists = 21,
|
||||
MessageTypes = 22,
|
||||
PartitionFunctions = 23,
|
||||
PartitionSchemes = 24,
|
||||
Permissions = 25,
|
||||
Queues = 26,
|
||||
RemoteServiceBindings = 27,
|
||||
RoleMembership = 28,
|
||||
Rules = 29,
|
||||
ScalarValuedFunctions = 30,
|
||||
SearchPropertyLists = 31,
|
||||
SecurityPolicies = 32,
|
||||
Sequences = 33,
|
||||
Services = 34,
|
||||
Signatures = 35,
|
||||
StoredProcedures = 36,
|
||||
SymmetricKeys = 37,
|
||||
Synonyms = 38,
|
||||
Tables = 39,
|
||||
TableValuedFunctions = 40,
|
||||
UserDefinedDataTypes = 41,
|
||||
UserDefinedTableTypes = 42,
|
||||
ClrUserDefinedTypes = 43,
|
||||
Users = 44,
|
||||
Views = 45,
|
||||
XmlSchemaCollections = 46,
|
||||
Audits = 47,
|
||||
Credentials = 48,
|
||||
CryptographicProviders = 49,
|
||||
DatabaseAuditSpecifications = 50,
|
||||
DatabaseEncryptionKeys = 51,
|
||||
DatabaseScopedCredentials = 52,
|
||||
Endpoints = 53,
|
||||
ErrorMessages = 54,
|
||||
EventNotifications = 55,
|
||||
EventSessions = 56,
|
||||
LinkedServerLogins = 57,
|
||||
LinkedServers = 58,
|
||||
Logins = 59,
|
||||
MasterKeys = 60,
|
||||
Routes = 61,
|
||||
ServerAuditSpecifications = 62,
|
||||
ServerRoleMembership = 63,
|
||||
ServerRoles = 64,
|
||||
ServerTriggers = 65
|
||||
}
|
||||
|
||||
export enum ColumnType {
|
||||
text = 0,
|
||||
checkBox = 1,
|
||||
@@ -602,3 +688,9 @@ export enum NotebookChangeKind {
|
||||
Save = 2,
|
||||
CellExecuted = 3
|
||||
}
|
||||
|
||||
export type QueryEventType =
|
||||
| 'queryStart'
|
||||
| 'queryStop'
|
||||
| 'executionPlan'
|
||||
| 'visualize';
|
||||
|
||||
Reference in New Issue
Block a user