@reventlessdev/reventless-infra 3.0.0-alpha.148 → 3.0.0-alpha.150
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 +16 -0
- package/package.json +5 -5
- package/src/components/Api.res +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.150 (2026-08-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @reventlessdev/reventless-infra
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 3.0.0-alpha.149 (2026-08-21)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **core:** make @resolves/[@resolves](https://github.com/resolves)Many work end to end ([4c52957](https://github.com/ReventlessDev/reventless-core/commit/4c5295759dcb4b3eda4f0f4f2c1bc387fed88fcb))
|
|
19
|
+
* **deps:** update sury to 11.0.0-rc.2 to fix unreachable union constructors ([fa5744f](https://github.com/ReventlessDev/reventless-core/commit/fa5744fed8de975e2f14725c856c6e5ce7d04a74))
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# 3.0.0-alpha.148 (2026-08-20)
|
|
7
23
|
|
|
8
24
|
**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.
|
|
3
|
+
"version": "3.0.0-alpha.150",
|
|
4
4
|
"description": "Infrastructure types for Reventless framework",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"sury": "11.0.0-rc.
|
|
17
|
-
"sury-ppx": "11.0.0-rc.
|
|
16
|
+
"sury": "11.0.0-rc.2",
|
|
17
|
+
"sury-ppx": "11.0.0-rc.2",
|
|
18
18
|
"uuid": "^13.0.0",
|
|
19
19
|
"@reventlessdev/rescript-effect": "0.1.0-alpha.32",
|
|
20
|
-
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.19",
|
|
21
20
|
"@reventlessdev/rescript-uuid": "2.0.0-alpha.0",
|
|
22
|
-
"@reventlessdev/
|
|
21
|
+
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.19",
|
|
22
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.122"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"rescript": "12.3.0",
|
package/src/components/Api.res
CHANGED
|
@@ -84,6 +84,22 @@ type mutationSchemaEntry = {
|
|
|
84
84
|
consistencyRead?: string,
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
A cross-table field on a queryable's object type, declared by `@resolves` /
|
|
89
|
+
`@resolvesMany`. The field is not part of the state record — it is filled at
|
|
90
|
+
query time by following a foreign key into another queryable's table.
|
|
91
|
+
|
|
92
|
+
`typeName` is the GraphQL type the field returns (the target's
|
|
93
|
+
`returnTypeName`), resolved where the entry is built because that is the only
|
|
94
|
+
place the owning plugin's name is known. Carrying it here is what keeps the SDL
|
|
95
|
+
and the resolver a backend provisions from disagreeing about the field.
|
|
96
|
+
*/
|
|
97
|
+
type resolvedFieldEntry = {
|
|
98
|
+
fieldName: string,
|
|
99
|
+
typeName: string,
|
|
100
|
+
multi: bool,
|
|
101
|
+
}
|
|
102
|
+
|
|
87
103
|
/**
|
|
88
104
|
Schema entry for a query field, derived from a ReadModel or StateViewSlice state schema.
|
|
89
105
|
Consumed by GraphQL, MCP, and (future) OpenAPI generators.
|
|
@@ -123,6 +139,9 @@ type querySchemaEntry = {
|
|
|
123
139
|
subIdField?: string,
|
|
124
140
|
/** When set, generates `{singleFieldName}By{Index}` connection query fields for each GSI. */
|
|
125
141
|
indexQueries?: array<Reventless.ReadModel.indexConfig>,
|
|
142
|
+
/** Cross-table fields on the return type, from `config.idResolvers` /
|
|
143
|
+
`config.idsResolvers` (`@resolves` / `@resolvesMany`). */
|
|
144
|
+
resolvedFields?: array<resolvedFieldEntry>,
|
|
126
145
|
}
|
|
127
146
|
|
|
128
147
|
/**
|