yaml-language-server
Version:
59 lines • 4.43 kB
JavaScript
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "vscode-languageserver"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SchemaSelectionRequests = exports.SchemaModificationNotification = exports.ColorSymbolRequest = exports.CustomSchemaRequest = exports.CustomSchemaContentRequest = exports.VSCodeContentRequest = exports.ResultLimitReachedNotification = exports.VSCodeContentRequestRegistration = exports.DynamicCustomSchemaRequestRegistration = exports.SchemaAssociationNotification = void 0;
/* eslint-disable @typescript-eslint/no-namespace */
const vscode_languageserver_1 = require("vscode-languageserver");
var SchemaAssociationNotification;
(function (SchemaAssociationNotification) {
SchemaAssociationNotification.type = new vscode_languageserver_1.NotificationType('json/schemaAssociations');
})(SchemaAssociationNotification || (exports.SchemaAssociationNotification = SchemaAssociationNotification = {}));
var DynamicCustomSchemaRequestRegistration;
(function (DynamicCustomSchemaRequestRegistration) {
DynamicCustomSchemaRequestRegistration.type = new vscode_languageserver_1.NotificationType('yaml/registerCustomSchemaRequest');
})(DynamicCustomSchemaRequestRegistration || (exports.DynamicCustomSchemaRequestRegistration = DynamicCustomSchemaRequestRegistration = {}));
var VSCodeContentRequestRegistration;
(function (VSCodeContentRequestRegistration) {
VSCodeContentRequestRegistration.type = new vscode_languageserver_1.NotificationType('yaml/registerContentRequest');
})(VSCodeContentRequestRegistration || (exports.VSCodeContentRequestRegistration = VSCodeContentRequestRegistration = {}));
var ResultLimitReachedNotification;
(function (ResultLimitReachedNotification) {
ResultLimitReachedNotification.type = new vscode_languageserver_1.NotificationType('yaml/resultLimitReached');
})(ResultLimitReachedNotification || (exports.ResultLimitReachedNotification = ResultLimitReachedNotification = {}));
var VSCodeContentRequest;
(function (VSCodeContentRequest) {
VSCodeContentRequest.type = new vscode_languageserver_1.RequestType('vscode/content');
})(VSCodeContentRequest || (exports.VSCodeContentRequest = VSCodeContentRequest = {}));
var CustomSchemaContentRequest;
(function (CustomSchemaContentRequest) {
CustomSchemaContentRequest.type = new vscode_languageserver_1.RequestType('custom/schema/content');
})(CustomSchemaContentRequest || (exports.CustomSchemaContentRequest = CustomSchemaContentRequest = {}));
var CustomSchemaRequest;
(function (CustomSchemaRequest) {
CustomSchemaRequest.type = new vscode_languageserver_1.RequestType('custom/schema/request');
})(CustomSchemaRequest || (exports.CustomSchemaRequest = CustomSchemaRequest = {}));
var ColorSymbolRequest;
(function (ColorSymbolRequest) {
ColorSymbolRequest.type = new vscode_languageserver_1.RequestType('json/colorSymbols');
})(ColorSymbolRequest || (exports.ColorSymbolRequest = ColorSymbolRequest = {}));
var SchemaModificationNotification;
(function (SchemaModificationNotification) {
SchemaModificationNotification.type = new vscode_languageserver_1.RequestType('json/schema/modify');
})(SchemaModificationNotification || (exports.SchemaModificationNotification = SchemaModificationNotification = {}));
var SchemaSelectionRequests;
(function (SchemaSelectionRequests) {
SchemaSelectionRequests.type = new vscode_languageserver_1.NotificationType('yaml/supportSchemaSelection');
SchemaSelectionRequests.getSchema = new vscode_languageserver_1.RequestType('yaml/get/jsonSchema');
SchemaSelectionRequests.getAllSchemas = new vscode_languageserver_1.RequestType('yaml/get/all/jsonSchemas');
SchemaSelectionRequests.schemaStoreInitialized = new vscode_languageserver_1.NotificationType('yaml/schema/store/initialized');
})(SchemaSelectionRequests || (exports.SchemaSelectionRequests = SchemaSelectionRequests = {}));
});
//# sourceMappingURL=requestTypes.js.map