mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Rename remoteAuthority to remoteName for views contribution point
This commit is contained in:
@@ -83,7 +83,7 @@ interface IUserFriendlyViewDescriptor {
|
||||
|
||||
// From 'remoteViewDescriptor' type
|
||||
group?: string;
|
||||
remoteAuthority?: string;
|
||||
remoteName?: string | string[];
|
||||
}
|
||||
|
||||
const viewDescriptor: IJSONSchema = {
|
||||
@@ -123,9 +123,12 @@ const remoteViewDescriptor: IJSONSchema = {
|
||||
description: localize('vscode.extension.contributes.view.group', 'Nested group in the viewlet'),
|
||||
type: 'string'
|
||||
},
|
||||
remoteAuthority: {
|
||||
description: localize('vscode.extension.contributes.view.remoteAuthority', 'The remote authority associated with this view'),
|
||||
type: 'string'
|
||||
remoteName: {
|
||||
description: localize('vscode.extension.contributes.view.remoteName', 'The name of the remote type associated with this view'),
|
||||
type: ['string', 'array'],
|
||||
items: {
|
||||
type: 'string'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -435,7 +438,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
|
||||
extensionId: extension.description.identifier,
|
||||
originalContainerId: entry.key,
|
||||
group: item.group,
|
||||
remoteAuthority: item.remoteAuthority
|
||||
remoteAuthority: item.remoteName || (<any>item).remoteAuthority // TODO@roblou - delete after remote extensions are updated
|
||||
};
|
||||
|
||||
viewIds.push(viewDescriptor.id);
|
||||
|
||||
Reference in New Issue
Block a user