Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-emfcloud/coffee-custom-commands-example

Package Overview
Dependencies
Maintainers
8
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-emfcloud/coffee-custom-commands-example - npm Package Compare versions

Comparing version 0.2.0-next.46e550b.20 to 0.2.0-next.4e5d48f.45

2

lib/example-command.js

@@ -63,3 +63,3 @@ "use strict";

}
getCommands(customCommand) {
getCommands(_modelUri, customCommand) {
const [modelURI, elementID] = customCommand.owner.$ref.split('#');

@@ -66,0 +66,0 @@ return async (executor) => {

{
"name": "@eclipse-emfcloud/coffee-custom-commands-example",
"version": "0.2.0-next.46e550b.20+46e550b",
"version": "0.2.0-next.4e5d48f.45+4e5d48f",
"description": "Example custom command plug-in for the Model Server.",

@@ -27,3 +27,3 @@ "license": "(EPL-2.0 OR MIT)",

"dependencies": {
"@eclipse-emfcloud/modelserver-plugin-ext": "0.2.0-next.46e550b.20+46e550b",
"@eclipse-emfcloud/modelserver-plugin-ext": "0.2.0-next.4e5d48f.45+4e5d48f",
"inversify": "^5.1.1"

@@ -49,3 +49,3 @@ },

},
"gitHead": "46e550b857dd3546d19725118e16f119fcd7ef7c"
"gitHead": "4e5d48f6b599d7e1c672f9c5b58119b1578bc74b"
}

@@ -78,3 +78,3 @@ # Custom Commands Example

```plain
http://localhost:8082/api/v2/models?modeluri=SuperBrewer3000.coffee
http://localhost:8082/api/v2/models?modeluri=SuperBrewer3000.coffee&format=json-v2
```

@@ -100,2 +100,7 @@

You also need to set the following two headers for the request to work:
- Content-Length = \<calculated when request is sent>
- Content-Type = application/json
Note that this uses the EMF URI fragment determined earlier in the `owner.$ref` property.

@@ -102,0 +107,0 @@ The command is a custom `increment-duration` type and has no other parameters.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc