@reventlessdev/reventless-spec 3.0.0-alpha.167 → 3.0.0-alpha.168
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.168 (2026-10-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/reventless-spec
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# 3.0.0-alpha.167 (2026-10-16)
|
|
7
15
|
|
|
8
16
|
* feat!(inbound): a translation slice can declare a signed webhook URL ([0ad6994](https://github.com/ReventlessDev/reventless-core/commit/0ad69949fcc91c2756c60ca8cb120dd468841d8b))
|
package/package.json
CHANGED
|
@@ -39,11 +39,10 @@ let process = (id, item) =>
|
|
|
39
39
|
Some((id, CreateShipment({orderId: item.orderId, address: item.shippingAddress})))
|
|
40
40
|
|
|
41
41
|
let maxRetries = 3
|
|
42
|
-
let heartbeatInterval = 60
|
|
43
42
|
```
|
|
44
43
|
*/
|
|
45
44
|
/**
|
|
46
|
-
The lean Spec for an AutomationSlice — types, identity, schemas,
|
|
45
|
+
The lean Spec for an AutomationSlice — types, identity, schemas, retry config.
|
|
47
46
|
|
|
48
47
|
Plan 04 dropped `consumedEvent` from the Spec — the framework now derives the
|
|
49
48
|
consumed-event set from each per-source Mapping's `sourceEventSchema`, so a
|
|
@@ -67,9 +66,6 @@ module type Spec = {
|
|
|
67
66
|
/** Maximum number of retries for a failed processing attempt. */
|
|
68
67
|
let maxRetries: int
|
|
69
68
|
|
|
70
|
-
/** Heartbeat interval in seconds for sweeping pending/failed items. */
|
|
71
|
-
let heartbeatInterval: int
|
|
72
|
-
|
|
73
69
|
/** Name of the aggregate or StateChangeSlice that receives the produced command. */
|
|
74
70
|
let targetName: string
|
|
75
71
|
|
|
@@ -15,7 +15,7 @@ Event(s) -> TODO List (read model) -> Translator -> External Service
|
|
|
15
15
|
|
|
16
16
|
Plan 02 splits the merged spec into two module types:
|
|
17
17
|
|
|
18
|
-
- `Spec` — types, identity, schemas,
|
|
18
|
+
- `Spec` — types, identity, schemas, retry config. Per D2, `outboundItem`
|
|
19
19
|
lives here (persisted TODO state with schema).
|
|
20
20
|
- `Translation` — `collect` (sync, observable in tests) and `translate`
|
|
21
21
|
(async, mocked in tests via `whenTranslateMocked`).
|
|
@@ -41,11 +41,10 @@ let translate = async (_id, item, ~capabilities as _) => {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
let maxRetries = 3
|
|
44
|
-
let heartbeatInterval = 60
|
|
45
44
|
```
|
|
46
45
|
*/
|
|
47
46
|
/**
|
|
48
|
-
The lean Spec for an OutboundTranslationSlice — types, identity, schemas,
|
|
47
|
+
The lean Spec for an OutboundTranslationSlice — types, identity, schemas, retry config.
|
|
49
48
|
*/
|
|
50
49
|
module type Spec = {
|
|
51
50
|
/** Logical name of this outbound translation slice (used as a component prefix). */
|
|
@@ -71,9 +70,6 @@ module type Spec = {
|
|
|
71
70
|
/** Maximum number of retries for a failed translate attempt. */
|
|
72
71
|
let maxRetries: int
|
|
73
72
|
|
|
74
|
-
/** Heartbeat interval in seconds for sweeping pending/failed items. */
|
|
75
|
-
let heartbeatInterval: int
|
|
76
|
-
|
|
77
73
|
/** Name of the aggregate or StateChangeSlice that receives the inbound command, or None for fire-and-forget. */
|
|
78
74
|
let targetName: option<string>
|
|
79
75
|
|