@eventcatalog/language-server 0.4.1 → 0.5.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"grammar.js","sourceRoot":"","sources":["../../src/generated/grammar.ts"],"names":[],"mappings":"AAAA;;;gFAGgF;AAGhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,IAAI,eAAoC,CAAC;AACzC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAY,EAAE,CAAC,eAAe,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0oMhG,CAAC,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -9,4 +9,6 @@ export { compile } from "./compiler.js";
9
9
  export type { CompiledOutput, CompileOptions } from "./compiler.js";
10
10
  export * from "./ast-utils.js";
11
11
  export { formatEc } from "./formatter.js";
12
+ export { parseSpec, extractMessages, extractChannels, extractService, messageToEc, channelToEc, serviceToEc, resolveAsyncApiImports, resolveAsyncApiImportsAsync, } from "./resolvers/index.js";
13
+ export type { SpecMessage, SpecChannel, SpecOperation, SpecService, ResourceType, ResolveError, SpecResolveResult, FetchFn, } from "./resolvers/index.js";
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC/D,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpE,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC/D,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpE,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EACL,SAAS,EACT,eAAe,EACf,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,WAAW,EACX,WAAW,EACX,aAAa,EACb,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,OAAO,GACR,MAAM,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -7,4 +7,5 @@ export { astToGraph } from "./graph.js";
7
7
  export { compile } from "./compiler.js";
8
8
  export * from "./ast-utils.js";
9
9
  export { formatEc } from "./formatter.js";
10
+ export { parseSpec, extractMessages, extractChannels, extractService, messageToEc, channelToEc, serviceToEc, resolveAsyncApiImports, resolveAsyncApiImportsAsync, } from "./resolvers/index.js";
10
11
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EACL,SAAS,EACT,eAAe,EACf,eAAe,EACf,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,65 @@
1
+ import type { SpecMessage, SpecChannel, SpecService, ResourceType, ResolveError, SpecResolveResult, FetchFn } from "./types.js";
2
+ interface ParsedSpec {
3
+ messages: Map<string, SpecMessage>;
4
+ channels: Map<string, SpecChannel>;
5
+ errors: ResolveError[];
6
+ }
7
+ /**
8
+ * Parse an AsyncAPI v2 or v3 document and extract both messages and channels.
9
+ */
10
+ export declare function parseSpec(content: string): ParsedSpec;
11
+ /**
12
+ * Extract a full service definition from an AsyncAPI spec.
13
+ * Infers the service name, channels, messages, and send/receive operations.
14
+ */
15
+ export declare function extractService(content: string, serviceName?: string): {
16
+ service: SpecService;
17
+ errors: ResolveError[];
18
+ };
19
+ /**
20
+ * Extract messages from an AsyncAPI document.
21
+ * Convenience wrapper around parseSpec for callers that only need messages.
22
+ */
23
+ export declare function extractMessages(content: string): {
24
+ messages: Map<string, SpecMessage>;
25
+ errors: ResolveError[];
26
+ };
27
+ /**
28
+ * Extract channels from an AsyncAPI document.
29
+ * Convenience wrapper around parseSpec for callers that only need channels.
30
+ */
31
+ export declare function extractChannels(content: string): {
32
+ channels: Map<string, SpecChannel>;
33
+ errors: ResolveError[];
34
+ };
35
+ /**
36
+ * Convert a SpecMessage to an .ec definition string.
37
+ */
38
+ export declare function messageToEc(msg: SpecMessage, resourceType: ResourceType): string;
39
+ /**
40
+ * Convert a SpecChannel to an .ec channel definition string.
41
+ */
42
+ export declare function channelToEc(ch: SpecChannel): string;
43
+ /**
44
+ * Convert a SpecService to a full .ec definition string.
45
+ * Generates channel definitions, event definitions, and the service block
46
+ * with sends/receives routed through channels.
47
+ */
48
+ export declare function serviceToEc(service: SpecService): string;
49
+ /**
50
+ * Resolve all AsyncAPI imports in a set of files (sync, local files only).
51
+ * Scans .ec files for `import <type> { ... } from "*.yml"` and
52
+ * `import ServiceName from "*.yml"` statements, parses the referenced
53
+ * YAML files, and replaces the imports with synthesized .ec definitions.
54
+ * YAML files are excluded from the output.
55
+ * URL imports are left untouched - use resolveImportsAsync for those.
56
+ */
57
+ export declare function resolveImports(files: Record<string, string>): SpecResolveResult;
58
+ /**
59
+ * Resolve all AsyncAPI imports including remote URLs (async).
60
+ * Fetches remote specs via the provided fetchFn, then resolves all imports.
61
+ * For local file imports, looks them up in the files map.
62
+ */
63
+ export declare function resolveImportsAsync(files: Record<string, string>, fetchFn: FetchFn): Promise<SpecResolveResult>;
64
+ export {};
65
+ //# sourceMappingURL=asyncapi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncapi.d.ts","sourceRoot":"","sources":["../../src/resolvers/asyncapi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,WAAW,EAEX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACR,MAAM,YAAY,CAAC;AAgCpB,UAAU,UAAU;IAClB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACnC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC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