mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* accept inline nav section contribution * contribution accepted both inline container and registered container * address comments * formatting
19 lines
930 B
TypeScript
19 lines
930 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
import { IJSONSchema } from 'vs/base/common/jsonSchema';
|
|
import * as nls from 'vs/nls';
|
|
|
|
import { registerContainerType, registerNavSectionContainerType } from 'sql/platform/dashboard/common/dashboardContainerRegistry';
|
|
|
|
export const WEBVIEW_CONTAINER = 'webview-container';
|
|
|
|
let webviewSchema: IJSONSchema = {
|
|
type: 'null',
|
|
description: nls.localize('dashboard.container.webview', "The webview that will be displayed in this tab."),
|
|
default: null
|
|
};
|
|
|
|
registerContainerType(WEBVIEW_CONTAINER, webviewSchema);
|
|
registerNavSectionContainerType(WEBVIEW_CONTAINER, webviewSchema); |