@reventlessdev/reventless-infra 3.0.0-alpha.198 → 3.0.0-alpha.199

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,19 @@
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.199 (2026-10-21)
7
+
8
+ * feat!: a plugin structure's component definitions are read-side and write-side defs ([ea2ab69](https://github.com/ReventlessDev/reventless-core/commit/ea2ab69e928ba16d7e640e4c66ab0e9ba034fe5c))
9
+
10
+ ### BREAKING CHANGES
11
+
12
+ * Plugin.queryableDef, Plugin.writableDef, their schemas,
13
+ isPublicQueryable and encodeQueryableDef no longer exist; a reader names
14
+ readSideDef, writeSideDef, isPublicReadSide and encodeReadSideDef. There
15
+ are no aliases, so the compiler lists every reader.
16
+
17
+
18
+
6
19
  # 3.0.0-alpha.198 (2026-10-21)
7
20
 
8
21
  * feat!: the write-side logic module is called the decision, and a codemod moves an app over ([cb573ff](https://github.com/ReventlessDev/reventless-core/commit/cb573ff5b928c7d7f3e75988dfaa65066f8c95eb))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-infra",
3
- "version": "3.0.0-alpha.198",
3
+ "version": "3.0.0-alpha.199",
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",
18
18
  "uuid": "^13.0.0",
19
19
  "@reventlessdev/rescript-effect": "1.0.0-alpha.1",
20
+ "@reventlessdev/rescript-uuid": "2.0.0-alpha.1",
20
21
  "@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0",
21
- "@reventlessdev/reventless-spec": "3.0.0-alpha.170",
22
- "@reventlessdev/rescript-uuid": "2.0.0-alpha.1"
22
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.171"
23
23
  },
24
24
  "devDependencies": {
25
25
  "rescript": "12.3.1",
@@ -41,7 +41,7 @@ module type T = {
41
41
  mapping's source event schema (Projection.Mapping.sourceEventSchema). Unlike
42
42
  `sourceNames` (the source aggregate / DCB-log names) this names the actual events — so
43
43
  a DCB-log-sourced mapping (e.g. consuming `OrderPlaced`) is captured, which sourceNames
44
- cannot express. Plugin_Structure qualifies + exposes these as `queryableDef.consumedEventTypes`. */
44
+ cannot express. Plugin_Structure qualifies + exposes these as `readSideDef.consumedEventTypes`. */
45
45
  let consumedEventNames: array<string>
46
46
  let make: (
47
47
  ~api: api,
@@ -127,13 +127,13 @@ let fieldReferenceSchema = Plugin$Reventless.fieldReferenceSchema;
127
127
 
128
128
  let commandDefSchema = Plugin$Reventless.commandDefSchema;
129
129
 
130
- let queryableDefSchema = Plugin$Reventless.queryableDefSchema;
130
+ let readSideDefSchema = Plugin$Reventless.readSideDefSchema;
131
131
 
132
132
  let eventDefSchema = Plugin$Reventless.eventDefSchema;
133
133
 
134
134
  let errorDefSchema = Plugin$Reventless.errorDefSchema;
135
135
 
136
- let writableDefSchema = Plugin$Reventless.writableDefSchema;
136
+ let writeSideDefSchema = Plugin$Reventless.writeSideDefSchema;
137
137
 
138
138
  let automationSliceDefSchema = Plugin$Reventless.automationSliceDefSchema;
139
139
 
@@ -185,10 +185,10 @@ export {
185
185
  commandLevelSchema,
186
186
  fieldReferenceSchema,
187
187
  commandDefSchema,
188
- queryableDefSchema,
188
+ readSideDefSchema,
189
189
  eventDefSchema,
190
190
  errorDefSchema,
191
- writableDefSchema,
191
+ writeSideDefSchema,
192
192
  automationSliceDefSchema,
193
193
  outboundTranslationSliceDefSchema,
194
194
  inboundTranslationSliceDefSchema,