@iyulab/m3l 0.5.1 → 0.6.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.
Files changed (2) hide show
  1. package/index.d.ts +4 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -155,6 +155,8 @@ export interface ModelNode {
155
155
  label?: string;
156
156
  type: ModelType;
157
157
  source: string;
158
+ /** Namespace of the source file (`# Namespace: ...`), if any. */
159
+ namespace?: string;
158
160
  line: number;
159
161
  inherits: string[];
160
162
  description?: string;
@@ -174,6 +176,8 @@ export interface EnumNode {
174
176
  label?: string;
175
177
  type: ModelType;
176
178
  source: string;
179
+ /** Namespace of the source file (`# Namespace: ...`), if any. */
180
+ namespace?: string;
177
181
  line: number;
178
182
  inherits: string[];
179
183
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iyulab/m3l",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "M3L parser — Markdown-based schema definition language (.m3l.md → JSON AST)",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -10,7 +10,7 @@
10
10
  "index.d.ts"
11
11
  ],
12
12
  "dependencies": {
13
- "@iyulab/m3l-napi": "0.5.1"
13
+ "@iyulab/m3l-napi": "0.6.0"
14
14
  },
15
15
  "engines": {
16
16
  "node": ">= 18"