mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add dependent field provider to resource deployment (#13664)
* Add dependent field provider to resource deployment * Change name to value provider service * Add error handling * providerId -> id * Set dropdown value correctly * missed id * back to providerId * fix updating missed id * remove placeholder
This commit is contained in:
@@ -4,11 +4,13 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as rd from 'resource-deployment';
|
||||
import { valueProviderService } from './services/valueProviderService';
|
||||
import { optionsSourcesService } from './services/optionSourcesService';
|
||||
|
||||
export function getExtensionApi(): rd.IExtension {
|
||||
return {
|
||||
registerOptionsSourceProvider: (provider: rd.IOptionsSourceProvider) => optionsSourcesService.registerOptionsSourceProvider(provider)
|
||||
registerOptionsSourceProvider: (provider: rd.IOptionsSourceProvider) => optionsSourcesService.registerOptionsSourceProvider(provider),
|
||||
registerValueProvider: (provider: rd.IValueProvider) => valueProviderService.registerValueProvider(provider)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user