@listen-fire/engine-contracts 0.14.0 → 0.14.1

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/dist/adapter.d.ts CHANGED
@@ -629,12 +629,7 @@ export interface Adapter {
629
629
  preprocessInbound?(input: {
630
630
  raw: unknown;
631
631
  checkpoint?: unknown;
632
- }): Promise<{
633
- events: DiscriminableEvent[];
634
- /** What the delivery says landed on listenable edges (2.5). */
635
- arrivals?: Arrival[];
636
- checkpoint?: unknown;
637
- }>;
632
+ }): Promise<PreprocessedInbound>;
638
633
  /**
639
634
  * The module checks its own inbound requests (its manifest declares
640
635
  * `inbound.scheme: module`): one request at its door, raw, in place of the
@@ -1502,6 +1497,13 @@ export interface ReadInput {
1502
1497
  /** When set, request only these fields (adapter may ignore and return all). */
1503
1498
  fieldIds?: string[];
1504
1499
  }
1500
+ /** What a delivery turned into (`Adapter.preprocessInbound`). */
1501
+ export interface PreprocessedInbound {
1502
+ events: DiscriminableEvent[];
1503
+ /** What the delivery says landed on listenable edges (2.5). */
1504
+ arrivals?: Arrival[];
1505
+ checkpoint?: unknown;
1506
+ }
1505
1507
  /**
1506
1508
  * A typed event from an UNSOLICITED inbound signal (`Adapter.preprocessInbound`)
1507
1509
  * or a SOLICITED poll (`PollSource.getEvents`). The engine discriminates it
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@listen-fire/engine-contracts",
3
3
  "license": "Apache-2.0",
4
- "version": "0.14.0",
4
+ "version": "0.14.1",
5
5
  "description": "The contracts the movement engine speaks: the tenant id, the host families and entry-point inputs, the parked state, file descriptors, the adapter protocol, the adapter contract and its manifest, the catalog's schema types and positions, the Expression vocabulary, plugins as data and the model names. Runtime-neutral: no Node import, no ambient types.",
6
6
  "engines": {
7
7
  "node": ">=22.23.4 <23"
@@ -30,7 +30,7 @@
30
30
  "type": "commonjs",
31
31
  "dependencies": {
32
32
  "zod": "4.1.12",
33
- "@listen-fire/movement-lang": "^0.14.0"
33
+ "@listen-fire/movement-lang": "^0.14.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "20.16.5",