@reventlessdev/reventless-infra 3.0.0-alpha.109 → 3.0.0-alpha.111

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,24 @@
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.111 (2026-07-30)
7
+
8
+ **Note:** Version bump only for package @reventlessdev/reventless-infra
9
+
10
+
11
+
12
+
13
+
14
+ # 3.0.0-alpha.110 (2026-07-30)
15
+
16
+ ### Bug Fixes
17
+
18
+ * **core:** resolve each eventMapper before collecting, not after ([12060d8](https://github.com/ReventlessDev/reventless-core/commit/12060d84733e1636255be03c432f959139600dbf))
19
+ ### Features
20
+
21
+ * **spec,core,local:** emit capabilities.json from the plugin build ([57a3276](https://github.com/ReventlessDev/reventless-core/commit/57a3276a6b02af93490a8b460e3aa158b7e0e0f8))
22
+
23
+
6
24
  # 3.0.0-alpha.109 (2026-07-29)
7
25
 
8
26
  **Note:** Version bump only for package @reventlessdev/reventless-infra
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-infra",
3
- "version": "3.0.0-alpha.109",
3
+ "version": "3.0.0-alpha.111",
4
4
  "description": "Infrastructure types for Reventless framework",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -17,9 +17,9 @@
17
17
  "sury-ppx": "11.0.0-alpha.2",
18
18
  "uuid": "^13.0.0",
19
19
  "@reventlessdev/rescript-effect": "0.1.0-alpha.31",
20
- "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17",
21
20
  "@reventlessdev/rescript-uuid": "1.1.0-alpha.17",
22
- "@reventlessdev/reventless-spec": "3.0.0-alpha.84"
21
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.86",
22
+ "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.17"
23
23
  },
24
24
  "devDependencies": {
25
25
  "rescript": "12.3.0",
@@ -11,7 +11,7 @@ Deploy-time outputs produced when an `Aggregate` is provisioned.
11
11
  - `commandGenerator` — the internal command dispatcher component
12
12
  - `commandTopic` — the SQS FIFO queue for inbound commands
13
13
  - `eventLog` — the DynamoDB event store
14
- - `eventMapper` — optional: the event-to-command router (present when mappings are configured)
14
+ - `eventMapper` — the event-to-command router; resolves to `None` unless mappings are configured
15
15
  - `addEventMapper` — callback used by the plugin to attach late-bound event mappers
16
16
  */
17
17
  and outputs = {
@@ -19,7 +19,12 @@ and outputs = {
19
19
  commandGenerator: Pulumi.Output.t<CommandGenerator.outputs>,
20
20
  commandTopic: Pulumi.Output.t<CommandTopic.outputs>,
21
21
  eventLog: EventLog.outputs,
22
- eventMapper?: Pulumi.Output.t<EventMapper.outputs>,
22
+ /* Output outside, option inside — never `option<Pulumi.Output.t<_>>`. An
23
+ optional Output field reads as a plain record once an enclosing `apply` has
24
+ resolved it, because Pulumi deep-unwraps nested outputs; the same
25
+ `Output.flatMap` on this field is then correct at one call depth and a
26
+ TypeError at another, with the type identical in both. */
27
+ eventMapper: Pulumi.Output.t<option<EventMapper.outputs>>,
23
28
  addEventMapper: addEventMapper,
24
29
  }
25
30
 
@@ -155,6 +155,10 @@ let extensionPointDefSchema = Plugin$Reventless.extensionPointDefSchema;
155
155
 
156
156
  let extensionPointDefArrayOptionSchema = Plugin$Reventless.extensionPointDefArrayOptionSchema;
157
157
 
158
+ let requiredStoreDeclarationSchema = Plugin$Reventless.requiredStoreDeclarationSchema;
159
+
160
+ let requiredStoreDeclarationArrayOptionSchema = Plugin$Reventless.requiredStoreDeclarationArrayOptionSchema;
161
+
158
162
  let pluginStructureSchema = Plugin$Reventless.pluginStructureSchema;
159
163
 
160
164
  let pluginStructureOptionSchema = Plugin$Reventless.pluginStructureOptionSchema;
@@ -196,6 +200,8 @@ export {
196
200
  extensionDefSchema,
197
201
  extensionPointDefSchema,
198
202
  extensionPointDefArrayOptionSchema,
203
+ requiredStoreDeclarationSchema,
204
+ requiredStoreDeclarationArrayOptionSchema,
199
205
  pluginStructureSchema,
200
206
  pluginStructureOptionSchema,
201
207
  pluginDefinitionSchema,