@atlaspack/lsp-protocol 2.14.1-dev.161 → 2.14.1-dev.163

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js.map +1 -0
  2. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;iDACM;kDAAA;kDAAA;4CAAA;AAkCC,MAAMK,0CAAiB,8DAAA,MAC5B,0CAAgB;AAMX,MAAMC,0CAA2B,6DAAA,MACtC,0CAAgB;AAMX,MAAMC,0CAAiC,+CAAA,MAC5C,+CAAqB;AAMhB,MAAMC,0CAAwB,mEAAA,MACnC,gDAAsB;AAQjB,MAAMC,0CAAkB,UAAA,MAAe,gDAC5C","sources":["packages/utils/atlaspack-lsp-protocol/src/index.js"],"sourcesContent":["// @flow\nconst {\n NotificationType,\n NotificationType0,\n NotificationType2,\n RequestType,\n} = require('vscode-jsonrpc/node');\n\n// -------------------------------- Typescript-specific definitions\n\n/**\n * @typedef {import(\"vscode-languageserver\")} lsp\n *\n * @typedef PublishDiagnostic\n * @prop {import('vscode-languageserver').DocumentUri} uri\n * @prop {Array<import('vscode-languageserver').Diagnostics>} diagnostics\n */\n\n// -------------------------------- Flow-specific defintions\n\n/*::\nexport type PublishDiagnostic = {|\n uri: DocumentUri,\n diagnostics: Array<Diagnostic>,\n|};\n\nimport type {Diagnostic, DocumentUri} from 'vscode-languageserver';\n*/\n\n// --------------------------------\n\n/**\n * @type {RequestType<DocumentUri, Array<DocumentUri> | null, void>}\n */\n// Request: LSP Server -> Reporter\nexport const RequestImporters /*: RequestType<DocumentUri, Array<DocumentUri> | null, void> */ =\n new RequestType('parcel/request-importers');\n\n/**\n * @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}\n */\n// Request: LSP Server -> Reporter\nexport const RequestDocumentDiagnostics /*: RequestType<DocumentUri, Array<Diagnostic> | void, void> */ =\n new RequestType('parcel/request-document-diagnostics');\n\n/**\n * @type {NotificationType<Array<PublishDiagnostic>>}\n */\n// Notification: Reporter -> LSP Server\nexport const NotificationWorkspaceDiagnostics /*: NotificationType<Array<PublishDiagnostic>> */ =\n new NotificationType('parcel/notification-workspace-diagnostics');\n\n/**\n * @type {NotificationType2<'start' | 'progress' | 'end', string | void>}\n */\n// Notification: Reporter -> LSP Server\nexport const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end', string | void> */ =\n new NotificationType2('parcel/notification-build-status');\n\n// --------------------------------\n\n// Notification: LSP Server -> VSC Extension\n/**\n * @type {import('vscode-languageserver').NotificationType0}\n */\nexport const NotificationBuild /*: mixed */ = new NotificationType0(\n 'parcel/notification-build',\n);\n"],"names":["NotificationType","NotificationType0","NotificationType2","RequestType","require","RequestImporters","RequestDocumentDiagnostics","NotificationWorkspaceDiagnostics","NotificationBuildStatus","NotificationBuild"],"version":3,"file":"index.js.map","sourceRoot":"../../../../"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/lsp-protocol",
3
- "version": "2.14.1-dev.161+207d003c0",
3
+ "version": "2.14.1-dev.163+d8e35a83e",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,5 +28,5 @@
28
28
  "types": false
29
29
  },
30
30
  "type": "commonjs",
31
- "gitHead": "207d003c0f1d4ffa6a1c52d2f8841d998616c523"
31
+ "gitHead": "d8e35a83e480e0811b63a319e88ffe9a2cd509e6"
32
32
  }