@zenwave360/lsp-js 0.1.0-next.14.1 → 0.1.0-next.15.2
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.
- package/README.md +3 -2
- package/dist/browser/zenwave-lsp-worker.js +12547 -11692
- package/dist/node/zenwave-lsp-server.js +12547 -11692
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,6 +53,7 @@ hover, definition, references, document symbols and formatting. `capabilities.ex
|
|
|
53
53
|
with JSON-RPC `-32601`. lsp-jvm additionally exposes workspace concept and status requests.
|
|
54
54
|
- `previewModes`: `true` when `zenwave/preview` accepts its additive `mode` parameter and grouped diagram representations.
|
|
55
55
|
- `organizeModes`: `true` when `zenwave/organizeZflServices` accepts `mode` (`full`, the default, or `additive`).
|
|
56
|
+
- `flowVariants`: `true` when `zenwave/eventFlowViews` accepts its optional `variant` parameter and returns variants.
|
|
56
57
|
|
|
57
58
|
## Custom requests
|
|
58
59
|
|
|
@@ -61,7 +62,7 @@ hover, definition, references, document symbols and formatting. `capabilities.ex
|
|
|
61
62
|
| `zenwave/hierarchy` | `{ uri }` | hierarchy nodes `{ id, label, kind, language, sourceUri, sourceRange, children, relatedResources, uiHints, viewNodeIds }[]` |
|
|
62
63
|
| `zenwave/forwardReferences`, `zenwave/reverseReferences` | `{ uri, semanticId }` | navigation targets |
|
|
63
64
|
| `zenwave/organizeZflServices` | `{ uri, mode?: "full" \| "additive" }` | the reorganised ZFL text, or `null` |
|
|
64
|
-
| `zenwave/eventFlowViews` | `{ textDocument: { uri } }` | `{ flowGraph, serviceGraph }`: dsl-kotlin's laid-out flow and service view models, each with its `schema` (`zfl.eventflow.view@1`, `zfl.services.view@1`) |
|
|
65
|
+
| `zenwave/eventFlowViews` | `{ textDocument: { uri }, variant?: string }` | `{ flowGraph, serviceGraph, variants: [{ id, title }] }`: dsl-kotlin's laid-out flow and full service view models, each with its `schema` (`zfl.eventflow.view@1`, `zfl.services.view@1`); `variant` selects the flow graph only |
|
|
65
66
|
| `zenwave/preview` | `{ textDocument: { uri }, mode?: "docs" \| "diagrams", sequenceRenderMode?: "SEPARATE_VARIANTS" \| "ALT_BLOCKS" \| "AUTO" }` | `{ representations: { id, title, format: "MARKDOWN" \| "MERMAID" \| "HTML", content, group? }[], defaultRepresentationId }` |
|
|
66
67
|
| `zenwave/symbolAt` | `{ textDocument: { uri }, position: { line, character } }` | `{ uri, semanticId, range? }`, the input of the two reference requests, or `null` when nothing is declared or referenced there |
|
|
67
68
|
|
|
@@ -88,7 +89,7 @@ the default). What a model wrote is escaped in the Markdown, so a `<script>` sho
|
|
|
88
89
|
defaults to `ALT_BLOCKS`. Null properties are omitted from every result.
|
|
89
90
|
|
|
90
91
|
For a ZDL, `mode: "diagrams"` returns only individual `MERMAID` diagrams. Every representation has a `group` of
|
|
91
|
-
`Services`, `Aggregates`, `State Machines`, `Events`, `Commands` or `
|
|
92
|
+
`Services`, `Aggregates`, `State Machines`, `Events`, `Commands` or `Unused entities and enums`; absent kinds have no representation.
|
|
92
93
|
|
|
93
94
|
### Plugin catalogue
|
|
94
95
|
|