{"size": 1931, "ext": "js", "max_stars_repo_path": "out/vs/workbench/contrib/update/browser/update.contribution.js", "max_stars_repo_name": "akrisiun/vscode", "max_stars_repo_stars_event_min_datetime": "2021-05-26T06:39:56.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-26T06:39:56.000Z", "max_issues_repo_path": "out/vs/workbench/contrib/update/browser/update.contribution.js", "max_issues_repo_name": "akrisiun/vscode", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "out/vs/workbench/contrib/update/browser/update.contribution.js", "max_forks_repo_name": "akrisiun/vscode", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 107.2777777778, "max_line_length": 418, "alphanum_fraction": 0.716209218}
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
define(["require", "exports", "vs/platform/registry/common/platform", "vs/workbench/common/contributions", "vs/workbench/common/actions", "vs/platform/actions/common/actions", "vs/workbench/contrib/update/browser/update", "vs/platform/product/common/product", "vs/platform/update/common/update.config.contribution"], function (require, exports, platform_1, contributions_1, actions_1, actions_2, update_1, product_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    const workbench = platform_1.Registry.as(contributions_1.Extensions.Workbench);
    workbench.registerWorkbenchContribution(update_1.ProductContribution, 3 /* Restored */);
    workbench.registerWorkbenchContribution(update_1.UpdateContribution, 3 /* Restored */);
    const actionRegistry = platform_1.Registry.as(actions_1.Extensions.WorkbenchActions);
    // Editor
    actionRegistry
        .registerWorkbenchAction(new actions_2.SyncActionDescriptor(update_1.ShowCurrentReleaseNotesAction, update_1.ShowCurrentReleaseNotesAction.ID, update_1.ShowCurrentReleaseNotesAction.LABEL), `${product_1.default.nameShort}: Show Release Notes`, product_1.default.nameShort);
    actionRegistry
        .registerWorkbenchAction(new actions_2.SyncActionDescriptor(update_1.CheckForVSCodeUpdateAction, update_1.CheckForVSCodeUpdateAction.ID, update_1.CheckForVSCodeUpdateAction.LABEL), `${product_1.default.nameShort}: Check for Update`, product_1.default.nameShort, update_1.CONTEXT_UPDATE_STATE.isEqualTo("idle" /* Idle */));
});
//# sourceMappingURL=update.contribution.js.map