mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 09:35:38 -05:00
custom home tab sample (#16965)
* add sample for custom home tab * revert unexpected changes
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import * as azdata from 'azdata';
|
||||
import * as vscode from 'vscode';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
|
||||
export const ProviderId: string = 'TESTPROVIDER';
|
||||
|
||||
@@ -23,7 +24,7 @@ export class ConnectionProvider implements azdata.ConnectionProvider {
|
||||
|
||||
connect(connectionUri: string, connectionInfo: azdata.ConnectionInfo): Promise<boolean> {
|
||||
this.onConnectionCompleteEmitter.fire({
|
||||
connectionId: '123',
|
||||
connectionId: uuid(),
|
||||
ownerUri: connectionUri,
|
||||
messages: '',
|
||||
errorMessage: '',
|
||||
|
||||
Reference in New Issue
Block a user