enable provider/extension side copy to clipboard support (#23363)

* improve copy data experience

* add copy result handler

* refactoring

* updates

* add thirdparty notice for TextCopy nuget package

* add await

* comments
This commit is contained in:
Alan Ren
2023-06-09 14:24:45 -07:00
committed by GitHub
parent 80b733ebe0
commit 58082402aa
24 changed files with 217 additions and 104 deletions

View File

@@ -108,6 +108,13 @@ export interface ConnectionProviderProperties {
* Connection string options for the connection provider
*/
connectionStringOptions?: ConnectionStringOptions;
/**
* Indicates whether the provider support copy results to clipboard. Default value is false.
* If true, the copy results to clipboard will be delegated to the provider to avoid passing large amount of data using the RPC channel.
* Otherwise ADS will handle the copy request on the UI side.
*/
supportCopyResultsToClipboard?: boolean;
}
export interface ProviderFeatures {