@listen-fire/movement-lang 0.12.3 → 0.12.4

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,5 +1,6 @@
1
1
  import type { CollectionOpExpression, CombinatorKind, ExprSlot, FieldEntry, MembersExpression, ShapeNode, Span } from '../parser/ast';
2
2
  import type { TraversalStep } from '../expression/types';
3
+ import type { SchemaFieldType } from '../catalog/types';
3
4
  import type { CatalogSnapshot } from '../service/snapshot';
4
5
  import type { Diagnostic } from './diagnostic';
5
6
  import { type RustCheckOptions } from './rust_checker';
@@ -201,13 +202,18 @@ export type StoryCallReading = {
201
202
  span: Span;
202
203
  };
203
204
  };
204
- /** An extraction's graph: each field's `type` in the author's words. */
205
+ /**
206
+ * An extraction's graph: each field's `type` in the author's words, and its
207
+ * `fieldType` as data (a borrowed field path resolved to the type it declares;
208
+ * null where the field has no resolved annotation).
209
+ */
205
210
  export interface StoryExtractNode {
206
211
  name: string;
207
212
  fields: Array<{
208
213
  name: string;
209
214
  at: Span;
210
215
  type?: string;
216
+ fieldType?: SchemaFieldType | null;
211
217
  }>;
212
218
  children: StoryExtractNode[];
213
219
  }
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "0.12.3";
1
+ export declare const PACKAGE_VERSION = "0.12.4";
@@ -5,4 +5,4 @@ exports.PACKAGE_VERSION = void 0;
5
5
  // scripts/build-packages.cjs (a source and its build sit at different depths
6
6
  // beside package.json, so neither can require it by one relative path).
7
7
  // __test__/language_version.unit.test.ts holds it equal to package.json.
8
- exports.PACKAGE_VERSION = '0.12.3';
8
+ exports.PACKAGE_VERSION = '0.12.4';
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@listen-fire/movement-lang",
3
3
  "license": "Apache-2.0",
4
- "version": "0.12.3",
4
+ "version": "0.12.4",
5
5
  "description": "The data-movement language: the wasm parser, checker and engine with their loader and bindings, the version rule, the expression AST and the types the contracts name",
6
6
  "engines": {
7
7
  "node": ">=22.23.4 <23"